How to retrieve message structure name of an incoming XI message?

Hi,
Is it possible to reveal the message structure name of an XI message, that is send through a proxy?
Background:
I have a ABAP proxy that passes a XSD message from XI to the Mobile Middleware. I need the name of the that message structure in order to generate Mobile Business Objects from it.
There should be an API available for that.
I would appreciate your help.
Best Regards,
Michael

Hi Lucas (says Lucas),
After a little digging and trying out things I have found the solution.
The Advanced Components palette available in the Mapping Editor has a section Mediator Functions. The getProperty() function shown there can be used to extract header properties. The property I am after is called jca.file.FileName, and can be assigned in the XSLT document like this:
<ns2:filename>
<xsl:value-of select="mhdr:getProperty('in.property.jca.file.FileName')"/>
</ns2:filename>
Note that the Assign Values dialog that is available in the Mediator editor has a long list of many names of properties that are available, including jca.file.Directory and jca.file.Size as well as many properties for the AQ, BPEL and EBS adapters.
hope this helps any one besides myself.
bye for now,
Lucas

Similar Messages

  • How to retrieve the parameter names from a JSP page ? Urgent Please

    Hello,
    Can anybody tell me how to retrieve the parameter names from the JSP
    page. (without using getParameterNames() method.)
    The problem with the getParameterNames() method is I get the Jumbled output.
    I need it very badly
    With regards
    Ananth R
    email:[email protected]
    [email protected]

    Dear duffymo,
    My primary intention is to convert the JSP form information into a XML file.
    If I do not get the Parameter names in the correct order how can I maintain
    tag order in XML file.
    For ex: (JSP PAGE VIEW)
    Name--
    FirstName
    MiddleName
    LastName
    Address--
    Street1
    Street2
    City
    Country
    &so on
    (XML File to be generated)
    <Name>
    <FirstName>Value</FirstName>
    </Name>
    <Address>
    <street1>value</street1>
    </Address>
    & so on
    If I use getParameterNames() to get all the parameter names(Which form the tag names in the XML file ) the Enumeration object it returns will not be in the same order as the text fields in JSP.From this I can not construct a meaningful XML file.
    order means: Order of entry on the page, from top to bottom
    That's it
    Waiting for your responses

  • How to retrieve various file names from a filepath of application server

    Hi All,
    I am using a FILEPATH  of application server which can have multiple file names i want to retrieve data from all the existing files.
    i am using FM "GET_NAME_FILE" but it is applicable only for file name.
    so my question is how to fetch various file names of particular filepath.
    Thanks in advance.

    Hello Mayank,
    You can use the below FM and code
    PARAMETERS: p_file TYPE rlgrap-filename.
    ***AT Selection-Screen*******
    AT SELECTION-SCREEN ON  VALUE-REQUEST FOR p_file.
    ***Function  module for F4 help from Application  server
      CALL FUNCTION '/SAPDMC/LSM_F4_SERVER_FILE'
    * EXPORTING
    *   DIRECTORY              = ' '
    *   FILEMASK               = ' '
       IMPORTING
       serverfile             =  p_file
       EXCEPTIONS
       canceled_by_user       = 1
       OTHERS                 = 2
      IF sy-subrc = 0.
        MESSAGE 'Successful'  type 'I'.
      ENDIF.
    Regards,
    Mithun Shetty

  • How to retrieve the Field Name of a Table

    Hi guys,
    I'm trying to retrieve the field name of a table in java, but i don't know how to do it. Could somebody help me?Let say i have a table name Itemmaster, then
    i want to retrieve its field and display to dos prompt.
    Example :
    Item No.
    Description
    Quantity
    It is possible to retrieve the fields?
    What could be the possible command in java using packages Java.sql.*?
    Thanks in advanced...
    Best regards,
    Dharry

    The ResultSet class, which is how query results are returned in JDBC, has methods to get at the metadata for the table queried, including column names:
    ResultSet resultSet=statement.executeQuery("select * from table");
    resultSetMetadata=resultSet.getMetaData();
    resultSetMetadata.getColumnLabel(column+1);

  • How to Retrieving Mandatory Filed name from Tcode.

    Hi,
    I need to retrieve mandatory field names from tcode like (mm01)  using abap programming..
    How to find that field name is mandatory?
    Thanks and Regards,
    Meena

    Hi Meena,
    I guess you need to manually find it out and make z-table which can be used for further logic.
    Once you have table for required fields, you can even add/remove any field depending on your requirement.
    I also faced the same issue and we maintained it in ztable as follows.
    MANDT  
    FIELDNAME   
    STATUS
    For STATUS , create fixed domain values as "REQUIRED", "HIDDEN", "GRAYED OUT".
    I hope this will help you.
    Regards,
    Rahul Mahajan

  • How to retrieve Process Role Name

    Hi @ all,
    can anyone tell me how to retrieve the Name of the actual processing Role in a web dynpro callable object.
    Until now I just found out how to get the technical name in the execute() method. Unfortunately it's not the human readable name.
    e.g.
    String name  = executionContext.getProcessRoleInstance().getProcessRoleTechName();
    Thanks and Regards
    Robert

    Hi Robert,
    After you created a process, block, action, and your WD GP interface callable object and would retrieve this information in custom way you can use the following coding:
    <code>
    String processId = executionContext.getProcessId() ;
    IGPRuntimeManager runtimeManager = GPProcessFactory.getRuntimeManager() ;
    IGPProcessInstance process = runtimeManager.getProcessInstance(processId, getCurrentUser()) ;
    IGPProcess processTemplate = (IGPProcess)process.getTemplate() ;
    int gpRolesSize = processTemplate.getRoleInfoCount() ;
    String roleDisplayName = null ;
    for (int i = 0; i < gpRolesSize; i++)
           IGPRoleInfo role = processTemplate.getRoleInfo(i) ;     if (role.getRoleName().equals(roleTechName))
                roleDisplayName = role.getText()
                break ;
    </code>
    Best regards,
    Aliaskei

  • How to retrieve child attribute names in XML?

    How do I retieve only the child attribute names from the XML.
    XML:
    <catalog>
         <book>
               <author></author>
               <title></title>
               <genre></genre>     
               <price></price>    
         </book>
    </catalog>Expecting result:
    author
    title
    genre
    price
    I tried with the SAX Parser and class extending DefaultHandler it returns catalog and book aswell which I do not want to retrieve.
    public void startElement(String namespaceURI, String localName,
                                     String qName, Attributes atts)  {
                   System.out.println(qName)
    //this returns catalog and book along with the other attribute names
    }

    gsry wrote:
    jverd wrote:
    Your problem is not clear. Are you saying you want only the leaf nodes? Or are you saying you want all the /catalog/book child nodes, even if they're not leaf nodes? Or something else?I do not know what leafy nodes mean but i want to retrieve all the child nodes (tag names).
    <catalog>
         <book1>
               <author1></author1>
               <title1></title1>
         </book1>
         <book2>
               <author2></author2>
               <title2></title2>
         </book2>
    </catalog>In this example i want to retrieve author1, title1, author2, title2
    Also, you're still not specific enough. For instance, what if there's another layer before author and title. Do you want that? What about if there's another level under author and title, do you want that? Can those situations even happen?
    Do you want nodes at a certain level?
    At a certain level and below?
    Always author and title nodes, regardless of where they appear?
    Always author and title, but only if they're immediately enclosed by book? Or by book<some number>?
    Author and title only when they're under /catalog/book?
    If you can't specify your requirements precisely, it's going to be awfully hard for someone to help you.

  • How to retrieve form user name?

    Hi !
    If I catch from v$session module name (i.e. CEXCABMR form) how to get the name to ask user what is he/she doing on that form....
    You know "CEXCABMR" is not a good name for them....
    THX

    THX that was in the same time as my solution:
    set linesize 220;
    set pagesize 1600;
    set head on;
    col form_name for a15;
    col user_form_name for a36;
    col language for a3;
    col app_us for a25;
    col app_hr for a25;
    col creation_date for a20;
    col last_update_date for a19;
    accept form_name char prompt 'Input SHORT form name (Enter for all): ';
    break on form_name on user_form_name
    SELECT DISTINCT
      form_name,
      ftl.user_form_name,
      (select application_name from apps.fnd_application_tl tl where tl.application_id=atl.application_id and language='US') app_us,
      (select application_name from apps.fnd_application_tl tl where tl.application_id=atl.application_id and language='HR') app_hr,
      to_char(ftl.creation_date,'dd.mm.yyyy hh24:mi:ss') creation_date,
      to_char(ftl.last_update_date,'dd.mm.yyyy hh24:mi:ss') last_update_date
    FROM
      apps.fnd_form frm,
      apps.fnd_form_tl ftl,
      apps.fnd_application_tl atl
    WHERE
          frm.form_name like '&form_name%'
      and frm.form_id = ftl.form_id
      AND ftl.application_id = atl.application_id
    ORDER BY 1,3,2
    ;

  • How to retrieve from structure RQM02?

    Hi all,
           Now, i have problem on retrieving value of NAME_QMSM field from RQM02 structure. However, I just able to get partner number from PARNR field of QMSM table. Is there got relationship between partner number PARNR with NAME_QMSM? Got any FM to use for retrieving value of NAME_QMSM based on partner number of PARNR?
    Thanks.
    Best Regards,
    Chee Boon

    Hi Vishal Chavan,
           I got value of PARNR field of QMSM table. I just don't know to pass the value to RQM02 structure to display value of NAME_QMSM field.
    Thanks.
    Best Regards,
    Chee Boon

  • How to retrieve Sales rep name tagged to AR Invoice in a query.

    Hi,
    We need to display the sales person name which is tagged to the AR Invoice for our internal sales commission tracking.
    The problem here is if we use OSLP table to get this information the data retrived is the Sales rep name as seen in the BP data.
    In our scenario, even though a slaes rep is linked to a particular customer, sales person are given incentives based on the Products sold hence for certain brand the sales employee for that Invoice is allowed to change.
    When we create a query to list invoices and payments against the invoice we are not able to display the sales rep name that is tagged to the Invoice.
    Is there a way to display the sale persons name in a query using 'CASE' statement?
    or is there wany other way out.
    Please advise.
    Regards

    Hi Gordon,
    Thanks for your reply!
    The query is as: (Query for displaying the invoice and the payment received by cheque against the invoices )
    SELECT T1.CardCode, T1.CardName, T0.DocDate as 'Posting Date', T0.DocNum as 'AR Invoice Number',T0.DocTotal as 'AR Invoice
    Total', T0.DocTotalFC as 'AR Invoice Total FC', T1.DocDate as 'Payment Date', T2.DocNum as 'Incoming Payment Number ',
    T2.DueDate as 'Check Due Date' , T2.CheckNum as 'Check Number', T2.CheckSum as 'Amount, (select SlpCode, 'Sales Rep Name'=
    CASE
    when
    SlpCode = '8'THEN 'Amir Mehmood'
    SlpCode = '7'THEN 'Anwarul Chowdhary'
    SlpCode = '2'THEN 'Calvin Ching'
    SlpCode = '5'THEN 'Calvin Ong'
    SlpCode = '4'THEN 'Darren Ting'
    SlpCode = '6'THEN 'Dev Puri'
    SlpCode = '12'THEN 'Edison'
    SlpCode = '3'THEN 'Janet Teo'
    SlpCode = '13'THEN 'Kah Leong'
    SlpCode = '-1'THEN 'No Sales Employee'
    end)
    FROM OINV T0 INNER JOIN ORCT T1 ON T0.ReceiptNum = T1.DocEntry INNER JOIN RCT1 T2 ON T1.DocNum = T2.DocNum where T0.DocDate
    >=[%0] and T0.DocDate <=[%1]
    PS: the CASE statement above needs correction.
    Regards,

  • How does iphone assign a name to an incoming email address

    Haven't seen this question posted before.  I have several names in my Contact list with the same email address (i use them for eblasts to different groups). When an incoming email arrives, iPhone randomly grabs one of those names and assigns it to my email address. No one else sees this but me; however it is annoying to see some random group's name listed in the To: or cc: instead of my name. Is there a fix for this? Thanks in advance for your thoughts.

    Let me see if I can wrap my head around this...
    This is the way I see it:
    1) Sally, Sue and Joe all have the same email. [email protected]
    2) You have separate entries in your contacts for Sally, Sue and Joe all with the above same email.
    3) Sally sends you an email from her mac. She has her email set up as "Sally" with address [email protected]
    4) When your iphone receives her email, it looks in your contacts list for [email protected]
    You want to know how it finds "Sally" and not "Sue" or "Joe"?
    Right?
    It doesn't.
    I tested this. I have a gmail account that does not live on my iphone. I logged in on my mac via the internet and sent a test message. I do not have that gmail account in my contacts, nor on my mac's address book, so the iphone has no knowledge of it.
    It told me I got a message from my name, from my gmail account.
    Ergo, the name was sent along with the email address, so it appears that item number 4 is not happening.
    So, there is nothing you can do on the iphone, as it is not the iphone that is handling the name. The name comes from the sender, which you have no control over.
    Assuming I understood your problem....

  • How do I extract the name of the incoming file from the Header?ta

    Hi all,
    I am using 11g TP4:
    I have an File Adapter Service that reads a file. In the Routing Service I want to include the name of the file that was read in the message passed onwards to the target service.
    Previously we used an expression like
    <xsl:variable name="INFILENAME"
    select="ehdr:getRequestHeader('/fhdr:InboundFileHeaderType/fhdr:fileName','fhdr=http://xmlns.oracle.com/pcbpel/adapter/file/;')"/>
    to set the $INFILENAME variable to the name of the file.
    This does not seem to work anymore. I notice a new namespace has appeared:
    xmlns:mhdr="http://www.oracle.com/XSL/Transform/java/oracle.tip.mediator.service.common.functions.GetRequestHeaderExtnFunction"
    is this namespace the origin for a new function that replaces getRequestHeader? Is it still getRequestHeader? What then is the correct syntax - as I am getting XPath errors with either ehdr or mhdr. Is there any documentation on accessing the contents of the header?
    Thanks for any help you can provide.
    Lucas

    Hi Lucas (says Lucas),
    After a little digging and trying out things I have found the solution.
    The Advanced Components palette available in the Mapping Editor has a section Mediator Functions. The getProperty() function shown there can be used to extract header properties. The property I am after is called jca.file.FileName, and can be assigned in the XSLT document like this:
    <ns2:filename>
    <xsl:value-of select="mhdr:getProperty('in.property.jca.file.FileName')"/>
    </ns2:filename>
    Note that the Assign Values dialog that is available in the Mediator editor has a long list of many names of properties that are available, including jca.file.Directory and jca.file.Size as well as many properties for the AQ, BPEL and EBS adapters.
    hope this helps any one besides myself.
    bye for now,
    Lucas

  • TS3276 how do you adjust the line spacing in incoming mail messages?

    Some of my mail messages are so compressed they are unreadable. Does anyone know if this can be adjusted? If so, how????????
    Thanks!

    Leading is the spacing between lines. In the Print module, when you scroll to the Type feature, make sure you have the extended the Type arrow (shown below), as well as the character menu (also shown below).
    When you have that extended, you will see the leading slider, as well as auto leading button. please adjust those as you wish.
    I hope this helps,
    thank you
    Janelle

  • How do i make a notification sound for incoming texts/messages?

    Hi.
    I just got my new blackberry 8120, and i'm wondering if there is any way to make a message sound when i have an incoming message either text or email.  I've looked through the guide and looked online and no one seems to have an answer for me. Just wondering if its possible and if so how i could do it. 
    Thanks so much. 

    You have a lot of sounds can be used, simply go to menu, profiles, scroll down to advanced, normal or which one is active, and you have the option to change the sound in each application. 
    If I help you with any inquire, thank you for click kudos in my post.
    If your issue has been solved, please mark the post was solved.

  • Display both company AND name in contacts, incoming calls, messages, etc

    Is there no way to have both a person's full name, AND company appear on the display of contacts and incoming calls??
    I have over 2,000 contacts in my address book, many from the same company, and many with the same (or similar) names.
    When someone with a very common name calls or texts, it's impossible for me to remember who they are without listing their company as well. If I have both Sam Michaels and Samantha Mitchells in my address book, sometimes the only way to distinguish between the two is knowing that Sam works for Viacom and Samantha works for Universal.
    I've heard that the only way to do this is to include the company name in the person's main "name" field. This is problematic because A) it would take me a million years to go through and personally edit all of my 2k+ contacts, and B) this is completely counter-intuitive of having the company/office/job title lines available as fields in the address book in the first place. 
    Does anyone know a way around this at all?? Apple really needs to find a way to fix this, as it's super inconvenient for business professionals. This is just another one of my many frustrations with Apple products being not intuitive for workers in the corporate world.

    I'm not aware of a way to do this, however I'm certain that when my phone rings, it shows the person's name and company information that I have written in contacts. I've not taken time to check lately, but that seems to be the case for contacts that have a company name in them. Ones that do not have a company name show the person's name and then the label for the phone number they are using, such as home, work, mobile, etc.
    Otherwise, feedback to Apple goes HERE, and then just click on the appropriate subject.

Maybe you are looking for