cancel
Showing results for 
Search instead for 
Did you mean: 

"MAPPING">EXCEPTION_DURING_EXECUTE in scenario RFC TO PROXY

Former Member
0 Kudos

Hello all

I am facing a problem in a RFC PROXY SCENARIO and I don´t whether I can solve it .

System A : R3

System B : XI

And my scenario is RFC TO PROXY.

i will implement the proxy in the ABAP XI . For now I have entered no code.

I have mapped an rfc from r3 to my data type . My message mapping , Interface maping works very well .

When I start the program in R3 . I got the following error in the trace of sxmb_moni

:

<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">EXCEPTION_DURING_EXECUTE</SAP:Code>

<SAP:P1>com/sap/xi/tf/_MM_MAT_</SAP:P1>

<SAP:P2>java.lang.NullPointerException</SAP:P2>

<SAP:P3 />

<SAP:P4 />

<SAP:AdditionalText />

<SAP:ApplicationFaultMessage namespace="" />

<SAP:Stack>java.lang.NullPointerException thrown during application mapping com/sap/xi/tf/_MM_MAT_:</SAP:Stack>

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

</SAP:Error>

How can make this scenario working ?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Stan,

Follow the steps below:

1. Take the source XML message from SXI_MONI

2. Save the xml message into your desktop.

3. Log into Integration Repository and open the concerned mapping object.

4. Go to test tab and upload this xml at the source side.

5. see whether everything is green at source message type.

6. execute

7. you will find the error in the log immediately after executing

see for the error and take appropriate action.

Best Regards,

Kiran Bobbala

Answers (2)

Answers (2)

Former Member
0 Kudos

Thanks everybody

The problem wa because I din´t mark the "Unicode" flag in my rfc adapter sender.

Thanks for all

GabrielSagaya
Active Contributor
0 Kudos

1) choose the payload of the message from SXMB_MONI

2) copy the source XML of your message

3) paste the source of your message into your mapping program

4) Now you can be sure that you test a correct message

How to test your mapping

/people/michal.krawczyk2/blog/2005/09/16/xi-how-to-test-your-mapping-in-real-life-scenarios

Testing and Debugging Java Mapping

/people/stefan.grube/blog/2006/10/23/testing-and-debugging-java-mapping-in-developer-studio