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

BDC and Screen resolution issues

Former Member
0 Likes
913

Hi Forums!

I have a BDC that runs fine on my desktop monitor, however when it is run from my lap top it gives input errors:

here is the way I am calling the transaction:

thanks!



    DATA: ctu_params TYPE ctu_params.

    ctu_params-dismode   = ctumode.
    ctu_params-updmode   = cupdate.
    ctu_params-cattmode  = ''.
    ctu_params-defsize   = 'X'.
    ctu_params-racommit  = ''.
    ctu_params-nobinpt   = 'X'.
    ctu_params-nobiend   = ''.

    CALL TRANSACTION 'KE21N' USING bdcdata
                     OPTIONS FROM ctu_params
*                         mode   ctumode
*                         update cupdate
                     MESSAGES INTO messtab.

4 REPLIES 4
Read only

former_member194669
Active Contributor
0 Likes
642

Put a break-point in the following line (While executing thru your laptop)


ctu_params-dismode   = ctumode. " And change the CTUMODE value to A

and check , by changing this system will execute in debug mode

a®

Read only

Former Member
0 Likes
642

Hi,

It might be the case that some parameter ID is set on desktop and not on laptop....just a guess...

Thanks,

CHirag

Read only

Former Member
0 Likes
642

Whats the error you are getting?

Read only

venkat_o
Active Contributor
0 Likes
642

Hi, Try this way.


     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 MESSAGES INTO messtab.
Thanks Venkat