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

BADI - PT_GEN_REQ

Former Member
0 Likes
1,185

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

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

Former Member
0 Likes
1,123

Hi,

Problem solved.

Read only

0 Likes
1,123

Hi Eric,

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

Thanks and Regards,

Sudhir

Read only

0 Likes
1,123

Hi Sudhir ,

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

Read only

0 Likes
1,123

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