Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

IDOC send message to third party system

Former Member
0 Kudos

Hi,

I got the below scenario,

1) Data came from 3rd party system through EDI

2) Because the material is not there in SAP system it didn't create sales order

3) IDOC is errored out

4) How to inform the 3rd party system through an IDOC or message that IDOC got errored out?

Thanks

anikaushi

6 REPLIES 6

brad_bohn
Active Contributor
0 Kudos

Isn't it more important to provide the appropriate error handling on the SAP-side, such as a workflow trigger or email notification? Once the error is fixed and the IDOC re-processed, does your 3rd party system receive an order confirmation back via EDI?

Former Member
0 Kudos

Thank you Brad.

so you mean to say that we can trigger workflow sothat those people or email.

Can we send the eror message to 3rd party in the form of IDOC immediately afer error IDOC is created in SAP?

brad_bohn
Active Contributor
0 Kudos

so you mean to say that we can trigger workflow sothat those people or email.

Yes, for error handling and resolution

Can we send the eror message to 3rd party in the form of IDOC immediately afer error IDOC is created in SAP?

You could, but I don't see the point and you'd have to map it. Your EDI system should provide an FA back to the sender upon receipt so that it knows the message was received. The error should go to the person or group that would handle the issue if it's an SAP-related issue such as a master data or config error. I don't know your system/setup, but it doesn't make sense to send a material error back to the sender system if someone is going to fix that in SAP and then re-process the IDOC (and trigger an order confirmation).

Former Member
0 Kudos

Brad,

our clientt objective is to keep the failed items along with any valid items and set a response code onto each item returning an acknowledgement in an IDOC format which shows all of the original items ordered.

Thanks

Clemenss
Active Contributor
0 Kudos

Hi anikaushi,

do you use some kind of standard IDOC? You may consider to use standard [Application error and acknowledgement message Message Type : APERAK|http://www.unece.org/trade/untdid/d00a/trmd/aperak_c.htm]

Still it depends very much on what kind of business the company does and if they conform to standards.

Regards,

Clemens

Former Member
0 Kudos

HI,

You have to use a middleware tool like XI to map the IDoc to some other structure recognised by the receiving system.

This depends on the abilities of your 3rd party system.

If it able to do RFC / ALE connetions you may go on and create an RFC destination for it via SM59 and a port via WE21 in your SAP system. If SAP system is ECC you may also go for proxy communication.

But if the 3rd party tool cannot do one of the common SAP protocols and message formats (IDOC or XML) then you need to choose a middleware like SAP PI / XI or SAP BC or WebMethods or WebSphere ....