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 is meant by write lock? : sap abap data dictionary
How can we access the correction and transport system? : abap data dictionary
In a loop of an internal table, what is the use of at first & at last statements?
what is sap scriptview ?
In selection screen, I have three fields, plant material number and material group. If I input plant how do I get the material number and material group based on plantdynamically?
What is macro? : abap hr
What are the ways you can do the tuning?
performance tuning concepts
What is the difference between native sql & open sql? : abap data dictionary
How many types of views are there? : abap data dictionary
What type of user exits have you written ?
What is internal payroll process? : sap abap hr
Explain what is sap script?
What is the difference b/t Session method and call transaction method ??
What are logical databases? What are the advantages of logical databases?