cancel
Showing results for 
Search instead for 
Did you mean: 

how to add source message filed value in dynamic generated xml file ??

Former Member
0 Kudos

Hi Friends..

in my idoc to file....

i want to add one of my source idoc fields value in the dynamic generated file....

filename _field.xml...

so how to get that filed value in java section ...

i am not using that field in mapping..

please help me...

regards

ram

Accepted Solutions (0)

Answers (10)

Answers (10)

Former Member
0 Kudos

Hi,

in my target xsd all are required fields...

that is reason why i mapped to root node ..i.e.. WorkOrders its occurance 1..1

regards

ram

Former Member
0 Kudos

Hi Ram,

then i suggest yu that you take a field in target.............

UDF -> abc

compare with zxc

output to equalS of text -> if functoin -> in else map the source to target field. -


in this way, your udf will be executed and else wiil execute so you will get the target field.

Thanks,

Rajeev Gupta

Message was edited by:

RAJEEV GUPTA

Former Member
0 Kudos

Hi,

<i><?xml version="1.0" encoding="UTF-8" standalone="yes" ?><!-- Request Message Mapping > <SAP:Trace xmlns:SAP="http://sap.com/xi/XI/Message/30"><Trace level="1" type="B" name="IDX_INBOUND_XMB"></Trace><! ************************************ -->

<Trace level="1" type="T">User: s_asr</Trace>

<Trace level="1" type="T">Language: E</Trace>

<Trace level="1" type="T">ALE-AUDIT-IDoc-Inbound Handling </Trace>

<Trace level="1" type="T">IDoc-Inbound-Handling </Trace>

<Trace level="2" type="T">Tunneling needed? </Trace>

<Trace level="2" type="T">Partytype = LS fallback to logical system</Trace>

<Trace level="3" type="T">Sender Interface </Trace>

<Trace level="3" type="T">IORDER.IORDER01 urn:sap-com:document:sap:idoc:messages</Trace>

<Trace level="1" type="T">Syntax-Check-Flag X</Trace>

<Trace level="1" type="T">IDoc-Tunnel-Flag </Trace>

<Trace level="1" type="T">Queueid </Trace>

<Trace level="1" type="B" name="IDX_IDOC_TO_XML">

<Trace level="1" type="T">Get the Metadata for port SAPSRD</Trace>

<Trace level="2" type="T">----


</Trace>

<Trace level="2" type="T">IDX_STRUCTURE_GET Details </Trace>

<Trace level="2" type="T">Port : SAPSRD</Trace>

<Trace level="2" type="T">IDoctyp : IORDER01</Trace>

<Trace level="2" type="T">Cimtyp : </Trace>

<Trace level="2" type="T">RFCDest : </Trace>

<Trace level="2" type="T">Release : 640</Trace>

<Trace level="2" type="T">Version : 3</Trace>

<Trace level="2" type="T">Direct : 1</Trace>

<Trace level="2" type="T">SAPREL : 640</Trace>

<Trace level="2" type="T">----


</Trace>

<Trace level="1" type="T">Convert Segment-Definitions to Types </Trace>

<Trace level="1" type="T">Make Syntax check of actual Idoc </Trace>

<Trace level="2" type="T">----


</Trace>

<Trace level="2" type="T">IDX_SYNTAX_CHECK </Trace>

<Trace level="2" type="T">Port : SAPSRD</Trace>

<Trace level="2" type="T">IDoctyp : IORDER01</Trace>

<Trace level="2" type="T">Cimtyp : </Trace>

<Trace level="2" type="T">----


</Trace>

<Trace level="2" type="T">Create XML-Control Record </Trace>

<Trace level="2" type="T">Create XML-Data Records </Trace>

<Trace level="3" type="T">Create data Record E1ORHDR</Trace>

<Trace level="3" type="T">Create data Record E1OROPR</Trace>

</Trace>

<Trace level="2" type="T">Partytype = LS fallback to logical system</Trace>

<Trace level="2" type="T">Set Sender Routing-object </Trace>

<Trace level="1" type="T">Set Receiver Routing-object </Trace>

<Trace level="1" type="T">Exit Function IDX_INBOUND_XMB </Trace>

<Trace level="1" type="T">COMMIT is expected by application ! </Trace>

<Trace level="1" type="B" name="CL_XMS_MAIN-ENTER_XMS"></Trace><!-- ************************************ -->

<Trace level="1" type="B" name="CL_XMS_MAIN-SET_START_PIPELINE"></Trace><!-- ************************************ -->

<Trace level="3" type="T">XMB was called with external pipeline PID = ENTRY</Trace>

<Trace level="3" type="T">Getting type of XMB... </Trace>

<Trace level="1" type="B" name="SXMBCONF-SXMB_GET_XMB_USE">

</Trace>

<Trace level="2" type="T">XMB kind = CENTRAL</Trace>

<Trace level="3" type="T">Start pipeline found </Trace>

<Trace level="2" type="T">Switch to external start pipeline PID = CENTRAL</Trace>

<Trace level="1" type="B" name="CL_XMS_TROUBLESHOOT-ENTER_PLSRV">

<Trace level="3" type="T">No triggers found. OK. </Trace>

</Trace>

<Trace level="1" type="T">**************************************************** </Trace>

<Trace level="1" type="T">* * </Trace>

<Trace level="1" type="T">* * </Trace>

<Trace level="1" type="T">XMB entry processing </Trace>

<Trace level="3" type="T">system-ID = DGX</Trace>

<Trace level="3" type="T">client = 100</Trace>

<Trace level="3" type="T">language = E</Trace>

<Trace level="3" type="T">user = s_asr</Trace>

<Trace level="1" type="Timestamp">2006-12-14T12:20:58Z CET </Trace>

<Trace level="1" type="T">* * </Trace>

<Trace level="1" type="T">* * </Trace>

<Trace level="1" type="T">**************************************************** </Trace>

<Trace level="1" type="B" name="CL_XMS_MAIN-CALL_UC_EXECUTE"></Trace><!-- ************************************ -->

<Trace level="1" type="T">Message-GUID = 458006149E23011E000000000A967130</Trace>

<Trace level="1" type="T">PLNAME = CENTRAL</Trace>

<Trace level="1" type="T">QOS = EO</Trace>

<Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PIPELINE_ASYNC"></Trace><!-- ************************************ -->

<Trace level="3" type="T">QOS = EO</Trace>

<Trace level="3" type="T">Message-GUID = 458006149E23011E000000000A967130</Trace>

<Trace level="1" type="T">Get definition of external pipeline = CENTRAL</Trace>

<Trace level="1" type="B" name="CL_XMS_MAIN-LOOKUP_INTERNAL_PL_ID">

<Trace level="3" type="T">External PLID = CENTRAL</Trace>

<Trace level="3" type="T">Internal PLID = SAP_CENTRAL</Trace>

</Trace>

<Trace level="1" type="T">Get definition of internal pipeline = SAP_CENTRAL</Trace>

<Trace level="3" type="T">Generate prefixed queue name </Trace>

<Trace level="1" type="T">Queue name : XBTI0007</Trace>

<Trace level="1" type="T">Generated prefixed queue name = XBTI0007</Trace>

<Trace level="1" type="T">Schedule message in qRFC environment </Trace>

<Trace level="3" type="T">Setup qRFC Scheduler </Trace>

<Trace level="1" type="T">Setup qRFC Scheduler OK! </Trace>

<Trace level="3" type="T">Call qRFC .... MsgGuid = 458006149E23011E000000000A967130</Trace>

<Trace level="3" type="T">Call qRFC .... Version = 000</Trace>

<Trace level="3" type="T">Call qRFC .... Pipeline = CENTRAL</Trace>

<Trace level="3" type="T">OK. </Trace>

<Trace level="1" type="T">----


</Trace>

<Trace level="1" type="T">Going to persist message </Trace>

<Trace level="1" type="T">NOTE: The following trace entries are always lacking </Trace>

<Trace level="1" type="T">- Exit WRITE_MESSAGE_TO_PERSIST </Trace>

<Trace level="1" type="T">- Exit CALL_PIPELINE_ASYNC </Trace>

<Trace level="1" type="T">Async barrier reached. Bye-bye ! </Trace>

<Trace level="1" type="T">----


</Trace>

<Trace level="3" type="T">Version number = 000</Trace>

<Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_TO_PERSIST"></Trace><!-- ************************************ -->

<Trace level="3" type="T">Persisting message Status = 001</Trace>

<Trace level="3" type="T">Message version 000</Trace>

<Trace level="3" type="T">Pipeline CENTRAL</Trace>

<Trace level="1" type="B" name="CL_XMS_MAIN-PERSIST_READ_MESSAGE">

<Trace level="3" type="T">Trace object available again now. OK. </Trace>

<Trace level="3" type="T">Message was read from persist layer. OK. </Trace>

<Trace level="3" type="T">Message properties in XMB object were setup. OK. </Trace>

<Trace level="3" type="ToDo">Make sure we catch exceptions in persist read </Trace>

<Trace level="3" type="ToDo">Tracing obj. not avail. before return of CL_XMS_MAIN-PERSIST_READ_MESSAGE</Trace>

</Trace>

<Trace level="1" type="T">Note: the following trace entry is written delayed (after read from persist)</Trace>

<Trace level="1" type="B" name="SXMS_ASYNC_EXEC"></Trace><!-- ************************************ -->

<Trace level="3" type="T">message version successfully read from persist version= 000</Trace>

<Trace level="2" type="T">Increment log sequence to 001</Trace>

<Trace level="1" type="T">----


</Trace>

<Trace level="1" type="T">Starting async processing with pipeline CENTRAL</Trace>

<Trace level="3" type="T">system-ID = DGX</Trace>

<Trace level="3" type="T">client = 100</Trace>

<Trace level="3" type="T">language = E</Trace>

<Trace level="3" type="T">user = s_asr</Trace>

<Trace level="1" type="Timestamp">2006-12-14T12:20:58Z CET </Trace>

<Trace level="1" type="T">----


</Trace>

<Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PIPELINE_SYNC"></Trace><!-- ************************************ -->

<Trace level="1" type="T">Get definition of external pipeline CENTRAL</Trace>

<Trace level="1" type="B" name="CL_XMS_MAIN-LOOKUP_INTERNAL_PL_ID">

<Trace level="3" type="T">External PLID = CENTRAL</Trace>

<Trace level="3" type="T">Internal PLID = SAP_CENTRAL</Trace>

</Trace>

<Trace level="1" type="T">Corresponding internal pipeline SAP_CENTRAL</Trace>

<Trace level="3" type="T"> </Trace>

<Trace level="3" type="T">Pipeline attributes </Trace>

<Trace level="3" type="T">PID = SAP_CENTRAL</Trace>

<Trace level="3" type="T">ENABLE = 1</Trace>

<Trace level="3" type="T">TRACELEVEL = 0</Trace>

<Trace level="3" type="T">EXEMODE = A</Trace>

<Trace level="3" type="T"> </Trace>

<Trace level="3" type="T"> </Trace>

<Trace level="3" type="T">Pipeline elements </Trace>

<Trace level="3" type="T">ELEMPOS = 0001</Trace>

<Trace level="3" type="T">PLSRVID = PLSRV_RECEIVER_DETERMINATION</Trace>

<Trace level="3" type="T">PLSRVTYPE = </Trace>

<Trace level="3" type="T">FL_DUMMY = 0</Trace>

<Trace level="3" type="T"> </Trace>

<Trace level="3" type="T">ELEMPOS = 0002</Trace>

<Trace level="3" type="T">PLSRVID = PLSRV_INTERFACE_DETERMINATION</Trace>

<Trace level="3" type="T">PLSRVTYPE = </Trace>

<Trace level="3" type="T">FL_DUMMY = </Trace>

<Trace level="3" type="T"> </Trace>

<Trace level="3" type="T">ELEMPOS = 0003</Trace>

<Trace level="3" type="T">PLSRVID = PLSRV_RECEIVER_MESSAGE_SPLIT</Trace>

<Trace level="3" type="T">PLSRVTYPE = </Trace>

<Trace level="3" type="T">FL_DUMMY = </Trace>

<Trace level="3" type="T"> </Trace>

<Trace level="3" type="T">ELEMPOS = 0004</Trace>

<Trace level="3" type="T">PLSRVID = PLSRV_MAPPING_REQUEST</Trace>

<Trace level="3" type="T">PLSRVTYPE = </Trace>

<Trace level="3" type="T">FL_DUMMY = </Trace>

<Trace level="3" type="T"> </Trace>

<Trace level="3" type="T">ELEMPOS = 0007</Trace>

<Trace level="3" type="T">PLSRVID = PLSRV_OUTBOUND_BINDING</Trace>

<Trace level="3" type="T">PLSRVTYPE = </Trace>

<Trace level="3" type="T">FL_DUMMY = </Trace>

<Trace level="3" type="T"> </Trace>

<Trace level="3" type="T">ELEMPOS = 0008</Trace>

<Trace level="3" type="T">PLSRVID = PLSRV_CALL_ADAPTER</Trace>

<Trace level="3" type="T">PLSRVTYPE = =SWITCH=</Trace>

<Trace level="3" type="T">FL_DUMMY = </Trace>

<Trace level="3" type="T"> </Trace>

<Trace level="3" type="T">ELEMPOS = 0009</Trace>

<Trace level="3" type="T">PLSRVID = PLSRV_MAPPING_RESPONSE</Trace>

<Trace level="3" type="T">PLSRVTYPE = </Trace>

<Trace level="3" type="T">FL_DUMMY = </Trace>

<Trace level="3" type="T"> </Trace>

<Trace level="3" type="T"> </Trace>

<Trace level="1" type="Timestamp">2006-12-14T12:20:58Z CET Begin of pipeline processing PLSRVID = CENTRAL</Trace>

<Trace level="1" type="B" name="PLSRV_RECEIVER_DETERMINATION">

<Trace level="1" type="Timestamp">2006-12-14T12:20:58Z CET Start of pipeline service processing PLSRVID= PLSRV_RECEIVER_DETERMINATION</Trace>

<Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV">

<Trace level="3" type="T">Calling pipeline service: PLSRV_RECEIVER_DETERMINATION</Trace>

<Trace level="3" type="T">Reading Pipeline-Service specification... </Trace>

<Trace level="3" type="T"> </Trace>

<Trace level="3" type="T">Pipeline service specification (table SXMSPLSRV) </Trace>

<Trace level="3" type="T">PLSRVID = PLSRV_RECEIVER_DETERMINATION</Trace>

<Trace level="3" type="T">PLSRVTYPE = </Trace>

<Trace level="3" type="T">ADRESSMOD = LOCAL</Trace>

<Trace level="3" type="T">P_CLASS = CL_RD_PLSRV</Trace>

<Trace level="3" type="T">P_IFNAME = IF_XMS_PLSRV</Trace>

<Trace level="3" type="T">P_METHOD = ENTER_PLSRV</Trace>

<Trace level="3" type="T">FL_LOG = </Trace>

<Trace level="3" type="T">FL_DUMMY = 0</Trace>

<Trace level="3" type="T"> </Trace>

<Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV_LOCAL">

<Trace level="1" type="B" name="CL_RD_PLSRV-ENTER_PLSRV">

<Trace level="1" type="T">R E C E I V E R - D E T E R M I N A T I O N </Trace>

<Trace level="1" type="T"> Cache Content is up to date </Trace>

<Trace level="2" type="T">Start without given receiver </Trace>

<Trace level="2" type="T">Classic Receiver Determination via Rules. </Trace>

<Trace level="2" type="T">Check conditions for rule line no. 1 </Trace>

<Trace level="3" type="T">...create rule engine </Trace>

<Trace level="3" type="T">...call rule engine for Condition %CL_SAI_SWF_RULE_ENGINE.MSG_GET(MSG=&amp;_MSG&amp;;NSP=&amp;_NSM&amp;;XPATH=&quot;/IORDER01/IDOC/E1ORHDR/E1OROPR/ARBPL&quot;)% CE 2 </Trace>

<Trace level="2" type="T">......extracting (new) for Extractor: XP /IORDER01/IDOC/E1ORHDR/E1OROPR/ARBPL </Trace>

<Trace level="2" type="T">......extracting values found: 1 </Trace>

<Trace level="2" type="T">...invalid Receiver: - BS_FTP_MES_2_WorkOrder_Create </Trace>

<Trace level="2" type="T">Check conditions for rule line no. 2 </Trace>

<Trace level="3" type="T">...call rule engine for Condition %CL_SAI_SWF_RULE_ENGINE.MSG_GET(MSG=&amp;_MSG&amp;;NSP=&amp;_NSM&amp;;XPATH=&quot;/IORDER01/IDOC/E1ORHDR/E1OROPR/ARBPL&quot;)% CE 1 </Trace>

<Trace level="2" type="T">...valid Receiver with Condition: - BS_FTP_MES_1_WorkOrder_Create </Trace>

<Trace level="2" type="T">Check conditions for rule line no. 3 </Trace>

<Trace level="3" type="T">...call rule engine for Condition %CL_SAI_SWF_RULE_ENGINE.MSG_GET(MSG=&amp;_MSG&amp;;NSP=&amp;_NSM&amp;;XPATH=&quot;/IORDER01/IDOC/E1ORHDR/E1OROPR/ARBPL&quot;)% CE 3 </Trace>

<Trace level="2" type="T">...invalid Receiver: - BS_FTP_MES_3_WorkOrder_Create </Trace>

<Trace level="2" type="T">Check conditions for rule line no. 4 </Trace>

<Trace level="3" type="T">...call rule engine for Condition %CL_SAI_SWF_RULE_ENGINE.MSG_GET(MSG=&amp;_MSG&amp;;NSP=&amp;_NSM&amp;;XPATH=&quot;/IORDER01/IDOC/E1ORHDR/E1OROPR/ARBPL&quot;)% CE 4 </Trace>

<Trace level="2" type="T">...invalid Receiver: - BS_FTP_MES_4_WorkOrder_Create </Trace>

<Trace level="2" type="T">No Receiver found behaviour: 0 </Trace>

<Trace level="2" type="T">Number of Receivers:1 </Trace>

</Trace>

</Trace>

</Trace>

<Trace level="1" type="Timestamp">2006-12-14T12:20:58Z CET End of pipeline service processing PLSRVID= PLSRV_RECEIVER_DETERMINATION</Trace>

</Trace>

<Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_LOG_TO_PERSIST">

<Trace level="3" type="T">Persisting message after plsrv call </Trace>

<Trace level="3" type="T">Message-Version = 001</Trace>

<Trace level="3" type="T">Message version 001</Trace>

<Trace level="3" type="T">Pipeline CENTRAL</Trace>

</Trace>

<Trace level="1" type="B" name="PLSRV_INTERFACE_DETERMINATION">

<Trace level="1" type="Timestamp">2006-12-14T12:20:58Z CET Start of pipeline service processing PLSRVID= PLSRV_INTERFACE_DETERMINATION</Trace>

<Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV">

<Trace level="3" type="T">Calling pipeline service: PLSRV_INTERFACE_DETERMINATION</Trace>

<Trace level="3" type="T">Reading Pipeline-Service specification... </Trace>

<Trace level="3" type="T"> </Trace>

<Trace level="3" type="T">Pipeline service specification (table SXMSPLSRV) </Trace>

<Trace level="3" type="T">PLSRVID = PLSRV_INTERFACE_DETERMINATION</Trace>

<Trace level="3" type="T">PLSRVTYPE = </Trace>

<Trace level="3" type="T">ADRESSMOD = LOCAL</Trace>

<Trace level="3" type="T">P_CLASS = CL_ID_PLSRV</Trace>

<Trace level="3" type="T">P_IFNAME = IF_XMS_PLSRV</Trace>

<Trace level="3" type="T">P_METHOD = ENTER_PLSRV</Trace>

<Trace level="3" type="T">FL_LOG = </Trace>

<Trace level="3" type="T">FL_DUMMY = 0</Trace>

<Trace level="3" type="T"> </Trace>

<Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV_LOCAL">

<Trace level="1" type="B" name="CL_ID_PLSRV-ENTER_PLSRV">

<Trace level="1" type="T">I N T E R F A C E - D E T E R M I N A T I O N </Trace>

<Trace level="1" type="T"> Cache Content is up to date </Trace>

<Trace level="2" type="T">Check conditions for (Inb: Party Srvc If) BS_FTP_MES_1_WorkOrder_Create MI_IN_MES_WorkOrderCreation </Trace>

<Trace level="2" type="T">...valid InbIf without Condition: MI_IN_MES_WorkOrderCreation </Trace>

<Trace level="2" type="T">Number of receiving Interfaces:1 </Trace>

</Trace>

</Trace>

</Trace>

<Trace level="1" type="Timestamp">2006-12-14T12:20:58Z CET End of pipeline service processing PLSRVID= PLSRV_INTERFACE_DETERMINATION</Trace>

</Trace>

<Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_LOG_TO_PERSIST">

<Trace level="3" type="T">Persisting message after plsrv call </Trace>

<Trace level="3" type="T">Message-Version = 002</Trace>

<Trace level="3" type="T">Message version 002</Trace>

<Trace level="3" type="T">Pipeline CENTRAL</Trace>

</Trace>

<Trace level="1" type="B" name="PLSRV_RECEIVER_MESSAGE_SPLIT"></Trace><!-- ************************************ -->

<Trace level="1" type="Timestamp">2006-12-14T12:20:58Z CET Start of pipeline service processing PLSRVID= PLSRV_RECEIVER_MESSAGE_SPLIT</Trace>

<Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV">

<Trace level="3" type="T">Calling pipeline service: PLSRV_RECEIVER_MESSAGE_SPLIT</Trace>

<Trace level="3" type="T">Reading Pipeline-Service specification... </Trace>

<Trace level="3" type="T"> </Trace>

<Trace level="3" type="T">Pipeline service specification (table SXMSPLSRV) </Trace>

<Trace level="3" type="T">PLSRVID = PLSRV_RECEIVER_MESSAGE_SPLIT</Trace>

<Trace level="3" type="T">PLSRVTYPE = </Trace>

<Trace level="3" type="T">ADRESSMOD = LOCAL</Trace>

<Trace level="3" type="T">P_CLASS = CL_XMS_PLSRV_RECEIVER_SPLIT</Trace>

<Trace level="3" type="T">P_IFNAME = IF_XMS_PLSRV</Trace>

<Trace level="3" type="T">P_METHOD = ENTER_PLSRV</Trace>

<Trace level="3" type="T">FL_LOG = </Trace>

<Trace level="3" type="T">FL_DUMMY = 0</Trace>

<Trace level="3" type="T"> </Trace>

<Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV_LOCAL"></Trace><!-- ************************************ -->

<Trace level="1" type="B" name="CL_XMS_PLSRV_RECEIVER_SPLIT-ENTER_PLSRV"></Trace><!-- ************************************ -->

<Trace level="3" type="T">Case handling for different plsrv_ids PLSRV_RECEIVER_MESSAGE_SPLIT</Trace>

<Trace level="2" type="T">got property produced by receiver determination </Trace>

<Trace level="1" type="T">number of receivers: 1 </Trace>

<Trace level="1" type="T">Single-receiver split case </Trace>

<Trace level="1" type="T">Post-split internal queue name = XBTOR1__0000</Trace>

<Trace level="1" type="T">----


</Trace>

<Trace level="1" type="T">Persisting single message for post-split handling </Trace>

<Trace level="1" type="T"> </Trace>

<Trace level="1" type="T">Going to persist message + call qRFC now... </Trace>

<Trace level="1" type="T">NOTE: The following trace entries are always lacking </Trace>

<Trace level="1" type="T">- Exit WRITE_MESSAGE_TO_PERSIST </Trace>

<Trace level="1" type="T">Async barrier reached. Bye-bye ! </Trace>

<Trace level="1" type="T">----


</Trace>

<Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_TO_PERSIST"></Trace><!-- ************************************ -->

<Trace level="3" type="T">Persisting message Status = 012</Trace>

<Trace level="3" type="T">Message version 003</Trace>

<Trace level="3" type="T">Pipeline CENTRAL</Trace>

<Trace level="1" type="B" name="CL_XMS_MAIN-PERSIST_READ_MESSAGE">

<Trace level="3" type="T">Trace object available again now. OK. </Trace>

<Trace level="3" type="T">Message was read from persist layer. OK. </Trace>

<Trace level="3" type="T">Message properties in XMB object were setup. OK. </Trace>

<Trace level="3" type="ToDo">Make sure we catch exceptions in persist read </Trace>

<Trace level="3" type="ToDo">Tracing obj. not avail. before return of CL_XMS_MAIN-PERSIST_READ_MESSAGE</Trace>

</Trace>

<Trace level="1" type="T">Note: the following trace entry is written delayed (after read from persist)</Trace>

<Trace level="1" type="B" name="SXMS_ASYNC_EXEC"></Trace><!-- ************************************ -->

<Trace level="3" type="T">message version successfully read from persist version= 004</Trace>

<Trace level="2" type="T">Increment log sequence to 005</Trace>

<Trace level="1" type="T">----


</Trace>

<Trace level="1" type="T">Starting async processing with pipeline CENTRAL</Trace>

<Trace level="3" type="T">system-ID = DGX</Trace>

<Trace level="3" type="T">client = 100</Trace>

<Trace level="3" type="T">language = E</Trace>

<Trace level="3" type="T">user = s_asr</Trace>

<Trace level="1" type="Timestamp">2006-12-14T12:20:59Z CET </Trace>

<Trace level="1" type="T">----


</Trace>

<Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PIPELINE_SYNC"></Trace><!-- ************************************ -->

<Trace level="1" type="T">Get definition of external pipeline CENTRAL</Trace>

<Trace level="1" type="B" name="CL_XMS_MAIN-LOOKUP_INTERNAL_PL_ID">

<Trace level="3" type="T">External PLID = CENTRAL</Trace>

<Trace level="3" type="T">Internal PLID = SAP_CENTRAL</Trace>

</Trace>

<Trace level="1" type="T">Corresponding internal pipeline SAP_CENTRAL</Trace>

<Trace level="3" type="T"> </Trace>

<Trace level="3" type="T">Pipeline attributes </Trace>

<Trace level="3" type="T">PID = SAP_CENTRAL</Trace>

<Trace level="3" type="T">ENABLE = 1</Trace>

<Trace level="3" type="T">TRACELEVEL = 0</Trace>

<Trace level="3" type="T">EXEMODE = A</Trace>

<Trace level="3" type="T"> </Trace>

<Trace level="3" type="T"> </Trace>

<Trace level="3" type="T">Pipeline elements </Trace>

<Trace level="3" type="T">ELEMPOS = 0001</Trace>

<Trace level="3" type="T">PLSRVID = PLSRV_RECEIVER_DETERMINATION</Trace>

<Trace level="3" type="T">PLSRVTYPE = </Trace>

<Trace level="3" type="T">FL_DUMMY = 0</Trace>

<Trace level="3" type="T"> </Trace>

<Trace level="3" type="T">ELEMPOS = 0002</Trace>

<Trace level="3" type="T">PLSRVID = PLSRV_INTERFACE_DETERMINATION</Trace>

<Trace level="3" type="T">PLSRVTYPE = </Trace>

<Trace level="3" type="T">FL_DUMMY = </Trace>

<Trace level="3" type="T"> </Trace>

<Trace level="3" type="T">ELEMPOS = 0003</Trace>

<Trace level="3" type="T">PLSRVID = PLSRV_RECEIVER_MESSAGE_SPLIT</Trace>

<Trace level="3" type="T">PLSRVTYPE = </Trace>

<Trace level="3" type="T">FL_DUMMY = </Trace>

<Trace level="3" type="T"> </Trace>

<Trace level="3" type="T">ELEMPOS = 0004</Trace>

