how to handle multiple line items in bdc??
Answer Posted / balamurugan
LOOP AT IT_ITEM INTO WA_ITEM WHERE VBELN = WA_HEADER-VBELN.
INDX = INDX + 1.
CONCATENATE 'WA_SO2-MATNR('INDX')' INTO V_MATNR.
perform bdc_field using V_MATNR WA_ITEM-MATNR.
CONCATENATE 'WA_SO2-MENGE('INDX')' INTO V_MENGE.
perform bdc_field using V_MENGE WA_ITEM-MENGE.
perform bdc_field using BDC_OKCODE '/00'.
ENDLOOP.
We can upload multiple line items Using table control.The
above code explain the same.
Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
Where the payroll results are stored
What are differences between at selection-screen and at selection-screen output?
What is an abap/4 query? : abap hr
What are internal tables? How to use a specific number occurs statement?
What is the use of message command in a report? What are the different message types?
What are the various types of selection screen event?
How to create any functions? How to go about it?
Why do we use types statement in abap programming?
Can multiple abap systems connect to abap database?
What is the significance of hide?
Explain Singleton class
Is logo in script 1st stored as tiff format before uploading or in jpeg format?and where is that stored after uploading?
How do you write manual bdc session method? : abap bdc
Workbench request are client dependent or client independent
Name a few data dictionary objects? : abap data dictionary