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: 

CTU_PARAMS

Former Member
0 Kudos
1,031

Hi,

Plz help me in knowing the functionality of CTU_PARAMS in BDC.

Thanks in advance

2 REPLIES 2

Former Member
0 Kudos
189

This is realted to screen resolution.

simple example :

if you upload data to table control transaction,sometime it may have 5 line items ,some time it may show 10 line items.

we need fix the size of table control ( it should be fixed ),so we use CTU_PARAMS.

data: f_option type ctu_params,

f_option-updmode = 'S'.

f_option-defsize = 'X'.

f_option-dismode = 'N'.

call transaction 'VA01' using bdcdata options from f_option messages into bdcerror.

Thanks

Seshu

Former Member
0 Kudos
189

Hi,

For Screen Resolution we use the CTU_PARAMS,

<b>CTU_PARAMS-UPDMODE.</b>

"S: synchronously

"A: asynchronously

"L: local . these all are possible vcalues for update mode.

<b>CTU_PARAMS-DISMODE.</b>

"A: show all dynpros

"E: show dynpro on error only

"N: do not display dynpro . these are all posible values for display mode.

<b>CTU_PARAMS-DEFSIZE = 'X'.</b>

this field describes the screen resolution option.

INITIALIZATION.

i_ctu-dismode = 'A'.

i_ctu-updmode = 'S'.

i_ctu-cattmode = ' '.

i_ctu-defsize = 'X'. " Screen Resolution Option

i_ctu-nobinpt = 'X'.

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

Regards,

Ashok Reddy