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 table control in BDC?

Answer Posted / narasimha reddy

Bdc Approach is Screen and function code interface.
When enter the screen we required enter multiple Data
same screen.
example va01. at enter qty and material fields. if system allowed only Limited entries. after press enter system allocated some entries. finally save button.
This logic recorded in SHDB Transaction.
loop at it_vbap into wa_vbap.
concatenate 'VBAP-AMTNR(' V1 ')' Into field.
perform sub_fld v1 wa_vbap-matnr.
" we assum system allowed 5 entries after enter data again 5 fields allowed.
v1 = v1 + 1.
if v1 = 6.
v1 = 1.
perform sub USING 'BDC_OKCODE. '00/'.
PERFORM SUB1 USING 'SAPMV45A' '4100' 'X'.
perform sub USING 'BDC_OKCODE. '00/'.
endloop.

ABOVE CODE FOR SAMPLE .

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

In which time constraint does the infotype records depend on the subtype ? : abap hr

1084


How do you control printer functions from sapscript?

1305


How is the command suppress-dialog useful?

1108


How to eliminate duplicate entries in internal tables? : abap data dictionary

1285


How do you import pay scale data from non sap to sap? : sap abap hr

1168


What is a batch input session? : abap hr

1167


What is the meaning of abap editor integrated with abap data dictionary? : abap data dictionary

1114


Is there any BAPI to retrieve list of customers and their sales areas i.e., Cust No, Distr Channel and Division for all the customers.

2074


Explain what is an rfc?

1103


How will you define posting procedures?

1365


Can a transparent table exist in data dictionary but not in the database physically? : abap data dictionary

1120


What are field symbols?

1138


Why we are using Macros instead of Function Modules

2133


What are the different functions used in sap script?

971


Where do you create indexes in abap?

1107