cancel
Showing results for 
Search instead for 
Did you mean: 

How can i make my workflow start without using the queue for background job in sap S4HANA ?

S0024213798
Participant
0 Kudos

Hello,

I created a Workflow and i want it to trigger and start without passing by the queue in the system, here is what i did on a screenshot :

I did not tick the "enable usage of event queue" as shown in the picture but my workflow always gets stuck in the queue with other events, can anyone tell me why ?

facing the same issue. subscribed.

Accepted Solutions (1)

Accepted Solutions (1)

DominikTylczyn
Active Contributor

Hello hichem_rahmani

The settings you have shared should deliver event directly to the recipient i.e. your workflow. If they still go to the queue, it may indicate an error in the workflow itself.I would suggest the following steps:

  1. Activate the event trace with the SWELS transaction. Trigger the event from a notification creation and analyze the trace with the SWEL transaction.
  2. Go to the SWEQBROWESER transaction and select your event in the queue. Check the status of the event. Try to deliver the event from the queue with the button: Check the results and see if your workflow starts.

According to your settings events should be delivered immediately with standard RFC method. Let's check basic workflow customizing - go to the SWU3 transaction and check the status of WF configuration activities. Make sure that all are green, especially "Configure RFC Destination":

Read the documentation to the activity:

RFC destination WORKFLOW_EVENT_abc (abc is the client number) has to exist and it has to work correctly, so WF events are delivered.

Next, check the status of RFC queue for WORKFLOW_EVENT_abc destination. Go to SM58 and display the RFC calls for the destination, e.g.

Check if there are any unprocessed calls.

Next, verify if there are any short dump in ST22 at the time when your events were triggered.

Best regards

Dominik Tylczynski

S0024213798
Participant

Hello Sir,

I did as you told me and here is the result after i pressed the deliver button :

it added the Yellow lines in both tests, and still event put in queue.

Any suggestion ?

DominikTylczyn
Active Contributor
0 Kudos

hichem_rahmani What does SWEQBROWESER say? Is there any error message with the event?

S0024213798
Participant
0 Kudos

Hello 3a9e4ce873a94034b33dc62b0ce600ee

here is what the SWEQBROWSER says about the workflow

0 errors,

DominikTylczyn
Active Contributor
0 Kudos

hichem_rahmani See my updated answer.

S0024213798
Participant

Hello Mr 3a9e4ce873a94034b33dc62b0ce600ee

Indeed, the WF configuration activities are not all green, (customized), i will reachout to our Basis team to make sure they finish this configuration and do the tests again.

Thanks alot for all the help you provided.

DominikTylczyn
Active Contributor
0 Kudos

hichem_rahmani I'm glad to help. Make sure please to share the final result.

S0024213798
Participant
3a9e4ce873a94034b33dc62b0ce600ee

will do as soon as the customizing is done and i proceed with the tests.

S0024213798
Participant

Hello 3a9e4ce873a94034b33dc62b0ce600ee

I just wanted to let you know that the workflow is finally working as expected after we did some of the customizing on the transaction SWU3 without passing by the queue as you said.

Thanks again for everything.

Answers (0)