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 for me21n tcode

Former Member

Hi All,

I have a requiremnet in ME21N Transaction.

While creating a PO i want to validate some values based on services tab in the items.I found one badi related to services but when i am putting a break-point its not getting triggered.

BADI IS -


ME_PO_PRICING_CUST

Please help me which BADI shall i use for this purpose, its very urgent.

Regards

Mona

10 REPLIES 10

Former Member
0 Kudos

Hi Agarwal

Pls check this Badi :ME_PROCESS_PO

Regards,

Viveks

0 Kudos

Hi Vivek,

I checked this BADI its not having any option for the services tab.

0 Kudos

Hi,

Please check this BADI ME_PO_SC_SRV, I think youknow the process, Implement the required method in BADI, activate it and put a break point inside it.

You can see the list of BADI's along witht the descriptions in SE80 witht the package name = 'ME' for purchase order processing.

Some times, if the descriptions are not clear, there will be a case where we have to implement all the methods and test.

With regards.

P.Prasanth.

0 Kudos

Hi Prashant,

I know this BADI also i checked this but this is not getting trigger

if i put a breakpoint.

0 Kudos

Hi Monalisa,

In General, we will be finding all the BAdi's for the relevant transaction by putting the break-points. Here I have run this tcode ME21n and in se24 , Cl_EXITHANDLER, under that GET_INSTANCE method I have put a break point and found some BAdi's related to this transaction. Just have a look on this.

ME_PROCESS_PO

ME_PROCESS_PO_CUST

MEGUI_LAYOUT

ME_GUI_PO_CUST

ME_TAX_FROM_ADDRESS

EXTENSION_US_TAXES

ME_PO_SC_SRV

ME_HOLD_PO

ME_ACTV_CANCEL_PO

Just look into this.

Cheers,

Swamy Kunche

michael_teran
Participant
0 Kudos

hi!

How did you solve it??, because I want to use the data from services tab.

Plz help me.

0 Kudos

Hi Michael,

I used BADI "EXTENSION_US_TAXES" which is holding data for the service tab.

in that you can use two methods

1) MS_TAX_DATA_SERVICES

2) MS_TRIGGER_PRICING.

I think this will help you.

Thanks

Mona

0 Kudos

Dear Monalisa Aggarwal,

we have the below requirement. When creating Service PO through me21n, we need to put validation on service item quantity at service tab. we are looking for the proper BADI or user exit where i can put our validation.

can we use this EXTENSION_US_TAXES??

Please suggest.

Thanks

Raheem

Former Member
0 Kudos

check userexit

SRVESLL

Former Member
0 Kudos

Hi Monalisa,

Check out the threads given below:

With luck,

Pritam.