<Trace level="3" type="T">PLSRVID = PLSRV_MAPPING_REQUEST</Trace>

<Trace level="3" type="T">PLSRVTYPE = </Trace>

<Trace level="3" type="T">FL_DUMMY = </Trace>

<Trace level="3" type="T"> </Trace>

<Trace level="3" type="T">ELEMPOS = 0007</Trace>

<Trace level="3" type="T">PLSRVID = PLSRV_OUTBOUND_BINDING</Trace>

<Trace level="3" type="T">PLSRVTYPE = </Trace>

<Trace level="3" type="T">FL_DUMMY = </Trace>

<Trace level="3" type="T"> </Trace>

<Trace level="3" type="T">ELEMPOS = 0008</Trace>

<Trace level="3" type="T">PLSRVID = PLSRV_CALL_ADAPTER</Trace>

<Trace level="3" type="T">PLSRVTYPE = =SWITCH=</Trace>

<Trace level="3" type="T">FL_DUMMY = </Trace>

<Trace level="3" type="T"> </Trace>

<Trace level="3" type="T">ELEMPOS = 0009</Trace>

<Trace level="3" type="T">PLSRVID = PLSRV_MAPPING_RESPONSE</Trace>

<Trace level="3" type="T">PLSRVTYPE = </Trace>

<Trace level="3" type="T">FL_DUMMY = </Trace>

<Trace level="3" type="T"> </Trace>

<Trace level="3" type="T"> </Trace>

<Trace level="1" type="Timestamp">2006-12-14T12:20:59Z CET Begin of pipeline processing PLSRVID = CENTRAL</Trace>

<Trace level="1" type="T">Start with pipeline element PLEL= 5EC3C53B4BB7B62DE10000000A1148F5</Trace>

<Trace level="1" type="B" name="PLSRV_MAPPING_REQUEST"></Trace><!-- ************************************ -->

<Trace level="1" type="Timestamp">2006-12-14T12:20:59Z CET Start of pipeline service processing PLSRVID= PLSRV_MAPPING_REQUEST</Trace>

<Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV"></Trace><!-- ************************************ -->

<Trace level="3" type="T">Calling pipeline service: PLSRV_MAPPING_REQUEST</Trace>

<Trace level="3" type="T">Reading Pipeline-Service specification... </Trace>

<Trace level="3" type="T"> </Trace>

<Trace level="3" type="T">Pipeline service specification (table SXMSPLSRV) </Trace>

<Trace level="3" type="T">PLSRVID = PLSRV_MAPPING_REQUEST</Trace>

<Trace level="3" type="T">PLSRVTYPE = </Trace>

<Trace level="3" type="T">ADRESSMOD = LOCAL</Trace>

<Trace level="3" type="T">P_CLASS = CL_MAPPING_XMS_PLSRV3</Trace>

<Trace level="3" type="T">P_IFNAME = IF_XMS_PLSRV</Trace>

<Trace level="3" type="T">P_METHOD = ENTER_PLSRV</Trace>

<Trace level="3" type="T">FL_LOG = </Trace>

<Trace level="3" type="T">FL_DUMMY = 0</Trace>

<Trace level="3" type="T"> </Trace>

<Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV_LOCAL"></Trace><!-- ************************************ -->

<Trace level="1" type="B" name="CL_MAPPING_XMS_PLSRV3-ENTER_PLSRV"></Trace><!-- ************************************ -->

<Trace level="2" type="T">......attachment XI_Context not found </Trace>

<Trace level="3" type="T">Append context with name =SNDPOR and value =SAPSRD </Trace>

<Trace level="3" type="T">Append context with name =SNDPRN and value =SRDCLNT400 </Trace>

<Trace level="3" type="T">Append context with name =SNDPRT and value =LS </Trace>

<Trace level="3" type="T">Append context with name =RCVPOR and value =SAPDGX </Trace>

<Trace level="3" type="T">Append context with name =RCVPRN and value =DGX100 </Trace>

<Trace level="3" type="T">Append context with name =RCVPRT and value =LS </Trace>

<Trace level="3" type="T">Append context with name =MESTYP and value =IORDER </Trace>

<Trace level="3" type="T">Append context with name =IDOCTYP and value =IORDER01 </Trace>

<Trace level="3" type="T">Append context with name =CIMTYP and value = </Trace>

<Trace level="3" type="T">Mapping is already determined in the interface determination </Trace>

<Trace level="3" type="T">Object ID of Interface Mapping 6FF8D506C84B3050B127F2EF024B796F </Trace>

<Trace level="3" type="T">Version ID of Interface Mapping B2CF8EF067FF11DBA742D7830A967135 </Trace>

<Trace level="1" type="T">Interface Mapping http://aaaa.com/xi/SAP_ERP_azar/PPE/ERP_MES IM_SAP_IORDER_To_WorkOrder_Creation </Trace>

<Trace level="3" type="T">Mapping Steps 1 JAVA com/sap/xi/tf/_MM_SAP_IORDER_To_MES_WorkOrderCreation_ </Trace>

<Trace level="3" type="T">Dynamic Configuration ( http://sap.com/xi/XI/System/IDoc SNDPOR SAPSRD ) ( http://sap.com/xi/XI/System/IDoc SNDPRN SRDCLNT400 ) ( http://sap.com/xi/XI/System/IDoc SNDPRT LS ) ( http://sap.com/xi/XI/System/IDoc RCVPOR SAPDGX ) ( http://sap.com/xi/XI/System/IDoc RCVPRN DGX100 ) ( http://sap.com/xi/XI/System/IDoc RCVPRT LS ) ( http://sap.com/xi/XI/System/IDoc MESTYP IORDER ) ( http://sap.com/xi/XI/System/IDoc IDOCTYP IORDER01 ) ( http://sap.com/xi/XI/System/IDoc CIMTYP ) </Trace>

<Trace level="2" type="T">Mode 0 </Trace>

<Trace level="3" type="T">Creating Java mapping com/sap/xi/tf/_MM_SAP_IORDER_To_MES_WorkOrderCreation_. </Trace>

<Trace level="3" type="T">Load b2cf8ef0-67ff-11db-a742-d7830a967135, http://aaaa.com/xi/SAP_ERP_azar/PPE/ERP_MES, -1, com/sap/xi/tf/_MM_SAP_IORDER_To_MES_WorkOrderCreation_.class. </Trace>

<Trace level="3" type="T">Search com/sap/xi/tf/_MM_SAP_IORDER_To_MES_WorkOrderCreation_.class (http://aaaa.com/xi/SAP_ERP_azar/PPE/ERP_MES, -1) in swcv b2cf8ef0-67ff-11db-a742-d7830a967135. </Trace>

<Trace level="3" type="T">Loaded class com.sap.xi.tf._MM_SAP_IORDER_To_MES_WorkOrderCreation_ </Trace>

<Trace level="2" type="T">Call method execute of the application Java mapping com.sap.xi.tf._MM_SAP_IORDER_To_MES_WorkOrderCreation_ </Trace>

<Trace level="1" type="T">RuntimeException during appliction Java mapping com/sap/xi/tf/_MM_SAP_IORDER_To_MES_WorkOrderCreation_ </Trace>

<Trace level="1" type="T">com.sap.aii.utilxi.misc.api.BaseRuntimeException: RuntimeException in Message-Mapping transformation: Cannot produce target element /ns0:WorkOrders. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd

at com.sap.aii.mappingtool.tf3.AMappingProgram.start(AMappingProgram.java:357)

at com.sap.aii.mappingtool.tf3.Transformer.start(Transformer.java:60)

at com.sap.aii.mappingtool.tf3.AMappingProgram.execute(AMappingProgram.java:105)

at com.sap.aii.ibrun.server.mapping.JavaMapping.executeStep(JavaMapping.java:64)

at com.sap.aii.ibrun.server.mapping.Mapping.execute(Mapping.java:91)

at com.sap.aii.ibrun.server.mapping.MappingHandler.run(MappingHandler.java:90)

at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleMappingRequest(MappingRequestHandler.java:95)

at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleRequest(MappingRequestHandler.java:68)

at com.sap.aii.ibrun.sbeans.mapping.MappingServiceImpl.processFunction(MappingServiceImpl.java:79)

at com.sap.aii.ibrun.sbeans.mapping.MappingServiceObjectImpl0.processFunction(MappingServiceObjectImpl0.java:131)

at sun.reflect.GeneratedMethodAccessor4712.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))

at java.lang.reflect.Method.invoke(Method.java(Compiled Code))

at com.sap.engine.services.ejb.session.stateless_sp5.ObjectStubProxyImpl.invoke(ObjectStubProxyImpl.java:187)

at $Proxy194.processFunction(Unknown Source)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code))

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code))

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))

at java.lang.reflect.Method.invoke(Method.java(Compiled Code))

at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.handleRequest(RFCDefaultRequestHandler.java:100)

at com.sap.engine.services.rfcengine.RFCJCOServer.handleRequestInternal(RFCJCOServer.java:113)

at com.sap.engine.services.rfcengine.RFCJCOServer$ApplicationRunnable.run(RFCJCOServer.java:171)

at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java(Compiled Code))

at java.security.AccessController.doPrivileged1(Native Method)

at java.security.AccessController.doPrivileged(AccessController.java(Compiled Code))

at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java(Compiled Code))

at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java(Compiled Code))

Root Cause:

com.sap.aii.mappingtool.tf3.IllegalInstanceException: Cannot produce target element /ns0:WorkOrders. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd

at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java(Compiled Code))

at com.sap.aii.mappingtool.tf3.AMappingProgram.start(AMappingProgram.java:352)

at com.sap.aii.mappingtool.tf3.Transformer.start(Transformer.java:60)

at com.sap.aii.mappingtool.tf3.AMappingProgram.execute(AMappingProgram.java:105)

at com.sap.aii.ibrun.server.mapping.JavaMapping.executeStep(JavaMapping.java:64)

at com.sap.aii.ibrun.server.mapping.Mapping.execute(Mapping.java:91)

at com.sap.aii.ibrun.server.mapping.MappingHandler.run(MappingHandler.java:90)

at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleMappingRequest(MappingRequestHandler.java:95)

at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleRequest(MappingRequestHandler.java:68)

at com.sap.aii.ibrun.sbeans.mapping.MappingServiceImpl.processFunction(MappingServiceImpl.java:79)

at com.sap.aii.ibrun.sbeans.mapping.MappingServiceObjectImpl0.processFunction(MappingServiceObjectImpl0.java:131)

at sun.reflect.GeneratedMethodAccessor4712.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))

at java.lang.reflect.Method.invoke(Method.java(Compiled Code))

at com.sap.engine.services.ejb.session.stateless_sp5.ObjectStubProxyImpl.invoke(ObjectStubProxyImpl.java:187)

at $Proxy194.processFunction(Unknown Source)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code))

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code))

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))

at java.lang.reflect.Method.invoke(Method.java(Compiled Code))

at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.handleRequest(RFCDefaultRequestHandler.java:100)

at com.sap.engine.services.rfcengine.RFCJCOServer.handleRequestInternal(RFCJCOServer.java:113)

at com.sap.engine.services.rfcengine.RFCJCOServer$ApplicationRunnable.run(RFCJCOServer.java:171)

at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java(Compiled Code))

at java.security.AccessController.doPrivileged1(Native Method)

at java.security.AccessController.doPrivileged(AccessController.java(Compiled Code))

at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java(Compiled Code))

at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java(Compiled Code))

</Trace>

<Trace level="1" type="T">Runtime exception occurred during execution of application mapping program com/sap/xi/tf/_MM_SAP_IORDER_To_MES_WorkOrderCreation_: com.sap.aii.utilxi.misc.api.BaseRuntimeException; RuntimeException in Message-Mapping transformation: Cannot produce target element /ns0:WorkOrders. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd </Trace>

<Trace level="1" type="T">com.sap.aii.ibrun.server.mapping.MappingRuntimeException: Runtime exception occurred during execution of application mapping program com/sap/xi/tf/_MM_SAP_IORDER_To_MES_WorkOrderCreation_: com.sap.aii.utilxi.misc.api.BaseRuntimeException; RuntimeException in Message-Mapping transformation: Cannot produce target element /ns0:WorkOrders. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd

at com.sap.aii.ibrun.server.mapping.JavaMapping.executeStep(JavaMapping.java:73)

at com.sap.aii.ibrun.server.mapping.Mapping.execute(Mapping.java:91)

at com.sap.aii.ibrun.server.mapping.MappingHandler.run(MappingHandler.java:90)

at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleMappingRequest(MappingRequestHandler.java:95)

at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleRequest(MappingRequestHandler.java:68)

at com.sap.aii.ibrun.sbeans.mapping.MappingServiceImpl.processFunction(MappingServiceImpl.java:79)

at com.sap.aii.ibrun.sbeans.mapping.MappingServiceObjectImpl0.processFunction(MappingServiceObjectImpl0.java:131)

at sun.reflect.GeneratedMethodAccessor4712.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))

at java.lang.reflect.Method.invoke(Method.java(Compiled Code))

at com.sap.engine.services.ejb.session.stateless_sp5.ObjectStubProxyImpl.invoke(ObjectStubProxyImpl.java:187)

at $Proxy194.processFunction(Unknown Source)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code))

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code))

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))

at java.lang.reflect.Method.invoke(Method.java(Compiled Code))

at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.handleRequest(RFCDefaultRequestHandler.java:100)

at com.sap.engine.services.rfcengine.RFCJCOServer.handleRequestInternal(RFCJCOServer.java:113)

at com.sap.engine.services.rfcengine.RFCJCOServer$ApplicationRunnable.run(RFCJCOServer.java:171)

at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java(Compiled Code))

at java.security.AccessController.doPrivileged1(Native Method)

at java.security.AccessController.doPrivileged(AccessController.java(Compiled Code))

at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java(Compiled Code))

at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java(Compiled Code))

Root Cause:

com.sap.aii.utilxi.misc.api.BaseRuntimeException: RuntimeException in Message-Mapping transformation: Cannot produce target element /ns0:WorkOrders. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd

