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: 

BDC using table control

Former Member
0 Kudos

Hi,

I have done BDC recording for transaction 9KE0.The flat file has 5 line items with debit and credit amount values.

Now after uploading the flat file using gui_upload,I am using loop at internal table having the flat file records.

But after the call transaction statement I could see in the table control screen only the first and last line items are populated.

How to use table control in BDC?

Regards,

Swapna

4 REPLIES 4

raymond_giuseppi
Active Contributor
0 Kudos

(FAQ) First use the search tool at scn, you will find some blogs/documents in wiki area with keywords BDC table control.

Regards,

Raymond

0 Kudos

Hi

Check the link which help you in using table control for BDC

http://wiki.sdn.sap.com/wiki/display/Snippets/Sample+BDC+for+Table+Control

Kartik2
Contributor
0 Kudos

Hi,

You would not have incremented the counter properly. For example let us say you have five rows in your table control that are available for input and let us assume the field name of first field as COLUMN1-FIELD.

Now since there are 5 possible inputs for this field, the system will use a concept of counter to address these fields, that is the first row will be

COLUMN1-FIELD(01)

Second row will be

COLUMN1-FIELD(02) and so on. So in your program also you have to maintain a counter and keep incrementing it, and once you reach the end of table control, i mean the 5th record in this context you have to execute a page down command and reset the counter.

Hope it helps. thank you.

Regards,

Kartik

Former Member
0 Kudos

Or , for every line- click on the position button and enter the the next line number