‎2007 Sep 14 8:48 AM
Hi,
In BDC if in a recording, thr is a table-control &
data to be uploaded goes beyond screen & it gives
error. How will u solve this problem?
‎2007 Sep 14 8:59 AM
Hi Mithun
When you would like to refer the field in the table control you need to identify which record that you want .
Example 'ACGL_ITEM-HKONT(1)'
'ACGL_ITEM-HKONT(2)'
you can follow this way.
LOOP AT itab.
CONCATENATE 'ACGL_ITEM-HKONT(' W_I ')' INTO X1.
CONCATENATE 'ACGL_ITEM-SHKZG(' W_I ')' INTO X2.
CONCATENATE 'ACGL_ITEM-WRBTR(' W_I ')' INTO X3.
perform bdc_field using X1
itab-field1.
perform bdc_field using X2
itab-field2.
w_i = w_i + 1.
endloop.
Regards
Wiboon
‎2007 Sep 14 8:59 AM
Hi Mithun
When you would like to refer the field in the table control you need to identify which record that you want .
Example 'ACGL_ITEM-HKONT(1)'
'ACGL_ITEM-HKONT(2)'
you can follow this way.
LOOP AT itab.
CONCATENATE 'ACGL_ITEM-HKONT(' W_I ')' INTO X1.
CONCATENATE 'ACGL_ITEM-SHKZG(' W_I ')' INTO X2.
CONCATENATE 'ACGL_ITEM-WRBTR(' W_I ')' INTO X3.
perform bdc_field using X1
itab-field1.
perform bdc_field using X2
itab-field2.
w_i = w_i + 1.
endloop.
Regards
Wiboon
‎2007 Sep 14 9:01 AM
hi mithun
Take the all the records into the file or an seperate internal table
and then upload it by offset caluculation.....using the table control index of the each record
‎2007 Sep 14 9:01 AM
Hi Mithun,
While recording using SHDB, in the initial screen of SHDB there is a check box called 'Default Size', you need to check this to get the default size for the table control.
Based on the default size you can do a page down, if the no of records exceed the no of lines displayed in the table control.
Hope this helps....
Reward if helpful....
‎2007 Sep 14 9:10 AM
hi,
for table control u had to loop while recording, there is option edit insert line
and enter 1st records in table control and again go for edit insert line and then save, it will take it as loop.
regards
siva