‎2008 Aug 01 3:16 PM
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
‎2008 Aug 01 3:27 PM
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
‎2008 Aug 04 8:55 AM
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.
‎2008 Aug 04 9:36 AM
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
.
‎2008 Aug 02 6:47 AM
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.
‎2008 Aug 06 6:37 AM
‎2008 Aug 06 6:43 AM
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
‎2008 Aug 06 7:00 AM
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.