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

Program running in the back ground

Former Member
0 Likes
770

Hi all

a program is running in the back ground, How do we know that what is going on in the program?

Thanks

Srini

Hi all

a program is running in the back ground, How do we know that what is going on in the program?

Thanks

Srini

5 REPLIES 5
Read only

Former Member
0 Likes
730

Hi Sreenivas,

Check the link below, its got good info. on how to analyse background progarms:

http://www.wilsonmar.com/sap_admin.htm

You could also debug background progarms, check the below link:

<b>Kindly reward points if you found the reply helpful.<b>

Cheers,

Chaitanya.

Read only

Former Member
0 Likes
730

Hi,

Use function module BP_JOBLOG_READ, result is an internal table of structure TBTC5,

Analyze this internal table, looking for message S550(00) at the beginning of a step.

Regards

Read only

Former Member
0 Likes
730

Dear Srini,

As I understand you want to know the status of a program which is running in the background. This can be done using SM50 or SM37. SAP updates teh tables TBTCO whenver your background job status change. However if SAP is shutdown, the current jobs might not be updated ontime to the table. (e.g. a background job was shown as Active (SM37), in fact the real status should be 'Cancelled'.)

Best Regards,

Rajesh.

<b>Please reward points if found helpful.</b>

Read only

Former Member
0 Likes
730

Hello,

You can make use of the transaction SM37 select the background job whose status you want to know and check the job log , it would give the step at which the job is in case of multiple programs run under a single job .

You can also make use of the transaction SM50 which would give you the exact statement at which the control is at at that given point of time .

Regards,

Sowmya.

Read only

Former Member
0 Likes
730

Hi,

Once the job is scheduled, you can see the status of the program in SM37. In SM37 give the job name and give the user name or else u can use * in the user name field, and select the date range. It will display the result, in that you can find the status of the report.

If report status is active, it means to say the job is in progress.

If staus is cancelled, it is cancelled.

If staus is ready it is ready to go to the active mode, which is in process.

Thanks,

Sriram Ponna.