cancel
Showing results for 
Search instead for 
Did you mean: 

PIAPPLUSER need to changed to exact user

pr11061983
Explorer
0 Kudos

Whenever an End-User is creating a REQUEST in GUI, a Record is created in SAP system.

Looking into the below screen-shot, a Material - Request is created by user say "gaubaa1" from Portal, while the MATERIAL Record in ECC is created under user: PIAPPLUSER and not gaubaa1.

The interface passed via PI.

It is required in ECC to reflect gaubaa1 or User-ID of whoever is submitting the Request and not PIAPPLUSER.

Request you to please guide

Thanks in advance

Pankaj Rajak

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi,

You can do it easily if you use Idoc rather than BAPI. In idoc we have these fields to pass that information.

Char ersda[8];                                /* Created On

Char ernam[12];                               /* Name of Person who Created the Object

Char laeda[8];                                /* Date of Last Change

Char aenam[12];                               /* Name of Person Who Changed Object

You can try to find BAPI with these fields in it. I had this requirement once and i used IDOC.

Regards

Inder

pr11061983
Explorer
0 Kudos

In ECC, the record is created during Runtime through RFC Look-Up, cannot send IDoc as in end system.

The scenario is bit complex to handle the normal user propagation in sender and receiver agrement, since the functionality need in Runtime.

Regards

Pankaj Rajak

nabendu_sen
Active Contributor
0 Kudos

Hi Pankaj,

Not sure whether you would be able to use Principle Propagation in your case. Otherwise you can go for RFC Lookup from UDF where you can pass the Userid and Password from Interface Determination (Dont need to Hardcode in mapping and will make it flexible). Please check the below blog of Sravya:

http://scn.sap.com/people/sravya.talanki2/blog/2005/12/21/use-this-crazy-piece-for-any-rfc-mapping-l...

Former Member
0 Kudos

Hi,

PI Uses Service and RFC users for communicating to the ECC.internally and user provided over there will be used for posting to ECC..

As said above you may have to go for Principal Propagation if the request need to be logged with user who initiated the request..

HTH
Rajesh

smavachee
Active Contributor
0 Kudos

Hello Pankaj,

Principle propagation supports XI, SOAP and RFC adapters.

For more details, you can refer below links..

Principle Propagation.

Michael's blog will give you more details about it..

Hope it helps.!

Regards,

Sunil

Former Member
0 Kudos

I am assuming you are using SAP portal ..

for your requirement you can use SAP logon ticket (Principal Propogation funda of PI) , it will exactly resolve your issue.