on 01-30-2008 2:28 PM
Hi SAP Gurus!
I need to test the UGR parameter of the user that is performing a dynamic action, f.e. I want to perform the dynamic INS of an IT only if UGR <> '90'.
Can I do this without using features?
Thank you very much, regards.
Stefano
You can try calling a function (line with F indicator) and check the current user UGR in there, then return the result of your check in a field of RP50D.
For example
F CHECK_UGR(Z_PROGRAM)
P RP50D-FLAG1='X'
I INS ....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It works, thank you Efi!
Edited by: Stefano Milani on Jan 30, 2008 5:00 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok, thanks!
Actually I'm trying to have the value of UGR in field RP50D-FIELD1, so I can test it directly.
I'll let you know if this works well!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you, I was just looking before this idea in fact...
The problem is that I used RP50D-FLAG field yet.
Maybe I can use RP50D-DATE2, using some kind of date I'm sure will be not used... It brings some risks, but...
Any other idea?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
103 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.