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
Explain the difference between free and refresh?
What is the difference between function group and function module?
What is meant by hotspots?
what next in SAP-ABAP/4 is it going to be change?
What are the aggregate objects in the dictionary? : abap data dictionary
What is an authorization in sap?
What primary key and foreign key relationship
How can you manipulate the presentation and attributes of interactive lists?
where are the passwords for ITS stores?
What should be declared explicitly in the corresponding abap/4 statements to access internal tables without header lines & why?
Which bdc you prefer? : abap bdc
How to call a subroutine in sapscript?
What is ps structure? : abap hr
Explain the advantages of logical databases?
What is lock objects? : sap abap data dictionary