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
A field containing currency amounts (data type curr) must be assigned to a reference table and a reference field. Explain.? : abap data dictionary
What is technically difference between in Table creation in table creation maintenance not allowed ,maintenance allowed with restriction, maintenance allowed ?
Can we use on change of between select and endselect?
What is lock object ? : abap data dictionary
How to read files and process BDC's automatically ?
On ABAP, Did you set up a workflow? Are you familiar with all steps for setting up a workflow?
What is the difference between commit-work and rollback-work tasks?
What is database view ? : sap abap data dictionary
What is time constraint ? : abap hr
Explain about sap fico testing and the tools used? : abap bdc
What is the function of the transport system and workbench organiser? : abap data dictionary
Have you worked with support? How ticket comes to you? What were the timings for resolving tickets types of severity?
Which transaction code can I used to analyze the performance of ABAP program.?
How can one distinguish between different kinds of parameters? : abap modularization
What is the difference between Exit and Stop?