07-14-2008 11:35 AM
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.
07-14-2008 11:37 AM
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.
07-14-2008 11:41 AM
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.