at com.sap.aii.mappingtool.tf3.AMappingProgram.start(AMappingProgram.java:357)

at com.sap.aii.mappingtool.tf3.Transformer.start(Transformer.java:60)

at com.sap.aii.mappingtool.tf3.AMappingProgram.execute(AMappingProgram.java:105)

at com.sap.aii.ibrun.server.mapping.JavaMapping.executeStep(JavaMapping.java:64)

at com.sap.aii.ibrun.server.mapping.Mapping.execute(Mapping.java:91)

at com.sap.aii.ibrun.server.mapping.MappingHandler.run(MappingHandler.java:90)

at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleMappingRequest(MappingRequestHandler.java:95)

at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleRequest(MappingRequestHandler.java:68)

at com.sap.aii.ibrun.sbeans.mapping.MappingServiceImpl.processFunction(MappingServiceImpl.java:79)

at com.sap.aii.ibrun.sbeans.mapping.MappingServiceObjectImpl0.processFunction(MappingServiceObjectImpl0.java:131)

at sun.reflect.GeneratedMethodAccessor4712.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))

at java.lang.reflect.Method.invoke(Method.java(Compiled Code))

at com.sap.engine.services.ejb.session.stateless_sp5.ObjectStubProxyImpl.invoke(ObjectStubProxyImpl.java:187)

at $Proxy194.processFunction(Unknown Source)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code))

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code))

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))

at java.lang.reflect.Method.invoke(Method.java(Compiled Code))

at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.handleRequest(RFCDefaultRequestHandler.java:100)

at com.sap.engine.services.rfcengine.RFCJCOServer.handleRequestInternal(RFCJCOServer.java:113)

at com.sap.engine.services.rfcengine.RFCJCOServer$ApplicationRunnable.run(RFCJCOServer.java:171)

at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java(Compiled Code))

at java.security.AccessController.doPrivileged1(Native Method)

at java.security.AccessController.doPrivileged(AccessController.java(Compiled Code))

at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java(Compiled Code))

at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java(Compiled Code))

Root Cause:

com.sap.aii.mappingtool.tf3.IllegalInstanceException: Cannot produce target element /ns0:WorkOrders. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd

at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java(Compiled Code))

at com.sap.aii.mappingtool.tf3.AMappingProgram.start(AMappingProgram.java:352)

at com.sap.aii.mappingtool.tf3.Transformer.start(Transformer.java:60)

at com.sap.aii.mappingtool.tf3.AMappingProgram.execute(AMappingProgram.java:105)

at com.sap.aii.ibrun.server.mapping.JavaMapping.executeStep(JavaMapping.java:64)

at com.sap.aii.ibrun.server.mapping.Mapping.execute(Mapping.java:91)

at com.sap.aii.ibrun.server.mapping.MappingHandler.run(MappingHandler.java:90)

at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleMappingRequest(MappingRequestHandler.java:95)

at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleRequest(MappingRequestHandler.java:68)

at com.sap.aii.ibrun.sbeans.mapping.MappingServiceImpl.processFunction(MappingServiceImpl.java:79)

at com.sap.aii.ibrun.sbeans.mapping.MappingServiceObjectImpl0.processFunction(MappingServiceObjectImpl0.java:131)

at sun.reflect.GeneratedMethodAccessor4712.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))

at java.lang.reflect.Method.invoke(Method.java(Compiled Code))

at com.sap.engine.services.ejb.session.stateless_sp5.ObjectStubProxyImpl.invoke(ObjectStubProxyImpl.java:187)

at $Proxy194.processFunction(Unknown Source)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code))

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code))

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))

at java.lang.reflect.Method.invoke(Method.java(Compiled Code))

at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.handleRequest(RFCDefaultRequestHandler.java:100)

at com.sap.engine.services.rfcengine.RFCJCOServer.handleRequestInternal(RFCJCOServer.java:113)

at com.sap.engine.services.rfcengine.RFCJCOServer$ApplicationRunnable.run(RFCJCOServer.java:171)

at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java(Compiled Code))

at java.security.AccessController.doPrivileged1(Native Method)

at java.security.AccessController.doPrivileged(AccessController.java(Compiled Code))

at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java(Compiled Code))

at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java(Compiled Code))

</Trace>

<Trace level="1" type="E">CL_XMS_PLSRV_MAPPING~ENTER_PLSRV</Trace>

</Trace>

<Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_LOG_TO_PERSIST">

<Trace level="3" type="T">Persisting message after plsrv call </Trace>

<Trace level="3" type="T">Message-Version = 005</Trace>

<Trace level="3" type="T">Message version 005</Trace>

<Trace level="3" type="T">Pipeline CENTRAL</Trace>

</Trace>

<Trace level="3" type="System_Error">Error exception return from pipeline processing! </Trace>

<Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_TO_PERSIST"></Trace><!-- ************************************ -->

<Trace level="3" type="T">Persisting message Status = 014</Trace>

<Trace level="3" type="T">Message version 006</Trace>

<Trace level="3" type="T">Pipeline CENTRAL</Trace>

</SAP:Trace>

regards

ram

</i>

Former Member
0 Kudos

Hi,

Different error now...

WorkOrders node is not created. May be this is a mandatory node and not mapped!

Dont map the UDF function(which is followed by equalS and ifwithoutelse) to a mandatory node like WorkOrders.

Since UDF mapping will result false, the target node cannot be created.

Regards,

Uma

Former Member
0 Kudos

Hi Rajeev...

tell me your email id..i will send screenshots..

thanks &regards

ram

Former Member
0 Kudos

Hi..

i did what you suggested..like..

return "abc" in UDF..

and equalS of text with xyz and then IFWITHOUTELSE..

i am getting error..

regards

ram

Former Member
0 Kudos

Hi Ram,

Can you send the screeshot of your UDF function and your graphical mapping. Then i may be able to help you.

Regards,

Rajeev Gupta

Former Member
0 Kudos

Hi,

Can u post the last part of Trace (Exception part) now...

Regards,

Uma

Former Member
0 Kudos

Hi,

thanks for your quick responses..

i did what you suggested..like using equalS of text...

but i am getting same error...

regards

ram

Former Member
0 Kudos

Hi,

i did what you suggested...

returning string "abc"

and in equalS with "xyz" but i am getting same error..

regards

ram

Former Member
0 Kudos

Hi,

Check the equalS function...

There are two equalS... one in "Text" function (equalS) and another in "Boolean" function (EqualS).

You have to use equalS in "Text" function category.

Regards,

Uma

Former Member
0 Kudos

Hi,

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

- <!-- Request Message Mapping

-->

- <SAP:Trace xmlns:SAP="http://sap.com/xi/XI/Message/30">

<Trace level="1" type="B" name="IDX_INBOUND_XMB" />

- <!-- ************************************

-->

<Trace level="1" type="T">User: s_ra</Trace>

<Trace level="1" type="T">Language: E</Trace>

<Trace level="1" type="T">ALE-AUDIT-IDoc-Inbound Handling</Trace>

<Trace level="1" type="T">IDoc-Inbound-Handling</Trace>

<Trace level="2" type="T">Tunneling needed?</Trace>

<Trace level="2" type="T">Partytype = LS fallback to logical system</Trace>

<Trace level="3" type="T">Sender Interface</Trace>

<Trace level="3" type="T">IORDER.IORDER01 urn:sap-com:document:sap:idoc:messages</Trace>

<Trace level="1" type="T">Syntax-Check-Flag X</Trace>

<Trace level="1" type="T">IDoc-Tunnel-Flag</Trace>

<Trace level="1" type="T">Queueid</Trace>

- <Trace level="1" type="B" name="IDX_IDOC_TO_XML">

<Trace level="1" type="T">Get the Metadata for port SAPSRD</Trace>

<Trace level="2" type="T">----


</Trace>

<Trace level="2" type="T">IDX_STRUCTURE_GET Details</Trace>

<Trace level="2" type="T">Port : SAPSRD</Trace>

<Trace level="2" type="T">IDoctyp : IORDER01</Trace>

<Trace level="2" type="T">Cimtyp :</Trace>

<Trace level="2" type="T">RFCDest :</Trace>

<Trace level="2" type="T">Release : 640</Trace>

<Trace level="2" type="T">Version : 3</Trace>

<Trace level="2" type="T">Direct : 1</Trace>

<Trace level="2" type="T">SAPREL : 640</Trace>

<Trace level="2" type="T">----


</Trace>

<Trace level="1" type="T">Convert Segment-Definitions to Types</Trace>

<Trace level="1" type="T">Make Syntax check of actual Idoc</Trace>

<Trace level="2" type="T">----


</Trace>

<Trace level="2" type="T">IDX_SYNTAX_CHECK</Trace>

<Trace level="2" type="T">Port : SAPSRD</Trace>

<Trace level="2" type="T">IDoctyp : IORDER01</Trace>

<Trace level="2" type="T">Cimtyp :</Trace>

<Trace level="2" type="T">----


</Trace>

<Trace level="2" type="T">Create XML-Control Record</Trace>

<Trace level="2" type="T">Create XML-Data Records</Trace>

<Trace level="3" type="T">Create data Record E1ORHDR</Trace>

<Trace level="3" type="T">Create data Record E1OROPR</Trace>

</Trace>

<Trace level="2" type="T">Partytype = LS fallback to logical system</Trace>

<Trace level="2" type="T">Set Sender Routing-object</Trace>

<Trace level="1" type="T">Set Receiver Routing-object</Trace>

<Trace level="1" type="T">Exit Function IDX_INBOUND_XMB</Trace>

<Trace level="1" type="T">COMMIT is expected by application !</Trace>

<Trace level="1" type="B" name="CL_XMS_MAIN-ENTER_XMS" />

- <!-- ************************************

-->

<Trace level="1" type="B" name="CL_XMS_MAIN-SET_START_PIPELINE" />

- <!-- ************************************

-->

<Trace level="3" type="T">XMB was called with external pipeline PID = ENTRY</Trace>

<Trace level="3" type="T">Getting type of XMB...</Trace>

<Trace level="1" type="B" name="SXMBCONF-SXMB_GET_XMB_USE" />

<Trace level="2" type="T">XMB kind = CENTRAL</Trace>

<Trace level="3" type="T">Start pipeline found</Trace>

<Trace level="2" type="T">Switch to external start pipeline PID = CENTRAL</Trace>

- <Trace level="1" type="B" name="CL_XMS_TROUBLESHOOT-ENTER_PLSRV">

<Trace level="3" type="T">No triggers found. OK.</Trace>

</Trace>

<Trace level="1" type="T">****************************************************</Trace>

<Trace level="1" type="T">* *</Trace>

<Trace level="1" type="T">* *</Trace>

<Trace level="1" type="T">XMB entry processing</Trace>

<Trace level="3" type="T">system-ID = DGX</Trace>

<Trace level="3" type="T">client = 100</Trace>

<Trace level="3" type="T">language = E</Trace>

<Trace level="3" type="T">user = s_ra</Trace>

<Trace level="1" type="Timestamp">2006-12-14T10:44:28Z CET</Trace>

<Trace level="1" type="T">* *</Trace>

<Trace level="1" type="T">* *</Trace>

<Trace level="1" type="T">****************************************************</Trace>

<Trace level="1" type="B" name="CL_XMS_MAIN-CALL_UC_EXECUTE" />

- <!-- ************************************

-->

<Trace level="1" type="T">Message-GUID = 4580F8399E23011E000000000A967130</Trace>

<Trace level="1" type="T">PLNAME = CENTRAL</Trace>

<Trace level="1" type="T">QOS = EO</Trace>

<Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PIPELINE_ASYNC" />

- <!-- ************************************

-->

<Trace level="3" type="T">QOS = EO</Trace>

<Trace level="3" type="T">Message-GUID = 4580F8399E23011E000000000A967130</Trace>

<Trace level="1" type="T">Get definition of external pipeline = CENTRAL</Trace>

- <Trace level="1" type="B" name="CL_XMS_MAIN-LOOKUP_INTERNAL_PL_ID">

<Trace level="3" type="T">External PLID = CENTRAL</Trace>

<Trace level="3" type="T">Internal PLID = SAP_CENTRAL</Trace>

</Trace>

<Trace level="1" type="T">Get definition of internal pipeline = SAP_CENTRAL</Trace>

<Trace level="3" type="T">Generate prefixed queue name</Trace>

<Trace level="1" type="T">Queue name : XBTI0008</Trace>

<Trace level="1" type="T">Generated prefixed queue name = XBTI0008</Trace>

<Trace level="1" type="T">Schedule message in qRFC environment</Trace>

<Trace level="3" type="T">Setup qRFC Scheduler</Trace>

<Trace level="1" type="T">Setup qRFC Scheduler OK!</Trace>

<Trace level="3" type="T">Call qRFC .... MsgGuid = 4580F8399E23011E000000000A967130</Trace>

<Trace level="3" type="T">Call qRFC .... Version = 000</Trace>

<Trace level="3" type="T">Call qRFC .... Pipeline = CENTRAL</Trace>

<Trace level="3" type="T">OK.</Trace>

<Trace level="1" type="T">----


</Trace>

<Trace level="1" type="T">Going to persist message</Trace>

<Trace level="1" type="T">NOTE: The following trace entries are always lacking</Trace>

<Trace level="1" type="T">- Exit WRITE_MESSAGE_TO_PERSIST</Trace>

<Trace level="1" type="T">- Exit CALL_PIPELINE_ASYNC</Trace>

<Trace level="1" type="T">Async barrier reached. Bye-bye !</Trace>

<Trace level="1" type="T">----


</Trace>

<Trace level="3" type="T">Version number = 000</Trace>

<Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_TO_PERSIST" />

- <!-- ************************************

-->

<Trace level="3" type="T">Persisting message Status = 001</Trace>

<Trace level="3" type="T">Message version 000</Trace>

<Trace level="3" type="T">Pipeline CENTRAL</Trace>

