cancel
Showing results for 
Search instead for 
Did you mean: 

proxy to webservice synchronous

former_member474221
Participant
0 Kudos

Hi

I have a requirement where as soon as credit memo is created some of the fields are transferred from SAP to PI to Webservice..

in webservice the creditmemo is created and response is sent back...

we are using the design where on save of the creditmemo we are calling the proxy class and getting back the response..

if there are any errors which are sent back from the webservice we are writing them in a log table and then using a seprate report to send the corrected data again...

is this approach correct

Accepted Solutions (1)

Accepted Solutions (1)

former_member208856
Active Contributor
0 Kudos

Make log of all the messages in table, if the received message is successful, do not process that & update in a field that it is successful.

If the received message is in Error, reprocess that only, when it is also successful, update field with Successful.

Answers (1)

Answers (1)

rajasekhar_reddy14
Active Contributor
0 Kudos

Evrything looks correct, why you want to store error data in to tables? if it is validation purpose then your design perfect.

former_member474221
Participant
0 Kudos

we are storing the error data so that we can see the erroneous data...correct the same and then we can resend the data using a standalonne report...