on 03-03-2014 5:05 AM
Hi All,
As per my requirement I am using the SAP ME PAPI WS to start the SFC. I have used the SAPME PAPI Interface action block in ME within BLS and searched the service and operation also. Required input parameter mapping is also done and I have successfully executed the BLS and SFC is started in ME. In SAPME PAPI Interface action block I have used Credential alias which is standard configuration in MEINT for user MESYS.
Now what I have seen is that, in ME the SFC is started by user MESYS. But I want to pass the user who is currently executing. Is there any way to pass the current user credential or session for executing the PAPI service. My final target is to use the BLS in IRPT through Xacute query.
Thanks in Advance
Chandan
Hi,
I guess you used credential alias for authentication within WS call block, but inside the WS request there is <me:UserRef> tag which specifies the actual user who is executing Start action. This user should be written to ACTIVITY_LOG and other tables of transactional production data.
Regards,
Sergiy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sergiy,
It is only required for Sfc Start operation. It is a generic requirement for all PAPI WS. User ref is not available for all services. I have taken sfc Start operation as an example. But for complete SFC operation there is no user ref. in Request structure. Then what would be our generic way to execute it through current user credential.
Thanks
Chandan
Hi Sergiy,
Could you please check
http://<Host>:<Port>/manufacturing-papiservices/SfcCompleteServiceWSService?wsdl&mode=ws_policy
for complete sfc service. I am not getting user Ref field there. I am also using 6.1.3.0
Thanks
Chandan
Yes, you are right: I've checked legacy WS request, not PAPI - and there I've found userRef tag.
Indeed, SFC Complete PAPI WS does not have userRef, and I do not see any reason for this because provided Labor On functionality, the SFC can be started by one user but completed by another. And I would expect SAPMEINT to use Credentail Alias just as a technical part of authentication rather than a source of transactional production data.
So, to me this looks like a bug.
Regards,
Sergiy
User | Count |
---|---|
108 | |
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.