on 12-19-2012 1:03 PM
Hi All,
We have scenario where we are getting IDOC from SAP and passing the same to Webservice.
And webservice is giving reponse back if the data is correctly processed.
Since teh IDOC is asynchronous and webservice is synchronous we are using BPM in this case.
Problem:
Now the issue is when the SAP sends the IDOC,the IDOC shows green status in SAP.
And if webservice replies with erroneous reply.
How to inform SAP that error has occured so that they can resend the IDOC.
Your help is much appreciated.
Thanks
Naveen
hi,
>>>>And if webservice replies with erroneous reply. How to inform SAP that error has occured so that they can resend the IDOC.
just put the response into a file and from the file you can update the status of the IDOC
using the SYSTAT IDOC
but the process itself can also be changed to sync proxy even with IDOC adapter (ABAP port)
and from there you can also set the IDOC status correctly - much better approach than with a BPM
(described in my IDOC book)
Regards,
Michal Krawczyk
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Michal,
Please can you let me know if for this scenario BPM is required or not.
Because I think from SAP we can get IDOC asynly.
Than can pass it to webservice synly.
And when the response is received from webservice,we can map that to IDOC SYSTAT and update the original IDOC with it.
What you suggest?
Naveen
Hi Michal,
Please can you let me know if for this scenario BPM is required or not.
Because I think from SAP we can get IDOC asynly.
Than can pass it to webservice synly.
And when the response is received from webservice,we can map that to IDOC SYSTAT and update the original IDOC with it.
What you suggest?
Naveen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
>>>Please can you let me know if for this scenario BPM is required or not.
>>>Because I think from SAP we can get IDOC asynly.
it's not - you can use IDOC and call ABAP port from which you can call proxy in a sync way
and update the IDOC status correctly - I've done that and it works,
Regards,
Michal Krawczyk
Thanks Michal,
I think we can scenario like
1.SAP->PI (asyn)
2.PI->Webservice (Syn)
And using IDOC SYSTAT i can update the original IDOC.
I think BPM is also not required now?
Naveen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Handling Sync scenarios using IDoc not a right idea, always better approach would be Proxy or RFC.
In your case maintaining sender idoc and web service response not possible,if this interface is new development then change design to abap proxy and try.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.