2015 Apr 15 2:16 PM
Hi,
I implemented some code in an enhancement to control the description entered when creating a transport request.
But, I was surprised when I found out that the modifications were applied on my user only and not for others.
So please tell me how to make it applied for all users.
Thanks in advance.
Hi,
I implemented some code in an enhancement to control the description entered when creating a transport request.
But, I was surprised when I found out that the modifications were applied on my user only and not for others.
So please tell me how to make it applied for all users.
Thanks in advance.
2015 Apr 15 5:32 PM
Hi Occoro,
Where you done the enhancement(T-code)?
Have you given any condition like SY-UNAME = 'USER_NAME' inside the enhancement.
If not, can you please paste the code or screenshot.?
Regards
Rajkumar Narasimman
2015 Apr 15 5:50 PM
Hi,
I did the enhancement in t-code se10, and I didn't give any condition on the username, but it's working just for me not for other users.
When reading some other threads, they're talking about some authorizations in transaction st01, but I don't know how to give these authorizations and to whom ...
2015 Apr 15 6:22 PM
2015 Apr 15 7:04 PM
2015 Apr 15 5:57 PM
Hello,
Rajkumar is right. Usually when we do enhancement, in the initial phase we write this code inside "IF" condition so that its only applicable to our ID. After successfully tested, we can open it for everyone.
Eg. Do all the coding in your enhancement in this if condition.
IF sy-uname = 'user_name'. (Only for testing)
ENDIF.
Thanks
2015 Apr 15 7:05 PM
Hi,
That's what I did when I was coding and testing, But now I removed the condition but it's still just working for me and not for other users.
2015 Apr 15 8:46 PM
Hi Occoro,
When i checked the include LSTR8F01,
It is having authority check specific to users.It is having routines related to local and other users.You can do one one thing check your roles in SU01d and compare the user profile of the other collegue who is trying to create the TR.I suspect some issues related to your role.
You can make use of the of the BADI CTS_Request_check
method CHECK_BEFORE_CREATION for acheiving your requirement
Regards,
Kannan
2015 Apr 15 8:56 PM
Hi Kannan,
I used the method CHECK_BEFORE_CREATION of the badi CTS_REQUEST_CHECK in the beginning.
But I had to use the enhancement instead to make my requirement more simple for users.
So, can you please explain how I can fix this authorization problem in order to make my code work for all users.
Thanks in advance
2015 Apr 15 9:00 PM
Hi Occoro,
Can you share the screenshot of your code.
Regards,
Kannan
2015 Apr 15 9:47 PM
Right now I don't have access to SAP system.
But I think that what I want to do has nothing to do with the code, it can be anything.
I just want to know how to make an enhancement apply for all users in general.
Thanks in advance.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |