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: 

EXIT/BADI in ME31L and ME32L

Former Member
0 Kudos

Hi All,

I am facing an issue in ME31L,ME32L transactions.

In vendor master , incoterm is maintained .So whenever a PO is created with particular vendor, the same incoterm(EKKO-INCO1& EKKO-INCO2) will get defaulted into PO as well.This above logic is correct as long as the goods supplier also the same as vendor.

This relation can be seen in vendor master partner profile.

SO if I create a PO/SA with a vendor and goods supplier is different the incoterm from vendor is getting defaulted there, not from goods supplier .

So am looking for any EXIT/BADI which will enable copying of Incoterms from Goods Supplier in case Vendor and Goods Supplier are different.

Thanks in Advance,

Saket Tiwari.

7 REPLIES 7

Former Member
0 Kudos

Hi,

I could find the following exits

Exit Name Description

M06B0001 Role determination for purchase requisition release

M06B0002 Changes to comm. structure for purchase requisition release

M06B0005 Changes to comm. structure for overall release of requisn.

M06E0004 Changes to communication structure for release purch. doc.

M06E0005 Role determination for release of purchasing documents

ME590001 Grouping of requsitions for PO split in ME59

MM06E004 Control import data screens in purchase order

MM06E005 Customer fields in purchasing document

MM06E007 Change document for requisitions upon conversion into PO

MRFLB001 Control Items for Contract Release Order

Regards,

Manish

0 Kudos

Thanks for the quick reply Manish.

This information I was able to retrieve using a program.

Now what I wanted to know out of these exits which will be the one which will provide me the exit point.

Will I need to check all of them?

Former Member
0 Kudos

Hi Saket,

Going by the description of the exits i guess,below 2 should be usefull for your scenario.

MM06E004 Control import data screens in purchase order

MM06E005 Customer fields in purchasing document

1) In order to proceed further place a break point where these 2 exits are called from the transaction.

2) Check whether the fields you need EKKO-INCO1 and EKKO-INCO2 are accessible in these exits and whether it contains value already .If yes then you can make use of the exit and over ride the values already populated with that of the required one.

Hope this helps.

Regards,

Raghavendra

Former Member
0 Kudos

Hi Saket,

u can follow the below steps to find find a BADI/EXIT

1. Open transaction SE24.

2. Now open the object CL_EXITHANDLER in display mode.

3. Go to the method tab and double click on the method GET_INSTANCE.

4. Put a break point on cl_exithandler=>get_class_name_by_interface.

5. Now execute the transaction you want to find EXIT for, it will take you to the above method.

6. Write EXIT_HANDLER in fieldnames and hit enter, it will tell you the EXIT used for your transaction.

7. Hit F8 and it will tell you all the EXITu2019s for your transaction.

to find the Badi attached to the Transaction..

go to T-code>se15>expand enhacements tabel>expand Business addins>enter package attached to t-code ( enter package ) and execute..

you will find the badi attached to t-code..

You can find the package for a transaction using SE93.

Hope it helps

Regards,

Manish

Former Member
0 Kudos

>

> Hi All,

>

> I am facing an issue in ME31L,ME32L transactions.

> In vendor master , incoterm is maintained .So whenever a PO is created with particular vendor, the same incoterm(EKKO-INCO1& EKKO-INCO2) will get defaulted into PO as well.This above logic is correct as long as the goods supplier also the same as vendor.

> This relation can be seen in vendor master partner profile.

> SO if I create a PO/SA with a vendor and goods supplier is different the incoterm from vendor is getting defaulted there, not from goods supplier .

> So am looking for any EXIT/BADI which will enable copying of Incoterms from Goods Supplier in case Vendor and Goods Supplier are different.

>

> Thanks in Advance,

> Saket Tiwari.

Hi Saket,

Did you get the correct BADI/EXIT for this requirement. If so, can you please give me the name of the EXIT/BADI name bcoz I too have the similar requirement and I am not able to find out the correct EXIT/BADI .

Thanking you in advance,

satheesh

Former Member
0 Kudos

Thanks for all answers but it was solved by functional cstomization rather.

0 Kudos

Hi Saket, I realise this thread is quite old. But you write you solved this through IMG customization. Do you remember how?

Thanks, Thomas.