Quantcast
Channel: SCN: Message List - Data Warehousing
Viewing all articles
Browse latest Browse all 3366

Re: How to fill an internal table from datapackage in a start routine?

$
0
0

Please find below the sample code for the same.

 

 

TYPES: BEGIN OF ztemp,

             DOC_NUMBER           TYPE /BI0/OIDOC_NUMBER,

             S_ORD_ITEM           TYPE /BI0/OIS_ORD_ITEM,

             SCHED_LINE           TYPE /BI0/OISCHED_LINE,

             CONF_QTY           TYPE /BI0/OICONF_QTY,

       END OF ztemp.

 

     DATA:itab type STANDARD TABLE OF ZTEMP,

     WA TYPE ZTEMP.

 

DATa: Wa_tab type _ty_s_sc_1.


     loop at SOURCE_PACKAGE into wa_tab.

 

           wa-DOC_NUMBER = wa_tab-DOC_NUMBER .

           wa-S_ORD_ITEM  = wa_tab-S_ORD_ITEM.

           wa-SCHED_LINE = wa_tab-SCHED_LINE .

           wa-CONF_QTY    =    wa_tab-CONF_QTY.

                   append wa to Itab.

CLEAR WA.

Regards,

AL


Viewing all articles
Browse latest Browse all 3366

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>