2008 Jan 03 7:28 AM
Hi Guys,
I was hard coded call transaction mode "N", Can we change mode while debugging?
Thanks,
Gourisankar.
Hi Guys,
I was hard coded call transaction mode "N", Can we change mode while debugging?
Thanks,
Gourisankar.
2008 Jan 03 7:37 AM
2008 Jan 03 7:42 AM
Hi,
I dont think we can change it if we have hard-coded it.... you have to change the mode in the program and run it again......
-Muktar
2008 Jan 03 8:11 AM
Hi,
Can you please tell me, How we can change?
Thanks,
Gourisankar.
2008 Jan 03 8:17 AM
Hi,
If you are passing the mode in a variable then you can change uts value in debugging, but if you have simply mentioned N, you cant change it .
Regards,
Pankaj
2008 Jan 03 8:19 AM
2008 Jan 03 8:19 AM
Hi,
u cant change if u have hardc coded it in program.
Declare variable for mode. assign 'N' to it.
Then u can change while debugging.
Regards,
Srinivas
2008 Jan 03 8:24 AM
Hi gourisankar,
U can assign the display mode to some variable and at runtime u can change that value.
This is a demo program available in abapdocu.
Hope this helps u.
Here opt is a strucuture( Parameter string for runtime of CALL TRANSACTION USING)
DATA class_name TYPE c LENGTH 30 VALUE 'CL_SPFLI_PERSISTENT'.
DATA: bdcdata_wa TYPE bdcdata,
bdcdata_tab TYPE TABLE OF bdcdata.
DATA opt TYPE ctu_params.
CLEAR bdcdata_wa.
bdcdata_wa-program = 'SAPLSEOD'.
bdcdata_wa-dynpro = '1000'.
bdcdata_wa-dynbegin = 'X'.
APPEND bdcdata_wa TO bdcdata_tab.
CLEAR bdcdata_wa.
bdcdata_wa-fnam = 'BDC_CURSOR'.
bdcdata_wa-fval = 'SEOCLASS-CLSNAME'.
APPEND bdcdata_wa TO bdcdata_tab.
CLEAR bdcdata_wa.
bdcdata_wa-fnam = 'SEOCLASS-CLSNAME'.
bdcdata_wa-fval = class_name.
APPEND bdcdata_wa TO bdcdata_tab.
CLEAR bdcdata_wa.
bdcdata_wa-fnam = 'BDC_OKCODE'.
bdcdata_wa-fval = '=CIDI'.
APPEND bdcdata_wa TO bdcdata_tab.
opt-dismode = 'E'.
opt-defsize = 'X'.
CALL TRANSACTION 'SE24' USING bdcdata_tab OPTIONS FROM opt.
hope it solves ur problem.
Regards,
Arun.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |