cancel
Showing results for 
Search instead for 
Did you mean: 

BADI for adding new approver for PO

Former Member
0 Kudos

Hi All,

I want to add new approver for PO but with some restrictions. Could any one give me the BADI ddetails?

Regards,

Bhushan V

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hello Shiva,

Hope you may find this useful for your scenario.

Allow Changes to Approvers

Use

You can use the Business Add-In (<DS:GLOS.5C733369F735D311AE620060B03C9BBE>BAdI) BBP_CHNG_AGNT_ALLOW to activate and deactivate the adding/changing of reviewers in the workflow approval preview.

(The appropriate pushbuttons are then shown or hidden on the user interface.)

Activities

To do this, implement the method AUTHORISE_FOR_CHANGE in the BAdI.

Example

METHOD if_ex_bbp_chng_agnt_allow~authorise_for_change.

IF sy-uname EQ 'EMPLOYEE4'.

ev_add_buttons_disabled = 'X'.

ENDIF.

ENDMETHOD.

This example implementation makes the buttons for changing or adding approvers and reviewers inactive for the user EMPLOYEE4.

Please Reward FULL points for useful answer.

BR,

-Ashwin.

Former Member
0 Kudos

Hi Bhusan,

What kind of restrictions you want to add to approvers? Can you please explain your requirement little clearly?

Regards,

Antony.