Application Development 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: 

SCREEN RESOLUTION IN BDC

Former Member
0 Kudos

HI,

CAN ANY ONE TELL ABOUT SCREEN RESOLUTION IN BDC.

REGARDS.

B.SREENIVASULU.

5 REPLIES 5

Former Member
0 Kudos

hi,

Screen resolution means in one server suppose 3 line item is visible but in other system 5 line item is visible for same T.code.

tHIS IS DONE BY sCREEN RESOLUTION.

Refer code below.

data: f_option type ctu_params,

f_option-updmode = 'S'.

f_option-defsize = 'X'.

f_option-dismode = 'N'.

call transaction 'VA01' using bdcdata options from f_option messages into bdcerror.

Rewards point if helpful.

Regards

Santosh.

former_member632991
Active Contributor
0 Kudos

Hi,

Screen resolution means different in the screen display depending on ur system screen resolution.

suppose ur system resolution is diff and another's system is different then like in Tcode VA01, there will be 3 lineitems and another there will be 5 lineitems ,

so while doing recording and page down that will bw diff so there will be some problem

So u have to set the screen resolution as default by using CTU parameters..

write this code then

  • f_option-updmode = 'S'.

<b> f_option-defsize = 'X'.</b> f

_option-dismode = 'N'.

*call transaction 'VA01' using bdcdata options from f_option messages into bdcerror.

Hope it helps.

Regards,

Sonika

Former Member
0 Kudos

hi,

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.

former_member632991
Active Contributor
0 Kudos

Hi,

if ur problem is solved, then close the thread.

Regards,

Sonika

Former Member
0 Kudos

hi,

THANKS FOR CLEARING MY PROBLEM.

B.SREENIVASULU.