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

Explain the difference between free and refresh?

1247


What is the difference between function group and function module?

1082


What is meant by hotspots?

1256


what next in SAP-ABAP/4 is it going to be change?

2184


What are the aggregate objects in the dictionary? : abap data dictionary

1242


What is an authorization in sap?

1338


What primary key and foreign key relationship

1435


How can you manipulate the presentation and attributes of interactive lists?

1210


where are the passwords for ITS stores?

2318


What should be declared explicitly in the corresponding abap/4 statements to access internal tables without header lines & why?

1093


Which bdc you prefer? : abap bdc

1389


How to call a subroutine in sapscript?

1188


What is ps structure? : abap hr

1426


Explain the advantages of logical databases?

1093


What is lock objects? : sap abap data dictionary

1136