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

debugging

Former Member
0 Likes
1,188

Hi..

could some tell me how to debug in background mode

any Tcode.

Thanks in advance

srikanth.

1 ACCEPTED SOLUTION
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
1,163

<i>One way of debuging programs which are already running in background is via transaction SM50. This displays a

list of process running in the server. In order to debug the program go to Menu option:

Program/Mode>Program>Debugging.</i>

<i>

If you have got a program which calls another program in background i.e SAPScript print program You

may need to debug it or get it to stop at a break-point set in the background program. To do this all

you need to do is turn update debugging on from the ABAP debugger (Settings->Update debugging).

</i>

Regards,

Rich Heilman

10 REPLIES 10
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
1,164

<i>One way of debuging programs which are already running in background is via transaction SM50. This displays a

list of process running in the server. In order to debug the program go to Menu option:

Program/Mode>Program>Debugging.</i>

<i>

If you have got a program which calls another program in background i.e SAPScript print program You

may need to debug it or get it to stop at a break-point set in the background program. To do this all

you need to do is turn update debugging on from the ABAP debugger (Settings->Update debugging).

</i>

Regards,

Rich Heilman

Read only

Lakshmant1
Active Contributor
0 Likes
1,163

Hi Srikath,

You can debug from SM50 transaction code.

In SM50 choose your respective program and then use

the menu PROGRAM/MODE -> DEBUGGING.

Thanks

Lakshman

Read only

0 Likes
1,163

Hi lakshman..

thanks i got that one, got an prob in scripts, how to copy an exsisting sap script(F140_DOCU_EXC_01) into user defined script(zfl_rm). i have been doing tht by using the copy option in se71 but it showing an error that the standard script(F140_DOCU_EXC_01 ) doesn't exsist in client 800. but again when i use display option for the same script (F140_DOCU_EXC_01 ) it is displayed. could please tell me how to copy the script.

Thanks in advance

srikanth

Read only

0 Likes
1,163

You must copy from client 000. The standard which is displayed is from client 000.

Regards,

Rich Heilman

Read only

0 Likes
1,163

Hi Srikanth,

You try copying it from 000 client.

Thanks

Lakshman

Read only

0 Likes
1,163

In SE71, enter the name of the sapscript. click utilites, copy from client.

Regards,

Rich Heilman

Read only

0 Likes
1,163

Hi Rich,

i have created a new function module but while activating it showing an error like.. it should be an report or include program. could you please tell me how to activate the f.m.

cheers

srikanth

Read only

0 Likes
1,163

Are you missing the FUNCTION statement at the top of the source code. Please post your code.

Also, you way want to open new posts for questions of other subjects.

Regards,

Rich Heilman

Read only

0 Likes
1,163

hi sri,

this FM must be part of some function group , first activate this function group. you can do it from menu(inactive...)

regards

Read only

0 Likes
1,163

use transaction scc1 for copying from client

go to trnasaction se93 in parameteres part input

ssc+ then press f4 you will get the related transaction.

Irfan