Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

logic for Table control in BDC

Former Member
0 Likes
561

hello sdn friends,

i am uploading the data from flat file containing VENDOR MASTER DATA ( XK01) .in fllat file for one vendor having five different accounts . using XK01 transaction i am updating to database .

my struggle begins here.

i have to load through table control in screen 130.

i got the code by searching the sdn community.please dont post same code.please explain the code .

advance thanks

hello sdn friends,

i am uploading the data from flat file containing VENDOR MASTER DATA ( XK01) .in fllat file for one vendor having five different accounts . using XK01 transaction i am updating to database .

my struggle begins here.

i have to load through table control in screen 130.

i got the code by searching the sdn community.please dont post same code.please explain the code .

advance thanks

2 REPLIES 2
Read only

Former Member
0 Likes
472

Hi sreenu,

Table control is used to enter multiple line items in BDC.

In the loop statement for BDC_INSERT we have to go for one

more loop with in this loop. An make sure is there any ADD

button is there for the table control. And write statements

accordingly.

We can handle table control using line index ,

Line index indicates which line of Table control is to be use for BDC transaction,

Ex -

perform bdc_field using 'RC29K-AUSKZ(01)'

indicates 1st line of table control is going to be used for transaction which is Line index of Table Control

visit this link to know more about " how to deal with table control in BDC " and exmaples of table control in BDC.

http://arthur_ong.tripod.com/xab023.htm

http://www.sap-basis-abap.com/abap/handling-table-control-in-bdc.htm

http://www.sap-img.com/abap/bdc-example-using-table-control-in-bdc.htm

Regards

Anup.

Read only

Former Member
0 Likes
472

Hi Friend,

Please do not use BDC of XK01, it is not recommended by SAP. Because during veersion upgrade screen sequence or screen element can change.

Use BAPI: BAPI_VENDOR_CREATE

Regards

Krishnendu