08-30-2012 5:50 AM
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
08-30-2012 5:54 AM
(FAQ) First use the search tool at scn, you will find some blogs/documents in wiki area with keywords BDC table control.
Regards,
Raymond
08-30-2012 6:04 AM
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
08-30-2012 6:05 AM
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
08-30-2012 10:10 PM
Or , for every line- click on the position button and enter the the next line number