‎2007 Mar 21 8:59 AM
Hi Experts,
How to handle Screen Resolution problem in Data tranfers, while using the TCODE like VA01 which nothing but table control. I came 2 know that there is structure by which we can resolve this problem, Can anybody tell me that structure name and how to use that?
Thanx in advance.
‎2007 Mar 21 11:45 AM
Hi Abdul,
Check this coding.
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.
Hope this resolves your query.
Reward all the helpful answers.
Regards
‎2007 Mar 21 9:05 AM
The structure is ctu_params
data: xctu_params type ctu_params.
xctu_params-defsize = 'X'. " for default size
xctu_params-dismode = 'N'. " N for no screen mode
xctu_params-updmode = 'S'. "S for sync mode A for Async mode
call transaction 'VA01' using bdcdata options from xctu_params .
Regards,
Ravi
‎2007 Mar 21 11:45 AM
Hi Abdul,
Check this coding.
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.
Hope this resolves your query.
Reward all the helpful answers.
Regards
‎2007 Mar 22 6:05 AM