on 2021 Oct 01 11:52 AM
Hi Experts.
Need your advice on populating user name while posting from PAPM via standard RFA.
We are trying to post data from standard RFA FI -GL Items to S/4 . The field Username is mapped to a formula = CURRENT_USER in Input to RFA function.
In S/4 documents are getting posted with username = 'NXI_USER' and not with user id of person who is executing the standard RFA function. We tried formula SESSION_USER also It is giving same results.
Could you please help with this .Our requirement is to post the SAP user ID of person who is executing the activity/function.
Request clarification before answering.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Neil
When we use SY-UNAME in RFA formulae editor it works fine .
We have a requirement to capture logged in user id in one of the environment model table .
When we use SY-UNAME in any other functions (Join/View/Writer etc) it gives error during activation-
' Invalid Column name SY'.
Is there any way to derive user id (logged in user) in PAPM functions without depending on RFA.
CURRENT_USER and SESSION_USER both papm formulaes are returning connection user id which is generic ='NXI_USER'
Regards
Padma
Hi,
You can use SESSION_CONTEXT('APPLICATIONUSER') which will derive the user id maintained in PAPM for that user in all the function but for RFA posting, SY-UNAME has to be used as the function will be processed in ABAP layer.
Thanks,
Arbaz.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
8 | |
4 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.