‎2009 Jul 31 5:02 PM
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.
‎2009 Jul 31 5:27 PM
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®
‎2009 Jul 31 8:41 PM
Hi,
It might be the case that some parameter ID is set on desktop and not on laptop....just a guess...
Thanks,
CHirag
‎2009 Jul 31 8:49 PM
‎2009 Aug 01 2:25 AM
Hi,
Try this way.
Thanks
Venkat
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.