Skip to Content
avatar image
Former Member

sxmb_moni error BaseRuntimeException thrown during application mapping

Hi experts

My scenario is file to idoc. Pushing xml file from ftp . The messages are going in system error in RWB. When we see in sxmb_moni I get the following error.

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

- <!-- Request Message Mapping

-->

- 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_SALES_CLM_SAP_</SAP:P1>

<SAP:P2>com.sap.aii.utilxi.misc.api.BaseRuntimeException</SAP:P2>

<SAP:P3>RuntimeException in Message-Mapping transformatio~</SAP:P3>

<SAP:P4 />

<SAP:AdditionalText />

<SAP:ApplicationFaultMessage namespace="" />

<SAP:Stack>com.sap.aii.utilxi.misc.api.BaseRuntimeException thrown during application mapping com/sap/xi/tf/_MM_SALES_CLM_SAP_: RuntimeException in Message-Mapping transformatio~</SAP:Stack>

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

</SAP:Error>Thanks in advance.

Edited by: zia Rahman on Nov 30, 2010 6:29 AM

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Nov 30, 2010 at 05:30 AM

    Hi,

    It seems that there is some exception in ur message mapping(u r not populating some of the mandatory target elements). Copy the source payload from moni and paste it in IR and then test ur message mapping.

    Thanks

    Amit

    Add comment
    10|10000 characters needed characters exceeded

    • Change your UDF for reading the file name like this:

      DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
      // in test tool the value is null, so return the argument "test"
        if (conf == null)
         return "Filename"
        else {  
          DynamicConfigurationKey key = DynamicConfigurationKey.create(
                  "http://sap.com/xi/XI/System/File",
                  "FileName");
          return conf.get(key);
        }

  • avatar image
    Former Member
    Nov 30, 2010 at 06:41 AM

    I see that you mapping has a Dyamic configuration to dynamically create the file name. When you try to test in Message mapping, map the target root elements i.e one to one. do not use dynamic configuration when trying to test in Message Mapping.

    If you would like to test along with the Dynamic configuration, then you need to go ahead to do end-to-end testing.

    I hope you might be missing some of the mandatory fields in the sender file. Please check and try....

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

    Thanks,

    Add comment
    10|10000 characters needed characters exceeded