Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is meant by write lock? : sap abap data dictionary

1039


How can we access the correction and transport system? : abap data dictionary

1053


In a loop of an internal table, what is the use of at first & at last statements?

1965


what is sap scriptview ?

2251


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?

1082


What is macro? : abap hr

1111


What are the ways you can do the tuning?

1078


performance tuning concepts

1409


What is the difference between native sql & open sql? : abap data dictionary

1108


How many types of views are there? : abap data dictionary

1040


What type of user exits have you written ?

1919


What is internal payroll process? : sap abap hr

1068


Explain what is sap script?

1120


What is the difference b/t Session method and call transaction method ??

6190


What are logical databases? What are the advantages of logical databases?

949