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

BDC

Former Member
0 Likes
464

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?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
443

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

4 REPLIES 4
Read only

Former Member
0 Likes
444

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

Read only

Former Member
0 Likes
443

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

Read only

Former Member
0 Likes
443

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....

Read only

Former Member
0 Likes
443

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