- <Trace level="1" type="B" name="CL_XMS_MAIN-PERSIST_READ_MESSAGE">

<Trace level="3" type="T">Trace object available again now. OK.</Trace>

<Trace level="3" type="T">Message was read from persist layer. OK.</Trace>

<Trace level="3" type="T">Message properties in XMB object were setup. OK.</Trace>

<Trace level="3" type="ToDo">Make sure we catch exceptions in persist read</Trace>

<Trace level="3" type="ToDo">Tracing obj. not avail. before return of CL_XMS_MAIN-PERSIST_READ_MESSAGE</Trace>

</Trace>

<Trace level="1" type="T">Note: the following trace entry is written delayed (after read from persist)</Trace>

<Trace level="1" type="B" name="SXMS_ASYNC_EXEC" />

- <!-- ************************************

-->

<Trace level="3" type="T">message version successfully read from persist version= 000</Trace>

<Trace level="2" type="T">Increment log sequence to 001</Trace>

<Trace level="1" type="T">----


</Trace>

<Trace level="1" type="T">Starting async processing with pipeline CENTRAL</Trace>

<Trace level="3" type="T">system-ID = DGX</Trace>

<Trace level="3" type="T">client = 100</Trace>

<Trace level="3" type="T">language = E</Trace>

<Trace level="3" type="T">user = s_ra</Trace>

<Trace level="1" type="Timestamp">2006-12-14T10:44:29Z CET</Trace>

<Trace level="1" type="T">----


</Trace>

<Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PIPELINE_SYNC" />

- <!-- ************************************

-->

<Trace level="1" type="T">Get definition of external pipeline CENTRAL</Trace>

- <Trace level="1" type="B" name="CL_XMS_MAIN-LOOKUP_INTERNAL_PL_ID">

<Trace level="3" type="T">External PLID = CENTRAL</Trace>

<Trace level="3" type="T">Internal PLID = SAP_CENTRAL</Trace>

</Trace>

<Trace level="1" type="T">Corresponding internal pipeline SAP_CENTRAL</Trace>

<Trace level="3" type="T" />

<Trace level="3" type="T">Pipeline attributes</Trace>

<Trace level="3" type="T">PID = SAP_CENTRAL</Trace>

<Trace level="3" type="T">ENABLE = 1</Trace>

<Trace level="3" type="T">TRACELEVEL = 0</Trace>

<Trace level="3" type="T">EXEMODE = A</Trace>

<Trace level="3" type="T" />

<Trace level="3" type="T" />

<Trace level="3" type="T">Pipeline elements</Trace>

<Trace level="3" type="T">ELEMPOS = 0001</Trace>

<Trace level="3" type="T">PLSRVID = PLSRV_RECEIVER_DETERMINATION</Trace>

<Trace level="3" type="T">PLSRVTYPE =</Trace>

<Trace level="3" type="T">FL_DUMMY = 0</Trace>

<Trace level="3" type="T" />

<Trace level="3" type="T">ELEMPOS = 0002</Trace>

<Trace level="3" type="T">PLSRVID = PLSRV_INTERFACE_DETERMINATION</Trace>

<Trace level="3" type="T">PLSRVTYPE =</Trace>

<Trace level="3" type="T">FL_DUMMY =</Trace>

<Trace level="3" type="T" />

<Trace level="3" type="T">ELEMPOS = 0003</Trace>

<Trace level="3" type="T">PLSRVID = PLSRV_RECEIVER_MESSAGE_SPLIT</Trace>

<Trace level="3" type="T">PLSRVTYPE =</Trace>

<Trace level="3" type="T">FL_DUMMY =</Trace>

<Trace level="3" type="T" />

<Trace level="3" type="T">ELEMPOS = 0004</Trace>

<Trace level="3" type="T">PLSRVID = PLSRV_MAPPING_REQUEST</Trace>

<Trace level="3" type="T">PLSRVTYPE =</Trace>

<Trace level="3" type="T">FL_DUMMY =</Trace>

<Trace level="3" type="T" />

<Trace level="3" type="T">ELEMPOS = 0007</Trace>

<Trace level="3" type="T">PLSRVID = PLSRV_OUTBOUND_BINDING</Trace>

<Trace level="3" type="T">PLSRVTYPE =</Trace>

<Trace level="3" type="T">FL_DUMMY =</Trace>

<Trace level="3" type="T" />

<Trace level="3" type="T">ELEMPOS = 0008</Trace>

<Trace level="3" type="T">PLSRVID = PLSRV_CALL_ADAPTER</Trace>

<Trace level="3" type="T">PLSRVTYPE = =SWITCH=</Trace>

<Trace level="3" type="T">FL_DUMMY =</Trace>

<Trace level="3" type="T" />

<Trace level="3" type="T">ELEMPOS = 0009</Trace>

<Trace level="3" type="T">PLSRVID = PLSRV_MAPPING_RESPONSE</Trace>

<Trace level="3" type="T">PLSRVTYPE =</Trace>

<Trace level="3" type="T">FL_DUMMY =</Trace>

<Trace level="3" type="T" />

<Trace level="3" type="T" />

<Trace level="1" type="Timestamp">2006-12-14T10:44:29Z CET Begin of pipeline processing PLSRVID = CENTRAL</Trace>

- <Trace level="1" type="B" name="PLSRV_RECEIVER_DETERMINATION">

<Trace level="1" type="Timestamp">2006-12-14T10:44:29Z CET Start of pipeline service processing PLSRVID= PLSRV_RECEIVER_DETERMINATION</Trace>

- <Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV">

<Trace level="3" type="T">Calling pipeline service: PLSRV_RECEIVER_DETERMINATION</Trace>

<Trace level="3" type="T">Reading Pipeline-Service specification...</Trace>

<Trace level="3" type="T" />

<Trace level="3" type="T">Pipeline service specification (table SXMSPLSRV)</Trace>

<Trace level="3" type="T">PLSRVID = PLSRV_RECEIVER_DETERMINATION</Trace>

<Trace level="3" type="T">PLSRVTYPE =</Trace>

<Trace level="3" type="T">ADRESSMOD = LOCAL</Trace>

<Trace level="3" type="T">P_CLASS = CL_RD_PLSRV</Trace>

<Trace level="3" type="T">P_IFNAME = IF_XMS_PLSRV</Trace>

<Trace level="3" type="T">P_METHOD = ENTER_PLSRV</Trace>

<Trace level="3" type="T">FL_LOG =</Trace>

<Trace level="3" type="T">FL_DUMMY = 0</Trace>

<Trace level="3" type="T" />

- <Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV_LOCAL">

- <Trace level="1" type="B" name="CL_RD_PLSRV-ENTER_PLSRV">

<Trace level="1" type="T">R E C E I V E R - D E T E R M I N A T I O N</Trace>

<Trace level="1" type="T">Cache Content is up to date</Trace>

<Trace level="2" type="T">Start without given receiver</Trace>

<Trace level="2" type="T">Classic Receiver Determination via Rules.</Trace>

<Trace level="2" type="T">Check conditions for rule line no. 1</Trace>

<Trace level="3" type="T">...create rule engine</Trace>

<Trace level="3" type="T">...call rule engine for Condition %CL_SAI_SWF_RULE_ENGINE.MSG_GET(MSG=&_MSG&;NSP=&_NSM&;XPATH="/IORDER01/IDOC/E1ORHDR/E1OROPR/ARBPL")% CE 2</Trace>

<Trace level="2" type="T">......extracting (new) for Extractor: XP /IORDER01/IDOC/E1ORHDR/E1OROPR/ARBPL</Trace>

<Trace level="2" type="T">......extracting values found: 1</Trace>

<Trace level="2" type="T">...invalid Receiver: - BS_FTP_MES_2_WorkOrder_Create</Trace>

<Trace level="2" type="T">Check conditions for rule line no. 2</Trace>

<Trace level="3" type="T">...call rule engine for Condition %CL_SAI_SWF_RULE_ENGINE.MSG_GET(MSG=&_MSG&;NSP=&_NSM&;XPATH="/IORDER01/IDOC/E1ORHDR/E1OROPR/ARBPL")% CE 1</Trace>

<Trace level="2" type="T">...valid Receiver with Condition: - BS_FTP_MES_1_WorkOrder_Create</Trace>

<Trace level="2" type="T">Check conditions for rule line no. 3</Trace>

<Trace level="3" type="T">...call rule engine for Condition %CL_SAI_SWF_RULE_ENGINE.MSG_GET(MSG=&_MSG&;NSP=&_NSM&;XPATH="/IORDER01/IDOC/E1ORHDR/E1OROPR/ARBPL")% CE 3</Trace>

<Trace level="2" type="T">...invalid Receiver: - BS_FTP_MES_3_WorkOrder_Create</Trace>

<Trace level="2" type="T">Check conditions for rule line no. 4</Trace>

<Trace level="3" type="T">...call rule engine for Condition %CL_SAI_SWF_RULE_ENGINE.MSG_GET(MSG=&_MSG&;NSP=&_NSM&;XPATH="/IORDER01/IDOC/E1ORHDR/E1OROPR/ARBPL")% CE 4</Trace>

<Trace level="2" type="T">...invalid Receiver: - BS_FTP_MES_4_WorkOrder_Create</Trace>

<Trace level="2" type="T">No Receiver found behaviour: 0</Trace>

<Trace level="2" type="T">Number of Receivers:1</Trace>

</Trace>

</Trace>

</Trace>

<Trace level="1" type="Timestamp">2006-12-14T10:44:29Z CET End of pipeline service processing PLSRVID= PLSRV_RECEIVER_DETERMINATION</Trace>

</Trace>

- <Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_LOG_TO_PERSIST">

<Trace level="3" type="T">Persisting message after plsrv call</Trace>

<Trace level="3" type="T">Message-Version = 001</Trace>

<Trace level="3" type="T">Message version 001</Trace>

<Trace level="3" type="T">Pipeline CENTRAL</Trace>

</Trace>

- <Trace level="1" type="B" name="PLSRV_INTERFACE_DETERMINATION">

<Trace level="1" type="Timestamp">2006-12-14T10:44:29Z CET Start of pipeline service processing PLSRVID= PLSRV_INTERFACE_DETERMINATION</Trace>

- <Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV">

<Trace level="3" type="T">Calling pipeline service: PLSRV_INTERFACE_DETERMINATION</Trace>

<Trace level="3" type="T">Reading Pipeline-Service specification...</Trace>

<Trace level="3" type="T" />

<Trace level="3" type="T">Pipeline service specification (table SXMSPLSRV)</Trace>

<Trace level="3" type="T">PLSRVID = PLSRV_INTERFACE_DETERMINATION</Trace>

<Trace level="3" type="T">PLSRVTYPE =</Trace>

<Trace level="3" type="T">ADRESSMOD = LOCAL</Trace>

<Trace level="3" type="T">P_CLASS = CL_ID_PLSRV</Trace>

<Trace level="3" type="T">P_IFNAME = IF_XMS_PLSRV</Trace>

<Trace level="3" type="T">P_METHOD = ENTER_PLSRV</Trace>

<Trace level="3" type="T">FL_LOG =</Trace>

<Trace level="3" type="T">FL_DUMMY = 0</Trace>

<Trace level="3" type="T" />

- <Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV_LOCAL">

- <Trace level="1" type="B" name="CL_ID_PLSRV-ENTER_PLSRV">

<Trace level="1" type="T">I N T E R F A C E - D E T E R M I N A T I O N</Trace>

<Trace level="1" type="T">Cache Content is up to date</Trace>

<Trace level="2" type="T">Check conditions for (Inb: Party Srvc If) BS_FTP_MES_1_WorkOrder_Create MI_IN_MES_WorkOrderCreation</Trace>

<Trace level="2" type="T">...valid InbIf without Condition: MI_IN_MES_WorkOrderCreation</Trace>

<Trace level="2" type="T">Number of receiving Interfaces:1</Trace>

</Trace>

</Trace>

</Trace>

<Trace level="1" type="Timestamp">2006-12-14T10:44:29Z CET End of pipeline service processing PLSRVID= PLSRV_INTERFACE_DETERMINATION</Trace>

</Trace>

- <Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_LOG_TO_PERSIST">

<Trace level="3" type="T">Persisting message after plsrv call</Trace>

<Trace level="3" type="T">Message-Version = 002</Trace>

<Trace level="3" type="T">Message version 002</Trace>

<Trace level="3" type="T">Pipeline CENTRAL</Trace>

</Trace>

<Trace level="1" type="B" name="PLSRV_RECEIVER_MESSAGE_SPLIT" />

- <!-- ************************************

-->

<Trace level="1" type="Timestamp">2006-12-14T10:44:29Z CET Start of pipeline service processing PLSRVID= PLSRV_RECEIVER_MESSAGE_SPLIT</Trace>

- <Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV">

<Trace level="3" type="T">Calling pipeline service: PLSRV_RECEIVER_MESSAGE_SPLIT</Trace>

<Trace level="3" type="T">Reading Pipeline-Service specification...</Trace>

<Trace level="3" type="T" />

<Trace level="3" type="T">Pipeline service specification (table SXMSPLSRV)</Trace>

<Trace level="3" type="T">PLSRVID = PLSRV_RECEIVER_MESSAGE_SPLIT</Trace>

<Trace level="3" type="T">PLSRVTYPE =</Trace>

<Trace level="3" type="T">ADRESSMOD = LOCAL</Trace>

<Trace level="3" type="T">P_CLASS = CL_XMS_PLSRV_RECEIVER_SPLIT</Trace>

<Trace level="3" type="T">P_IFNAME = IF_XMS_PLSRV</Trace>

<Trace level="3" type="T">P_METHOD = ENTER_PLSRV</Trace>

<Trace level="3" type="T">FL_LOG =</Trace>

<Trace level="3" type="T">FL_DUMMY = 0</Trace>

<Trace level="3" type="T" />

<Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV_LOCAL" />

- <!-- ************************************

-->

<Trace level="1" type="B" name="CL_XMS_PLSRV_RECEIVER_SPLIT-ENTER_PLSRV" />

