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: 

hi all bdc screen prob

Former Member
0 Kudos
90

hi all

i would like to know how use CTU_PARAMS structure inorder to handle screen resolutions in bdc in detail please.

my problem is of screen solution while running at diff loction.

is there any other way

thanx in adv

rocky

1 ACCEPTED SOLUTION

Former Member
0 Kudos
68

data : opt like CTU_PARAMS .

opt-DEFSIZE = 'X'.

call transaction xxx using bdcdata

options from opt.

2 REPLIES 2

Former Member
0 Kudos
69

data : opt like CTU_PARAMS .

opt-DEFSIZE = 'X'.

call transaction xxx using bdcdata

options from opt.

Former Member
0 Kudos
68

Hi,

Generally CTU_PARAMS Is used to avoid unnecessary screens,even though they will not appear in the recording.i also send a sample code for that to avoid this problem check it once ok..

we have to add the below code in ur bdc program at the begin of ur code.

SYNTAX AND CODE:

-


For Elimination Of Illegal Screens

-


DATA: opt TYPE ctu_params.

START-OF-SELECTION.

opt-nobinpt = 'X'.

opt-defsize = 'X'.

opt-updmode = 'A'.

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.

Regards,

Raj.