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

after creating lock object if does n't access record by second user what should we do?

1937


Explain the disadvantages of abap query tool?

1064


Static and instance variable and method with live example. Why and when to use

1360


What is database view ? : sap abap data dictionary

977


WHY CLUSTER TABLE CALLED AS CLUSTER TABLE.

2209


What is protect & endprotect?

960


What are the restrictions on subscreens?

1190


How do you document ABAP programs? Do you use program documentation menu option?

1075


What is the collect statement? How is it different from append?

987


What are the internal tables and work area?

928


What is the difference between a dialog program and a report?

1030


Explain the disadvantages of different types of bdc's?

981


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.

2520


visibility section for class level and attributes level

1324


Work most on which module: name a few tables?

991