- <!-- ************************************

-->

<Trace level="3" type="T">Case handling for different plsrv_ids PLSRV_RECEIVER_MESSAGE_SPLIT</Trace>

<Trace level="2" type="T">got property produced by receiver determination</Trace>

<Trace level="1" type="T">number of receivers: 1</Trace>

<Trace level="1" type="T">Single-receiver split case</Trace>

<Trace level="1" type="T">Post-split internal queue name = XBTOR1__0000</Trace>

<Trace level="1" type="T">----


</Trace>

<Trace level="1" type="T">Persisting single message for post-split handling</Trace>

<Trace level="1" type="T" />

<Trace level="1" type="T">Going to persist message + call qRFC now...</Trace>

<Trace level="1" type="T">NOTE: The following trace entries are always lacking</Trace>

<Trace level="1" type="T">- Exit WRITE_MESSAGE_TO_PERSIST</Trace>

<Trace level="1" type="T">Async barrier reached. Bye-bye !</Trace>

<Trace level="1" type="T">----


</Trace>

<Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_TO_PERSIST" />

- <!-- ************************************

-->

<Trace level="3" type="T">Persisting message Status = 012</Trace>

<Trace level="3" type="T">Message version 003</Trace>

<Trace level="3" type="T">Pipeline CENTRAL</Trace>

- <Trace level="1" type="B" name="CL_XMS_MAIN-PERSIST_READ_MESSAGE">

<Trace level="3" type="T">Trace object available again now. OK.</Trace>

<Trace level="3" type="T">Message was read from persist layer. OK.</Trace>

<Trace level="3" type="T">Message properties in XMB object were setup. OK.</Trace>

<Trace level="3" type="ToDo">Make sure we catch exceptions in persist read</Trace>

<Trace level="3" type="ToDo">Tracing obj. not avail. before return of CL_XMS_MAIN-PERSIST_READ_MESSAGE</Trace>

</Trace>

<Trace level="1" type="T">Note: the following trace entry is written delayed (after read from persist)</Trace>

<Trace level="1" type="B" name="SXMS_ASYNC_EXEC" />

- <!-- ************************************

-->

<Trace level="3" type="T">message version successfully read from persist version= 004</Trace>

<Trace level="2" type="T">Increment log sequence to 005</Trace>

<Trace level="1" type="T">----


</Trace>

<Trace level="1" type="T">Starting async processing with pipeline CENTRAL</Trace>

<Trace level="3" type="T">system-ID = DGX</Trace>

<Trace level="3" type="T">client = 100</Trace>

<Trace level="3" type="T">language = E</Trace>

<Trace level="3" type="T">user = s_ra</Trace>

<Trace level="1" type="Timestamp">2006-12-14T10:44:29Z CET</Trace>

<Trace level="1" type="T">----


</Trace>

<Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PIPELINE_SYNC" />

- <!-- ************************************

-->

<Trace level="1" type="T">Get definition of external pipeline CENTRAL</Trace>

- <Trace level="1" type="B" name="CL_XMS_MAIN-LOOKUP_INTERNAL_PL_ID">

<Trace level="3" type="T">External PLID = CENTRAL</Trace>

<Trace level="3" type="T">Internal PLID = SAP_CENTRAL</Trace>

</Trace>

<Trace level="1" type="T">Corresponding internal pipeline SAP_CENTRAL</Trace>

<Trace level="3" type="T" />

<Trace level="3" type="T">Pipeline attributes</Trace>

<Trace level="3" type="T">PID = SAP_CENTRAL</Trace>

<Trace level="3" type="T">ENABLE = 1</Trace>

<Trace level="3" type="T">TRACELEVEL = 0</Trace>

<Trace level="3" type="T">EXEMODE = A</Trace>

<Trace level="3" type="T" />

<Trace level="3" type="T" />

<Trace level="3" type="T">Pipeline elements</Trace>

<Trace level="3" type="T">ELEMPOS = 0001</Trace>

<Trace level="3" type="T">PLSRVID = PLSRV_RECEIVER_DETERMINATION</Trace>

<Trace level="3" type="T">PLSRVTYPE =</Trace>

<Trace level="3" type="T">FL_DUMMY = 0</Trace>

<Trace level="3" type="T" />

<Trace level="3" type="T">ELEMPOS = 0002</Trace>

<Trace level="3" type="T">PLSRVID = PLSRV_INTERFACE_DETERMINATION</Trace>

<Trace level="3" type="T">PLSRVTYPE =</Trace>

<Trace level="3" type="T">FL_DUMMY =</Trace>

<Trace level="3" type="T" />

<Trace level="3" type="T">ELEMPOS = 0003</Trace>

<Trace level="3" type="T">PLSRVID = PLSRV_RECEIVER_MESSAGE_SPLIT</Trace>

<Trace level="3" type="T">PLSRVTYPE =</Trace>

<Trace level="3" type="T">FL_DUMMY =</Trace>

<Trace level="3" type="T" />

<Trace level="3" type="T">ELEMPOS = 0004</Trace>

<Trace level="3" type="T">PLSRVID = PLSRV_MAPPING_REQUEST</Trace>

<Trace level="3" type="T">PLSRVTYPE =</Trace>

<Trace level="3" type="T">FL_DUMMY =</Trace>

<Trace level="3" type="T" />

<Trace level="3" type="T">ELEMPOS = 0007</Trace>

<Trace level="3" type="T">PLSRVID = PLSRV_OUTBOUND_BINDING</Trace>

<Trace level="3" type="T">PLSRVTYPE =</Trace>

<Trace level="3" type="T">FL_DUMMY =</Trace>

<Trace level="3" type="T" />

<Trace level="3" type="T">ELEMPOS = 0008</Trace>

<Trace level="3" type="T">PLSRVID = PLSRV_CALL_ADAPTER</Trace>

<Trace level="3" type="T">PLSRVTYPE = =SWITCH=</Trace>

<Trace level="3" type="T">FL_DUMMY =</Trace>

<Trace level="3" type="T" />

<Trace level="3" type="T">ELEMPOS = 0009</Trace>

<Trace level="3" type="T">PLSRVID = PLSRV_MAPPING_RESPONSE</Trace>

<Trace level="3" type="T">PLSRVTYPE =</Trace>

<Trace level="3" type="T">FL_DUMMY =</Trace>

<Trace level="3" type="T" />

<Trace level="3" type="T" />

<Trace level="1" type="Timestamp">2006-12-14T10:44:29Z CET Begin of pipeline processing PLSRVID = CENTRAL</Trace>

<Trace level="1" type="T">Start with pipeline element PLEL= 5EC3C53B4BB7B62DE10000000A1148F5</Trace>

<Trace level="1" type="B" name="PLSRV_MAPPING_REQUEST" />

- <!-- ************************************

-->

<Trace level="1" type="Timestamp">2006-12-14T10:44:29Z CET Start of pipeline service processing PLSRVID= PLSRV_MAPPING_REQUEST</Trace>

<Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV" />

- <!-- ************************************

-->

<Trace level="3" type="T">Calling pipeline service: PLSRV_MAPPING_REQUEST</Trace>

<Trace level="3" type="T">Reading Pipeline-Service specification...</Trace>

<Trace level="3" type="T" />

<Trace level="3" type="T">Pipeline service specification (table SXMSPLSRV)</Trace>

<Trace level="3" type="T">PLSRVID = PLSRV_MAPPING_REQUEST</Trace>

<Trace level="3" type="T">PLSRVTYPE =</Trace>

<Trace level="3" type="T">ADRESSMOD = LOCAL</Trace>

<Trace level="3" type="T">P_CLASS = CL_MAPPING_XMS_PLSRV3</Trace>

<Trace level="3" type="T">P_IFNAME = IF_XMS_PLSRV</Trace>

<Trace level="3" type="T">P_METHOD = ENTER_PLSRV</Trace>

<Trace level="3" type="T">FL_LOG =</Trace>

<Trace level="3" type="T">FL_DUMMY = 0</Trace>

<Trace level="3" type="T" />

<Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV_LOCAL" />

- <!-- ************************************

-->

<Trace level="1" type="B" name="CL_MAPPING_XMS_PLSRV3-ENTER_PLSRV" />

- <!-- ************************************

-->

<Trace level="2" type="T">......attachment XI_Context not found</Trace>

<Trace level="3" type="T">Append context with name =SNDPOR and value =SAPSRD</Trace>

<Trace level="3" type="T">Append context with name =SNDPRN and value =SRDCLNT400</Trace>

<Trace level="3" type="T">Append context with name =SNDPRT and value =LS</Trace>

<Trace level="3" type="T">Append context with name =RCVPOR and value =SAPDGX</Trace>

<Trace level="3" type="T">Append context with name =RCVPRN and value =DGX100</Trace>

<Trace level="3" type="T">Append context with name =RCVPRT and value =LS</Trace>

<Trace level="3" type="T">Append context with name =MESTYP and value =IORDER</Trace>

<Trace level="3" type="T">Append context with name =IDOCTYP and value =IORDER01</Trace>

<Trace level="3" type="T">Append context with name =CIMTYP and value =</Trace>

<Trace level="3" type="T">Mapping is already determined in the interface determination</Trace>

<Trace level="3" type="T">Object ID of Interface Mapping 6FF8D506C84B3050B127F2EF024B796F</Trace>

<Trace level="3" type="T">Version ID of Interface Mapping B2CF8EF067FF11DBA742D7830A967135</Trace>

<Trace level="1" type="T">Interface Mapping http://aaaa.com/xi/SAP_ERP_azar/PPE/ERP_MES IM_SAP_IORDER_To_WorkOrder_Creation</Trace>

<Trace level="3" type="T">Mapping Steps 1 JAVA com/sap/xi/tf/_MM_SAP_IORDER_To_MES_WorkOrderCreation_</Trace>

