FIPP method POST

David G Cooper davidgcooper06 at gmail.com
Tue Mar 19 00:30:18 EDT 2013


Hi John,

The difficulty you are experiencing here is based solely on who's
context/environment the method is being run in.  Any background step within
workflow is run by the workflow administrator, usually WF-BATCH. 

So that you are using a method that is as standard as possible, this is what
I think you will need to do
1) Create a program that 
	A) Creates an instance of the FIPP object, 
	B) Call the Object Method, and
	C) Raises a completion event (Required for tying this back to the
workflow)
2) Modify the FIPP subtype, by
	A) Creating a method which submits a batch job, which includes your
program above as a step
	B) Create an event with parameters
3) Create a task for the new method
4) Add New task to workflow, and
5) Add a Wait for Event task

Note 1: When specifying the step in a batch job you can specify the name of
the user that runs the step.  This can be different from the user that is
running the batch job.

Note 2: Workflow has no control over when the batch job completes, hence the
wait for event.  Any data required to be passed from the batch job back to
the workflow can be included in the event container.

Note 3: Submitting a batch job to the batch scheduler is only possible if
the user WF-BATCH has the appropriate security.  Since the user is usually
setup with SAP_ALL, hopefully this will not be a problem.

Note 4: Use table TVARV to pass values to your program when run in the
background.

Kind Regards
David Cooper



More information about the SAP-WUG mailing list