F2F Multiline scenario
Hi All,
this is the error message Iam getting when I was run a Multi line scenario
Error Message "up and running - no message processing until now"
In sendercommunication channel as well as Receiver communication channel
I have selected FTP for Transfer the information.
Iam sending a text file using FTP "Transport Protocal"
I have checked in AdapterFramework both FileSender and FileReceiver are success but the File is not picking from the source Directory to Target Directory.
help me to solve the problem the source file must sit in target directory.
Thanks & Regards,
Ashok.
Hi Ashok,
If the sender file adapter is up and running and even after that if you find some problem, the first thing you need to do is check if your file has been picked. The easiest way to check the same is to set the mode to DELETE, that is the file gets deleted as soon as it is picked. Even after doing the same,if your file has not been picked then the reasons for the same could be the following.
- The path that you specified while configuring the sender communication channel would have been wrong.
- While specifying the file name take care as it is case sensitive.
- If you require content conversion then make sure that the parameters entered at the time of configuration are all correct.
- Please give the correct extesion of the file also.
Please go thru the following links to get a very clear picture of your requirement.
http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/44/6c9442c22d1131e10000000a1550b0/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/8c/607fe4756b654ab9f420097c29f6e9/frameset.htm
Also i would suggest you to go through this thread in which i have explained a complete file to file Scenario.
Re: File To File
I hope this would help you solve your problem.
Regards,
Abhy
Similar Messages
-
Error inF2F mulitiline scenario using substring
Hi,
I am doing a F2F mulitiline scenario using substring
In AdapterFramework , i am getting this message
Sender Adapter v1014 for Party '', Service 'YAMAHA_BUSYS':
Configured at 19:12:31 2008-10-22
Initialization error: Conversion initialization failed with java.lang.Exception: java.lang.NullPointerException
Could you please let me know what could be wrong ?
My content conversion parameters are
Substr.fieldFixedLengths: 10,10,10,10,10,10,10
Substr.fieldNames:FirstName,LastName,MiddleName,City,Place,State,Country
Substr.processFieldNames: fromConfiguration
Thanks
RamHi Ram,
I think the problem is with the source file
it should be like this for your case
Substr.fieldFixedLengths: 10,10,10,10,10,10,10
Substr.fieldNames:FirstName,LastName,MiddleName,City,Place,State,Country
Sample file
FirstName LastName MiddleNameCity Place State Country
Each file length should be 10 and not like this
FirstName LastName MiddleName City Place State Country
Thanks,
Prakash -
"up and running no message processing until now"
Hi,
I am doing a multiline scenario with File Content Conversion. In Adapter Monitor, Message is processed in the sender CC and in the Receiver CC it shows "up and running no message processing until now"
Whats mean by this ?. What is the status of my message ? Where I can monitor the message send from sender communication to the Receiver communication channel (If not in SXMB_MONI ?)
Thanks,
Ramhi,
check adapter message monitor:
http://hostname:portnumber/MessagingSystem/monitor/monitor.jsp
you should see all message over there
Regards,
michal
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a> -
Hi
I am following this scenraio
/people/community.user/blog/2007/01/08/valuemapping-using-the-graphical-mapping-tool
but I am polling bunch of records (multiline)
Scenario is successfull but in output file does not contain any record?
It contains only the following lines
<?xml version="1.0" encoding="UTF-8" ?>
<ns0:MT_HRInfo xmlns:ns0="http://ValueMapping.com" />
where I have to check for the problem ?
Thanks
manianHere it is
<?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="T">Party normalization: sender</Trace>
<Trace level="1" type="T">Sender scheme external = XIParty</Trace>
<Trace level="1" type="T">Sender agency external = http://sap.com/xi/XI</Trace>
<Trace level="1" type="T">Sender party external = P_Valmap</Trace>
<Trace level="1" type="T">Sender party normalized = P_Valmap</Trace>
<Trace level="1" type="T">Party normalization: receiver</Trace>
<Trace level="1" type="T">Receiver scheme external =</Trace>
<Trace level="1" type="T">Receiver agency external =</Trace>
<Trace level="1" type="T">Receiver party external =</Trace>
<Trace level="1" type="T">Receiver party normalized =</Trace>
<Trace level="1" type="B" name="CL_XMS_HTTP_HANDLER-HANDLE_REQUEST" />
- <!-- ************************************
-->
<Trace level="1" type="T">XMB was called with URL /sap/xi/engine?type=entry</Trace>
<Trace level="1" type="T">COMMIT is done by XMB !</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="1" type="B" name="SXMBCONF-SXMB_GET_XMB_USE" />
<Trace level="1" type="B" name="CL_XMS_TROUBLESHOOT-ENTER_PLSRV" />
<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="1" type="T">system-ID = SXI</Trace>
<Trace level="1" type="T">client = 100</Trace>
<Trace level="1" type="T">language = E</Trace>
<Trace level="1" type="T">user = XIAFUSER</Trace>
<Trace level="1" type="Timestamp">2007-01-20T14:16:48Z 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 = DD7DFCA0A89011DB804E001676478B29</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="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="1" type="T">Get definition of internal pipeline = SAP_CENTRAL</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="1" type="T">Setup qRFC Scheduler 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="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_TO_PERSIST" />
- <!-- ************************************
-->
<Trace level="1" type="B" name="CL_XMS_MAIN-PERSIST_READ_MESSAGE" />
<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="1" type="T">----
</Trace>
<Trace level="1" type="T">Starting async processing with pipeline CENTRAL</Trace>
<Trace level="1" type="T">system-ID = SXI</Trace>
<Trace level="1" type="T">client = 100</Trace>
<Trace level="1" type="T">language = E</Trace>
<Trace level="1" type="T">user = XIAFUSER</Trace>
<Trace level="1" type="Timestamp">2007-01-20T14:16:49Z 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="1" type="T">Corresponding internal pipeline SAP_CENTRAL</Trace>
- <Trace level="1" type="B" name="PLSRV_RECEIVER_DETERMINATION">
- <Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV">
- <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>
</Trace>
</Trace>
</Trace>
<Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_LOG_TO_PERSIST" />
- <Trace level="1" type="B" name="PLSRV_INTERFACE_DETERMINATION">
- <Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV">
- <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>
</Trace>
</Trace>
</Trace>
<Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_LOG_TO_PERSIST" />
<Trace level="1" type="B" name="PLSRV_RECEIVER_MESSAGE_SPLIT" />
- <!-- ************************************
-->
- <Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV">
<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="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 = XBTO1___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="1" type="B" name="CL_XMS_MAIN-PERSIST_READ_MESSAGE" />
<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="1" type="T">----
</Trace>
<Trace level="1" type="T">Starting async processing with pipeline CENTRAL</Trace>
<Trace level="1" type="T">system-ID = SXI</Trace>
<Trace level="1" type="T">client = 100</Trace>
<Trace level="1" type="T">language = E</Trace>
<Trace level="1" type="T">user = XIAFUSER</Trace>
<Trace level="1" type="Timestamp">2007-01-20T14:16:49Z 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="1" type="T">Corresponding internal pipeline SAP_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="B" name="CL_XMS_MAIN-CALL_PLSRV" />
- <!-- ************************************
-->
<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="1" type="T">Interface Mapping http://ValueMapping.com IM_EmpInfo_To_HRInfo</Trace>
<Trace level="1" type="T">RuntimeException during appliction Java mapping com/sap/xi/tf/_MM_EMPInfo_To_HRInfo_</Trace>
<Trace level="1" type="T">com.sap.aii.utilxi.misc.api.BaseRuntimeException: RuntimeException in Message-Mapping transformation: Cannot produce target element /ns0:MT_HRInfo/Record. 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:291) at com.sap.aii.mappingtool.tf3.Transformer.start(Transformer.java:68) at com.sap.aii.mappingtool.tf3.AMappingProgram.execute(AMappingProgram.java:231) at com.sap.aii.ibrun.server.mapping.JavaMapping.executeStep(JavaMapping.java:63) at com.sap.aii.ibrun.server.mapping.Mapping.execute(Mapping.java:91) at com.sap.aii.ibrun.server.mapping.MappingHandler.run(MappingHandler.java:77) at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleMappingRequest(MappingRequestHandler.java:88) at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleRequest(MappingRequestHandler.java:63) at com.sap.aii.ibrun.sbeans.mapping.MappingServiceImpl.processFunction(MappingServiceImpl.java:80) at com.sap.aii.ibrun.sbeans.mapping.MappingServiceObjectImpl0.processFunction(MappingServiceObjectImpl0.java:131) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.sap.engine.services.ejb.session.stateless_sp5.ObjectStubProxyImpl.invoke(ObjectStubProxyImpl.java:187) at $Proxy24.processFunction(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.handleRequest(RFCDefaultRequestHandler.java:95) 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:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)</Trace>
<Trace level="1" type="T">Runtime exception occurred during execution of application mapping program com/sap/xi/tf/_MM_EMPInfo_To_HRInfo_: com.sap.aii.utilxi.misc.api.BaseRuntimeException; RuntimeException in Message-Mapping transformation: Cannot produce target element /ns0:MT_HRInfo/Record. 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_EMPInfo_To_HRInfo_: com.sap.aii.utilxi.misc.api.BaseRuntimeException; RuntimeException in Message-Mapping transformation: Cannot produce target element /ns0:MT_HRInfo/Record. 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:72) at com.sap.aii.ibrun.server.mapping.Mapping.execute(Mapping.java:91) at com.sap.aii.ibrun.server.mapping.MappingHandler.run(MappingHandler.java:77) at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleMappingRequest(MappingRequestHandler.java:88) at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleRequest(MappingRequestHandler.java:63) at com.sap.aii.ibrun.sbeans.mapping.MappingServiceImpl.processFunction(MappingServiceImpl.java:80) at com.sap.aii.ibrun.sbeans.mapping.MappingServiceObjectImpl0.processFunction(MappingServiceObjectImpl0.java:131) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.sap.engine.services.ejb.session.stateless_sp5.ObjectStubProxyImpl.invoke(ObjectStubProxyImpl.java:187) at $Proxy24.processFunction(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.handleRequest(RFCDefaultRequestHandler.java:95) 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:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162) Root Cause: com.sap.aii.utilxi.misc.api.BaseRuntimeException: RuntimeException in Message-Mapping transformation: Cannot produce target element /ns0:MT_HRInfo/Record. 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:291) at com.sap.aii.mappingtool.tf3.Transformer.start(Transformer.java:68) at com.sap.aii.mappingtool.tf3.AMappingProgram.execute(AMappingProgram.java:231) at com.sap.aii.ibrun.server.mapping.JavaMapping.executeStep(JavaMapping.java:63) at com.sap.aii.ibrun.server.mapping.Mapping.execute(Mapping.java:91) at com.sap.aii.ibrun.server.mapping.MappingHandler.run(MappingHandler.java:77) at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleMappingRequest(MappingRequestHandler.java:88) at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleRequest(MappingRequestHandler.java:63) at com.sap.aii.ibrun.sbeans.mapping.MappingServiceImpl.processFunction(MappingServiceImpl.java:80) at com.sap.aii.ibrun.sbeans.mapping.MappingServiceObjectImpl0.processFunction(MappingServiceObjectImpl0.java:131) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.sap.engine.services.ejb.session.stateless_sp5.ObjectStubProxyImpl.invoke(ObjectStubProxyImpl.java:187) at $Proxy24.processFunction(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.handleRequest(RFCDefaultRequestHandler.java:95) 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:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)</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="1" type="System_Error">Error exception return from pipeline processing!</Trace>
<Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_TO_PERSIST" />
- <!-- ************************************
-->
</SAP:Trace> -
File Name is Showing different
Hi All,
I have done a File To File
Multiline scenario successfully.
The sending file name is sale.txt
and in the receiver communication
channel, file name scheme is
sale.xml.
But in the destination folder i
am receiving that file in
different name (for eg: benzene)
Could you please let me know
where could be error ?
Thanks,
AshokHi Sergio Cipolla,
Thanks Alot my problem was solved with your great help.
can I have your mail ID pls for further communication.
Thanks & Regards,
AshokKumar. -
Mapping Multiple line item. Target node generation problem
Hi,
I am trying to create a mapping to handle multiline items.
my source structure is
ns0:OrderCreate>
<ns0:Header>
<ns0:OrderCreateBody>
-<ns0:OrderCreateProperties>
-<ns0:PurchaseOrderNumber>
-<ns0:OrderCreatePartners>
-<ns0:OrderCreateDetails>
--<ns0:OrderCreateProductLineItem>
-</ns0:OrderCreateDetails>
</ns0:OrderCreateBody>
</ns0:OrderCreate>
Here <ns0:OrderCreateProductLineItem> is the node which will occure multiple time in new requirment (which is mapped to E1EDP01).
my target structure is
<ORDERS05>
<IDOC>
<EDI_DC40>
<E1EDK01>
<E1EDK14>
<E1EDK05>
<E1EDK02>
<E1EDKA1>
<E1EDKT1>
<E1EDK36>
<E1EDP01>
- - POSEX
- - MENGE
- - MENEE
- - <E1EDP02>
- - <E1EDP19>
- - <E1EDP35>
Currently for each line item ( <ns0:OrderCreateProductLineItem>) target structure contains one <E1EDP01> segment (having two <E1EDP02> and one <E1EDP19> subnode ).
In Multiline Scenario for each occurance of node <ns0:OrderCreateProductLineItem> target structure should have one <E1EDP01> segment (having two <E1EDP02> and one <E1EDP19> subnode for every line item ).
For example if source is ::
ns0:OrderCreate>
<ns0:Header>
<ns0:OrderCreateBody>
- <ns0:OrderCreateProperties>
- <ns0:PurchaseOrderNumber>
- <ns0:OrderCreatePartners>
- <ns0:OrderCreateDetails>
- - <ns0:OrderCreateProductLineItem>
- - <ns0:OrderCreateProductLineItem>
- - <ns0:OrderCreateProductLineItem>
</ns0:OrderCreateDetails>
</ns0:OrderCreateBody>
Then target should be ::
<ORDERS05>
<IDOC>
<EDI_DC40>
<E1EDK01>
<E1EDP01>
- - POSEX
- - <E1EDP02>
- - <E1EDP02>
- - <E1EDP19>
<E1EDP01>
- - POSEX
- - <E1EDP02>
- - <E1EDP02>
- - <E1EDP19>
<E1EDP01>
- - POSEX
- - <E1EDP02>
- - <E1EDP02>
- - <E1EDP19>
How to acheive this mapping please suggest ?
Edited by: gumshu on Oct 4, 2011 2:26 AMHello,
The details you have provided are incomplete, e.g where do you get
- - POSEX
- - <E1EDP02>
- - <E1EDP02>
- - <E1EDP19>
But if you want E1EDP01 to appear multiple times, you can use this mapping
OrderCreateProductLineItem -> removeContext -> E1EDP01
Hope this helps,
Mark -
Michal's weblog ---How it can be done with BPM ?
HI,
I am trying to do a File To XML multiline scenario using BPM. When I check IP I am getting the following error
<b><u>"Expression must not return a multiline value".</u></b>
How can I do File To XML multiline scenario using BPM ? I know we can do without BPM
Any useful information is appreciated.
Thanks,
ss
Message was edited by:
s sHi Vijay,
I wanted to do Michal's weblog
/people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter
using BPM.
Like file to file with BPM, I have created IP and when I checked, I was getting the above error.
My question---> Is it possible to do multiline scenario with BPM ?
help pls.
Thanks,
ss
Message was edited by:
s s
Message was edited by:
s s -
Receiver determination step in the BPM and multiline container
i have made a file2file scenario where:
there is a BPM,
the BPM has a send step which contains a receive step,
a transformation that mapps the incomin message to two messages(Split-messgae case),
and then a FORK step which sends the two messges to through 2 SEND steps to the intended receiver services.
It didnt work......and i followed a blog-> /people/sudharshan.aravamudan/blog/2005/12/01/illustration-of-multi-mapping-and-message-split-using-bpm-in-sap-exchange-infrastructure ............... which suggested to have a
"receiver-determination" step in the BPM before the SEND step.... it says that this
"receiver-determination" step will put the message in a MULTILINE container..
i m confused bout this step ........ can anybody explain.....
please helpHI,
In receiver determination step selctthe multi line container element.in container editor create the one element with type as receiver and select the check box.
A Receiver Determination step returns set of receivers configured for the output abs interfaces in the directory and puts it into receiver which is a multiline container receiver element
Regards
Chilla -
[Forum FAQ] How to remove div characters from multiline textbox field in SharePoint 2013
Scenario:
Need to avoid the div tags and get data alone from multiline textbox field using JavaScript Client Object Model in SharePoint 2013.
Solution:
We can use a regular expression to achieve it.
The steps in detail as follows:
1. Insert a Script Editor Web Part into the page.
2. This is the complete code, add it into the Script Editor Web Part and save.
<script type="text/javascript">
ExecuteOrDelayUntilScriptLoaded(retrieveListItems, "sp.js");
function retrieveListItems() {
// Create an instance of the current context to return context information
var clientContext = new SP.ClientContext.get_current();
//Returns the list with the specified title from the collection
var oList = clientContext.get_web().get_lists().getByTitle('CustomListName');
//use CAML to query the top 10 items
var camlQuery = new SP.CamlQuery();
//Sets value that specifies the XML schema that defines the list view
camlQuery.set_viewXml('<View><RowLimit>10</RowLimit></View>');
//Returns a collection of items from the list based on the specified query
this.collListItem = oList.getItems(camlQuery);
clientContext.load(this.collListItem, 'Include(Title,MultipleText)');
clientContext.executeQueryAsync(Function.createDelegate(this, this.onQuerySucceeded), Function.createDelegate(this, this.onQueryFailed));
function onQuerySucceeded() {
//Returns an enumerator to iterate through the collection
var listItemEnumerator = this.collListItem.getEnumerator();
//Remove div tag use a regular expression
var reg1 = new RegExp("<div class=\"ExternalClass[0-9A-F]+\">[^<]*", "");
var reg2 = new RegExp("</div>$", "");
//Advances the enumerator to the next element of the collection
while (listItemEnumerator.moveNext()) {
//Gets the current element in the collection
var oListItem = listItemEnumerator.get_current();
alert(oListItem.get_item('MultipleText').replace(reg1, "").replace(reg2, ""));
function onQueryFailed(sender, args) {
alert('Request failed. ' + args.get_message() + '\n' + args.get_stackTrace());
</script>
Result:<o:p></o:p>
References:
http://www.w3schools.com/jsref/jsref_obj_regexp.asp
Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.Nice article :)
If this helped you resolve your issue, please mark it Answered -
Error: Expression must not return a multiline value
Hi all,
I am doing a file to file scenario. My input file has more than one record. I have to validate for each of these records and send back the erroneous records in a file to the source folder.
I am using BPM for this. In my BPM, i have some multiline container elements. When i try to activate my BPM, i am getting an error saying: <b>Expression must not return a multiline value.</b>
Can anybody tell me why this error is coming? Also i want to know what type of mapping i have to do to split my source file.
Regards,
Divija."Can anybody tell me why this error is coming? Also i want to know what type of mapping i have to do to split my source file."
Go through the following blogs which give step-bystep approach for split mapping using BPM:-
1. /people/sudharshan.aravamudan/blog/2005/12/01/illustration-of-multi-mapping-and-message-split-using-bpm-in-sap-exchange-infrastructure
2. /people/narendra.jain/blog/2005/12/30/various-multi-mappings-and-optimizing-their-implementation-in-integration-processes-bpm-in-xi
Also, you might want to look at this, where a BPM is not required..i think you can avoid a BPM altogether if you have very little validation..
/people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible
Regards,
Sushumna -
Experts,
I have created one Technical system and two busines system for F2F scenario.Both the BS are of third party.
Sender is MDM (Master data management)
Receiver is BW (sap system)
I am right.Please suggest.
Thanks
Veeruhi,
>>>For your F2F scenario, Create two TS of type third party and two BS for them because you have two different entities as your sender and receiver.
why should he create TS of type third party for BW for example?
if you can easily create TS from BW with TCODE RZ70 and
it will not be third party
+ the question was about BS and not TS I believe
Regards,
Michal Krawczyk -
1:N mapping Scenario, BPM errors
Hi,
I am following this scenario 1: N multi mapping
Various multi-mappings and Optimizing their Implementation in Integration Processes (BPM) in XI.
I need your help to fix my errors for Container1, container 2, and Send step in BPM
In BPM,
1. I have got Receive Properties without errors
2. Transformation Properties without errors
3. container 1 : can you please let me know container Properties are correctly given i.e Operation and Expression are correct ?
Please check the snap shot:
http://www.flickr.com/photos/33169400@N05/3132774664/
4. Loop is correct
5. Container 2
As per the blog: Container operation2: It increments index by 1.
While checking My Target value has Errors. For my Target I have given index(container variable) as value. Operation and Expression are correct ?
Please check the snap shot:
http://www.flickr.com/photos/33169400@N05/3132774670/
6. Send Properties:
As per the blog: Send step: It sends the current line of the multiline interface element out_msg1 whose index is given by the
container variable index i.e out_msg1[index].
Please check the snap shot:
http://www.flickr.com/photos/33169400@N05/3132774672/
But I am not getting the Message Value output [ index ]. i.e. i am not getting [ index ].
Please do help me to fix this to get the index in Message Value
Thanks
manianThanks Sekhar for the help, I have used Assign value, now the container 2 has no errors.
Bu still I am unable to solve the Send Properties
Various multi-mappings and Optimizing their Implementation in Integration Processes (BPM) in XI. -
step 6
Send Properties:
As per the blog: Send step: It sends the current line of the multiline interface element out_msg1 whose index is given by the container variable index i.e out_msg1index.
Please check the snap shot:
http://www.flickr.com/photos/33169400@N05/3132774672/
But I am not getting the Message Value output index . i.e. i am not getting index .
Please do help me to fix this to get the index in Message Value
manian -
Hi,
I am trying out an BPM scenario for an N:1 mapping,in which i'll be sending N number of 2 different structure of messages.The source file got picked from the Source.The SXMB_MONI describes that the "Message being sent",but i couldn't get at the target.I doubt that my BPM design could have strucked up in the looping and hence the message couldn't be delivered.Can anyone provide some pointer to get it resolved.The BPM design is as mentioned below :
Block
Deadline
Exception Handler
Loop1 Recv1 Container1 Loop1
Fork Fork Transformation(2:1) Send Stop
Loop2 Recv2 Container2 Loop2
Note : The loop will come out when the deadline time reaches 2 min.Yes.The Correlation desfined as below
File1 of Abstract type Message Interface
FileList1 of of Abstract type Message Interface(Multiline checked)
File2 of Abstract type Message Interface
FileList2 of of Abstract type Message Interface(Multiline checked)
TargetFile of Abstract type Message Interface -
Hi,
I have the following scenario:
ReceiveStep
receiving a file with a lot of lines
TransformationStep1
Here the file is transformed to 2 target messages DEBROW en DEBSEARCH. Every line in the file results in 1 DEBROW message and 1 DEBSEARCH message
Synchronous RFC call
To search some additional data for every DEBSEARCH message --> leads to a DEBRESULT message
TransformationStep2
Transforming the DEBRESULT and DEBROW message into DEBMAS
SendStep
Send IDOC to BusinessSystem
When the file contains 1 line everything works fine.
When the file contains 2 lines I still receive 1 IDOC.
Questions:
1. I think I have to use the multiline somewhere in BPM. Where? When I try to "activate" multiline I get the error "Expression must not return a multiline value" . Does it have by in sync with occurences in MessageMappings? What is the rule here?
2. How can I guarantee that the messages are in synch all the time? (correlation?)
Best Regards
Ronhi,
two ways:)
first try to send all data to ECC for check (you can go for async with correlation - even
based on guid if you don't have anything else)
use ABAP proxies if possible (so you'll be able to
restart and monitor the flow in ECC too)
then use IDOC bundling to send all IDOCs at once as per my weblog:
/people/michal.krawczyk2/blog/2005/12/04/xi-idoc-bundling--the-trick-with-the-occurance-change
this way you will have to worry about 2 outbound messages (from XI)
and one inbound (from ECC to XI)
Regards,
michal -
"receiver-determination" step and multiline container
i have made a file2file scenario where:
there is a BPM,
the BPM contains a receive step,
a transformation that mapps the incomin message to two messages(Split-messgae case),
and then a FORK step which sends the two messges to through 2 SEND steps to the intended receiver services.
It didnt work......and i followed a blog-> /people/sudharshan.aravamudan/blog/2005/12/01/illustration-of-multi-mapping-and-message-split-using-bpm-in-sap-exchange-infrastructure ............... which suggested to have a
"receiver-determination" step in the BPM before the SEND step.... it says that this
"receiver-determination" step will put the message in a MULTILINE container..
i m confused bout this step ........ can anybody explain.....
please helpReceiver Determination step will return all receivers that are configured in Integration Directory, for that particular message interface, having the BPM as the sender service.
So, more than one receiver may return. Hence you need to define the receiver container as a multiline container.
Here you go with explanations- for Receiver Determinations in BPM-
http://help.sap.com/saphelp_nw04/helpdata/en/11/13283fd0ca8443e10000000a114084/content.htm
Maybe you are looking for
-
I had my iphone 5 replaced at the apple store as of a broken sleep button and i was wondering if they would replace again as i think it may of happend again as it works most of the time but theres an odd click where it wont work.
-
MBP15 2009 won't recognize Panasonic TV
Hi, I have a MBP15 that since I've installed Lion (I'm up to date and have 10.7.2) has not been able to connect from my mini-display HDMI convertor by Moshi to my Panasonic Viera television. It had always worked without a problem before the upgrade.
-
Help! iPad will not appear in iTunes
Need real advice, went through the help tutorial 10 times (disconnect all USB, try different USB, try restarting etc.) and no luck. Just got iPad but I had an older Mac running Tiger 10.4, so I upgraded to snow Leopard (10.6.4) and also downloaded mo
-
I have a new MacBook pro that will not turn on as the battery is no longer green. It turns orange why is that ? I have it plugged into an outlet with the charger as always and it was always green before?
-
Vendor approval for outside operation
Hi, I am trying to define a process for vendor approval for an external operation. We have service operations on our production orders and we are not using the 04 but only the 03 inspection type. Since the service operation is for account assignme