<Trace level="3" type="T">Dynamic Configuration ( http://sap.com/xi/XI/System/IDoc SNDPOR SAPSRD ) ( http://sap.com/xi/XI/System/IDoc SNDPRN SRDCLNT400 ) ( http://sap.com/xi/XI/System/IDoc SNDPRT LS ) ( http://sap.com/xi/XI/System/IDoc RCVPOR SAPDGX ) ( http://sap.com/xi/XI/System/IDoc RCVPRN DGX100 ) ( http://sap.com/xi/XI/System/IDoc RCVPRT LS ) ( http://sap.com/xi/XI/System/IDoc MESTYP IORDER ) ( http://sap.com/xi/XI/System/IDoc IDOCTYP IORDER01 ) ( http://sap.com/xi/XI/System/IDoc CIMTYP )</Trace>

<Trace level="2" type="T">Mode 0</Trace>

<Trace level="3" type="T">Creating Java mapping com/sap/xi/tf/_MM_SAP_IORDER_To_MES_WorkOrderCreation_.</Trace>

<Trace level="3" type="T">Load b2cf8ef0-67ff-11db-a742-d7830a967135, http://aaaa.com/xi/SAP_ERP_azar/PPE/ERP_MES, -1, com/sap/xi/tf/_MM_SAP_IORDER_To_MES_WorkOrderCreation_.class.</Trace>

<Trace level="3" type="T">Search com/sap/xi/tf/_MM_SAP_IORDER_To_MES_WorkOrderCreation_.class (http://aaaa.com/xi/SAP_ERP_azar/PPE/ERP_MES, -1) in swcv b2cf8ef0-67ff-11db-a742-d7830a967135.</Trace>

<Trace level="3" type="T">Loaded class com.sap.xi.tf._MM_SAP_IORDER_To_MES_WorkOrderCreation_</Trace>

<Trace level="2" type="T">Call method execute of the application Java mapping com.sap.xi.tf._MM_SAP_IORDER_To_MES_WorkOrderCreation_</Trace>

<Trace level="1" type="T">RuntimeException during appliction Java mapping com/sap/xi/tf/_MM_SAP_IORDER_To_MES_WorkOrderCreation_</Trace>

<Trace level="1" type="T">com.sap.aii.utilxi.misc.api.BaseRuntimeException: RuntimeException in Message-Mapping transformation: Runtime exception during processing target field mapping /ns0:WorkOrders. The message is: Exception:[java.lang.IllegalArgumentException: Cannot cast null to boolean] in class com.sap.aii.mappingtool.flib3.Bool method equals[null, , com.sap.aii.mappingtool.tf3.rt.Context@160d5322] at com.sap.aii.mappingtool.tf3.AMappingProgram.start(AMappingProgram.java:357) at com.sap.aii.mappingtool.tf3.Transformer.start(Transformer.java:60) at com.sap.aii.mappingtool.tf3.AMappingProgram.execute(AMappingProgram.java:105) at com.sap.aii.ibrun.server.mapping.JavaMapping.executeStep(JavaMapping.java:64) at com.sap.aii.ibrun.server.mapping.Mapping.execute(Mapping.java:91) at com.sap.aii.ibrun.server.mapping.MappingHandler.run(MappingHandler.java:90) at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleMappingRequest(MappingRequestHandler.java:95) at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleRequest(MappingRequestHandler.java:68) at com.sap.aii.ibrun.sbeans.mapping.MappingServiceImpl.processFunction(MappingServiceImpl.java:79) at com.sap.aii.ibrun.sbeans.mapping.MappingServiceObjectImpl0.processFunction(MappingServiceObjectImpl0.java:131) at sun.reflect.GeneratedMethodAccessor4712.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code)) at java.lang.reflect.Method.invoke(Method.java(Compiled Code)) at com.sap.engine.services.ejb.session.stateless_sp5.ObjectStubProxyImpl.invoke(ObjectStubProxyImpl.java:187) at $Proxy194.processFunction(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code)) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code)) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code)) at java.lang.reflect.Method.invoke(Method.java(Compiled Code)) at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.handleRequest(RFCDefaultRequestHandler.java:100) at com.sap.engine.services.rfcengine.RFCJCOServer.handleRequestInternal(RFCJCOServer.java:113) at com.sap.engine.services.rfcengine.RFCJCOServer$ApplicationRunnable.run(RFCJCOServer.java:171) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java(Compiled Code)) at java.security.AccessController.doPrivileged1(Native Method) at java.security.AccessController.doPrivileged(AccessController.java(Compiled Code)) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java(Compiled Code)) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java(Compiled Code)) Root Cause: com.sap.aii.mappingtool.tf3.MessageMappingException: Runtime exception during processing target field mapping /ns0:WorkOrders. The message is: Exception:[java.lang.IllegalArgumentException: Cannot cast null to boolean] in class com.sap.aii.mappingtool.flib3.Bool method equals[null, , com.sap.aii.mappingtool.tf3.rt.Context@160d5322] at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java(Compiled Code)) at com.sap.aii.mappingtool.tf3.AMappingProgram.start(AMappingProgram.java:352) at com.sap.aii.mappingtool.tf3.Transformer.start(Transformer.java:60) at com.sap.aii.mappingtool.tf3.AMappingProgram.execute(AMappingProgram.java:105) at com.sap.aii.ibrun.server.mapping.JavaMapping.executeStep(JavaMapping.java:64) at com.sap.aii.ibrun.server.mapping.Mapping.execute(Mapping.java:91) at com.sap.aii.ibrun.server.mapping.MappingHandler.run(MappingHandler.java:90) at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleMappingRequest(MappingRequestHandler.java:95) at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleRequest(MappingRequestHandler.java:68) at com.sap.aii.ibrun.sbeans.mapping.MappingServiceImpl.processFunction(MappingServiceImpl.java:79) at com.sap.aii.ibrun.sbeans.mapping.MappingServiceObjectImpl0.processFunction(MappingServiceObjectImpl0.java:131) at sun.reflect.GeneratedMethodAccessor4712.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code)) at java.lang.reflect.Method.invoke(Method.java(Compiled Code)) at com.sap.engine.services.ejb.session.stateless_sp5.ObjectStubProxyImpl.invoke(ObjectStubProxyImpl.java:187) at $Proxy194.processFunction(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code)) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code)) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code)) at java.lang.reflect.Method.invoke(Method.java(Compiled Code)) at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.handleRequest(RFCDefaultRequestHandler.java:100) at com.sap.engine.services.rfcengine.RFCJCOServer.handleRequestInternal(RFCJCOServer.java:113) at com.sap.engine.services.rfcengine.RFCJCOServer$ApplicationRunnable.run(RFCJCOServer.java:171) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java(Compiled Code)) at java.security.AccessController.doPrivileged1(Native Method) at java.security.AccessController.doPrivileged(AccessController.java(Compiled Code)) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java(Compiled Code)) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java(Compiled Code)) Root Cause: com.sap.aii.utilxi.misc.api.BaseRuntimeException: Exception:[java.lang.IllegalArgumentException: Cannot cast null to boolean] in class com.sap.aii.mappingtool.flib3.Bool method equals[null, , com.sap.aii.mappingtool.tf3.rt.Context@160d5322] at com.sap.aii.mappingtool.tf3.rt.FunctionWrapper.getValue(FunctionWrapper.java:56) at com.sap.aii.mappingtool.tf3.rt.FunctionWrapper.getValue(FunctionWrapper.java:41) at com.sap.aii.mappingtool.flib3.IfWithoutElse.getValue(IfWithoutElse.java:18) at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java(Compiled Code)) at com.sap.aii.mappingtool.tf3.AMappingProgram.start(AMappingProgram.java:352) at com.sap.aii.mappingtool.tf3.Transformer.start(Transformer.java:60) at com.sap.aii.mappingtool.tf3.AMappingProgram.execute(AMappingProgram.java:105) at com.sap.aii.ibrun.server.mapping.JavaMapping.executeStep(JavaMapping.java:64) at com.sap.aii.ibrun.server.mapping.Mapping.execute(Mapping.java:91) at com.sap.aii.ibrun.server.mapping.MappingHandler.run(MappingHandler.java:90) at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleMappingRequest(MappingRequestHandler.java:95) at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleRequest(MappingRequestHandler.java:68) at com.sap.aii.ibrun.sbeans.mapping.MappingServiceImpl.processFunction(MappingServiceImpl.java:79) at com.sap.aii.ibrun.sbeans.mapping.MappingServiceObjectImpl0.processFunction(MappingServiceObjectImpl0.java:131) at sun.reflect.GeneratedMethodAccessor4712.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code)) at java.lang.reflect.Method.invoke(Method.java(Compiled Code)) at com.sap.engine.services.ejb.session.stateless_sp5.ObjectStubProxyImpl.invoke(ObjectStubProxyImpl.java:187) at $Proxy194.processFunction(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code)) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code)) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code)) at java.lang.reflect.Method.invoke(Method.java(Compiled Code)) at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.handleRequest(RFCDefaultRequestHandler.java:100) at com.sap.engine.services.rfcengine.RFCJCOServer.handleRequestInternal(RFCJCOServer.java:113) at com.sap.engine.services.rfcengine.RFCJCOServer$ApplicationRunnable.run(RFCJCOServer.java:171) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java(Compiled Code)) at java.security.AccessController.doPrivileged1(Native Method) at java.security.AccessController.doPrivileged(AccessController.java(Compiled Code)) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java(Compiled Code)) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java(Compiled Code)) Root Cause: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code)) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code)) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code)) at java.lang.reflect.Method.invoke(Method.java(Compiled Code)) at com.sap.aii.mappingtool.tf3.rt.FunctionWrapper.getValue(FunctionWrapper.java:47) at com.sap.aii.mappingtool.tf3.rt.FunctionWrapper.getValue(FunctionWrapper.java:41) at com.sap.aii.mappingtool.flib3.IfWithoutElse.getValue(IfWithoutElse.java:18) at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java(Compiled Code)) at com.sap.aii.mappingtool.tf3.AMappingProgram.start(AMappingProgram.java:352) at com.sap.aii.mappingtool.tf3.Transformer.start(Transformer.java:60) at com.sap.aii.mappingtool.tf3.AMappingProgram.execute(AMappingProgram.java:105) at com.sap.aii.ibrun.server.mapping.JavaMapping.executeStep(JavaMapping.java:64) at com.sap.aii.ibrun.server.mapping.Mapping.execute(Mapping.java:91) at com.sap.aii.ibrun.server.mapping.MappingHandler.run(MappingHandler.java:90) at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleMappingRequest(MappingRequestHandler.java:95) at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleRequest(MappingRequestHandler.java:68) at com.sap.aii.ibrun.sbeans.mapping.MappingServiceImpl.processFunction(MappingServiceImpl.java:79) at com.sap.aii.ibrun.sbeans.mapping.MappingServiceObjectImpl0.processFunction(MappingServiceObjectImpl0.java:131) at sun.reflect.GeneratedMethodAccessor4712.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code)) at java.lang.reflect.Method.invoke(Method.java(Compiled Code)) at com.sap.engine.services.ejb.session.stateless_sp5.ObjectStubProxyImpl.invoke(ObjectStubProxyImpl.java:187) at $Proxy194.processFunction(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code)) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code)) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code)) at java.lang.reflect.Method.invoke(Method.java(Compiled Code)) at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.handleRequest(RFCDefaultRequestHandler.java:100) at com.sap.engine.services.rfcengine.RFCJCOServer.handleRequestInternal(RFCJCOServer.java:113) at com.sap.engine.services.rfcengine.RFCJCOServer$ApplicationRunnable.run(RFCJCOServer.java:171) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java(Compiled Code)) at java.security.AccessController.doPrivileged1(Native Method) at java.security.AccessController.doPrivileged(AccessController.java(Compiled Code)) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java(Compiled Code)) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java(Compiled Code)) Caused by: java.lang.IllegalArgumentException: Cannot cast null to boolean at com.sap.aii.mappingtool.flib3.Bool.toBoolean(Bool.java:17) at com.sap.aii.mappingtool.flib3.Bool.equals(Bool.java:37) ... 37 more</Trace>

<Trace level="1" type="T">Runtime exception occurred during execution of application mapping program com/sap/xi/tf/_MM_SAP_IORDER_To_MES_WorkOrderCreation_: com.sap.aii.utilxi.misc.api.BaseRuntimeException; RuntimeException in Message-Mapping transformation: Runtime exception during processing target field mapping /ns0:WorkOrders. The message is: Exception:[java.lang.IllegalArgumentException: Cannot cast null to boolean] in class com.sap.aii.mappingtool.flib3.Bool method equals[null, , com.sap.aii.mappingtool.tf3.rt.Context@160d5322]</Trace>

