Skip to Content
author's profile photo Former Member
Former Member

Check Screen Fields in ME21n

Hi,

I have to put a check on Document type and plant combination in ME21n.

After i enter values in Doc Type and Plant and i hit enter it should perform a check.

Check Logic:

I have made a Z table and if the Doc type n plant combination does not exist in that Z table then it should throw an error.

Now my query is,

which exit or badi should i use? i cant find anything related to it.

Thanx in advance

Regards,

Shraddha

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • author's profile photo Former Member
    Former Member
    Posted on May 06, 2011 at 06:21 AM

    Hi,

    Try BADI - ME_PROCESS_PO_CUST

    Methods - PROCESS_ITEM or CHECK.

    Regards,

    Harish

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 06, 2011 at 06:21 AM

    <removed>

    Edited by: harishkumar.d on May 6, 2011 8:21 AM

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 06, 2011 at 07:51 AM

    Hi Shraddha,

    Try ME_PROCESS_PO badi. Also when you hit enter, put a breakpoint > at statement > ABAP Command (GET BADI) will show you the BAdIs that get called and check which one is suitable for your requirement.

    Regards,

    Shyam.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on May 07, 2011 at 04:07 AM

    Hi Shraddha,

    1) Try BADI - ME_PROCESS_PO_CUST method Methods - PROCESS_ITEM or CHECK.Use this and valid what and fields you want

    valid either header or item level and give the required message. Post if need more help in this.

    Regards,

    Madhu.

    Add a comment
    10|10000 characters needed characters exceeded

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.