Application Development 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: 

Problem wih memory Id URG in user exit

Former Member
0 Kudos

Hi All,

I have a problem with the parameter URG, because I am in a implementation, so in the user exits ZXPADU01 and ZXPADU02 there are somo validations that I wanna avoid, so I don't wanna do it by user names because are a lot, so I wanna do it by User Group, so I get the parameter, but it doesn´t get it, it´s empty. please help me with this, tell what can I do. may be exists a table where I can read the user group or something like that I really don´t know.

Thanks.

This is my code.

*&----


*

*& Include ZXPADU01

*&----


*

DATA: idugr TYPE PME04-USERG.

GET PARAMETER ID 'UGR' FIELD IDUGR.

IF IDUGR NE 99.

case innnn-infty.

---

---

endcase.

endif.

2 REPLIES 2

Former Member
0 Kudos

Hi,

It might be better to use authorisation objects to control your logic - so check a custom authorisation aganist each user to see if you should process your logic or not.

Gareth.

Former Member
0 Kudos

Hi thanks for ur answer,

But how can I do that, my boss want that I use the parameter ID URG but he doens´t know abap so..... =( please help.. I don´t understand why doesn´t come anything when I do the get parameter... Exists a logical explanation for this..

Thanks.