cancel
Showing results for 
Search instead for 
Did you mean: 

ABAP Code not getting executed through process chain

Former Member
0 Kudos

Hi Friends,

I have program which when executed with respective varient Popup system message (SM02 Messages). This program work fine when executed in forground or in background.

However same program when i added in process chain with respective varient. The output is not genertaed as expected (i.e the program is not populating SM02 message)

The process chain work's fine without giving any error.

Does any setting we need to do ???

i have followed the procedure given in "How to…

Integrate an ABAP program in a process chain" document from OSS.

Regards,

Jayant.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

May be the background user the process chain is started with does not have the authorization for transaction SM02.

Just an idea...

Stephan

By the way: When you start an ABAP via process chain, there is never a feedback to the chain monitor, so even if the ABAP fails, the chain will stay in status green.

Message was edited by: Stephan Müller

Former Member
0 Kudos

Thank's Stephan,

I have checked the job log. If the user

(BWALEREMOTE) don't have authorization then it should apper in job log. However in my case the background job is finished sucessfully.

Here is the JOB Log

-


Job started

Step 001 started (program RSPROCESS, variant &0000000016875, user ID BWALEREMOTE)

Event RSPROCESS with parameter 3ZVW16IPUVQ7HGZQK65EHS796 successfully triggered

Job finished

-


Former Member
0 Kudos

Hi,

you will not see in the log of the process chain if your program failed or not. You only receive a message that the programm has been triggered successfully.

Your program is then started in a new background process with a new log - try to find it via the job overview (transaction SM37) via date and time selection. (Of course you can only find there what your program writes to the log).

Another idea would be to check the profile of user ALEREMOTE (Transaction SU01 or SU01D) if there is an authorization for transaction SM02.

Stephan

Former Member
0 Kudos

Hi Friends,

I have checked for user authorizationit is fine.

however when i execute same program in background for user ALEREMOTE that program also didn't generate Message.

regards,

Jayant

Answers (0)