cancel
Showing results for 
Search instead for 
Did you mean: 

Restrict User from alternate BOM creation

Former Member
0 Kudos

Dear Experts,

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

Thnaking You,

Chetan

Accepted Solutions (0)

Answers (2)

Answers (2)

sjeevan
Active Contributor
0 Kudos

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

Former Member
0 Kudos

Is it possibe by using some authorization objects or through authorization control?

former_member184701
Active Contributor
0 Kudos

dear friend,

1. do some custom abap (instead of standard CS01 they would run ZCS01 which controls alt. boms)

or

2.review your bom creation policy. do they create all boms or not.

if not - simply remove t-code CS01 from their roles (use SU01).

regards,

sjeevan
Active Contributor
0 Kudos

Quote

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.

Former Member
0 Kudos

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