Mapping error :Collecting file : BpmPatternCollectTime

Hi
I am trying to use Multimapping with BPM,  for 3 files correlated based in some field value
but mY collectpattern is not workin, Workflow shows errror in Message Mapping Runtime exception
Attach Mapping
http://img255.imageshack.us/my.php?image=mappingaw1.jpg
Refered BPM from SAPBASIS
http://img413.imageshack.us/my.php?image=bpmsapbasisen1.jpg
steps relate to occurane in Source & target messaget type has been done..
but still the error is there...
I check the thread below , having the same issue and concern with BUG in display in SAP BASIS component display
BPM : Files are not appended in the container operation step
Regards
AshutoshR

I got the issue..
After changing the occurance of target MT to 0..Unbounded..
the XML content for source messge type also changes..
1 Message Tag is also added to Source Message Type..
BUT  the payload going as an input to this mapping is
not having the <Messages1> tag..
Here is the payload 
in SXMB_moni before mapping
<?xml version="1.0" encoding="UTF-8"?>
<ns0:MT_Source_File xmlns:ns0="urn:godb:bw:01">
   <row>
      <Field1>first file</Field1>
      <Field2>a</Field2>
      <Field3>1</Field3>
      <Field4>1</Field4>
      <Field5>1</Field5>
   </row>
</ns0:MT_Source_File>
XML payload  copied from  Message mapp  TEST TAB
<?xml version="1.0" encoding="UTF-8"?>
<ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
   <ns0:Message1>
      <ns1:MT_Source_File xmlns:ns1="urn:godb:bw:01">
         <row>
            <Field1/>
            <Field2/>
            <Field3/>
            <Field4/>
            <Field5/>
         </row>
      </ns1:MT_Source_File>
   </ns0:Message1>
</ns0:Messages>
Regards,
AshutoshR

