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

User exit open by default

Former Member
0 Likes
2,190

Hey everyone,

quick question: Is it possible to have a User Exit be open by default for specific users?

Sorry if this has been asked before, i couldn't find anything similar.

Regards, Kevin

Hey everyone,

quick question: Is it possible to have a User Exit be open by default for specific users?

Sorry if this has been asked before, i couldn't find anything similar.

Regards, Kevin

10 REPLIES 10
Read only

MateuszAdamus
Active Contributor
0 Likes
2,094

Hello

What do you mean by "open"? Do you mean executed?

Kind regards,

Mateusz

Read only

Former Member
0 Likes
2,094

Hi mateuszadamus,

yes, instead of clicking settings->user exit->user-exit-name, i want that to automatically happen for a specific user.

Read only

abo
Active Contributor
0 Likes
2,094

how about enabling the exit for everyone and checking the user inside the userexit?

Read only

Former Member
0 Likes
2,094

c5e08e0478aa4727abc4482f5be390b2 yes, that would be a possible solution, but hard-coding usernames is something i would rather not do

Read only

abo
Active Contributor
0 Likes
2,094

Use a set or a config table, as you like.

Read only

Former Member
0 Likes
2,094

c5e08e0478aa4727abc4482f5be390b2 but how do i get the user exit to be activated by default?

Read only

abo
Active Contributor
0 Likes
2,094

Former Member as usual, define a project and activate it: it will then start for all users but only for those in the set something will actually happen.

Read only

Former Member
0 Likes
2,094

c5e08e0478aa4727abc4482f5be390b2 But the user exit only gets activated when you manually select it, but i need it to run by default

Read only

abo
Active Contributor
0 Likes
2,094

I'm not sure what you mean by that: exits are triggered under well-defined circumstances, you can either activate them or not but you can't change the conditions.

To give a concrete example: if EXIT_SAPMF02K_001 is triggered when saving a vendor, you can't reconfigure it to start when opening a vendor. That would be a different exit, assuming it exists.

Read only

Former Member
0 Likes
2,094

c5e08e0478aa4727abc4482f5be390b2 i am using the Exit "EXIT_SAPLM61R_001

I need to activate the Project i made for it, then open up MD04, and manually "activate" it with Settings->User Exit

What i need is for it to run by default, and inside the Exit i need to check for the User

How do i get it to be active by default?