Skip to Content

User Exit for Partner Functions

Hi

I need to make some validations to Partner Functions when Creating/Changing Purchase Orders.

These are captured in ME21N/ME22N at 'Partners' Strip (in a Table Control given in this strip).

In addition i will make some validations to Vendor Number in these two transactions too.

Does somebody knows a User Exit wich allows me to do this ?

I hope that i could do the Vendor Validation in the same User Exit that Partner Functions Validations, but i´m not sure, however i think the problem is to find the User Exit for the Partner Functions.

Speaking of this and if someone has time to help me, does somebody can explain me wich is the right way to find a User Exit for a Transaction ??

Some people tell me that it's searching at SAP Notes (?), but i dont' know how to do this; I tried searching for the 'CALL CUSTOMER-FUNCTION' string in transactions, but this doesn't works because the user exit calls are commonly in methods/functions called by the transactions and not in the transaction itself. I was searching too using breakpoints at statements 'CALL FUNCTION', but there are a lot of calls and this way shows only the actives 'CALL CUSTOMER-FUNCTION', not all the calls.

I tried too using SMOD transaction, but i didn't found the way for search the components (searching by component description for example), i just found the way for search by Enhancement description. Then, wich is the right way to find a User Exit ?? I will appreciate if somebody can help me in this topic.

Thanks in advanced.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Sep 28, 2005 at 02:57 AM

    Hi Frank,

    We have this exit implemented and it work for ME22 as well as ME22N . There might be some problem withe xit activation.

    Check if you a report MM06EF0C_CUSTOMER_DATA_CHECK

    in your system in SE38. Put a break point here and execute ME22N -> save. If flow stops at this point just debug a little further and you will see call to exit

    EXIT_SAPMM06E_012 .

    If you acnnot find above report just do where used for the FM and se if you can put a break point somewhere before this call to analyze what is going wrong .

    What SAP version and patch level you are on ??

    Cheers

    Sanjay

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Sanjay

      You are right, because i tried again with this enhancement and it works so good. I really don't know why the first time the user exits were not called, if i had activated the project and i had breakpoints. I just saw that the project has a yellow icon and not the right green icon that is commonly showed.

      However, that enhancement it's what i need, the unique change is that user exit _012 doesn't has the tables to validate the partners functions, but the _013 in same enhancement has the tables.

      I have breakpoints and now i pass by user exit _012 and after by _013, so I can now begin with my development.

      (I hope i wont have in the future the same situation about checking a user exit with activated project and it isn't called, i will investigate what i made incorrectly.)

      Thanks a lot Sanjay !!

      Frank

  • author's profile photo Former Member
    Former Member
    Posted on Sep 27, 2005 at 01:22 AM

    Hi

    You can use SAP enhancement MM06E005 ( SMOD ) , user exit EXIT_SAPMM06E_012 for the checks you are trying to put.

    Cheers

    Add a comment
    10|10000 characters needed characters exceeded

    • Please Help !!

      I have been searching for a User exit for make validations to Functions Partners (ME21N/ME22N, Table Control at strip 'Partners') but I didn´t found it.

      I was making tests with several User Exits but no one works.

      Does Somebody Knows a User Exit to do this ??

      I will really appretiate if somebody can help me, because this is an urgent task, and i don´t find the User Exit !!

      Regards

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.