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
What are the events we use in dialog programming and explain them?
Give 3 scenario of reporting due to which you require reporting help of ABAP consultant?
Explain what are the events in screen programming?
visibility section for class level and attributes level
Can a domain, assigned to a data element be changed? : abap data dictionary
How to load data from ms excel sheet to sap by using bdc method ? : abap bdc
Explain the table, which contain the details of all the name of the programs and forms?
What is table buffer?
Why do we use Abstract classes give an example from your project?
What is the use of lock objects?
Why do we use FOR ALL ENTRIES and what is the pre-requisite
The commands through which an abap/4 module can “branch to “ or “call” the next screen are?
what is defference between repository and non repository Object?
What is the abap program name to process the batch input session automatically? : abap bdc
Which type of tables used this buffer?