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

how to debug in program in background

Former Member
0 Likes
519

Hi all,

I developed one report using class method.In my pf status I used some formula using class method.

When I execute the program then everything come fine.But when I execute program in background,it is not comming true data. So I want to debug in backgrond.I used SM50 for debugging.but debug point is not comming in my pf-status.can any body help me.In background, pf status works or not? what would be solution..pls help.

Thanks,

Rakesh

3 REPLIES 3
Read only

Former Member
0 Likes
492

F1 help of SET-PF-STATUS says:

During list processing, this statement sets the GUI status specified in status for the display window of the current list,

And GUI is not Available in backgroung procesing.So it wont be go into Debug.

Read only

SantoshKallem
Active Contributor
0 Likes
492

select the job in SM37 and type JDBG in command button (Tcode works only in SM37)

This will reprocess the job again in Debugging Mode.

Check Note 573128

Regards,

Santosh Reddy

Edited by: Santosh Reddy on Dec 21, 2008 10:56 AM

Read only

Former Member
0 Likes
492

hi,

  • Use SM37 to get list of jobs , type 'JDBG' in the command line ( no '/' ), put the cursor on the job and press ENTER

  • You are in debug mode now. Step through SAP program (press F7 couple of times) until you get to code you need.

reference : https://www.sdn.sap.com/irj/scn/wiki

regards

vivek