Skip to Content
0

Retrieve transaction id for inbound idoc message in sap pi single stack

Aug 08, 2017 at 10:35 AM

158

avatar image

Hi All,

I have a requirement to retrieve idoc no or transaction id for inbound IDoc messages in a single stack system.

Can someone please suggest any web service or http service to get the transaction id or idoc no from IDoc adapter monitoring option available in NWA ?

Path= NWA->SOA->Monitoring->Idoc Adapter Monitor


Thanks,

RajKumar


10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

gurudatta d Aug 08, 2017 at 12:29 PM
0

Hi Raj,

What exactly are you trying to achieve here ..

If the idocs have passed through PO system ..you will find out all the details in the above Monitoring

and of which day you are trying to retrieve the data

today,This week,This Month???

Br,

Guru

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Hi Guru,

As per my requirement I need to send the transaction id back to sender system as a response. I need web service which can provide the transaction id. Please guide.

Thanks,

RajKumar

0
avatar image
Former Member Aug 08, 2017 at 03:17 PM
0

Hi Raj,

If by "inbound" you mean IDocs coming from PI inbound to ECC, then there is no way to retrieve the IDoc numbers. The numbers shown in the PI system do not correspond to the real numbers in the backend.

In general, for a web service to access messages in the Java stack, you may want to take a look at this blog.

Regards,

Patrick

Show 3 Share
10 |10000 characters needed characters left characters exceeded

Hi Patrick,

Thanks for your reply.Inbound IDocs means messages coming from PI to ECC system. I have been through that blog but the required field transaction id is not available in the response message. Please suggest if any web services are there to fetch transaction id for the incoming IDoc messages.

Thanks,

RajKumar

0
Former Member
Raj Kumar

I'm afraid I'm not aware of such WS then. Can you elaborate a bit more on what you are trying to achieve? If you would like to correlate PI message and ECC IDoc you could do so by retrieving the message IDs. Those will be mapped to EDIDC-ARCKEY by default and would thus be a possible search criterion in ECC.

1

The transaction ID will be available in TID field in EDIDS table in ECC. You can lookup the value based on IDoc number. But, what you are going to do with the transaction ID?

0