Checking authorization of user status
Hej there!
In our CRM-system I would like to check whether a user has authorization to set a particular user status in a servicecontract.
I know it is possible to check whether a user is authorised for a status scheme via object S_USERSTAT, but I can't find an authorization object which checks on a particular value within the status scheme.
Is it possible to make such a check via an authorization object or BADI or ....???
Regards,
Henry Helderop
Hi Henry,
I have no access to a CRM system.
In other systems like R/3 or APO user status are handled with object B_USERSTAT or B_USERST_T.
There you can check on values for
o activity
o authorization key
o object type
o status profile
maybe this is the way to restrict the access to service contracts.
Regards
Ferdi
Similar Messages
-
Check Authorization for User ID
hi all,
as per i know, i can check the authentication by check an object as the following
AUTHORITY-CHECK OBJECT 'ZOBJECT'
ID 'ACTVT' FIELD '_____'.
in case i have user id (user does not launch the program by himself) and i want to check the authorization. what can i do on this?
Regards,
PeerasitHey Raymond,
your answer hits the point!!
Thanks so much
Regards,
Peerasit
PS thanks for every response as well. -
PM order user status authorization
Hi Experts,
How can i give authorization to user status of PM Order ?
I want to give authorization for different activites as below.
for example i only want authorization for 01 and 04. Is this possible?
01 ACLD
02 BASL
03 MABE
04 ISBE
05 MIBE
thanks.Hi,
In addition to Narasimhan & Wendy told, follow these steps
Activities
1. create authorization keys in BS52
2. Create User Statuses & assign to Maintenance Order Object types in OIBS
3. Assign the authorization key to one or more user statuses in your status profile.
4. Assign these User Statuses to Order Types in OIOG
5. Define corresponding authorizations and include them in the relevant authorization profiles.
6. Assign these Authorisation Profiles to the User groups in SU01 under Profiles sub screen.
Regards,
Maheswaran. -
Can I create material reservations on setting of particular user status?
I know that Reservation creation can be kept on hold by choosing Never/Create on release etc at operation level. My requirement is , At release of work order - reservation should not be created and on setting of certain user status reservation should be created!
I think, its not possible in Standard.
You can try with some development.
You can create 2 user statuses i.e., one is for normal & another one is for reservation creation. Give the authorization to change from 1st status to 2nd status only to some authorized people through Authorization group concept.
Keep "Never" as default option in PR / Reservation creation for your desired plant & order type combination.
Once you change the user status, while saving the order, check the current user status & change it to "From Release" at order level for all operations & materials. -
Exit or Badi for controlling the change of user status in notification
Hi,
I want to check the current user status of notification while saving the notificaton. If the current user status satisifies particular situation, then the notification should be save else not.
Is there any user exit or Badi which can be used to control the change of user status in notification.
Thanks
SUMITHi Pushpa,
Thanks for the reply.
the problem over here is that the BADi IQS0_STATUS_MAINTAIN only allows to disable the user status.
the other function module STATUS_READ only fetches the data from JEST.
whereas my problem is that i want to check on the changed status on the screen(which is not saved also).
Appreciate your reply on the same.
Thanks
SUMIT -
Automtic User Status updation in Service Order
Hello ,
Whenever I do "TECO" of service order , User status should automatically change."TECO" is a business transaction
Do anyone have done this . Which exit is user to achieve above.
Regards,Hi,
Check the below FMs :-
STATUS_CHANGE_EXTERN : This is used to set or delete User Status
STATUS_CHANGE_INTERN :This is used to set or delete System Status
STATUS_READ : This is used to read system status or user status
First check up via User status , with proper status numbers
If ur having many different than better u can go for user exit : IWO10009 PM Order: Customer Check for 'Save' Event. to check at save and set status accordingly ...
For reading latest status - u may have to read from structure i think ..
Tables :- JEST, TJ02T,TJ20 etc
regards
pushpa -
Error: "User status Z5 is active (ORD 300761)?"
Hi
Experts,
While Iam doing ME21N an error occurs, even though while I want to change the Budget Amount in KO22, it is not allowing due to below error, I checked KO02, KO22,
User status Z5 is active (ORD 300761)
Message no. BS014
Diagnosis
For object ORD 300761 user status Z5 (Technically Complete (IO)) is active. According to this status, transaction 'Budgeting' is not allowed.
Procedure
You can only carry out the requested function if this is allowed according to the status of the object.
Thanks,
AnilHi Anil,
It seems like you dont have authorisation to change the status.
Please check with your BASIS person, he may provide you the required authorisation.
As soon as you got the authorisation message, type immidiatly ?NSU53 in transaction code field and ENTER.
You will now get the information regarding roles, which will be helpful to BASIS people for tracking authorisation for you.
Regards,
Srinu -
CRMD_ORDER User Status Change before Save
Does anyone know where I am able to check what the User Status has been changed to by an action before saving? I would like to be able to retrieve this using ABAP. One of the function modules I used to retrieve statuses only has the current saved Status.
ThanksTry using FM CRM_ORDER_READ_OW. It reads data from the memory and not from the database. You can probably call in from an ORDER_SAVE badi implementation.
-
No authorization for activating user status PLIM
Dear Gurus,
I'm a newbie to SAP. Currently i'm facing the problem with Tcode KO01 while i'mtrying to create Internal Order. I can initialize the program but after i entered the Order type and pressed enter. Error msg "No authorization for activationg user status PLIM" pop-up. Pls help on this urgently.
Thanks.Dear Payal,
I checked /nSU53 just after i got the error msg. It said authorization check failed. Authorizaton object B_USERST_T status management: Set/Delete User Status using Transaction.
Activity:01
Authorization key: <Dummy>
Object Catagory: ORC
Status Profile: 00000002
What should i do after this??? -
How to Control authorization for users with certain status for level 2 WBS Element
Dear All,
Is there any standard way or enhancement available to control authorization for users with certain status for WBS Element i.e. for example
Pre-requisite:
There is only 2 level of project i.e.
Lev_ WBSE_______Description
1___ 7-14.E_______summay outage controller
2___ 7-14.E.2310__ Plant/unit # 2310
2___ 7-14.E.2310__ Plant/unit # 2220
Project Controller (authorization role assigned "Z_PS_OP7_OTGCON_C") have all project level authorization
Plant/Unit Controller (authorization role assigned "Z_PS_OP7_PLNTOTG_C_2310") have only level 2 authorization with enhancement that we did in system by Z table.
User ID_ Plant #
123345_ 2310
122455_ 2220
Issue:
After System Status released and User Status approved the WBS basic date for Plant/Units should be restricted from updating/changing by Plant/Unit Controller level and only project controller should have this authority.
Solution required:
Can any one tell how to control this scenario either by standard or enhancement available to control authorization
BR
Saqib UsmanHi,
Did you explore SAP Enhancement CNEX0002 Using Transaction CMOD?
Thank you and regards,
Varshal Kachole
The SCN Rules of Engagement -
How to check a text type if it is filled or not for specific user status
Hello;
I want to check if a text type in a notification is filled or not for a specific user status. I guess that can be done using the BADI "ORDER_SAVE", but not sure how to do that.
Regards,
Erkan KayaHello Erkan.
You can use the function module CRM_ORDER_READ_OW in method check_before_save of BADI ORDER_SAVE.
Fill the header_guid of the notification into the it_header_guid table parameter and get the returning table ET_TEXT.
For performance reason you should provide importing parameter it_requested_objects.
INCLUDE CRM_DIRECT.
APPEND gc_object_name-texts TO it_required_objects.
Then you can check in et_Text if the required text is maintained. If not, you can raise the exception DO_NOT_SAVE in the BADI.
Regards,
Timo. -
Update order user status based on a custom check box value in web ui
Hi Experts,
I have a requirement to Update the user status based on a custom check box value in web ui.
This is needed at the followup for a SR, the component is BT116H_SRVO, Details View.
I created a value node with 4 checkboxes, based on the check box value, the corresponding user status
need to be updated.
How can I reach to the order save functionality of SAP in EH_ONSAVE method, so that syatem can capture my check box value, along with other screen fields, and append the status parameter in Order maintain?
or do I have to call order maintain in even handler for checkbox, which will affect performance .....
Pls help.
Regards,
LakshmiHi,
In your event handler you can use bol entity corresponding to status BTStatusH and change the user status.
Best regards,
Caíque Escaler -
Dear Friends,
client wants to restrict the attachment list changing, deletion after the user status sets to close in PS Claims for transaction clm2 and clm3.
Currently any one can attach documents as GOS and delete even the claim is completed and status is closed.
How can we restrict all users even who created the claim can not change create and delete attachment list documents once the claim is completed and approved and user status sets to closed.HI,
what is the claim creation transaction in that 01 is for creation 02 is for edit and 03 for display so with the help of basis consultant you can assigned transaction in user's assigned role accordingly.
But user who is authorize for create claim can not modified or edit once he save the job. this would be limitation.
Regards,
Sanjeev -
Hello all,i get a problem,i need to use FM IQS4_CREATE_NOTIFICATION to create notification,but one of the funcation location user status is active,the FM return a error message:user status is active,..can't process notification...,could anyone tell me how can i bypass this user status check?thank you
Please be patient.
Rob -
Creating check on officers who can change a sales order - User Status
The user needs to create a check on persons who can change (User Status) on the sales order created.
The sales order are created by a group of people. These group of people can not be allowed to change the sales order - User Status(In header Detail).
Only a second level user users should be allowed change this user status.
Can it be done at configuration level. Or should we use an Exit?
Thanks in advance.Hi Sunoj,
I never have used this auth. objects, but if you want to set restrictions on some users, search before in auth. objects. As I told you, you can use the tcode SU24 for this purpose. Do the selection, see the result, try it with tcode PFCG and check it.
If you can do something with customizing tools or other standard tools (as authoritation tools) avoid the use of enhancements, BADI, BTE'S and so on. If you don't find the solution, then go to userexits.
I hope this helps you
Regards
Eduardo
Maybe you are looking for
-
Adobe Photoshop 2.0 Starter Edition
Wer kann mir helfen? Ich habe Adobe Photoshop 2.0 Starter Edition und habe mir meine fotos von der Festplatte in Photoshop Album geladen. Jetzt bekomme ich diese nicht auf Festplatte zurück. Kann diese auch nicht bearbeiten, mailen oder drucken. Zusä
-
How to get total number of rows return by query
hi all i am using forms 6i with oracle 10G in windows environment.... i have a tabular form now i want to know that how many rows return by the query...like when user click on enter query and then give any search criteria and then execute query..it d
-
During my Cisco Academy days I bought the Cisco 806 Broadband Router - a fixed-configuration dual Ethernet platform. I turned the unit off for the summer semester and when it was turned back on - it no longer worked. The TX/RX lights on both the Inte
-
Hi, Does it affect the performance if the idoc has more segments?..is there any limitation on no of idoc segments? Thanks, Senthil
-
I tried to alter security settings resulting in rejection of my password. Tried booting using CMD R but non operating mouse pad means I cannot access top menu to select "utilities"