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

Conditional Mandatory Field in Material Master (Sugg. Needed

Hi ,

I am having a requirement where i need to make a particular field to be mandatory for a certain condition in Material Master.

Say for a Product Hierarchy i want to make Volume Rebate Group mandatory ( Sales Org 2 View).

Please suggest the possible solutions for the same.

Thanks,

Rachita.

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 Dec 24, 2007 at 02:11 PM

    Hi,

    It is possible to get access to all other fields from within a field exit by using the below code. This is a field exit on GMG_HEADER_FIELDS-grant_type within program SAPLBDT_GMGR but by using the code below you can get data stored in any field within the program. i.e. GMG_HEADER_FIELDS-GRANT_NBR

    Field-symbols: <status>.

    assign ('(SAPLBDT_GMGR)GMG_HEADER_FIELDS-GRANT_NBR') to <status>.

    if SY-SUBRC = 0.

    message e003(zr) with <status> .

    ******other code*****************

    endif.

    Reward points if found helpful....

    Cheers,

    Rakesh.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 23, 2007 at 11:36 AM

    you've to use some user-exit or BADI.

    BADI or userexit for MM01 and MM02

    Reward if useful

    Thanks

    ANUPAM

    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.