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

Former Member
0 Likes
354

hi experts,

i had a interview question,

-> i am developing my bdc with 10 line items in my development server and in Onsite, it is showing only 5 line items. how come v adjust to get the same no, of line items in both the servers?

plz answer me...

1 ACCEPTED SOLUTION
Read only

venkat_o
Active Contributor
0 Likes
332

Hi Sakthi Sri, Have a look at this . Use additon OPTIONS FROM <ctu_params> to Call Transction statement by specifying defsize = 'X'. Then problem will be solved.

DATA:
        w_params TYPE ctu_params,
        i_msgcoll  TYPE STANDARD TABLE OF bdcmsgcoll,
        i_bdcdata  TYPE STANDARD TABLE OF bdcdata.

  "structure of ctu_params.
  "----------------------
  "dismode   processing mode for call transaction using...
  "updmode   update mode for call transaction using...
  "cattmode  catt mode for call transaction using...
  "defsize   default screen size for call transaction using...
  "racommit  call transaction using... is not completed by commit
  "nobinpt   sy-binpt=space for call transaction using...
  "nobiend   sy-binpt=space after data end for call transaction using...

  w_params-dismode = 'A'. "All screen mode
  w_params-updmode = 'A'. "Asynchronous update
  w_params-defsize = 'X'. "standard size

  CALL TRANSACTION 'PA30' USING i_bdcdata MESSAGES INTO i_msgcoll OPTIONS FROM  w_params .
I hope that it helps you . Regards, Venkat.O

2 REPLIES 2
Read only

Former Member
0 Likes
332

Hi,

do this way ...

CALL TRANSACTION 'VA01' USING it_bdcdata

OPTIONS FROM OPT

MESSAGES INTO it_mesg.

opt of type ctu_params.

OPT-DISMODE = 'N'. "no screen mode

OPT-UPDMODE = 'S'. "synchronus update

OPT-NOBINPT = 'X'.

OPT-NOBIEND = 'X'.

OPT-DEFSIZE = 'X'. "Default size

Regards,

KK

Read only

venkat_o
Active Contributor
0 Likes
333

Hi Sakthi Sri, Have a look at this . Use additon OPTIONS FROM <ctu_params> to Call Transction statement by specifying defsize = 'X'. Then problem will be solved.

DATA:
        w_params TYPE ctu_params,
        i_msgcoll  TYPE STANDARD TABLE OF bdcmsgcoll,
        i_bdcdata  TYPE STANDARD TABLE OF bdcdata.

  "structure of ctu_params.
  "----------------------
  "dismode   processing mode for call transaction using...
  "updmode   update mode for call transaction using...
  "cattmode  catt mode for call transaction using...
  "defsize   default screen size for call transaction using...
  "racommit  call transaction using... is not completed by commit
  "nobinpt   sy-binpt=space for call transaction using...
  "nobiend   sy-binpt=space after data end for call transaction using...

  w_params-dismode = 'A'. "All screen mode
  w_params-updmode = 'A'. "Asynchronous update
  w_params-defsize = 'X'. "standard size

  CALL TRANSACTION 'PA30' USING i_bdcdata MESSAGES INTO i_msgcoll OPTIONS FROM  w_params .
I hope that it helps you . Regards, Venkat.O