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
after creating lock object if does n't access record by second user what should we do?
Explain the disadvantages of abap query tool?
Static and instance variable and method with live example. Why and when to use
What is database view ? : sap abap data dictionary
WHY CLUSTER TABLE CALLED AS CLUSTER TABLE.
What is protect & endprotect?
What are the restrictions on subscreens?
How do you document ABAP programs? Do you use program documentation menu option?
What is the collect statement? How is it different from append?
What are the internal tables and work area?
What is the difference between a dialog program and a report?
Explain the disadvantages of different types of bdc's?
when run my program in se38 it was showing output, when i take background execution and giving printer details it was shoing out put. but in SP01 when i give the Spool Request Number it was showing not yet processed entire page why it happens i dont know please give me a solution.
visibility section for class level and attributes level
Work most on which module: name a few tables?