cancel
Showing results for 
Search instead for 
Did you mean: 

How to add Approver in the WS14000133

Former Member
0 Kudos

Dear Guru's,

Mine is ECS and version is 5.0, we have a scenario of 5-level approver for SC. Since its 5-level approver WF 14000133 is taken into consideration. i have written the code to get the required approver, for the SC Creater based on the Approval limit and put it in an internal table, but i am now not able to understand how do i pass this approver to the approver table as in the BADI BBP_WFL_APPROV_BADI the approval table is of the type BBPT_WFL_APPROVAL_TABLE_BADI, which is a structure. So can any one help me on this by giving some knowledge or the code to write in and finish the task. points will be awarded.

Thanks in Advance,

Mohit.

Accepted Solutions (0)

Answers (3)

Answers (3)

khan_voyalpadusman
Active Contributor
0 Kudos

where have you written the code for the approver determiantion? please let me know.

You need to implement BADI --->

Transaction SE18 --->

Badi Name -> BBP_WFL_APPROV_BADI-> display

Menu --->Implementation ---> Create .

Here you need to create your own implementation , and add code for retreiving the approvers in the method.

GET_REMAING_APPROVERS.

There will be already one example implementation available ---> if you see --->

Menu---> Implementation ---> Overview.

Former Member
0 Kudos

Hi

Which SRM version are you using ?

<b>Please see correpsonding Sample implementation using SE19 transaction for BBP_WFL_APPROV_BADI, which will give you detailed sample coding and explanation.</b>

<u>Also please check following SAP OSS Notes -></u>

Note 1033007 Requester is first approver during BAdI restart

Note 803628 BADI workflow: You cannot add an approver

Note 730033 Added approver: Change from standard to BAdI workflow

Note 799688 Approver cannot be replaced in BADI workflow

Note 798295 BADI workflow: SRM 3.0 upgrade to 4.0 approver list -> main

Note 894978 APPROVERLIST container element has incorrect approver status

Note 870114 WS14000133: Approvers ignored + display problem

Note 738726 SRM-EBP-WFL: No approvers possible for WF WS14000133

Note 780021 BADI Workflow: subsequent approvers after rejection

Do let me know.

Regards

- Atul

Former Member
0 Kudos

hi,

in method GET_REMAING_APPROVERS of badi BBP_WFL_APPROV_BADI,

you have to pass the 'US' charactere and the id of the user to field approval_agent of table approval_table.

data: lv_requestor TYPE syuname.

CONCATENATE 'US' sy-uname INTO ls_approver-approval_agent.

ls_approver-name = ls_address-fullname.

APPEND ls_approver TO approval_table.

you can also pass the name of the approver in field name of table approval_table.

You can also check some example provided by sap: goto transaction SE18, in Badi name give BBP_WFL_APPROV_BADI, now press display and goto menu implementation->display. Here you some examples you can learn from.

Message was edited by:

joseph fryda