Thank you, sir, for your kindness in sharing this. I have learned a lot from you. I just need to mention that the problem in the last section of the video, where records are replaced by new records, can be simply fixed by using the following code: lt_output = VALUE #( BASE lt_output ( vbeln = lwa_vbak-vbeln posnr = lwa_vbap-posnr matnr = lwa_vbap-matnr kwmeng = lwa_vbap-kwmeng vrkme = lwa_vbap-vrkme maktx = lwa_makt-maktx ) ). The "BASE lt_output" indicates that the new value will be based on the current contents of lt_output, meaning that the new entry will be added to the existing entries.
Thank you, sir, for your kindness in sharing this. I have learned a lot from you. I just need to mention that the problem in the last section of the video, where records are replaced by new records, can be simply fixed by using the following code:
lt_output = VALUE #( BASE lt_output
( vbeln = lwa_vbak-vbeln
posnr = lwa_vbap-posnr
matnr = lwa_vbap-matnr
kwmeng = lwa_vbap-kwmeng
vrkme = lwa_vbap-vrkme
maktx = lwa_makt-maktx )
).
The "BASE lt_output" indicates that the new value will be based on the current contents of lt_output, meaning that the new entry will be added to the existing entries.
True. BASE added the data to the existing records. Thank you very much for your information. I will cover this part as well.
Thank you sir I'm imran hope you recognize me please upload upcoming videos as soon as possible Heartfully thank sir❤