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

Screen Resolution problem.

Former Member
0 Likes
486

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.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
444

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

3 REPLIES 3
Read only

Former Member
0 Likes
444

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

Read only

Former Member
0 Likes
445

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

Read only

0 Likes
444

Hi Raj,

Thankx alot