How to access Parent Message ID

Hi,
I am having File – IDOC scenario and also we are having dynamic interface determination where base on some particular value in file we are generating two different IDOCs. The overall scenario is working fine.
Now in SXMB_moni I am getting one parent node and under that there are two sub nodes.  Also for there are 3 different message ID (one for parent and 2 for sub node.) .
If we scroll sxmb_moni screen (<b>in alv grid</b>) there we are finding Message ID and Parent Message ID for sub node.  I am able to access message id for subnode but <b>not able to access Parent Message ID</b>.
To access message ID, I am using following UDF.
String headerField="";
java.util.Map map;
// get constant map
map = container.getTransformationParameters();
headerField = (String) map.get(StreamTransformationConstants.MESSAGE_ID);
return headerField;
I have already tried all Runtime Constants in  <a href="http://help.sap.com/saphelp_nw04/helpdata/en/b3/9a2aeb24dc4ab6b1855c99157529e4/frameset.htm">http://help.sap.com/saphelp_nw04/helpdata/en/b3/9a2aeb24dc4ab6b1855c99157529e4/frameset.htm</a>
If anyone guide me to access Parent message id then it would be really great….
Thanks,
Sunil

Hi Bin,
thanks for reply...
I have tried this but there is blank output.
Thanks,
Sunil Bhavsar

