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

PO Header Test userexit or BADI in ME21n

Hi,

When I create PO in ME21N,

I want to make header text field mandaory.Which userexit or BADI I should use.

Can anybody suggest me with simple code.

Thanks

kumar

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Mar 26, 2009 at 07:06 AM

    It is done using customizing.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Mar 26, 2009 at 06:04 PM

    Hi KUMAR,

    Header text creation or modifications or making them mandatory, etc is part of customizing...

    You would need a customizing request for that...

    and then go to Transaction SPRO. Its the SAP Customizing Implementation Guide.

    and then drill down the following links...

    Material Management >> Purchasing >> Purchase Order >> Text for Purchase Orders >> Define Text Types for Header Texts

    you can create header texts from here...possibly u'll find a way to make the existing header text field mandatory...

    Will tell you in detail as soon as possible...till then do try this out...

    Regards,

    Radhika

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Mar 27, 2009 at 12:24 PM

    hi kumar,

    you can do in user exit or thru BADI ME_PO_PROCESS_CUST

    Use User exit 012 (EXIT_SAPMM06E_012) or Check method of BADI.

    Read your text using SG READ_TEXT to determine that it is entered or not

    if it is not entered Raise Error so user force to enter It

    Raj

    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.