on 12-14-2011 1:52 PM
Dear Experts,
How to restrict SOME OF THE USERS from creation of Alternate BOM?
Thnaking You,
Chetan
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.