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: 

BADI - PT_GEN_REQ

Former Member
0 Kudos

Hi,

I want to change leave request approver in ESS portal base on our customized relationship in OM. I found that BADI 'PT_GEN_REQ', method 'FIND_RESP_AND_DEFAULT_NEXT_PRC' is the suitable interface to implement this.

But I don't know how to start the coding, should I remove all the remarked standrard code in the original method? Anyone can show me some sample code?

Thank you.

Regards,

Eric

4 REPLIES 4

Former Member
0 Kudos

Hi,

Problem solved.

0 Kudos

Hi Eric,

We also require similar implementation. Can you please share how you have implemented this.

Thanks and Regards,

Sudhir

0 Kudos

Hi Sudhir ,

Goto SE19, create a new implementation, modify the code there.

0 Kudos

Hi Eric,

Can you please give us your coding as a example? I have the same requirement as you but currently I get a dump due to the export parameter EX_DEF_NEXT_PROC_ACTOR, which does have the type TYPE REF TO IF_PT_REQ_A_WF. Something is wrong with this interface implementation - but what?!

Thank you verym much for your help!!

Regards

Michael