<Trace level="1" type="T">com.sap.aii.ibrun.server.mapping.MappingRuntimeException: Runtime exception occurred during execution of application mapping program com/sap/xi/tf/_MM_SAP_IORDER_To_MES_WorkOrderCreation_: com.sap.aii.utilxi.misc.api.BaseRuntimeException; RuntimeException in Message-Mapping transformation: Runtime exception during processing target field mapping /ns0:WorkOrders. The message is: Exception:[java.lang.IllegalArgumentException: Cannot cast null to boolean] in class com.sap.aii.mappingtool.flib3.Bool method equals[null, , com.sap.aii.mappingtool.tf3.rt.Context@160d5322] at com.sap.aii.ibrun.server.mapping.JavaMapping.executeStep(JavaMapping.java:73) at com.sap.aii.ibrun.server.mapping.Mapping.execute(Mapping.java:91) at com.sap.aii.ibrun.server.mapping.MappingHandler.run(MappingHandler.java:90) at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleMappingRequest(MappingRequestHandler.java:95) at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleRequest(MappingRequestHandler.java:68) at com.sap.aii.ibrun.sbeans.mapping.MappingServiceImpl.processFunction(MappingServiceImpl.java:79) at com.sap.aii.ibrun.sbeans.mapping.MappingServiceObjectImpl0.processFunction(MappingServiceObjectImpl0.java:131) at sun.reflect.GeneratedMethodAccessor4712.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code)) at java.lang.reflect.Method.invoke(Method.java(Compiled Code)) at com.sap.engine.services.ejb.session.stateless_sp5.ObjectStubProxyImpl.invoke(ObjectStubProxyImpl.java:187) at $Proxy194.processFunction(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code)) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code)) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code)) at java.lang.reflect.Method.invoke(Method.java(Compiled Code)) at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.handleRequest(RFCDefaultRequestHandler.java:100) at com.sap.engine.services.rfcengine.RFCJCOServer.handleRequestInternal(RFCJCOServer.java:113) at com.sap.engine.services.rfcengine.RFCJCOServer$ApplicationRunnable.run(RFCJCOServer.java:171) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java(Compiled Code)) at java.security.AccessController.doPrivileged1(Native Method) at java.security.AccessController.doPrivileged(AccessController.java(Compiled Code)) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java(Compiled Code)) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java(Compiled Code)) Root Cause: com.sap.aii.utilxi.misc.api.BaseRuntimeException: RuntimeException in Message-Mapping transformation: Runtime exception during processing target field mapping /ns0:WorkOrders. The message is: Exception:[java.lang.IllegalArgumentException: Cannot cast null to boolean] in class com.sap.aii.mappingtool.flib3.Bool method equals[null, , com.sap.aii.mappingtool.tf3.rt.Context@160d5322] at com.sap.aii.mappingtool.tf3.AMappingProgram.start(AMappingProgram.java:357) at com.sap.aii.mappingtool.tf3.Transformer.start(Transformer.java:60) at com.sap.aii.mappingtool.tf3.AMappingProgram.execute(AMappingProgram.java:105) at com.sap.aii.ibrun.server.mapping.JavaMapping.executeStep(JavaMapping.java:64) at com.sap.aii.ibrun.server.mapping.Mapping.execute(Mapping.java:91) at com.sap.aii.ibrun.server.mapping.MappingHandler.run(MappingHandler.java:90) at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleMappingRequest(MappingRequestHandler.java:95) at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleRequest(MappingRequestHandler.java:68) at com.sap.aii.ibrun.sbeans.mapping.MappingServiceImpl.processFunction(MappingServiceImpl.java:79) at com.sap.aii.ibrun.sbeans.mapping.MappingServiceObjectImpl0.processFunction(MappingServiceObjectImpl0.java:131) at sun.reflect.GeneratedMethodAccessor4712.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code)) at java.lang.reflect.Method.invoke(Method.java(Compiled Code)) at com.sap.engine.services.ejb.session.stateless_sp5.ObjectStubProxyImpl.invoke(ObjectStubProxyImpl.java:187) at $Proxy194.processFunction(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code)) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code)) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code)) at java.lang.reflect.Method.invoke(Method.java(Compiled Code)) at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.handleRequest(RFCDefaultRequestHandler.java:100) at com.sap.engine.services.rfcengine.RFCJCOServer.handleRequestInternal(RFCJCOServer.java:113) at com.sap.engine.services.rfcengine.RFCJCOServer$ApplicationRunnable.run(RFCJCOServer.java:171) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java(Compiled Code)) at java.security.AccessController.doPrivileged1(Native Method) at java.security.AccessController.doPrivileged(AccessController.java(Compiled Code)) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java(Compiled Code)) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java(Compiled Code)) Root Cause: com.sap.aii.mappingtool.tf3.MessageMappingException: Runtime exception during processing target field mapping /ns0:WorkOrders. The message is: Exception:[java.lang.IllegalArgumentException: Cannot cast null to boolean] in class com.sap.aii.mappingtool.flib3.Bool method equals[null, , com.sap.aii.mappingtool.tf3.rt.Context@160d5322] at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java(Compiled Code)) at com.sap.aii.mappingtool.tf3.AMappingProgram.start(AMappingProgram.java:352) at com.sap.aii.mappingtool.tf3.Transformer.start(Transformer.java:60) at com.sap.aii.mappingtool.tf3.AMappingProgram.execute(AMappingProgram.java:105) at com.sap.aii.ibrun.server.mapping.JavaMapping.executeStep(JavaMapping.java:64) at com.sap.aii.ibrun.server.mapping.Mapping.execute(Mapping.java:91) at com.sap.aii.ibrun.server.mapping.MappingHandler.run(MappingHandler.java:90) at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleMappingRequest(MappingRequestHandler.java:95) at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleRequest(MappingRequestHandler.java:68) at com.sap.aii.ibrun.sbeans.mapping.MappingServiceImpl.processFunction(MappingServiceImpl.java:79) at com.sap.aii.ibrun.sbeans.mapping.MappingServiceObjectImpl0.processFunction(MappingServiceObjectImpl0.java:131) at sun.reflect.GeneratedMethodAccessor4712.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code)) at java.lang.reflect.Method.invoke(Method.java(Compiled Code)) at com.sap.engine.services.ejb.session.stateless_sp5.ObjectStubProxyImpl.invoke(ObjectStubProxyImpl.java:187) at $Proxy194.processFunction(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code)) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code)) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code)) at java.lang.reflect.Method.invoke(Method.java(Compiled Code)) at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.handleRequest(RFCDefaultRequestHandler.java:100) at com.sap.engine.services.rfcengine.RFCJCOServer.handleRequestInternal(RFCJCOServer.java:113) at com.sap.engine.services.rfcengine.RFCJCOServer$ApplicationRunnable.run(RFCJCOServer.java:171) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java(Compiled Code)) at java.security.AccessController.doPrivileged1(Native Method) at java.security.AccessController.doPrivileged(AccessController.java(Compiled Code)) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java(Compiled Code)) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java(Compiled Code)) Root Cause: com.sap.aii.utilxi.misc.api.BaseRuntimeException: Exception:[java.lang.IllegalArgumentException: Cannot cast null to boolean] in class com.sap.aii.mappingtool.flib3.Bool method equals[null, , com.sap.aii.mappingtool.tf3.rt.Context@160d5322] at com.sap.aii.mappingtool.tf3.rt.FunctionWrapper.getValue(FunctionWrapper.java:56) at com.sap.aii.mappingtool.tf3.rt.FunctionWrapper.getValue(FunctionWrapper.java:41) at com.sap.aii.mappingtool.flib3.IfWithoutElse.getValue(IfWithoutElse.java:18) at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java(Compiled Code)) at com.sap.aii.mappingtool.tf3.AMappingProgram.start(AMappingProgram.java:352) at com.sap.aii.mappingtool.tf3.Transformer.start(Transformer.java:60) at com.sap.aii.mappingtool.tf3.AMappingProgram.execute(AMappingProgram.java:105) at com.sap.aii.ibrun.server.mapping.JavaMapping.executeStep(JavaMapping.java:64) at com.sap.aii.ibrun.server.mapping.Mapping.execute(Mapping.java:91) at com.sap.aii.ibrun.server.mapping.MappingHandler.run(MappingHandler.java:90) at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleMappingRequest(MappingRequestHandler.java:95) at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleRequest(MappingRequestHandler.java:68) at com.sap.aii.ibrun.sbeans.mapping.MappingServiceImpl.processFunction(MappingServiceImpl.java:79) at com.sap.aii.ibrun.sbeans.mapping.MappingServiceObjectImpl0.processFunction(MappingServiceObjectImpl0.java:131) at sun.reflect.GeneratedMethodAccessor4712.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code)) at java.lang.reflect.Method.invoke(Method.java(Compiled Code)) at com.sap.engine.services.ejb.session.stateless_sp5.ObjectStubProxyImpl.invoke(ObjectStubProxyImpl.java:187) at $Proxy194.processFunction(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code)) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code)) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code)) at java.lang.reflect.Method.invoke(Method.java(Compiled Code)) at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.handleRequest(RFCDefaultRequestHandler.java:100) at com.sap.engine.services.rfcengine.RFCJCOServer.handleRequestInternal(RFCJCOServer.java:113) at com.sap.engine.services.rfcengine.RFCJCOServer$ApplicationRunnable.run(RFCJCOServer.java:171) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java(Compiled Code)) at java.security.AccessController.doPrivileged1(Native Method) at java.security.AccessController.doPrivileged(AccessController.java(Compiled Code)) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java(Compiled Code)) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java(Compiled Code)) Root Cause: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code)) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code)) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code)) at java.lang.reflect.Method.invoke(Method.java(Compiled Code)) at com.sap.aii.mappingtool.tf3.rt.FunctionWrapper.getValue(FunctionWrapper.java:47) at com.sap.aii.mappingtool.tf3.rt.FunctionWrapper.getValue(FunctionWrapper.java:41) at com.sap.aii.mappingtool.flib3.IfWithoutElse.getValue(IfWithoutElse.java:18) at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java(Compiled Code)) at com.sap.aii.mappingtool.tf3.AMappingProgram.start(AMappingProgram.java:352) at com.sap.aii.mappingtool.tf3.Transformer.start(Transformer.java:60) at com.sap.aii.mappingtool.tf3.AMappingProgram.execute(AMappingProgram.java:105) at com.sap.aii.ibrun.server.mapping.JavaMapping.executeStep(JavaMapping.java:64) at com.sap.aii.ibrun.server.mapping.Mapping.execute(Mapping.java:91) at com.sap.aii.ibrun.server.mapping.MappingHandler.run(MappingHandler.java:90) at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleMappingRequest(MappingRequestHandler.java:95) at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleRequest(MappingRequestHandler.java:68) at com.sap.aii.ibrun.sbeans.mapping.MappingServiceImpl.processFunction(MappingServiceImpl.java:79) at com.sap.aii.ibrun.sbeans.mapping.MappingServiceObjectImpl0.processFunction(MappingServiceObjectImpl0.java:131) at sun.reflect.GeneratedMethodAccessor4712.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code)) at java.lang.reflect.Method.invoke(Method.java(Compiled Code)) at com.sap.engine.services.ejb.session.stateless_sp5.ObjectStubProxyImpl.invoke(ObjectStubProxyImpl.java:187) at $Proxy194.processFunction(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code)) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code)) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code)) at java.lang.reflect.Method.invoke(Method.java(Compiled Code)) at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.handleRequest(RFCDefaultRequestHandler.java:100) at com.sap.engine.services.rfcengine.RFCJCOServer.handleRequestInternal(RFCJCOServer.java:113) at com.sap.engine.services.rfcengine.RFCJCOServer$ApplicationRunnable.run(RFCJCOServer.java:171) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java(Compiled Code)) at java.security.AccessController.doPrivileged1(Native Method) at java.security.AccessController.doPrivileged(AccessController.java(Compiled Code)) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java(Compiled Code)) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java(Compiled Code)) Caused by: java.lang.IllegalArgumentException: Cannot cast null to boolean at com.sap.aii.mappingtool.flib3.Bool.toBoolean(Bool.java:17) at com.sap.aii.mappingtool.flib3.Bool.equals(Bool.java:37) ... 37 more</Trace>

<Trace level="1" type="E">CL_XMS_PLSRV_MAPPING~ENTER_PLSRV</Trace>

</Trace>

- <Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_LOG_TO_PERSIST">

<Trace level="3" type="T">Persisting message after plsrv call</Trace>

<Trace level="3" type="T">Message-Version = 005</Trace>

<Trace level="3" type="T">Message version 005</Trace>

<Trace level="3" type="T">Pipeline CENTRAL</Trace>

</Trace>

<Trace level="3" type="System_Error">Error exception return from pipeline processing!</Trace>

<Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_TO_PERSIST" />

- <!-- ************************************

-->

<Trace level="3" type="T">Persisting message Status = 014</Trace>

<Trace level="3" type="T">Message version 006</Trace>

<Trace level="3" type="T">Pipeline CENTRAL</Trace>

</SAP:Trace>

</i>

regards

ram

Former Member
0 Kudos

Hi Ram,

The reason for error is the "null" value returned by the UDF.

The function after UDF is "equalS". This will expect two strings for input. Since the UDF returns "null", it throws Exception.

A simple work around for this can be like this...

Change your UDF to return any string, say "ABC". And then use equalS with a constant "XYZ". This will return false, so ifwithoutelse wont execute.

Regards,

Uma

Former Member
0 Kudos

Hi Ram,

in the UDF, replace the line <i>return null;</i> with <i>return "abc";</i>

then compare with "zxc" using Equals function of text and

then use IFWITHOUTELSE

Then your this runtime error will be removed.

Thanks,

Rajeev Gupta

Former Member
0 Kudos

Hi friend...

<i>output from UDF -


Constant(null) -


equalsS -


not -


ifwithoutelse</i>

i used the above one...but i am getting ...

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

<SAP:P1>com/sap/xi/tf/_MM_SAP_IORDER_To_MES_WorkOrderCrea~</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>During the application mapping com/sap/xi/tf/_MM_SAP_IORDER_To_MES_WorkOrderCrea~ a com.sap.aii.utilxi.misc.api.BaseRuntimeException was thrown: RuntimeException in Message-Mapping transformatio~</SAP:Stack>

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

</SAP:Error>

</i>

regards

ram

Former Member
0 Kudos

Hi Ram,

Check the trace for the scenario in sxmb_moni for more details on the error. Post it over here so that its easy to help.

May be target field occurences might create some problem.

Regards,

P.Venkat

Former Member
0 Kudos

Hi Bhavesh..

thank you so much for your help..

the UDF

<i>public String getSector(String sector,Container container){

String valueNew;

SimpleDateFormat simpledatFormat = new SimpleDateFormat("yyyy-MM-dd");

Date date = new Date();

String datewithYear = simpledatFormat.format(date);

SimpleDateFormat simpledatFormat1 = new SimpleDateFormat("HHmmssmmm");

Date date1 = new Date();

String datewithMs = simpledatFormat1.format(date1);

DynamicConfiguration conf = (DynamicConfiguration) getParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);

DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File",

"FileName");

String oldFileName=conf.get(key);

if( oldFileName == null)

{

valueNew = "WorkOrder_Create_SM_"<b>sector</b>datewithYear"T"datewithMs+".xml";

}

else

{

valueNew =oldFileNamedatewithYear"T"datewithMs".xml";

}

//set the new filename

conf.put(key, valueNew);

}</i>

and i taken one of the field from Source IDoc and i mapped to UDF and output of UDF mapped to IFWITHOUTELSE .

here in that IFWITHOUTELSE i mapped some constant value to then...

and i mapped one of the target field to result of IFWITHOUTELSE.

and i used suppress value as true...

but iam getting error...

how to check its notequal to null...what you mentioned...

please clearly explain to me..how to map IFWITHOUTELSE in this context..

regards

ram

bhavesh_kantilal
Active Contributor
0 Kudos

Ram,

In your code you do not have a return statement!

public String getSector(String sector,Container container){
String valueNew;
SimpleDateFormat simpledatFormat = new SimpleDateFormat("yyyy-MM-dd");
Date date = new Date();
String datewithYear = simpledatFormat.format(date);
SimpleDateFormat simpledatFormat1 = new SimpleDateFormat("HHmmssmmm");
Date date1 = new Date();
String datewithMs = simpledatFormat1.format(date1);

DynamicConfiguration conf = (DynamicConfiguration) getParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);

DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File",
"FileName");

String oldFileName=conf.get(key);
if( oldFileName == null)
{
valueNew = "WorkOrder_Create_SM_"+sector+datewithYear+"T"+datewithMs+".xml";
}
else 
{
valueNew =oldFileName+datewithYear+"T"+datewithMs+".xml";
}
//set the new filename
conf.put(key, valueNew);
}

return null;

Now, to use IFWITHOUTSELSE check this

http://help.sap.com/saphelp_nw04/helpdata/en/5d/db0e83e8e74202a5bff527055ab7e5/content.htm

Regards,

Bhavesh

Former Member
0 Kudos

Hi ram,

Use EquasS in string functions. give that output to 'not' in boolean functions like this.

output from UDF -


Constant(null) -


equalsS -


not -


ifwithoutelse

Regards,

P.Venkat

bhavesh_kantilal
Active Contributor
0 Kudos

Ram,

Quite simple, Create the UDF --> The input to the UDF will be the Source Field.

Then use the Code in your earlier thread to create the filename.

Let the return to this UDF be NULL.

Map the output of the UDF to an IFWITHOUTELSE and check if it is not equal to NULL to map it to the target field . As output is NULL the target mapping will not happen.

Regards,

Bhavesh

Former Member
0 Kudos

Hi Bhavesh,

i have created a UDF for filename.......do i need to do something in comm channel because my output file is getting generated with the name i specipy in comm channel...........but the UDF is getting triggered - this i know because my mapping is working.........So can you suggest me what else should i do to generate the filename according to my UDF.........

Regards,

Rajeev Gupta

bhavesh_kantilal
Active Contributor
0 Kudos

Rajeev,

Am not sure I followed your question.

can you give more details as to what you are trying?

Regards,

Bhavesh

Former Member
0 Kudos

Hi Bhavesh,

i am just doing a simple file-to-file scenario.........

i wanted to use a source field in my output file name - not in content of output file - so no mapping of it..........

i define this UDF.........

<i>public string test(string a, container container)

{

DynamicConfiguration conf = (DynamicConfiguration) getParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);

DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File", "FileName");

String valueNew;

String oldFileName=conf.get(key);

if( oldFileName == null)

{

valueNew = "qwe" + a +"Hai.xml";

}

else

{

valueNew =oldFileName + ".xml";

}

//set the new filename

conf.put(key, valueNew);

return "q";

}</i>

i used source element input to this function......its output i compared to "w" by equals func in text....then its output i send to IFWITHOUTELSE........

The output is generated but its filename is according to comm channel and not as specified in UDF........

So can you suggest how to generate the filename as specified in UDF......

Hi Ram,

my email-id is raj.gupta@tcs.com

Thanks,

Rajeev Gupta

Former Member
0 Kudos

Hi Bhavesh,

Any suggestions to rectify my above scenario........

Thanks,

Rajeev Gupta

bhavesh_kantilal
Active Contributor
0 Kudos

Rajeev,

in both your sender and receiver file adapter, you would need to select Adapter Specific Identifiers --> FileName for the code to work.

Regards,

Bhavesh