06-30-2007 4:42 PM
how to handle table control rows irrespective of system resolution ? (ie., the no of rows displayed in table control .)
06-30-2007 4:48 PM
http://www.sap-img.com/abap/bdc-example-using-table-control-in-bdc.htm
Regards,
Amit
Reward all helpful replies.
06-30-2007 4:48 PM
http://www.sap-img.com/abap/bdc-example-using-table-control-in-bdc.htm
Regards,
Amit
Reward all helpful replies.
06-30-2007 6:03 PM
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.
06-30-2007 7:08 PM
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