cancel
Showing results for 
Search instead for 
Did you mean: 

Propagating user id to the backend system using PI

former_member191528
Participant
0 Kudos

Hello All,

We are currently on PI 7.3 system.

We have a scenario as follows :

UI calls PI service which updates data in the ECC 7.0 backend.

We need to propagate the user id of the user calling the PI service to the backend system to indicate which user updated the data in the backend.

Currently a service account is used in PI receiver communication channel to connect to the backend system.

The system updates the backend system with this service account.

For e.g. if user with id userid1 calls a PI service and PI uses service account srcacct1 to connect to ECC backend then the backend record is updated with srcacct1 instead of userid1.

I really appreciate your help with this scenario.

Thanks,

Kiran

Accepted Solutions (1)

Accepted Solutions (1)

nabendu_sen
Active Contributor
0 Kudos

Answers (2)

Answers (2)

baskar_gopalakrishnan2
Active Contributor
0 Kudos

In addition to above replies, You might also want to check Michal's Psuedo principal propagation technique...

http://scn.sap.com/community/pi-and-soa-middleware/blog/2009/05/26/pixi-pseudo-principal-propagation

vikas2
Active Participant
0 Kudos

Hi,

You can get the username and populate it in the SOAP header of the message coming to PI.

Then you can get the values of the user from Dynamic Configuration and send it to ECC backend. The document will still be created with the system user but you can store the user in a custom table or use one of the fields in the standard table.

Check this as well:

http://scn.sap.com/community/pi-and-soa-middleware/blog/2009/05/26/pixi-pseudo-principal-propagation

Thanks,

Vikas