cancel
Showing results for 
Search instead for 
Did you mean: 

EDI outbound error

Former Member
0 Kudos

Hi All

we are working on EDI outbound messages and facing the following error

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>

- <!-- Request Message Mapping

-->

- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">

<SAP:Category>Application</SAP:Category>

<SAP:Code area="MAPPING">APPLICATION_PROGRAM_ERROR</SAP:Code>

<SAP:P1>Z_ABAP_MAPPING_IDOC_TO_FLAT</SAP:P1>

<SAP:P2>SAP-ABAP</SAP:P2>

<SAP:P3>UNCAUGHT_EXCEPTION</SAP:P3>

<SAP:P4>Program Z_ABAP_MAPPING_IDOC_TO_FLAT===CP Include Z_ABAP_MAPPING_IDOC_TO_FLAT===CM001 Line 1</SAP:P4>

<SAP:AdditionalText />

<SAP:ApplicationFaultMessage namespace="" />

<SAP:Stack>Error in mapping program Z_ABAP_MAPPING_IDOC_TO_FLAT (type SAP-ABAP, kernel error ID UNCAUGHT_EXCEPTION) An exception with the type CX_SY_REF_IS_INITIAL occurred, but was neither handled locally, nor declared in a RAISING clause Dereferencing of the NULL reference.</SAP:Stack>

<SAP:Retry>M</SAP:Retry>

</SAP:Error>

\

How can i solve this error.

Regards

Ashwin Kumar

Accepted Solutions (0)

Answers (3)

Answers (3)

prateek
Active Contributor
0 Kudos

In my opinion this error must be handled in the ABAP code

http://help.sap.com/saphelp_47x200/helpdata/en/a9/b8eef8fe9411d4b2ee0050dadfb92b/frameset.htm

Similar problem here

Regards,

Prateek

Former Member
0 Kudos

Hi,

Error is coming in ur program"Z_ABAP_MAPPING_IDOC_TO_FLAT "on the field"CX_SY_REF_IS_INITIAL occurred". U doesnot handle the exception. Hnadle the exception in the program. It will run fine.

Regards

Hemant

Award points if find helpful

former_member529475
Active Contributor
0 Kudos

HI Ashwin

I think this exception you need to catch it in the ABAP..

This may help u- http://help.sap.com/saphelp_47x200/helpdata/en/55/bff20efe8c11d4b54a006094b9456f/content.htm

just cross verify with this guide-

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e3ead790-0201-0010-64bb-9e4d67a4...

Cheers..

Vasu

<i>** Reward Points if found useful **</i>