Application Development 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: 

how to add rows in table control for data recording BDC?

Former Member
0 Kudos

hello,

pl tell me the way to upload data through BDC in table control of screen .

how to add fields inrecording of table control?

Please give some code in this regard.

I am generous in giving points..pl help!

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

Look at the below links, it will have an example code to handle the table controls

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

Sudheer

3 REPLIES 3

Former Member
0 Kudos

Hi,

Look at the below links, it will have an example code to handle the table controls

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

Sudheer

0 Kudos

will it run for table control showing 7 rows at a time

i.e. row(7) is repeated after 7th row. i have seen this happening in recording

Former Member
0 Kudos

Hi,

While doing code under recording first you need to do the recording with sample data under a particular transaction like T-code XK01 (Vendor creation).

Take an example of create vendor using T-code XK01:

Go to t-code 'SHDB' under make recording for XK01 with sample data and once if you complete the recording means after vendor creation check the source code bye by pressing the button 'Program', it shows the total coding for recording of what you entered the test data.

Then you will create one program and copy that source code of recording into your program, and now you have to remove the values at perform statement and give the internal table field name.

Like that you can develop your own code along with your validations.

my best suggestion is don’t see the example code of recording method because any one for standard t-code should get the code from recording with sample data, so first tryout with your own recording method and you can understand the code step by step.

With these I hope you will get some idea of recoding method.

Let me know for further doubts.

Regards,

Vijay.