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

CTU_PARAMS

Former Member
0 Likes
331

Hi,

Can anybody send me a sample program in which CTU_PARAMS is used

in call transaction in BDC Recording and also where the Screen is Controlled

using CTU_PARAMS.

Regards,

Kevin Nick.

2 REPLIES 2
Read only

former_member194669
Active Contributor
0 Likes
289

Hi,

Check this


data: begin of i_options occurs 0.
        include structure ctu_params.
data: end of i_options.

  refresh : i_bdc, i_message, i_options.
  move :  'N' to i_options-dismode,
          'L' to i_options-updmode,
          c_x to i_options-defsize.
  append i_options.


  call transaction v_tcode using i_bdc options from i_options
                                      messages into i_message.

aRs

Read only

Former Member
0 Likes
289

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.