cancel
Showing results for 
Search instead for 
Did you mean: 

problem with BAPI_PO_RELEASE in workflow

sarath_k
Participant
0 Kudos

Hi Experts,

I have a backgrouond task for PO releases. in the method of the task , iam calling a BAPI, 'BAPI_PO_RELEASE' .when iam executing the workflow through SWUS the BAPI returnig parameters like new release code etc successfully but release strategy is not getting updated in the PO.please let me know what can be the problem?

Thanks & Regards,

Sarath

Accepted Solutions (0)

Answers (2)

Answers (2)

pokrakam
Active Contributor
0 Kudos

Test it in SE37. Also have a look at the messages in the RETURN structure.

sarath_k
Participant
0 Kudos

Hi Mike,

I have tested in se37 aswellas in swo1 there it is working fine. iam not getting any values in return parameters.

Thanks & Regards

Sarath

former_member186746
Active Contributor
0 Kudos

maybe a commit/user issue.

Check if the containers going to the WF-task are complete and correct.

You could try the following, if the user for this background task is wf-batch, you can set an endless loop in the method, temporary change WF-BATCH to dialog user, start the workflow and debug it with SM50.

Now you can see if it will be executed exactly as when you do it on the foreground.

Kind regards, Rob Dielemans

sarath_k
Participant
0 Kudos

Hi Rob,

I have done the same thing what you have suggested then it is working fine, i mean

in debug mode it is working fine but not working in background.

i have checked the container both import and return values ,everthing is perfect.

Thanks & Regards,

Sarath

Former Member
0 Kudos

Hi Sarath,

Consult with your funtional consultant, on this issue.

Thanks and Regards

Balaji K.