File-name not being fetched in a multi-message mapping by Dynamic Conf

In a scenario, i have a BPM which has a transformation step which contains a mutimapping ...means 2 messages mapped to 1 messgaes, here in the mapping i m using an UDF and written code to extract the file name from dynamic configuration.....
the problem is ...the same BPM contains another transformation step which contains a message mapping (which is not multi mapping), and here the code (UDF) works to fetch the file name...
the code is all correct....and it looks like
DynamicConfiguration conf = (DynamicConfiguration)
container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
String sourceFileName = conf.get(key);
if (sourceFileName == null ){
sourceFileName = "ErrorFile.xml";}
return sourceFileName;

Hi,
The scenario I am trying to test is a multi mapping scenario where I am trying to split one source message and create two target messages by using two different receiver interfaces, one for each message.
I am on PI 7.1 and when I test message mapping and operation mapping using the payload from SXMB_MONI, it is successful. Whereas when I test the scenario end to end I am getting the following error messages:
Operation Mapping
Employee_Out_SI_To_Employee1_In_SI_AND_Employee2_In_SI_OM
Name
Employee_Out_SI_To_Employee1_In_SI_AND_Employee2_In_SI_OM
Namespace
http://accenture.com/1:N_multi-mapping
Runtime error
Split mapping created no messages
Start tag ns0:Messages Add raw attribute xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge" Start tag ns0:Message1 Close tag ns0:Message1 Start tag ns0:Message2 Close tag ns0:Message2 Close tag ns0:Messages
Could someone please help
Cheers,
S

