Quantcast
Channel: SCN: Message List - Business Content and Extractors
Viewing all articles
Browse latest Browse all 5631

Re: End Routine - last package identifier

$
0
0

Hi Atul,

 

Below code will helps you.

 

Try this

 

data: nfPck type i.

data: wa_reqtab LIKE LINE OF reqtable.


*read number of datapackages from table RSTSODSREQUESTPG


SELECT * FROM RSTSODSREQUESTPG into wa_reqtab

WHERE REQUEST = G_S_MINFO-REQUNR

ORDER BY DATAPAKID.

INSERT wa_reqtab INTO TABLE reqtable.

ENDSELECT.

nfPck = wa_reqtab-DATAPAKID.

 

IF G_S_MINFO-DATAPAKID = nfPk.
*this code is only executed at the last package!

*...put your code here...

ENDIF.

 

 

Regards,

Krishna


Viewing all articles
Browse latest Browse all 5631

Trending Articles



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