cancel
Showing results for 
Search instead for 
Did you mean: 

SAP BPC Business Process Flow validation upon Approve-complete activity

fgavarini
Explorer
0 Kudos
659

Dear Expert,

I am working on a SAP BPC 10.1 NW environment on BW 750. I have a specific requirement from the client.

We have a BPF with an activity 1 requiring a reviewer and an activity 2 without reviewer.

In activity 1 the reviewer is supposed to check data before clicking on approve, however the client would like the system to perform some automatic controls when he clicks on approve. For instance, if data don't met the expectations, the Approve fails.

In activity 2 the same behavior is required: when user clicks on Complete, some automatic controls shoudl be triggered.

As far as I know there is no standard way to do it, but I read about some custom Badi like BADI_UJ_BPF_SUBMIT.

We have delivered a BADI to run controls but it should be run via package (so there is currently no automation related to APPROVE/COMPLETE buttons).

I was wondering:

  1. Is this BADI the right solution to link automated controls with BPF buttons?
  2. if yes, is there anyone who can provide some sample codes? I couldn't find any documentation on the forum

Any hint would be very appreciated, since the client is not willing to change his requirements.

Thanks in advance for your valuable help

Best regards

Francesco

View Entire Topic
former_member186338
Active Contributor
0 Kudos

I have no idea what abap developer is doing, but:

https://help.sap.com/viewer/d1711b4a86b447c38415629229003c02/11.0.7/en-US/dea514af69b34258a502449bee...

For Approve or Reject you have to use: BADI_UJ_BPF_REVIEW_LOGIC

For Submit or Complete: BADI_UJ_BPF_SUBMIT_LOGIC