Similar Messages

  • Mapping error for file scenario.

    Hi ,
    I am working with the help of this scenario to pick only selected files.
    /people/mickael.huchet/blog/2006/09/18/xipi-how-to-exclude-files-in-a-sender-file-adapter
    I am getting error in mapping . Everything i have checked its correct . Mapping is correct . but still its giving error . how can i solve it .
    Error : RuntimeException in Message-Mapping transformatio~
    Thanks ,
    Syed.

    Dear Syed Kumar
    Based on the blog you are executing the scenario I guess. The scenario is clearly focusing on the picking up the files using the mask attribute in File Access Parameters.
    As you mentioned clearly, that you are getting mapping error plz concentrate on how to rectify the mapping errors.
    will guide to do so.
    1. Go to SXMB_MONI and in the integration server and check for the message you are trying send.( I hope you did this)
    2. As it is giving you mapping error, Double click onthe message Flag showing red.
    3.Plz check the Payload XML content copy that content and paste in the message mapping Test section of IR.
    4. Execute the Test. If you get the message at the receiver side there shouldn't be any error.
    If you still get the error let me know.
    Best of Luck
    Reward Points If found use ful.
    Edited by: Praveen Kurni on Jun 13, 2008 7:43 AM
    Do the Interface mapping test as well if you are successful in message mapping.

  • Mapping error in File to File Scenario.

    In a file to file scenario some times sender communication channel picked the file, before the file is completely copied to the directory Though the poling intervals is 300 seconds. To my assumption, assume that the sender communication channel lastly polled on 10:10:10 and i am coping a file after 285 sec that is 10:14:55 and file size is 20 mb that takes 50 sec to copy. but the next sender communication channel poling is 10:15:10. here the file is partially copied but the communication channel picked the file and process. The scenarios throws mapping error because of in correct input file. This rarely accords but how to handle this. i want the cc to wait until the file is completely copied to the dir and then poll.

    Hi ,
    But there is some problem with system i guess. Adapter engine first load the whole file and then send it to Integration engine where after receiver and interface determination , mapping is excuted. So the fact that adapter picked up half of the file and tried to process does not seem correct.
    Ideally this behaviour should not occurs.
    If you are observing similar with all the adapter , you should also cross check with SAP support team.
    Ranjeet Singh.

  • Mapping Errors Log file to be sent via FTP

    Hi All,
    Functional specs of a file to file scenario require to create an aditional log file containing the file name, creation date and a list with the lines were a problem occurred with an error description and then send it to R3 via FTP.
    Does anyone know if it's possible or not? and if it's possible, how could I do that?
    Thanks in advance.
    Cheers.

    Daniel,
    This is possible.
    1. To get the Source File name and and appned the date to it, you can use Adapter Specific Identtifers -- File Name in the Sender and receiver file adapter and in the message mapping, set the file name using this code,
    2. Rest of error handling can error record creation for the error file can be handled via the mapping itself.
    String newfilename="";
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
    // Get Sourcefilename
    String oldfilename=conf.get(key);
    //get the date
    java.text.SimpleDateFormat dateformat = new java.text.SimpleDateFormat( "yyyyMMdd" );
    dateformat.format( new java.util.Date() );
    //append source+date+L
    String nwfilename=oldfilename+dateformat;
    conf.put(key, newfilename);
    Regards,
    Bhavesh

  • Catch Mapping Error in File to IDoc scenario

    Configured BPM and now learning Error Handling. I know that through BPM we can handle system Errors, but I doubt whether Mapping error is a system error.
    I am interested to know the classification of errors with examples, preferably listing out all types of errors.
    Please provide some weblogs or explain briefly how to handle system and application errors through BPM.
    Thanks,
    Raja

    Hi Raja,
    You will need CCMS if you want to send the Alerts to external system or you want to access the ALerts from the transaction. You can capture your alerts without this also.
    When you go to Alert Configuration in the Runtime Workbench you can see Create Alert Rules. These rules are pertaining to the error generated in your AF,AE or IE.
    Once you have completed the whole config. The error happening in the AE, IE or AF would trigger the alert. you can see this in your Alert Inbox.
    The best would be if you go through the URL I have mentioned below.
    http://help.sap.com/saphelp_nw04/helpdata/en/80/942f3ffed33d67e10000000a114084/content.htm
    You have to use BPM only if you want to do an activity after the alerts are raised. 
    Regards
    Vijaya
    Message was edited by: vijaya kumari

  • Mapping error in file(FCC) to rfc scenario

    Hi,
    i am trying to implement mapping in file (fcc) to rfc scenario. the source file is getting picked up, but the problem is arising during mapping. i am unable to generate the target structure. i am attaching mapping structure as follows
    Source Structure                           Target Structure: RFC
    storesales                                     -POSDW-CREATE_TRANSACTIONS_EXT
         recordset                                      it_transaction
           gmd_site_101                                 item
          gmd_site_102
          gmd_site_103
          gmd_site_104
    here the recorset is mapped to item, and fields of subnode gmd_site_101 is mapped to fields of subnode item. similarly, for the other subnodes. but when testing with xml file, the target field is not getting generated. in FCC parameters, ignorerecordset name is set to "true".
    any help would be very helpful..thanks in advance.
    warm regards,
    kartz

    hi
    You can test the data using payload from SXMB_MONI in message mapping test tool so as you can get to know the reason of failure.
    It would be better if you paste the error you are getting over there.
    Check if you have maintained the namespace in CC or not. it should be same maintained if you have kept namespace in message type.
    Also check in FCC parameters you must have used ignoreRecordsetName = true
    Regards
    Raj

  • Help! Urgent !- Mapping error - XML file format ?

    Hello,
    I can't load this xml file (by http adapter):
    <?xml version="1.0" encoding="UTF-8"?>
    <ZVG_GetOrderList_requ>
    <Orders>
        <Order MessageType="GETORDERLIST" DecimalSeparator="POINT" Currency="EUR">
            <CustomerCode type="AG">0330029839</CustomerCode>
            <Plant>1141</Plant>
            <SalesOrganisation>1141</SalesOrganisation>
            <DocType>1</DocType>
            <DistributionChannel>01</DistributionChannel>
            <Division>99</Division>
            <BeginDate>20040926</BeginDate>
            <EndDate>20041026</EndDate>
            <TransactionGroup>0</TransactionGroup>
            <CustomerOrderNumber />
            <ERPOrderNumber />
        </Order>
    </Orders>
    </ZVG_GetOrderList_requ>
    is there any problem in this file ?
    The message mapping seem to be correct
    do we have to add some tags in the file ?
    Thanks for your help
    Message was edited by: Fabrice Petetin
    Message was edited by: Fabrice Petetin

    I obtain the following error message :
      <?xml version="1.0" encoding="iso-8859-1" ?>
    - <Top>
      <First>BeginTrace</First>
      <Trace level="1" type="B">CL_MAPPING_XMS_PLSRV3-ENTER_PLSRV</Trace>
      <Trace level="2" type="T">......attachment XI_Context not found</Trace>
      <Trace level="1" type="T">Interface Mapping http://ZVGEPOWER_TRANSACTIONS ZVG_GetOrderList</Trace>
      <Trace level="3" type="T">Object ID of Interface Mapping A6AE36BEA38F36198AF80ECE75E2F905</Trace>
      <Trace level="3" type="T">Version ID of Interface Mapping 1AADFDF03E2611D9CF65DA19C0A82AA1</Trace>
      <Trace level="3" type="T">Mapping Steps 1 JAVA com/sap/xi/tf/_ZVG_GetOrderList_request_</Trace>
      <Trace level="2" type="T">Mode 3</Trace>
      <Trace level="3" type="T">Creating Java mapping com/sap/xi/tf/_ZVG_GetOrderList_request_.</Trace>
      <Trace level="2" type="T">Call method execute of the application Java mapping com.sap.xi.tf._ZVG_GetOrderList_request_</Trace>
      <Trace level="1" type="T">*** START APPLICATION TRACE ***</Trace>
      <Trace level="3" type="T">Document start</Trace>
      <Trace level="3" type="T">Start tag [ns0:BAPI_SALESORDER_GETLIST]</Trace>
      <Trace level="3" type="T">Add raw attribute [ xmlns:ns0="urn:sap-com:document:sap:rfc:functions"]</Trace>
      <Trace level="1" type="T">*** END APPLICATION TRACE ***</Trace>
      <Trace level="1" type="T">RuntimeException during appliction Java mapping com/sap/xi/tf/_ZVG_GetOrderList_request_</Trace>
      <Trace level="1" type="T">com.sap.aii.utilxi.misc.api.BaseRuntimeException: RuntimeException in Message-Mapping transformation: Cannot produce target element /ns0:BAPI_SALESORDER_GETLIST/CUSTOMER_NUMBER. 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:296) at com.sap.aii.mappingtool.tf3.Transformer.start(Transformer.java:68) at com.sap.aii.mappingtool.tf3.AMappingProgram.execute(AMappingProgram.java:236) 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.GeneratedMethodAccessor468.invoke(Unknown Source) 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 $Proxy22.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/_ZVG_GetOrderList_request_: com.sap.aii.utilxi.misc.api.BaseRuntimeException; RuntimeException in Message-Mapping transformation: Cannot produce target element /ns0:BAPI_SALESORDER_GETLIST/CUSTOMER_NUMBER. 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/_ZVG_GetOrderList_request_: com.sap.aii.utilxi.misc.api.BaseRuntimeException; RuntimeException in Message-Mapping transformation: Cannot produce target element /ns0:BAPI_SALESORDER_GETLIST/CUSTOMER_NUMBER. 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.GeneratedMethodAccessor468.invoke(Unknown Source) 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 $Proxy22.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:BAPI_SALESORDER_GETLIST/CUSTOMER_NUMBER. 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:296) at com.sap.aii.mappingtool.tf3.Transformer.start(Transformer.java:68) at com.sap.aii.mappingtool.tf3.AMappingProgram.execute(AMappingProgram.java:236) 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.GeneratedMethodAccessor468.invoke(Unknown Source) 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 $Proxy22.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>
      </Top>

  • Mapping error - Flat file to Flat file Scenario

    Hi All,
    Iam designing Flatfile to Flatfile Scenario.
    Source Structure
    RSET
    RSETSTRUCTURE 1-un
    S1  1-1
    S2  1-1
    S3  1-1
    target Structure
    RSET
    RSETSTRUCTURE 1-un
    R1  1-1
    R2  1-1
    R3  1-1
    Mapping
    RSETSTRUCTURE - RSETSTRUCTURE
    S1 - R1
    S2 - R2
    S3 - S3
    Flatfile is getting picked
    Iam getting Mapping exception.
    Please help.
    Regards,
    Jeevan

    Hi Raj,
    Iam sending the Inbound payload
      <?xml version="1.0" encoding="utf-8" ?>
    - <ns:MT_DB2_S_FF xmlns:ns="http://gsll.com/DB2">
    - <RSETSTRUCT>
      <S1>A</S1>
      <S2>A</S2>
      <S3>A</S3>
      </RSETSTRUCT>
    - <RSETSTRUCT>
      <S1>B</S1>
      <S2>B</S2>
      <S3>B</S3>
      </RSETSTRUCT>
      </ns:MT_DB2_S_FF>
    regads,
    Jeevan

  • Cannot successfully collect files on AE CC on Mavericks 10.9.3

    Cannot successfully collect files on AE CC 12.2.1.5 on Mavericks 10.9.3. The files are on a server and all living in one folder. When testing I do not have this error collecting files that are on my main drive or RAID. Is anyone else experiencing this?

    I was experiencing this continuously. Maybe you have a different issue, but this may help.
    My problem was that AE was always alerting me about missing footage, obviously the problem was not about missing footage, because in the Project Panel there was no missing footage (note that if this is happening After Effects stop the entire process, so copying the “missing footage” will not solve it. Also: When the Generating Report Only checkbox was active this error never occurred.
    I figured it out that the real problem was about file names too long. Online I found some articles and discussion confirming that the problem should be because of characters file names, paths, folder structure, special characters, etc.
    A clue come from the point Unicode conversion for robust support for characters (in file names, paths, etc.) of this old article: http://blogs.adobe.com/aftereffects/2013/04/whats-new-changed-after-effects-next.html
    So to recap try to ensure that in your Project Panel none of the file names is too long (I don't know which is exactly the limit), is containing special characters, and try to simplify your folder structure.
    In details I solved it following this steps (obviously the first three steps are to reduce, clean and simplify the project if it has a lot of files, folders and/or if it’s a complete mess):
    Reduce Project selecting just the really needed compositions to get rid of what I don't need
    Run the Project Cleaner script (http://aescripts.com/project-cleaner/) to get rid of redundancies and for a deep cleaning
    Run the OrganizeProjectAssets script http://provideocoalition.com/dtorno/video/organize-project-assets-free-after-effects-scrip t - to simplify the folder structure
    Manual double check to the file names
    Collect Files
    Hope this help.
    Edit: Be careful when reducing and cleaning projects with expressions

  • Mapping Error- In IDoc to File scenario

    Hi Experts,
    Got the Mapping error for one interface (IDoc to file). After comparing with successful message found that the field value (TDLINE) is not availbale in first segment (E1EDT10) in idoc for this failed one.
    Mapping is :
    TDLINE -- Exists --- Creatif --- Receiver field(in the file)
    But here due to the the empty value in first segment the message is failed in XI system, next segment values is not trasmitted to the recever end(maping is the same above). To overcome this issue please suggest the suitable mapping design in IR.
    Regards
    Mahesh

    Hi,
    After your CreateIf, use a "IfWithoutElse" by selecting the properties "Keep SUPPRESS Values". To do that, do a right click on IfWithoutElse, choose "Properties".
    With this option, you will keep the fact that you have nothing in the source, and so the target context will have a "SUPPRESS" line.  I have not THE solution, so do your own test.
    If it's not enough, see also about the "mapWithDefault" (but that depends of your real rule).
    Regards.
    Mickael

  • Message Mapping Error in Text File to XML file Scenario

    Hi Gurus,
    This is Sudheer...I am New to SAP-PI......
    Below link is File to File Scenario(Text File to XML File)...
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/xi/basicFileAdapterContentConversion
    I am facing Message Mapping Error....I am not able to map the fileds...
    Please help me.
    -Sudheer

    Thanks Shabarish & Manisha for your reply....
    Ya I am getting error while I am testing in IR....
    I dont know how to map the fields that shown given below...
           Message Type         ---         Message Type
                 Record                              Employee
                     Header                                 EmployeeID
                         Key                              Name
                         EmpID                          Company
                         Name                            Phone
                         Company                       Prior_Employer
                         Phone                               Company         
                      Detail                                   Location
                          Key
                          Company
                          Location

  • File to idoc mapping error

    Hi,
    I am mapping a flat file to idoc in xi. If I execute the test data it works fine. But in actual run, it gave me the following mapping error:
    com.sap.aii.utilxi.misc.api.BaseRuntimeException thrown during application mapping com/sap/xi/tf/_MM_MT_APPayment_to_FIDCCP02_: Runt
    imeException in Message-Mapping transformatio~
    Exception of class CX_XMS_SYSERR_MAPPING
    Is it due to some mapping error or some basis config issue?
    Thanks,
    Jassi

    Hi Jassi,
    This may be a mapping issue, try this:
    a)in interface mapping see if grids are formed at source and target after executing the test option,
    b)also take the xml of the idoc from sxmb_moni , copy it and paste it at the source of the mapping ( use the src tab now) and execute the mapping, is your file structute formed?
    Check the following link:
    /people/michal.krawczyk2/blog/2005/09/16/xi-how-to-test-your-mapping-in-real-life-scenarios
    Amaresh

  • XI Flat File to JDBC Mapping Error

    Hi,
    I have been trying to insert some records from a flat file into a sybase database using the FILE adapter (with file content conversion) as a sender and the JDBC adapter as a reciever, but I keep getting mapping errors like:
    RuntimeException during appliction Java mapping com/sap/xi/tf/_mm_hh_file__hh_sybase_nombres_</Trace>
      <Trace level="1" type="T">com.sap.aii.utilxi.misc.api.BaseRuntimeException: RuntimeException in Message-Mapping transformation: Cannot produce target element /ns0:mt_hh_sybase_nombres/STATEMENTNAME. 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
    I have read through some blogs and I still can't figure out what is wrong.
    Flat pipe separated file:
    Hans|Robert|Hahn|Gallegos
    Karina|Maria|Cordoba|Gutierrez
    Datatype for this file looks like this:
       Record                         1
          Row                          1...Unbounded
             Nombre                  1
             SegundoNombre     1
             ApPaterno              1
             ApMaterno             1
    Because the FILE adapter uses Content conversion, the file translates to:
      <?xml version="1.0" encoding="utf-8" ?>
      <ns:hh_test xmlns:ns="http://me.com">
      <Record>
         <Row>
          <Nombre>Hans</Nombre>
            <SegundoNombre>Robert</SegundoNombre>
            <ApPaterno>Hahn</ApPaterno>
            <ApMaterno>Gallegos</ApMaterno>
         </Row>
         <Row>
           <Nombre>Karina</Nombre>
           <SegundoNombre>Maria</SegundoNombre>
           <ApPaterno>Cordoba</ApPaterno>
           <ApMaterno>Gutierrez</ApMaterno>
         </Row>
        </Record>
      </ns:hh_test>
    My database table looks like this:
    Nombres
    ApPaterno
    ApMaterno
    Datatype for this table looks like this:
    STATEMENTNAME    1..Unbounded
      nombres                  1
        action                    optional
        TABLE                  1
        access                  1
          Nombres             1
          ApPaterno           1
          ApMaterno           1
    MAPPINGS as follows:
    Record ------> no mapping
    Row ------> STATEMENTNAME
    Constant ------> action
    Constant ------> TABLE
    Nombre + SegundoNombre ------> Nombres
    ApPaterno ----> ApPaterno
    ApMaterno ----> ApMaterno
    How do I do the mapping ? I've been through a lot of blogs and threads but I haven't found an example like this, a flat pipe separeted multiline file with records to be inserted in a database.
    Message was edited by:
            Hans Hahn

    Hans,
    The error shows you have an error in mapping. Also you have mapped constant for ACTION and TABLE. Here you have to hardcode the value INSERT or UPDATE etc for ACTION and the name of the table for TABLE.
    Check this weblog where he has mentioned everything what you are looking for:
    /people/sap.user72/blog/2005/06/01/file-to-jdbc-adapter-using-sap-xi-30
    Also once when you are done with mapping try to execute it in the test tab of mapping editor.
    ---Satish

  • BIC mapping error with Text as trasnfer mode & File type

    Hi guys,
    I am using ftp adapter in my sender channel and also using BIC mapping in the sender side.
    When i specify "Binary" as my transfer mode as well as File type, It is working fine.
    When i specify "Text" as my transfer mode as well as File type, i am getting the below BIC mapping error. According to client requirement i am supposed to use Binary. Can anyone help me on this.
    SEEBURGER BICXIADAPTER --- CONVERSION ERROR ---Error: [Error:ID=2023;LEVEL=1] InhouseDocReader readNextSegment(): offset[12(read Segment : BILLINGHEADER)]: caught ReadingException: only whitespaces as fill characters allowed!, Trace: [com.seeburger.jucon.dochandler.util.WrongFormatException: only whitespaces as fill characters allowed! at com.seeburger.jucon.dochandler.inhousereader.InhouseSegmentReader.readNextSegment(InhouseSegmentReader.java:384) at com.seeburger.jucon.dochandler.inhousereader.InhouseSegmentReader.readNextSegment(InhouseSegmentReader.java:193) at com.seeburger.jucon.dochandler.InhouseDocReader.readNextSegment(InhouseDocReader.java:2399) at com.seeburger.jucon.dochandler.InhouseDocReader.moveNext(InhouseDocReader.java:1818) at com.seeburger.jucon.mapping.E2X_DT_BILLINGDATA_2.main(E2X_DT_BILLINGDATA_2.java:991) at com.seeburger.jucon.mapping.Mapping.run(Mapping.java:2313) at com.seeburger.jucon.seebicapi.BICMapping.runMapping(BICMapping.java:1636) at com.seeburger.jucon.seebicapi.BICMapping.run(BICMapping.java:2386) at com.seeburger.jucon.seebicapi.BICMapping.startSyncMapping(BICMapping.java:1343) at com.seeburger.bicxiadapter.CCIInteraction.convert(CCIInteraction.java:1167) at com.seeburger.bicxiadapter.CCIInteraction.convertCalledFromModule(CCIInteraction.java:873) at com.seeburger.bicxiadapter.CCIInteraction.execute(CCIInteraction.java:294) at com.seeburger.bicxiadapter.module.CallBicXIRaBean.process(CallBicXIRaBean.java:363) at com.sap.aii.af.mp.module.ModuleLocalLocalObjectImpl0_0.process(ModuleLocalLocalObjectImpl0_0.java:102) at com.sap.aii.af.mp.ejb.ModuleProcessorBean.process(ModuleProcessorBean.java:292) at com.sap.aii.af.mp.processor.ModuleProcessorLocalLocalObjectImpl0_0.process(ModuleProcessorLocalLocalObjectImpl0_0.java:103) at com.sap.aii.adapter.file.File2XI.send(File2XI.java:3672) at com.sap.aii.adapter.file.File2XI.processFtpList(File2XI.java:2408) at com.sap.aii.adapter.file.File2XI.invoke(File2XI.java:630) at com.sap.aii.af.service.scheduler.JobBroker$Worker.run(JobBroker.java:513) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(AccessController.java:219) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172) ] DESCRIPTION: InhouseDocReader causes an ReadingException while trying to read the next segment of current file, abort

    Hi Pratichi,
    in my point of view having text as the file type,the file will be having characters that are used for Segment separators or Element separators ( like space ) in the standard EDI format message.  Hence it is throwing exception in X2E mapping. It is just my point of view but not sure.
    Thanks,
    Shabbir.

  • File Adapter -- File Format (Mapping Error)

    Hi All, am using a file adapter to pick up file using content conversion , but i can see it happens to be mapping error, i have set all in right format but below one thing i cud not understand how to change, as shown bellow.
    Test XML format in mapping:
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:MT_DMS_FINAL xmlns:ns0="http://dms:scenario">
       <Record>
          <Row>
             <FirstName/>
          </Row>
       </Record>
    </ns0:MT_DMS_FINAL>
    actual XML picked up by Sender File Adapter:
      <?xml version="1.0" encoding="utf-8" ?>
      <ns:MT_DMS_FINAL xmlns:ns="http://dms:scenario">
      <Record>
      <Row>
      <FirstName>296501_000_00</FirstName>
      </Row>
      </Record>
      </ns:MT_DMS_FINAL>
    The difference between both is the "ns0" and "ns" , how to make it equal , which part is to be modified to make it equal, kindly revert back with solution.
    With regards
    Srinivas

    Hi ,
    Thx for replies , i followed as shown in above blog and went fine but there is mapping error as shown below,
    xml format after pick by sender file adapter
      <?xml version="1.0" encoding="utf-8" ?>
      <MT_DMS_FINAL>
      <Record>
      <Row>
      <FirstName>296501_000_00</FirstName>
      </Row>
      </Record>
      </MT_DMS_FINAL>
    xml file format from test tab in Message mapping
    <?xml version="1.0" encoding="UTF-8"?>
    <MT_DMS_FINAL>
       <Record>
          <Row>
             <FirstName>296501_000_00</FirstName>
          </Row>
       </Record>
    </MT_DMS_FINAL>
    See above xml first statment is different , how to make it equal
    Help
    Srini

Maybe you are looking for

  • Macbook pro shipping to apple store?

    When will the apple stores get their new shipments of the new macbook pro? i live in oahu, hawaii.

  • ISE PSN rebooted and will not rejoin distributed deployment

    Hi, A PSN was powered down by accident and I'm trying to register it back to its PAN as part of a distributed deployment but I keep getting the error message "ISE not in Standalone mode". I'm not sure how to set the PSN node back to Standalone mode w

  • How to put an HTML file into JEditorPane

    Hi I am doing an aplication on swing.But I don't know how to add a html file to the JeditorPane keeping the html file on the source code. i.e my html file is in my source code.Then how to add this source code to Jeditor pane. Thanks Srikant

  • Firefox3 Browser Buttons are Missing

    I've been the second release candidate of Firefox for a while now, and I gotta ask: What happened to the back and forward buttons?  For some reason, I don't have them on my browser.  Is this because of a bug, or did they strip them out in firefox3? 

  • Error when running diagnostic utility

    Hi, I installed Web Center WebCenterInteraction_10.3.0.0.0 on windows xp and followed the documentation http://download-llnw.oracle.com/docs/cd/E13158_01/alui/wci/docs103/map_wci_win_installguide_10-3/index.html I am using weblogic 10.3 server Oracle