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

data transfers

Former Member
0 Likes
478

what exactly is 'CTU PARAMS'?

Please explain with an example how to set the these params.

Thanks,

Khadeer.

Edited by: khadeer basha on Oct 27, 2008 7:45 AM

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
451

Hi,

ctu_parameters r u used for bdc on table control .

To handle the resolution we use the parameters

if you open BDC_INSERT function module in SE37......you will see CTUPARAMS parameter in Importing section..

when u call this function module in program...that time you will see this in Exporting section.

please look at below function.

CALL FUNCTION 'BDC_INSERT'

EXPORTING

TCODE = 'ME21N'

u2022 POST_LOCAL =

u2022 PRINTING =

u2022 SIMUBATCH = ' '

CTUPARAMS = ctuparam

TABLES

dynprotab = IT_BDCDATA

u2022 EXCEPTIONS

u2022 INTERNAL_ERROR = 1

u2022 NOT_OPEN = 2

u2022 QUEUE_ERROR = 3

u2022 TCODE_INVALID = 4

u2022 PRINTING_INVALID = 5

u2022 POSTING_INVALID = 6

u2022 OTHERS = 7

2 REPLIES 2
Read only

Former Member
0 Likes
451

Hi

CTU_PARAMS is used to for BDC on Tablecontrols.

Table control shows different number of rows , in different systems depending on the Resolution. To handle the resolution we will use the CTU_PARAMS option.

CTU_PARAMS is having a field DEFSIZE (Default size) . If you set the Default size 'X' then During execution in all the systems it will show the same no of Rows.

Example:

CALL FUNCTION 'BDC_INSERT'
EXPORTING
TCODE = 'ME21N'

    * POST_LOCAL =
    * PRINTING =
    * SIMUBATCH = ' '

CTUPARAMS = ctuparam
TABLES
dynprotab = IT_BDCDATA

    * EXCEPTIONS
    * INTERNAL_ERROR = 1
    * NOT_OPEN = 2
    * QUEUE_ERROR = 3
    * TCODE_INVALID = 4
    * PRINTING_INVALID = 5
    * POSTING_INVALID = 6
    * OTHERS = 7

Regards,

Vishwa.

.

Read only

Former Member
0 Likes
452

Hi,

ctu_parameters r u used for bdc on table control .

To handle the resolution we use the parameters

if you open BDC_INSERT function module in SE37......you will see CTUPARAMS parameter in Importing section..

when u call this function module in program...that time you will see this in Exporting section.

please look at below function.

CALL FUNCTION 'BDC_INSERT'

EXPORTING

TCODE = 'ME21N'

u2022 POST_LOCAL =

u2022 PRINTING =

u2022 SIMUBATCH = ' '

CTUPARAMS = ctuparam

TABLES

dynprotab = IT_BDCDATA

u2022 EXCEPTIONS

u2022 INTERNAL_ERROR = 1

u2022 NOT_OPEN = 2

u2022 QUEUE_ERROR = 3

u2022 TCODE_INVALID = 4

u2022 PRINTING_INVALID = 5

u2022 POSTING_INVALID = 6

u2022 OTHERS = 7