Similar Messages

  • Problem in accessing Parent Message ID in Enhanced Receiver determination

    Hello All,
    Following is the scenario.I have a source file and two target receivers.I need to access the Parent Message ID.I am using following code in an UDF.
    String headerField;
    java.util.Map map;
    // get runtime constant map
    map = container.getTransformationParameters();
    // get value of header field by using variable key
    headerField = (String) map.get("MessageId");
    return  headerField;
    But it is returning the message id for the second receivers.
    Any suggestions would be of gr8 help

    Check the description of MessageId.
    MESSAGE_ID
    The message ID. It can change during communication. Response messages get a new message ID.
    If new messages result from a message (the message is copied at multiple receivers), the new messages get new message IDs.
    Reffer this link : http://help.sap.com/saphelp_nw04/helpdata/en/e2/e13fcd80fe47768df001a558ed10b6/frameset.htm

  • How to access T100 messages

    Hi @all,
    does anyone can tell me where I can find T100 messages? (table, report, etc)
    They are related to entries within Syslog.
    Thanks & regards,
    Falk
    Message was edited by:
            Falk Ostermann

    Hi Jag,
    thanks but I know what to find in this table. I just wanted to know how to access this table.
    Meanwhile I know that this table is accessible via se16 with the name "T100". The name of the table was my problem...
    Regards, Falk

  • How to access SMS messages

    Hi there
    I have a W530 with the H5321GW mobile adaptor. How do I check for/access SMS messages on this?
    W530 / 3720QM / K2000M / 32GB / Samsung 830 256G / FHD w/color sensor

    I like PhoneView (Mac). TouchCopy (Mac or PC) also gets recommended.

  • How to access parent document from Java listener

    I have two applications, let's call them Gantt and Activity List. The Gantt application is an ADF application. The Activity List application is not. The Gantt application is hosted inside an <iframe> in the Activity List application. There is an input text entry field with ID "unassignedTaskId" in the Activity List application.
    In the Gantt application, when the user clicks a button, there's a Java "listener" method in a bean. In this Java code, I want to access the value in that "unassignedTaskId" field and use it. How can I do that? JavaScript will not work for me in this case. I can access the UIViewRoot which is the top-level component in my page, but how do I get that one more level up, into the owner of the <iframe>, from the listener Java code?
    I am using JDeveloper 11.1.1.0.2. Any advice appreciated.

    I found a way to achieve what I want. I finally realized (I don't know why it took me so long) that the Java code was server code and that the UIViewRoot is sort of a copy of what is in the "real" DOM. Of course I can't get to the outer frame. Duh!
    Once that finally clicked, I looked around and rediscovered clientListeners. I added a Javascript function getUnassignedTaskId(event) to get the value from the parent app and copy it into a hidden component in my app. Then I added an af:clientListener to my button to call this function. The clientListener gets called before the actionListener. So first the client side JavaScript copies the value from the parent app to my ADF app's hidden control, then the server side Java code can see it via the hidden control and its backing bean. Problem solved!

  • How to access error messages from gateway response in browser?

    hi,
    i get 400 bad request as response with error messages and transaction id .
    i need those messages in my alert box.
    how to do it?
    thanks and regards,
    kartik

    Hi,
    Now just use below code.
      oModel.read( sRead, null, null, true, function(oData, oResponse){
                          alert("Read successful: " + JSON.stringify(oData));
    },function(oError){
                          alert("Read failed");
                       var oXmlData = oError.response.body;
                       var oXMLModel = new sap.ui.model.xml.XMLModel();
                       oXMLModel.setXML(oXmlData);                              
                        console.log(oXMLModel.getProperty("/message")); 
                        console.log(oXMLModel.getProperty("/code")); 
                        console.log(oError);
    with above code, you will be able to read the response from body. also no need to add messages to header that I mentioned in earlier reply.
    I believe with above code, you will be able to read exact error messages.
    Regards,
    Chandra

  • How to Access Mobile Message INBOX?

    hi EveryBody,
    I need to access the mobile inbox(i.e. to create a new software using J2ME and to secure any Of that particular message using password)
    It is possible???????
    IF So then please Tell me the Idea!!!!!!!!!

    hi,
    I'm agree with db.
    there is no way to access sms on port 0 from j2me application, BUT...
    You can send sms to a different port and receive them on the same port. For this you must have two application, one on sender side and another on receiver side, which send/receive on a predefined port..
    You can find code for sending and recieving sms to a perticular port in WTK 2.2 samples..

  • How to access Parent page UIComponent from inlineFrame using ADF javascript

    Hi,
    My application includes an <af:inlineFrame component on the top portion of the page. It contains a table with delete option for the end user. Requirement is after user has deleted all the records of the table and table has no records to display, inlineFrame needs to be made invisible so that the bottom portion content of my page will get stretched fully and has more visibility to the user. Hence when user click on Delete button of the table, after delete operation, I am planning to check the row count and write javascript to client using ExtendedRenderKitService to make the inlineframe invisible.
    Question:
    1. What is the right ADF javascript API to access the parent page and work with its components. I came to know we can call using 'parent.document.getElementById' but I want to know correct ADF's javascript API.
    Thanks in Advance
    Raghu

    The way you suggested didn't help me.
    Yes.. This inlineFrame content is also a part of the same application only. The reason why it is kept in inlineFrame is it is an ADS implemented table. ADS is able to push the data to the table provided we should keep the application idle. If I keep on working with the application (i.e. request/response happens because user works with the bottom portion content of the page), ADS is not able to push the data to UI. Keeping the ADS implemented table in a top portion still but inside an inlineFrame has solved this problem.
    Given below my page design
       main.jspx
       ======
       <af:form id="f1"....
           <af:inlineframe source="faces/page/employee.jspx" />
       </form>
       employee.jspx
       =========
       <af:form id="f2"
        </form>
                 In the employee.jspx only I have delete button and javascript which is suppose to find the parent page (i.e. main.jspx) and to work with inlineframe component to make it visible/invisible based on whether table gets records or no records. (This javascript call will happen with the help of ClientListener set for the ADS implemented table with event type as propertyChange) Intention is to check the row count of the table during every javascript call and to go to parent page, find the inlineframe, make it visible or invisible.
    Edited by: Raguraman on 25-Jan-2013 08:59

  • How to access parent, child nodes and attributes in XML?

    EXAMPLE CODING:
    [Embed("assets/Try.xml", mimeType="application/octet-stream")]
    private static consTTest:Class;
    public static function getTestXML() : XML
    var baTest:ByteArrayAsset = ByteArrayAsset( new test() );
    var xmlTest:XML = new XML( baTest.readUTFBytes( baTest.length ) );
    return xmlTest;   
    public function SetTest():void
         var xml:XML = XMLResource.getTestXML();
         var XMLDoc:XMLDocument = parseXML(xml);
         var decoder:SimpleXMLDecoder = new SimpleXMLDecoder(true);
         var resultObj:Object = decoder.decodeXML(XMLDoc);
         trace(resultObj.Roots.Child[0].ChildTitle); //Output: ChildTesting  -> CAN GET IT, NO PROBLEM.
    QUESTIONS:
    (1) How to get the output for
    trace(resultObj.Roots.Child[0].Child1.Inside[0].InsideTitle); //GOT ERROR, THE OUTPUT I NEED IS InsideTesting1.
    (2) How to get the output for
    trace(resultObj.Roots.Child[0].Child1.Inside[0].Tasks.Task[0].TaskTitle); //GOT ERROR, THE OUTPUT I NEED IS TaskTesting1.
    Anyone can help me to solve this problem? Thanks.
    Regards,
    Jessie

    Hi.
    You have error in Try.xml in row 2:
    <Child ... "/>
    Delete '/', its end of this child.
    This is problem...

  • How to access SOAP message using JAXP and SOAP class?

    DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
    DocumentBuilder b = factory.newDocumentBuilder();
    FileInputStream fr = new FileInputStream(args[1]);
    Document doc = b.parse(fr);
    Envelope msgEnv = Envelope.unmarshall (doc.getDocumentElement()); <---
    the exception raised:
    java.lang.IllegalArgumentException: Root element of a SOAP message must be: 'htt
    p://schemas.xmlsoap.org/soap/envelope/:Envelope'
    And the xml file is:
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"...>
    </env:Envelope>

    The problem is that your DocumentBuilderFactory is not set to be namespace aware. If add a call to factory.setNamespaceAware(true) that should fix your problem.

  • How can a parent restrict a child's access to a PARENT'S PRE-EXSISTING iTunes account via iCloud's Family Sharing Program?

    How can a parent restrict a child's access to a PARENT'S PRE-EXSISTING iTunes account via iCloud's Family Sharing Program?  To explain further... I have a young son who is on my iCloud family sharing program... I am excited to be able to share SOME of my music in my iTunes library, but there are some songs and music videos that are not age appropriate for him and currently there is no way to restrict him from viewing and downloading anything off of my iTunes library.  Yes, I suppose I can delete the songs he shouldn't have access to, but I don't think I should have to do that... I paid for them and still like them and listen to them while I work out or am without my kids.  Is there a way for me to personally select which songs/videos I would like to "hide" from my children in an effort to shield them from inappropriate content?

    Hello ggg39,
    Welcome to the Apple Support Communities!
    I understand that you have some content in your iTunes library that you would like to restrict access for the child set up on Family Sharing with you. To do this, you can set restrictions on the child’s device as described in the attached article. 
    Family Sharing - Apple Support
    Now kids under 13 can have their own Apple IDs. As a parent or legal guardian, the family organizer can create an Apple ID for a child and add the child to the family group automatically. Ask to Buy is turned on by default, and the organizer can also limit the content kids have access to on their devices through Restrictions on an iOS device or parental controls in OS X and iTunes.
    For more information on restrictions and how to set them up, please reference the next attached article. 
    About Restrictions (parental controls) on iPhone, iPad, and iPod touch - Apple Support
    Have a great day,
    Joe

  • How do archive all messages over 5yrs old for easy access if needed

    My Thunderbird folders are very large after 10 years and I have over 100 sub-folders. I need to keep all messages but would like to keep the oldest, say over 5 years old, separate as I rarely need to see them again. Archiving would make navigation easier. Where in Thunderbird's help pages does it explain how to do this , as well as how to access the archive ? Is it better to make a new profile called Archive and move the archived messages to that ?

    Assuming you have all your emails pre-organised in folders called : Acme, Brown, Carter etc
    When you created the Archive options, if you had selected yearly and retain folder structure, then it would be archived as follows:
    > Archives
    > > 2008
    > > > > Acme
    > > > > Brown
    > > > > Carter
    > > 2009
    > > > > Acme
    > > > > Brown
    > > > > Carter
    If you selected monthly and retain folder structure:
    > Archives
    > > 2008
    > > > >2008-01
    > > > > > >Acme
    > > > > > >Brown
    > > > > > >Carter
    This would mean that all the Acme, Brown, Carter folders would be in Archives, but the size of the folder will be smaller because it is divided by year, or even smaller if monthly is used. (If you only have a few emails per month then yearly would be ok). So, if you have not organised your emails into eg: Acme, Brown, Carter folders, then do this first, then when you Archive them they will still be located under Archives in a folder of that name, so easy to locate.
    Folders containing emails that you see in the Folder Pane are in reality mbox files - not folders, and these files are stored in your profile folder.
    Each file has emails stored one after the other, in the order they were downloaded, so emails are not stored in individual files. If you accessed your Profile folder and opened one of these mbox files using 'Notepad', you would see one huge long document. Each mbox file also has a .msf indexing file.
    Large documents carry a greater risk, if something goes wrong, you could lose a lot of emails. The point of using the auto archiving is that this will sub divide those large files into smaller files and therefore carry less overall risk per file and use less memory when accessing.
    http://kb.mozillazine.org/Performance_-_Thunderbird
    '' Thunderbird loads a folder's *.msf file into memory whenever it opens the folder. By default it keeps up to 30 *.msf files open for 5 minutes (and their contents in memory), unless they are "special" folders, which it never closes. It loads the inbox.msf file for every account on startup. The best way to minimize the amount of memory used is to archive messages you have already read or otherwise no longer need in Inbox into folders that you rarely open. Moving a message to an archive folder opens it, so consider archiving messages by year and month rather than yearly so that the archive being used doesn't get excessively large. ''
    If you choose to not use Archive options and instead manually created Acme, Brown, Carter folders in the Archives folder,it means you will have to manually move emails into those folders.
    In which case, you will just be creating new large folders, which will get larger everytime you move an email. As they are Archive folders then they will end up with even more emails than you currently have, so I'm sure you can imagine what could happen over time. With Archived emails you need to consider the long term.
    At the end of the day the choice is yours, but at least you now have some information to make an informed choice.

  • How to access Message bundle from beans??

    Greetings i am new to JSF.
    I want to access my message bundle from beans, anyone could tell me how to do it?
    Also, i need my beans to obtain the url address of my servlet automatically, how can i do that?
    Thanks for any help!

    Another alternative if using the <f:loadBundle> tag within your JSP is to do something like the following in your bean logic:
    In a JSP:
    <f:loadBundle basename="Resources" var="messages"/>
    In Bean:
    ExternalContext extContext = FacesContext.getCurrentInstance().getExternalContext();
    // Obtains the Map containing the key/value pairs loaded by the loadBundle tag
    Map messages = (Map) extContext.getRequestMap().get("messages");
    As to the second question, I'm assuming you want the URL that invoked the current request? If so, look at ExternalContext.getRequestPathInfo() and ExternalContext.getRequestServletPath().

  • When trying to download an on-line document, how do I correct an access denied message?

    When trying to download an on-line document, how do I correct and "access denied" message?

    If you are trying to access a document from someone else's site and you are getting an access denied message, it is probably because you are not supposed to be able to acquire the file without getting more access permissions than you have at the moment.

  • Can anybody tell how to access web service from Message Driven bean

    Can anybody tell how to access web service from Message Driven bean

    Can anybody tell how to access web service from Message Driven bean

Maybe you are looking for

  • Calling a procedure from a dynamic link

    I have the following situation- I have a report created using SQL Query. I need to call a Stored Procedure(move_to_portal) through a link from one of the fields in the report (Exec_id field of the report). How can I do this? The links do not allow me

  • BPS Retraction to CO

    Hello could somebody help us? We have a BPS Model and we need to do retraction to CO in CeBe's . We have readen documentation about retraction but all process consist in to do retraction to CO in CeCO's. We wonder if is it posible to do retraction to

  • IPhoto 6 just wont open

    Hi folks I have an Intel Imac running 10.4.7. Today when i booted up IPhoto to try and import some new photos i got an endless cycle of it being unable to open and wanting to report back to Apple. I have tried repairing permissions, dragging photos o

  • Baseline date for Partial Payment in FB05

    When we created partial payment for SD invoice in FB05, the baseline date for line item is defaulted to today date. How to change this default date to original invoice date? Is there any OSS note that could do this? We are in version 4.7.

  • IPhone 4s to Samsung TV

    Hello all, I have the following questions: -> I would like to see youtube videos streamed from my mobile on a samsung HD TV. What accessories do i need to achieve the same. -> Would i be able to DISPLAY my iphone screen on the TV , like be able to br