Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Workflow Initiation

bpawanchand
Active Contributor
0 Kudos
260

Hi Experts,

   I am looking to integrate SAP workflow in BOPF based Business object.

  •   Do I need to make use of Determinations to start the workflow?
  •   If I have to use it then what should be the category .

Thanks

Pavan

1 ACCEPTED SOLUTION

former_member190794
Active Participant
0 Kudos
141

Hello Pavan,


this depends on your use case. Usually workflows are triggered after a successfull commit of the BOPF transaction was done. Thus the determination time "after commit" would be a good choice. You could invoke your workflow there via CALL FUNCTION 'SAP_WAPI_START_WORKFLOW'.

Best regards

Tilmann

5 REPLIES 5

former_member190794
Active Participant
0 Kudos
142

Hello Pavan,


this depends on your use case. Usually workflows are triggered after a successfull commit of the BOPF transaction was done. Thus the determination time "after commit" would be a good choice. You could invoke your workflow there via CALL FUNCTION 'SAP_WAPI_START_WORKFLOW'.

Best regards

Tilmann

0 Kudos
141

Hi David,

  Thank you very much.

Regards

Pavan

0 Kudos
141

Hello Tilmann,

Could you please give some advice, where to create the determination for "after commit" ? I've tried to create one in my BO in /BOPF/CONF_UI, but found no option to create determination for after commit. Since I'm saving the transaction using transaction manager, I can do actions after successful save externally, but would be nice to do it within the BO document, if the framework provides such option.

Thanks, Attila

0 Kudos
141

Hi Attila,

If you double click on the determination, there is a tab "Evaluation Timepoints" in transaction BOBX or a tab "Node Category Assignment" in transaction BOBF.

If you cannot see "after commit" as an option to flag, check the settings in BOBF, menu "Utilities, Settings."

Cheers,

Martin

0 Kudos
141

Hi Martin,


I found it in BOBF under node category assigment based on your description. Thank you for your help.

Cheers,Attila