on 2023 Feb 08 7:36 AM
hi Team,
we are using some external application(3rd party) to do some MM and FI documents posting into SAP by using CPI as middle ware.CPI using technical user to connect with SAP system.
there are some custom SOAP web services we are using to do postings. inside those services using standard BAPI's postings are happening.
now the problem is when ever the posting's triggered from external application in SAP BKPF-USNAM and RBKP-USNAM fields are updating with the technical user name used by CPI.
we have original user ID field in the payload who triggered from ext.App.
i searched BADI'S Customer exits, BTE'S ... to change the USNAM field but unfortunately i couldn't fine any info.
so i am planning to pass this user ID to SY-UNAM field but, it's not good idea to change the system variables. i am wondering how can i use original user ID from payload to influence BKPF-USNAM, RBKP-USNAM... does any one have any idea
regards,
Venky.
Request clarification before answering.
Hello Venky ,
I would sufgest you to put * Allowed headers in runtime configuration of iflow and then enable the trace and see which headers field you are getting who is griggering from external application.In usual case we use client id and secret from btp to authenticate our cpi endpoints due to which actual user who triggered the endpoint will not be known.So I would auggest you to work with 3rd party application to pass the user principle as header and then whitelist the same in cpi(in allowed headers) to get the user who triggered it.
Regards,
Sriprasad Shivaram Bhat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
53 | |
5 | |
5 | |
5 | |
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.