Application Development and Automation 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: 
Read only

Workflow Initiation

bpawanchand
Active Contributor
0 Likes
980

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
Read only

former_member190794
Active Participant
0 Likes
861

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
Read only

former_member190794
Active Participant
0 Likes
862

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

Read only

0 Likes
861

Hi David,

  Thank you very much.

Regards

Pavan

Read only

0 Likes
861

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

Read only

0 Likes
861

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

Read only

0 Likes
861

Hi Martin,


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

Cheers,Attila