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

How to read files and process BDC's automatically ?

2152


what precautions or prerequisites do you follow to update a record into database table and how

6140


What are the two ways for restricting the value range for a domain ?

1251


What is the table & field to identify the no of items (bottles) stored in one case?

2497


Are you familiar with all steps for setting up a workflow?

2184


What are two methods of modifying sap standard tables? : abap data dictionary

1359


How many primary keys can be created for a table?

1115


Why do we use Abstract classes give an example from your project?

1389


Explain buffering concept usage?

1055


Explain the Types of Select statements?

1134


What are field symbols and field groups? Have you used component idx of structure clause with field groups?

1088


Define subtype ? : abap hr

1073


What are the components of sap scripts? : abap hr

1131


Explain the disadvantages of different types of bdc's?

1122


On which event we can validate the input fields in module programs?

1157