‎2006 Nov 25 2:17 PM
hi experts
In calltransation metho we use Mode= N. But in debuging BDC i want to show all screen mode. how?
‎2006 Nov 25 2:24 PM
‎2006 Nov 25 2:31 PM
just go into debugging mode and do the BDC step by step, when it comes to the Call Transaction line, check the mode which will be 'N'....Now, overwrite this with 'A' and execute the BDC...It will run in All Screens Mode....
‎2006 Nov 25 6:13 PM
Hi Surendra
As suggested above the MODE 'A' will do the trick as it takes you to all screens.
Normally MODE N will be defaulted as it will be used for background processing,
Here is a simple tip,
This will be the call transaction part of the program,
<i>
CALL TRANSACTION 'IW32' USING BDCDATA <b>MODE 'N' </b>
MESSAGES INTO MESSTAB.</i>
I would suggest you to make it like this,
<i><b>DATA: V_MODE TYPE C VALUE 'N'.</b>
<i><b>*<In debug mode set V_MODE = 'A' for debugging></b></i>
CALL TRANSACTION 'IW32' USING BDCDATA <b>MODE V_MODE </b>
MESSAGES INTO MESSTAB.</i>
This will be very useful because you just need to change the value of the V_MODE at runtime as A for debugging besides it has N which is the default to be used. (i.e. you need not change the code again and again).
This will be very useful when you have to debug some program in QA or PRD servers.
Hope this is useful.
Regards
Kathirvel
‎2006 Nov 25 7:05 PM
You can also use mode 'E' which will stop only when there are 'E'rrors.
Rob
‎2006 Nov 27 6:07 AM
in debug mode change form 'N' to 'A' and save.
press 'F6' to execute.
‎2006 Nov 27 8:37 AM
Hi Surendra,
As our experts of SDN told, You have to change the mode of Process into <b>A</b>, then only it is possible. For the above said i can add a point.
<b> It is not possible to debugg a program which is running in Background.( Normally ), as you know, Mode N in call transaction means, no display of screens, means, background, So the alternative is , While you start debugging, you can change the mode into A and you can proceed.</b>.
Thanks
Manju,
Reward Points if you are pleased.