cancel
Showing results for 
Search instead for 
Did you mean: 

Outbound IDOC status change if failed to deliver XML to Receiver

former_member185881
Active Participant
0 Kudos


Hello All

I have a requirement

IDOC is triggered in ECC. Status of IDOC in ECC are :

01 = IDOC generated

30 = IDOC ready to dispatch

03 = Data passed to port OK

Now IDOC is in PI box. while monitoring came to know that in Receiver CC XML is not delivered to target due to any issue.

Now I want to change the status of triggered IDOC in ECC to 09 "Error during Interchange handling".

Hope so I have written my requirement clearly.

Request for help. How to achieve this.

Receiver adapter is JMS.

PI version = 7.11

Regards

Dheeraj Kumar

Accepted Solutions (0)

Answers (1)

Answers (1)

Harish
Active Contributor
0 Kudos

Hi Dheeraj,

you can use RequestResponseBean in receiver JMS channel. The ALEAUD idoc can be used to update the status of idoc.

refer the below wiki for RequestResponseBean

http://wiki.scn.sap.com/wiki/display/XI/JMS+Webservice+JMS

regards,

Harish

former_member185881
Active Participant
0 Kudos

Hello Harish

My sender side is IDOC. Is it possible with IDOC?

Thanks

Dheeraj Kumar

Harish
Active Contributor
0 Kudos

Hi Dheeraj,

Yes it is possible to change the status of IDOC but in the response you need to post ALEAUD or STATUS idoc to change the status of existing idoc.

regards,

Harish

former_member185881
Active Participant
0 Kudos

Hello Harish

In Receiver JMS what are the modules I need to add.

I added - RequestResponseBean

               ResponseOneWayBean

For RequestResposneBean in parameter I have given passThrough = true

For ResponseOneWayBean I have given 2 parameters -> receiverChannel and receiverService in these I have given reference of ALEAUD channel.

Now when I check Receiver JMS channel in RWB I can see the error as "Ack not possible for synchronous scenario".

If I am missing anything please help.

Thanks

Dheeraj Kumar

Harish
Active Contributor
0 Kudos

Hi Dheeraj,

For request response bean please refer the configuration given in below wiki

JMS Webservice JMS - Process Integration - SCN Wiki

regards,

Harish