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

Reg: CTU_PARAMS

Former Member
0 Likes
1,011

Hi All,

I am working on 4.6 C version.

I am working on the upload of partner functions through VD02.

But I have encountered a problem while uploading the records.

Problem: When I am uploading the partnerfunctions(Table control) for a particular customer I could see different no of rows in the recording and in the display mode.

what I mean to say is If you see for a customer in XD03 transaction in the partner function table control I can see 15 rows but when I was recording I am getting only 11 rows.

I am creating a session and then processing it later.

So while uploading these partner functions after how many records I have to for page down 15 or 11?

I think we can solve this problem using CTU-PARAMS structure.

But when I see the Function modules : BDC_OPEN and BDC_INSERT I could not find any importing parameter with CTU_PARAMS structure.

If any one faced this type of situation please share your views on this.

Regards

Abhilash.

<unsuitable for ABAP Objects - moved to ABAP General. Please choose your forums more carefully in future>

Edited by: Mike Pokraka on Aug 4, 2008 9:31 AM

7 REPLIES 7
Read only

Former Member
0 Likes
856

Hi

The max number of rows u can see (and use) depends on the screen resolution, if u create e session, u can assign the parameters of structure CTU_PARAMS while running the session by trx SM35: u can set the flag "Dynpro standard size".

Max

Read only

0 Likes
856

Hi,

Thanks for the update but I am working in 4.6c version .

In which I could not find any import parameter with type as CTU_PARAMS to pass the default size.

In this case how could I proceed further .

Pleas elet me know if u have any solution

Regadrs

Abhilash.

Read only

0 Likes
856

hi,

see this.

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

.

Read only

Former Member
0 Likes
856

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.

Read only

Former Member
0 Likes
856

answered

Read only

Former Member
0 Likes
856

Hi,

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.

for this you need to create an field string which is type of CTU_PARMS. then fill this field string with DISMODE, UPDMODE, DEFSIZE......field values..

then pass this field string to CTUPARMS parameter.

hope it will solve your problem

Regards,

venkat n

Read only

0 Likes
856

Hi Venkat,

Thanx for the update but here I am working on 4.6 c but I could n ot find any import parameter in BDC_INSERT function module related to ctu-params.

Can u give me any other alternative way?

Regards

Abhilash.