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

Restrict User from alternate BOM creation

Dear Experts,

How to restrict SOME OF THE USERS from creation of Alternate BOM?

Thnaking You,

Chetan

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Dec 14, 2011 at 02:45 PM

    Hi Chetan,

    Well there is no other option that a functional guy can not restrict to create the alternative BOM but therew is a another thing that you have to approach the basis team and the you can restrict it by USER Authorization OK or you can contact to the ABAp team as well OK.

    Regards,

    Madhu.G

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 14, 2011 at 05:58 PM

    The control is only at client level (through tcode OS27, Table TCS03) in standard SAP. There is no basis authorization to control STLAL per user.

    If you look at the source code for CS01 the program does that check in the include LCSDIFB2. There are no enhancement spots in the include.

    *- Technischer Typ prüfen / setzen
       if tsd-trtyp eq anlegen and tsd-akttp eq anlegen.
          if ( not stzub-stlnr is initial ).
             if tcs03-mulfl eq kreuz.
                if api_flag is initial.
    *------------- Zu Material/Werk/Verwendung existiert bereits Stückliste
                   message e005.
                else.
    *------------- Stückliste & & & existiert bereits
                   flg_api_error = kreuz.
                   perform appl_log_write_single_message using chr_e
                                                               msgid_29
                                                               '037'
                                                           rc29n-matnr
                                                           rc29n-werks
                                                           rc29n-stlal ' '.
                endif.
             endif.
          
    

    You can try this BAdi though, BOM_EXIT

    It has a method, START_SCREEN_CHECK.

    (or)

    You can create a transaction variant (ex YCS01) with "Alternative BOM" = 1 and greyed out or hidden so that it will give error (Alternative 1 already exists) when they try to create a BOM . Remove the authorization for CS01 for those users who are not suppose to create alt. bom and give them YCS01 and keep the CS01 for those users who can create alt. boms.

    Edited by: Jeevan Sagar on Dec 14, 2011 12:59 PM

    Edited by: Jeevan Sagar on Dec 14, 2011 1:09 PM

    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.