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: 

table control in bdc

Former Member
0 Kudos

how to handle table control rows irrespective of system resolution ? (ie., the no of rows displayed in table control .)

1 ACCEPTED SOLUTION

amit_khare
Active Contributor
0 Kudos
3 REPLIES 3

amit_khare
Active Contributor
0 Kudos

former_member182371
Active Contributor
0 Kudos

Hi,

long ago i found this answer in another forum and it has worked fo me:

(DEFSIZE is the key to the solution here):

data: begin of tran_opts,

dismode type ctu_params-dismode value 'N',

updmode type ctu_params-updmode value 'S',

cattmode type ctu_params-cattmode,

<b> defsize type ctu_params-defsize value 'X', </b>

racommit type ctu_params-racommit,

nobinpt type ctu_params-nobinpt,

nobiend type ctu_params-nobiend,

end of tran_opts.

call transaction 'F-02'

using bdcdata

<b>options from tran_opts</b>

messages into bdc_messages.

Best regards.

Former Member
0 Kudos

hi,

For Screen Resolution we use the <b>CTU_PARAMS,</b>

<b>look at the below for an example program</b>

http://www.sap-img.com/ab001.htm

<b>Here is the Example Program for Table Control</b>

http://www.sap-basis-abap.com/abap/handling-table-control-in-bdc.htm

data: i_ctu type ctu_params,

initialization.

i_ctu-dismode = 'A'.

i_ctu-updmode = 'S'.

i_ctu-cattmode = ' '.

<b>i_ctu-defsize = 'X'. " Screen Resolution Option</b>

i_ctu-nobinpt = 'X'.

regards,

Ashok Reddy