Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3132

Re: which code would fit well in End Routine?

$
0
0

HI Benedict,

 

I have still my question unanswered.

I can write same way below code as well, so what its best out of it? Its either you mentioned or which is written below?

 

 

LOOP AT RESULT_PACKAGE ASSIGNING WA_RESULT_PACKAGE.

READ TABLE ITAB2 INTO WA WITH KEY /BIC/ZORDNUM = RESULT_PACKAGE-/BIC/ZORDNUM.

IF SY-SUBRC = 0.

WA_RESULT_PACKAGE-/BIC/ZITEMNUM = WA-/BIC/ZITEMNUM.

WA_RESULT_PACKAGE-MATERIAL = WA-MATERIAL.

WA_RESULT_PACKAGE-/BIC/ZITMTYP = WA-/BIC/ZITMTYP.

WA_RESULT_PACKAGE-QUANT_B = WA-QUANT_B.

WA_RESULT_PACKAGE-BASE_UOM = WA-BASE_UOM.

 

modify RESULT_PACKAGE from WA_RESULT_PACKAGE.

 

   ENDIF.

 

ENDLOOP


Viewing all articles
Browse latest Browse all 3132

Trending Articles



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