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 856 ASN processing Error to 824

Former Member
0 Kudos

Hi guy's

When we process 856 ASN (Advance Shipment Notification) we may get errors. I want to trap these errors and send it back to the customer using Document type 824 (Application Advice) telling the customer these errors have occured.

How can this be done in SAP? Can we save the error log generated while processing delivery(856) document.

Thanking in Advance

1 REPLY 1

Former Member
0 Kudos

864 Text Message Sometimes used to transmit EDI errors, can be used for general information

the 864 provides users with the capability to electronically move messages, contracts, explanations and other one-time communications. The intent of this transaction set is to provide electronic communications (messages) for people and it is not to be used for computer processing. < Back

Use of the Text Message transaction set demands certain detailed information from the sender about the recipient in order to provide the recipient with communications in some human-readable form. The recipient's network will dictate what capabilities are available for delivery of the information and it is the responsibility of the sender to obtain this information and include it in the transmission. Transmitting quasi or unique transaction-set standards is discouraged when using this transaction set.

You will have to trap the errors and push it in an Ztable and push it in or if you want to use standard SAP then

Logical Message : TXTRAW.

IDOC Type: TXTRAW01

Configure this in the outbound parameters of the partner to whome you want to send the file.

But before that you have to know the format which is acceptable by the other party as you may not know if they have received the message if 997 is not configured in there system.