Similar Messages

  • JavaScript files are not being updated while updating managed solution over Dynamics CRM Online

    Hi Support,
    While I am updating a managed solution over Dynamics CRM 2013 Online, JavaScript files are not being updated and is showing the source as of the last version of the managed solution. 
    I tried the same versions of solution on my CRM 2013 on-premise install (test organization) and it updated successfully.
    This is a bit urgent issue. Please suggest how to resolve this.
    Online version of the CRM is
    Microsoft Dynamics® CRM Online Spring '14
    (6.1.1.1855) (DB 6.1.1.1847)
    blog: <a href="http://technologynotesforyou.wordpress.com">http://technologynotesforyou.wordpress.com</a> | skype: ali.net.pk

    Our technical team managed to find the immediate cause for the problem, and a solution.
    According to them there was a corruption on a speciffic OLAP file. By deleting it, they allowed it to be recreated on the next application processing. The file in question was found in \Microsoft SQL Server\MSSQL.2\OLAP\Data\UGF.0.db\<APPLICATION>.38.cub.xml
    Where <APPLICATION> is the name of the problematic cube.
    After that everything is working.

  • Images and .properties(bunldes) files are not being found from my JSPs

    Hi,
    I have created .ear file by using ANT Application. And deployed into Oracle9iAS(OC4J). Here problem is that images and .properties(internationalization bundles)files are not found from JSPs.
    Here is my directory structure.
    public_html--->locale -->BusinessEntity -->businessentity_en_US.properties
    --->enterprise -->images -->knowldege.jpg
    --->BusinessEntity-->BEAdd.jsp
    in my jsp bundle(.properties)file is accessed like this:-
    <i18n:bundle baseName="/locale/-->BusinessEntity/businessentity" id="businessentity" locale="<%= locale %>" />
    in my jsp images accessed like this:-
    src="/enterprise/images/knowldege.jpg".
    In my working environment, without creating .ear file, images and .properties files are being found my JSPs. But if i create .ear file and after deploy, images and .properties files are not being found my JSPs.
    please let me know where i might did wrong
    thanks in advance
    srinivas

    Hi i am again. Here is my configuration files(server.xml and default-web-site.xml)
    server.xml :-
    <?xml version="1.0"?>
    <!DOCTYPE application-server PUBLIC "-//Evermind//DTD Orion Application-server//EN" "http://xmlns.oracle.com/ias/dtds/application-server.dtd">
    <application-server application-directory="../applications"
    deployment-directory="../application-deployments"
    >
         <library path="../tools.jar" />
         <rmi-config path="./rmi.xml" />
         <jms-config path="./jms.xml" />
         <log>
              <file path="../log/server.log" />
         </log>
         <transaction-config timeout="30000" />
         <global-application name="default" path="application.xml" />
         <application name="nalluri" path="../applications/trainiumear.ear" auto-start="true" />
         <global-web-app-config path="global-web-application.xml" />
         <web-site path="./default-web-site.xml" />
         <cluster id="-1640090707" />
    </application-server>
    default-web-site.xml:-
    <?xml version="1.0"?>
    <!DOCTYPE web-site PUBLIC "Orion Web-site" "http://xmlns.oracle.com/ias/dtds/web-site.dtd">
    <web-site port="8888" display-name="Default Oracle9iAS Containers for J2EE Web Site">
         <default-web-app application="nalluri" name="Commonwar" />
         <access-log path="../log/default-web-access.log" />
    </web-site>
    thanks in advance
    wating for reply
    srinivas

  • Getting error logical file name not maintained adequtely

    Hi,
    when i execute a z report and press the download botton getting error logical file name not maintained adequtely,see long text.
    Below code i wriien. Please somebody help..
        DATA: lt_rows TYPE lvc_t_row.
        CASE e_ucomm.
          WHEN 'DOWNL'.
    Determine and construct OS specific file name                        *
            PERFORM get_file_name_for_os.
    in the  above perform , i wriien
    FORM build_file_name USING pf_os
                               pf_with_file_extension
                               pf_param_1
                               pf_format
                               pf_fname.
      DATA: lf_para1(20) TYPE c.
    pf_param_1 hold the materialnr with leading zeros not prefered in    *
    download file name                                                   *
      WRITE pf_param_1 TO lf_para1.
      CALL FUNCTION 'FILE_GET_NAME'
        EXPORTING
      CLIENT                        = SY-MANDT
          logical_filename              = 'Z_MATERIAL_BOM_FILE'
          operating_system              = pf_os
          parameter_1                   = lf_para1
      PARAMETER_2                   = ' '
      PARAMETER_3                   = ' '
      USE_PRESENTATION_SERVER       = ' '
          with_file_extension           = pf_with_file_extension
      USE_BUFFER                    = ' '
        IMPORTING
      EMERGENCY_FLAG                =
        file_format                   = pf_format
        file_name                     = pf_fname
    EXCEPTIONS
       file_not_found                = 1
       OTHERS                        = 2
    Error handling.
      CASE sy-subrc.
        WHEN '1'.
          MESSAGE e014(ba) WITH 'Z_MATERIAL_BOM_FILE'.                     "error message i am getting      LEAVE.
        WHEN '2'.
          MESSAGE e213(ky) WITH 'Z_MATERIAL_BOM_FILE'.
          LEAVE.
      ENDCASE.

    Hi.
    In file txn,
    click on "Logical File Name Definition, Cross-Client" from the left.
    Then click position and check for your logical file name.
    If you dont get it, it means you need to create it. You can click on New Entries to create.
    Thanks
    Mani

  • How I can sort music files (audiobook) in music player on iPhone by file name, not by title name?

    I have audiobook of abt.500 files, all titles are the name of the book. iPhone music player does not understand sorting by file names, but by title, hterfore it plays files chaotic. So, how I can sort audiobook files in music player by file name, not by title name?

    I have the same problem.
    I've went through the pains of merging all chapters into one big file for each and every audiobook, so that at least the chapters don't get played in random order. Month and month of work….. In iTunes 12.01. I can now order my audiobooks by title or by author.
    But once they're uploaded to my blo*dy expensive iPhone 6Plus 128 (which I bought especially to have all my music and my audiobooks on one device) my audiobooks are NOT sorted by author, but by Title.
    So, let's say I have 15 books by Ken Follet, they don't appear as Ken Follet > Title of the book but they are sorted alphabetically with all the other titles of other authors.
    iPods where originally designed for music and audiobooks, but each and every version of iOS makes handling your music and especially your audiobooks harder and harder….
    I am very disappointed and after so many years of using apple, I am considering to move on to android devices.

  • Sort downloads by file name not type?

    Wondering if anyone can help me here. I'm trying to either make a script or automator workflow that will sort my downloads by file name, not file type.
    To cut to the point, I'd like say Reno 911, The Daily Show and the Colbert Report to go to a Comedy Central folder, My shows to go to my folder and my wife's to go to hers, just keep the downloads tidy as they come in instead of having to clean the downloads folder manually every day.
    There a easy way to do this?

    Why not have two separate user accounts - your's and your wife's. Then she can select her own download folder in Safari preferences, and you can select yours. Set up the folder to display in List View and click on the Name column as the sort column (twice for descending order.)

  • Some chinese character file name not uploading in SharePoint Document Library?

    Hi
    Some Chinese character pdf file name not uploading in SharePoint Document Library. I am getting following error.
    1. File not found error if i would upload using file browse option in Doc Lib.
    2. Can't read from the source file or disk. if i would tried to copy and paste using "Open with explorer" options.
    File name is "LA(未签署).pdf"
    Note: This file has been converted from "TIFF" to "PDF".
    Thanks & Regards
    Poomani Sankaran

    Hi Poomani,
    For troubleshooting your issue, please let's verify the followings:
    Whether other pdf file which are not converted from "TIFF" and contain Chinese char could be uploaded into the SharePoint Document library.
    Whether other pdf file which are converted from "TIFF" and don't contain Chinese char could be uploaded into the SharePoint Document library.
    Please upload these pdf files into other libraries, compare the result.
    Please check the log file to find more information about this issue. The path of the log file is:
    C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\LOGS.
    Best Regards,
    Wendy
    Wendy Li
    TechNet Community Support

  • " File does not being with %pdf"

    Sir
    I have download a file from website. I use windows7 os. But there is a problem that a massege display " File does not being with %pdf". this problem is same in other browsers like- mozela firefox, google chrome etc. I use adobe reader 11. Please tell me its solution in detail.

    Originally posted by: bryant.harris.irisfinancial.com
    Upgrade to 2.1.0. The font stuff is fixed in 2.1.0
    Bryant
    "Brian Kallay" <[email protected]> wrote in message
    news:ege41t$9qp$[email protected]..
    > Hi,
    >
    > I am running BIRT 2.0.0 and pdf generation which works properly on windows
    > is not working correctly on linux (Red Hat Enterprise Linux ES release
    > 3). I am able to generate pdf's from charts but textual reports display
    > varying results from completely blank to "File does not begin with
    > '%PDF-'" errors depending on the report being used.
    >
    > I did find the following on a BIRT 2.0.1 project plan page, however I was
    > not able to find anything corresponding in bugzilla:
    >
    > "BIRT Runtime can not find font for PDF generation on Linux. PDF document
    > is missing text content although it displays images and outlines of
    > tables."
    >
    > This seems to describe the behavior I am seeing in many cases, however
    > with very simple reports the pdf contains the header row with the first
    > column header displayed so fonts are not failing completely.
    >
    > I am going to try upgrading to the newest BIRT version but I am hoping
    > that someone can confirm this is in fact a bug and not a configuration
    > issue that has a workaround for 2.0.0.
    >
    > Thanks,
    > Brian

  • ALL OF MY FILES ARE NOT BEING SAVED WHEN I CLOSE FINAL CUT PRO X ?

    ALL OF MY FILES ARE NOT BEING SAVED WHEN I CLOSE FINAL CUT PRO X ?

    WHAT FILES AREN'T BEING SAVED? WHAT FILES ARE SAVED?

  • BRARCHIVE file name is being truncated

    Dear All:
    After archive log backup through BRtools (SAP >>> dbacockpit); the copied file name is being truncated.
    see the below output.
    BR0202I Saving /oracle/QAS/oraarch/QASarch/1_11316_669885204.dbf
    BR0203I to /oracle/QAS/sapbackup/1_11316_669885204.dbf ...
    #ARCHIVE.. /oracle/QAS/oraarch/QASarch/1_11316_669885204.dbf
    #SAVED.... /oracle/QAS/sapbackup/1_11316_669885204.dbf  #1/1
    Kindly help me where i m doing mistake....
    regd
    AJ
    <subject_modified>
    Edited by: Juan Reyes on Sep 1, 2009 10:09 AM

    Use a proper subject.
    Read the "Rules of Engagement"
    failing to do so will mean you thread will be locked.
    Regards
    Juan

  • I can open some older numbers files but not others. I get a message that says I need a newer version of numbers.

    I can open some older numbers files but not other. I get a message saying I need a new version of numbers. Why would some files open and not others?

    SK,
    Here's the deal. If you ever open a Numbers file with Version 3, the file is converted to Version 3 and can't be opened again by Version 2. Version 2 and Version 3 are undoubtedly both on your machine and they look so similar that you may not realize which you are using. So, there are two steps to getting into trouble.
    1. Open a Numbers 2 file with Numbers 3, edit it and Close it.
    2. Try to open that file with Version 2. You ill get the error.
    To always get it right, find the file you want to open in Finder, Right-Click it and choose Open With... and pick Version 3 from the drop down list.
    If you have a file that you prefer to use only in Version 2, always use Open with... Numbers 2.3.
    Jerry

  • Error in Multi Message Mapping

    Hi,
    I am getting the following error in my multi message mapping scenario where I am trying to create 2 different output files from a single input file based on some condition. I tested the message mapping by using a test file and it works fine, but when I use the same file and test it end to end the scenario is failing with the following error.
    <?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="1">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="MAPPING">GENERIC</SAP:Code>
      <SAP:P1>Split mapping created no messages</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:Stack>Split mapping created no messages</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Is there something wrong with my configuration?
    The trace has the following content.
    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:Messages]</Trace>
      <Trace level="3" type="T">Add raw attribute [ xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge"]</Trace>
      <Trace level="3" type="T">Start tag [ns0:Message1]</Trace>
      <Trace level="3" type="T">Close tag [ns0:Message1]</Trace>
      <Trace level="3" type="T">Start tag [ns0:Message2]</Trace>
      <Trace level="3" type="T">Close tag [ns0:Message2]</Trace>
      <Trace level="3" type="T">Close tag [ns0:Messages]</Trace>
      <Trace level="3" type="T">Document end</Trace>
      <Trace level="1" type="T">*** END APPLICATION TRACE ***</Trace>
      <Trace level="2" type="T">Java mapping com/sap/xi/tf/_Employee1_MT_To_Employee1_MT_AND_Employee2_MT_MM_ completed. (executeStep() of com.sap.xi.tf._Employee1_MT_To_Employee1_MT_AND_Employee2_MT_MM_).</Trace>
      <Trace level="3" type="T">Message Type 1 Number of Messages 0</Trace>
      <Trace level="3" type="T">Message Type 2 Number of Messages 0</Trace>
      <Trace level="1" type="E">CL_XMS_PLSRV_MAPPING~ENTER_PLSRV</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 001</Trace>
      <Trace level="3" type="T">Pipeline CENTRAL</Trace>
      </SAP:Trace>

    Hi,
    The scenario I am trying to test is a multi mapping scenario where I am trying to split one source message and create two target messages by using two different receiver interfaces, one for each message.
    I am on PI 7.1 and when I test message mapping and operation mapping using the payload from SXMB_MONI, it is successful. Whereas when I test the scenario end to end I am getting the following error messages:
    Operation Mapping
    Employee_Out_SI_To_Employee1_In_SI_AND_Employee2_In_SI_OM
    Name
    Employee_Out_SI_To_Employee1_In_SI_AND_Employee2_In_SI_OM
    Namespace
    http://accenture.com/1:N_multi-mapping
    Runtime error
    Split mapping created no messages
    Start tag ns0:Messages Add raw attribute xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge" Start tag ns0:Message1 Close tag ns0:Message1 Start tag ns0:Message2 Close tag ns0:Message2 Close tag ns0:Messages
    Could someone please help
    Cheers,
    S

  • Query Regarding Multi-Message Mapping in Interface Mapping.

    Hi All,
    I've a query that can we use Multi-Message Mapping in Interface Mapping if:
    One mapping structure is simple one-2-one mapping and
    Second mapping is calling a stored procedure.
    Please give me some links if the answer is YES.
    Thanks in Advance.
    Regards,
    Sreedhar.
    Edited by: Sreedhar Av on Oct 12, 2009 1:26 PM

    Hi,
    Your question not clear buddy..what i understood is..
    If you want execute multiple message mappings in Interface mapping we can ,just add two mapping programs in interface mapping.first mapping program output is input to the second mapping program.
    If first mapping program is very simple,if you want to execute stored procedure in second level mapping write used defned fun ction to conect to data base or create JDMC receiver communication channel ,cal the communictaion channel in udf.write stored procedure in UDF.
    SEARCH for more info in sdn how to perform DBLOOKUPS.
    regards,
    Raj

  • Multi-Message Mapping based on value of field - (Without BPM)

    Hi.
    I am having a bit of difficulty with multi-message mapping without BPM. I want to map to message1 & message2 based on a field in the rows of the source structure.
    e.g.
    row1-Source-Field1=> (if equal 0)   => <b>Message1</b>-field1.
    row2-Source-Field1=> (if equal 10) => <b>Message2</b>-field1.
    To attempt to do this, I use the conditions in the graphical mapper:
    if row-Source-Field1 = 0   => Map "Row to MessageType1".
    if row-Source-Field1 = 10 => Map "Row to MessageType2".
    However when I test this the mapping only seems to consider the first row value in row-Source-Field1 and ignores the fact that row two has a value of 10. I think this has something to do with contexts etc..
    I would appreciate any help please.
    Regards.
    Mick.

    in that case try this out
    row1-source-field1 (remove context) -- UDF -splitbyvalue-target
    UDF1(for message 1)
    for(int i=0;i<field1.length;i++)
    if(field1<i>.equals("0"))
    result.addValue(<field to be mapped><i>);
    UDF2(for message 2)
    for(int i=0;i<field1.length;i++)
    if(field1<i>.equals("10"))
    result.addValue(<field to be mapped><i>);

  • Could Mapping Template  be used in Multi Message mapping

    I had a 1:1 message mapping: MM_A
    but later i foudd that the mapping should be 1:n
    Multi message mapping
    so firstly i created mapping template of MM_A
    but the template doesn't work when i am doing the multi mapping.
    Could Mapping Template  be used in Multi Message mapping?
    Thank you very much

    Hi leo,
    <i>
    Could Mapping Template be used in Multi Message mapping?</i>
    Yes it can be used......
    Regards,
    Abhy

Maybe you are looking for

  • Shared File Missing from Time Capsule

    This morning all of my shared files are missing.  There used to be two folders in the time capsule file and now there is only one "DATA" which is where our workstation backups go.  The other one was a Shared File where we put all of the files we shar

  • Expand folders in Detail Navigation by default

    Has anyone figured out a way to have the folders in details navigation expanded by default the first time the user clicks on the tab?  I tried this: Expand all folders in the detailed navigation by default on click of Role But it didn't work for me. 

  • Slow File I/O with newer compilers (SPARCompiler 5 and gcc 3)

    Well it's more like slow File I, as I'm only really testing Input, but anyway, here goes... I have a simple program that takes a file of about 250mb and simply loops through the file reading it in chunks of 8,192 bytes. Basically I'm timing the read

  • Is it possible to get LS name from SLD when the scenario is executed

    can I create a scenario that gets the Technical system details of the Business system from SLD? Can I have a Soap - File scenario, in which case, once the request comes from Soap, corresponding Business system's Technical system details ( like LS nam

  • Issues with Internet Explorer and iTunes

    I'll pull up iTunes and any other window and iTunes will keep popping up over any other window I'm trying to view, music playing or not. It gets aggrivating trying read the news and iTunes to keep popping up any have this problem or does anyone know