cancel
Showing results for 
Search instead for 
Did you mean: 

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

former_member201041
Participant
0 Kudos

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


Accepted Solutions (0)

Answers (2)

Answers (2)

weberpat
Contributor
0 Kudos

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

former_member201041
Participant
0 Kudos

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

weberpat
Contributor

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.

PriyankaAnagani
Active Contributor
0 Kudos

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?

gurudatta
Participant
0 Kudos

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

former_member201041
Participant
0 Kudos

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