Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Apply enhancement implementation for all users

former_member355261
Participant
0 Likes
1,933

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.

10 REPLIES 10
Read only

rajkumarnarasimman
Active Contributor
0 Likes
1,891

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

Read only

0 Likes
1,891

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 ...

Read only

0 Likes
1,891

In what include did you create your enhancement?

Read only

0 Likes
1,891

I created the enhancement in the include LSTR8F01

Read only

former_member195431
Participant
0 Likes
1,891

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

Read only

0 Likes
1,891

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.

Read only

0 Likes
1,891

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

Read only

0 Likes
1,891

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

Read only

0 Likes
1,891

Hi Occoro,

Can you share the screenshot of your code.

Regards,

Kannan

Read only

0 Likes
1,891

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.