‎2007 Mar 16 4:50 AM
<b></b>HAI CAN ANY ONE TELL ME ABT THE RESOLUTION CONCEPT IN BDC, HOW TO HANDLE IT,FOR EXAMPLE WHEN I RECORD A TRANSACTION AND USE PAGE DOWN FOR FILLING LINES OF TABLE CONTROLS , BUT SOME TIMES THE PROBLEM ARISES WHEN IN PRODUCTION WHERE I GET MORE LINES AND THE PAGE DOWN IS TRIGGERED BEFORE ALL LINES ARE FILLED, TAKE THIS WAY IN RECORDING I GET THREE LINES AND THEN I DO PAGE DOWN, BUT IN PRODUCTION I GET FOUR LINES AND THE PAGE DOWN IS TRIGGERED FOR THRRE LINES ONLY INSTEAD OF FOUR , HOW TO RESTRICT THIS
BYE
AFZAL
‎2007 Mar 16 4:52 AM
where options like structure of ctu_params.
form bdc_transaction using tcode.
call function 'BDC_INSERT'
exporting
tcode = tcode
<b> ctuparams = options.</b> tables
dynprotab = bdcdata.
endform.
Regards
Prabhu
‎2007 Mar 16 4:52 AM
where options like structure of ctu_params.
form bdc_transaction using tcode.
call function 'BDC_INSERT'
exporting
tcode = tcode
<b> ctuparams = options.</b> tables
dynprotab = bdcdata.
endform.
Regards
Prabhu
‎2007 Mar 16 5:14 AM
ok thanx can u give me exact statement for that and if i use bdc_insert then how to handle in that case
regads
afzal
‎2007 Mar 16 5:24 AM
Hi,
Table control in BDC
http://www.sap-img.com/abap/bdc-example-using-table-control-in-bdc.htm
Kishore.
‎2007 Mar 16 6:42 AM
Hi Afzal,
From your question I came to know that ur problem is with Table Control Screen resolution. Try this coding to freeze the resolution irrespective of the client and system.
Do something like this.
data x_ctuparams type ctu_params.
x_ctuparams-defsize = 'X'. " This would freeze the resolution in any system
x_ctuparams-dismode = 'N'.
x_ctuparams-updmode = 'S'.
call transaction <TCODE> using it_bdcdata options from x_ctuparams.
Hope this resolves your query.
Reward all the helpful answers.
Regards
‎2007 Mar 16 6:48 AM
Hi,
WA_CTU_PARAMS type ctu_params.
WA_CTU_PARAMS-DISMODE = 'N'. "no screen mode
WA_CTU_PARAMS-UPDMODE = 'S'. "synchronus update
WA_CTU_PARAMS-NOBINPT = 'X'.
WA_CTU_PARAMS-NOBIEND = 'X'.
WA_CTU_PARAMS-DEFSIZE = 'X'. "Default size
CALL TRANSACTION 'VA01' USING it_bdcdata
OPTIONS FROM WA_CTU_PARAMS
MESSAGES INTO it_mesg.Default size will play good role in terms of resoultion. in one system in table control you can see 10rows, but in others system it will show 20 records. it depends on resoultion. but when you set the default size then it will take same (default screen size) in all the systems when you run BDC.
Regards
Sudheer
‎2007 Mar 16 6:07 PM
Perhaps you can switch to something other than BDC? I know it doesn't solve your current situation; however a much better long term solution.