cancel
Showing results for 
Search instead for 
Did you mean: 

User WF-BATCH and BAPI_PO_RELEASE does not work without printer assigned

Former Member
0 Kudos

Hello Gurus,

The function BAPI_PO_RELEASE is used in our PO approval workflow, but this one does not work till the user WF_BATCH has no printer defined in USR01-SPLD. This is a strange behavior because the output message assigned to the PO has a message transmission medium equals to 5 (External send) => not print.

Does someone have already met the same issue?

How this could be solved without assigning a default printer to user WF_BATCH?

Kind regards

Chris

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member186746
Active Contributor
0 Kudos

Don't know if this helps, but yesterday I found out that for formatting in HTML format SAP uses the printer setting of the user somewhere (I found out about this when scheduling background job rbbp_notification_offapp).

So what is the problem when WF-BATCH does have a printer assigned, I can't see the direct risk with that course.

Kind regards, Rob Dielemans

Former Member
0 Kudos

Hello Tison,

we're using also the WF-BATCH user having no default printer assigned and it works fine with the final release.

However, there's usually the output message NEU with a prerequesite maintained that the PO has to be finally released. So this way there can be an additional output message found upon releasing. But we have a printer assigned using the condition records and we're not using the type that you've specified.

So I'd guess that, indeed, the problem lies within the message. You could copy the WF-BATCH user to a dialog user and release the purchase order in dialog and see what happends.

With the very best wishes,

Florin

vijy_mukunthan
Active Contributor
0 Kudos

Does WF_BATCH has SAP_ALL authorization?.

Regards

vijay