cancel
Showing results for 
Search instead for 
Did you mean: 

Updating IDoc Status through PI

former_member201987
Participant
0 Kudos

Hello Experts,

We are sending an IDoc to a third party system through PI 7.1. From there we are planning that they will send a acknowledgement. It will contain the Idoc number and its status (whether it got processed at their end or not).

The requirement is that according to the status we have to update the IDoc status in R/3 system through PI 7.1.

Kindly elaborate on how to do this? Are there some scenarios done like this?

Thanks in advance,

Suraj Sawarkar

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

There is an IDOC type ALEAUD used for this purpose. Check on SDN for ALEAUDIT configurations and you will get sufficient material.

Hope this helps.

Regards,

Siddhesh S.Tawate

former_member201987
Participant
0 Kudos

Hello Siddhesh,

The acknowledgement is not automatic. The scenario is asynchronous and the third party will manually send the acknowledgement. So we will be receiving a message with only 2 fields say IDoc nmber and status. It may contain multiple IDocs anf its status. Now we want to update this status in SAP R/3 for the corresponding IDoc number.

Please help!

Thanks, Suraj

former_member187339
Active Contributor
0 Kudos

Hi Suraj,

Check this: call the RFC 'WDLD_EDI_STATUS_SET'. Pass it the Idoc number(s) and status.

Another alternative is given here

http://sap.ittoolbox.com/groups/technical-functional/sap-dev/post-idoc-status-record-using-an-rfc-25...

Regards

Suraj

Former Member
0 Kudos

Hi,

Just one query, when the IDOC is sent from R/3 at that moment the status will become success as the IDOC is successfully transfered to target system. How this will be handled in this case.

Regards,

Siddhesh S.Tawate

Answers (1)

Answers (1)

former_member201987
Participant
0 Kudos

Got solved by STATUS.SYSTAT01 inbound Idoc.

It updates the IDoc status.

Former Member
0 Kudos

Please elaborate for my knowledge purpose

what's this STATUS.SYSTAT01?

Is this a transaction or what?

Regards

Sekhar

former_member201987
Participant
0 Kudos

Hello sekhar,

STATUS.SYSTAT01 is a standard IDoc. We mapped the incoming acknowledgement to this IDoc.

Whatever status comes in the ack it is mapped to the status field of the IDoc and the IDoc number is mapped to the IDoc number field. The underlying FM updates the status. We can see the updated Idoc status in WE02 transaction.

Hope this helps,

Thanks,

Suraj