‎2008 Oct 27 5:59 AM
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
‎2008 Oct 27 6:57 AM
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
‎2008 Oct 27 6:52 AM
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 = 7Regards,
Vishwa.
.
‎2008 Oct 27 6:57 AM
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