How to get message unique id?

the purpose to do this update is, we want to get a interface depended sequense number, every message should have a unique message id, then use JDBC receiver adapter to insert this message to several DB tables, Legacy application program will use these message id to join these tables to get data.
for example: SAP send sales order data to Legacy system, every Sales Order Create and Modification will trigger a message to Leagcy system, Legacy system use Staging table to receive these messages, one table for SO Header,one for Item,one for schedule line for each item. So when Legacy program cannot use SO number as key to join these table, because every change will create a message. That's why we want to maintain a unique message id for every message.
Do you have any other solution to realize this requirement? thank you very much for your help.

Thank you for your quick response.
I have posted another thread to do want you said in user defined mapping,but Michale tell me this is a bad practise, could you please take a look? thank you
Mapping Lookup for Update/Insert

Similar Messages

  • How to get a unique row in a value set

    How to get a unique row in a value set which is used in concurrent program.
    Example if a table contains 10 unique rows i need only one row to show.
    Thanks

    add conditions in where clause to supress the duplicate values.
    On how to supress the duplicate values follow the link
    http://oracleschools.com/index.php?topic=40.msg76#msg76
    Thanks
    Prudhvi
    www.erpschools.com

  • How to get messages from IBM MQ in Oracle.

    Hi ,
    Can you please help me how to get messages from one IBM MQ to another IBM MQ in Oracle.
    My requirement is Our upstream is putting messages from their IBM MQ to our IBM MQ
    then we have to extract data from the message and load into Oracle database tables
    how to implement this  in oracle.
    Is there any other way to implement this without writing any ORACLE PL/SQL programming.
    Please help me.
    Thanks.

    You might want to use Oracle AQ: Integrating Oracle database applications with WebSphere MQ applications You will need to write some PL/SQL to Dequeue from Oracle AQ and convert the queue payload into insert statements.
    If you need help wityh AQ, there is a separate forum: Advanced Queueing

  • How to get message which don't contain specified header?

    Hello
    I have a question:
    how to get messages which don't contain specified header?
    At this moment I have something like this, but it works to long (2 seconds for 15 messages, 2 minutes for 800 messages:/ )
    StringTerm st = new StringTerm("Header name") {
        public boolean match(Message arg0) {
            try {
               return arg0.getHeader(pattern) == null;
            } catch (MessagingException ex) {
               return false;
    Message[] m = f.search(st);where f is folder
    Does exist way easier and more "time-efficient"
    regards
    Edited by: moj_ekranik on Dec 4, 2009 1:28 AM
    Edited by: moj_ekranik on Dec 4, 2009 1:29 AM

    Assuming you're using IMAP...
    Try this:
    folder.search(new NotTerm(new HeaderTerm("header-name", "")));

  • How to get message statistics in a day

    Hi, all.
    Our env is like the following.
    XI 3.0 + SP11 on Windows 2003 + SQL Server.
    My question is that how can we get message statistics of XI?
    i mean, like the following
    Number of messages processed in an hour or a day or month so and so...
    If there were no such transaction, what tables should we look into in
    order to get this kind of info?
    Best Regards.

    Hi Sejoon,
    sure you can:)
    go to RWB (runtime workbench)
    and check <b>performance monitoring</b>
    you cna get all sorts of message statictics over there
    (for a day/hour, size min max, for one interface, a group of interfaces etc.)
    Regards,
    michal
    Message was edited by: Michal Krawczyk

  • Multi Mapping : How to get Message count after splitting

    Hi all,
    I am following below blog.
    /people/narendra.jain/blog/2005/12/30/various-multi-mappings-and-optimizing-their-implementation-in-integration-processes-bpm-in-xi
    Can any body please tell me how to get the count of messages generated after splitting in the message mapping.. I have created the message data type but not aware what is needed to be done.
    Thanks and best regards,
    Kulwant Singh

    Multi mappings r done in order to split the messages to the number of messages required by the user. So for 1:N mapping, the details about "N" is based on ur requirement. So its not like - when u split, any number of message could get created. The count would be dependent on u.
    Regards,
    Prateek

  • How to get message in realtime sent by another user using FM TH_POPUP?

    I want to program a chat function between two SAP users by using ABAP.
    1.User A send a message to user B by using TH_POPUP,
      At the same time, the message is showed in screen as 
      'Send message'
    2.User B get the message
    ->My problem is how to get the message in realtime which I want to show it in screen as 'Received message'.
    Can anybody tell me how to get the message sent by using FM TH_POPUP in realtime?
    Edited by: Jing Yu Huang on Feb 6, 2008 2:11 AM

    Hi there
    This really isn't a "conversation" type program
    1) What does the original user do after sending the message -- I'm not sure if there's a WAIT_FOR_REPLY and even if there were I'm not sure  you'd want the original user to have a suspended session waiting for a reply.
    2) What does the 2nd user do after receiving the message --if it's just thrown up on his screen  then there isn't any mechanism to return a reply from USER A'S SESSION.
    You need somehow to have a continually running process which will send a message for example to user B and create an event or do somethimg so that User B is bound to the same session that sends the original message.
    2 different users running the same abap don't actually have any common link between them even on remote function calls.
    You need to have a central process here that shares a message space between the users (i.e a kernel type module).
    Classical Abap won't do (nor is it designed for) these types of processes.
    You might be able to find something in some of the  'C' coded kernel calls but as I previously posted before you are far better off using Windows for this type of stuff. (Windows Messenger for example).
    ABAP unfortunately is not designed as a multi user  "re-entrant"  programming language - nor was it intended to be.
    Another possible get around is to use the workflow system. User A sends a message which raises an event. This then starts a workflow which transmits say message to user B and notifies him of a message waiting for him. User B can reply which again raises an event and triggers workflow routing the message / reply back to user A.
    The response time won't be very good but at least it will work without tying up 2 user dialog sessions - but seriously guys I'd give up on this and just use Windows Messenger or equivalent system.
    These type of programs depend on a central server for the message handling - you'd have to replicate this in ABAP -- and Im 120% sure it can't be done.
    Cheers
    Cheers

  • How to get message/rfc822 attachment name by using JavaMail

    Hi,
    I am fetching incoming mail which has message/rfc822 attachment. i.e: ".msg" (mime message) is attached to this incoming mail. When I try to get name of this message/rfc822 attachment, I am getting null. Body part for this message attachment doesn't contain attachment name? Is this known issue? Is there any solution for this? How to get attached message name?
    I am using javax.mail.part.getFileName() for getting bodypart's filename.
    Thanks,
    Shilpa

    This is not unusual. An attached message need not have a filename,
    especially if it wasn't stored in a file but rather was just attached to the
    new message from within the mailer that composed the new message.
    Some mailers will set a filename anyway, but there's no requirement
    that they do that.

  • How to get Messages to work with a proxy server?

    at work we use a proxy server.
    some icloud programs work, but Messages does not.
    any idea how to get this to work through a proxy server?
    thanks.

    Hi,
    Now I feel really silly.
    I remember the pane looking like this though:-
    As there used to be two iChat forums here at Apple Support Communities  and the older iChat 2.1 one has disappeared I am not sure how many threads might be available for scrutiny on this matter.
    AS I said I don't ever recall someone reporting that they got it  to work.
    During early version of iChat it was found that the AIM server would accept a login on almost any port.
    It became popular to suggest port 443  as this was a well known port known to be open on most routers "out-of-the-box" and likely to be open in campus situations where students may not have any control over what ports were open.
    An AIM Login can also do "Direct IMs" for which is switches to port 5190 on the UDP Protocol.
    At this point the chat is peer to peer.
    It does this if you send a pic in the Chat or send a file.
    It uses port 5190 for this no matter what is used for the Login.
    7:27 PM      Thursday; May 9, 2013
      iMac 2.5Ghz 5i 2011 (Mountain Lion 10.8.3)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • How to "get" message mapping from XI scenario

    Hi guys!
    Is there a way, how to export message mapping description in some way from PI? In XI 3.0 it was possible, but what about PI 7.0? Hope you understand me:)
    We need it to save this mm description as documentation.
    Thanx a lot!
    Olian

    Hey Oilan,
    with the message mapping open, hold ctrl + shift and right-click in the data-flow editor (the part of the screen where the function boxes and links go).
    a different menu will pop-up. just follow "export tools, export" or something like that. It is pretty straightforward.
    It will save the mapping in a .mte (or something like that) extension file. It is nothing but an XML. Good thing is that you can also import this .mte file in another message mapping (of course, with same source and target messages, or it won't be able to reference the links).
    Regards,
    Henrique.

  • How to get an Unique id or something like an autoincrement ID

    HI!
    I am a SAP newbie! I want to create a database table with an unique id.
    Does something like autoincrement exist?
    Another Problem is that i don´t know which database will be used (sapdb, oracle, ....) so i can´t use oracle or sapDB spesific functions.
    mfg markus
    Message was edited by: Markus Buchner

    Hi
    Nablan's proposition is the best way to provide a standard counter. However, you should be familiar to handle the procedure.
    - <b>"Number Range"</b>s are objects for number assignments. To assign numbers, you need a corresponding number range object, a well maintained number range interval, and access to both of these things from within your application program (with the help of special function modules).
    - Number range object maintenance is located in the development menu under other tools (transaction <b>SNRO</b>)
    - There are standard capabilities that are included in number range feature
    - Special functions that are used about number ranges are:
    <b>NUMBER_GET_NEXT</b>: This FM is used in order to determine the next number(s) available.
    <b>NUMBER_CHECK</b>: For checking external numbers to see if they lie within a number range interval that has been designated for external use.
    <b>NUMBER_GET_INFO</b>: To get information about the individual number range intervals of number range objects (interval limits, current status, etc.)
    You can find more information in the standard SAP course <b>"BC414 - Programming Database Updates"</b>.
    *--Serdar

  • How to get message ID's with reference to PO numbers.

    Hi experts,
    There is requirement that we need to resend the messages manually from sproxy for a particular interface, they gave only the PO numbers.
    How can I check the Message IDs corresponding to the PO numbers?
    I created a UDMS but we require the time ranges also, that which we doesn't have.
    Can you please help me in this...
    Thanks in advance.
    Regards,
    Sunita

    Hi Sunitha
    Unfortunately there is no standard transaction by which you can get the message id from the PO number.
    You can try to configure to user defined message search in ECC system using PO number as search field. After you do that you will be able to see the messages in MONI using PO number.
    Check this document for more details
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/803b22cf-ad75-2f10-0790-da055f2e8c0e?overridelayout=t…

  • TS3276 How to get message when email has been received and read?

    How do I set my Mail so I can get a message when an email has been received and read?

    Read receipt feature is not available in Mail, unfortunately.
    Best.

  • How to get messages from closed IMAP account from local cache

    I have an IMAP account which is closed, so I cannot connect to it anymore. I've got all the messages on my computer since I chose the option "Keep copies of messages for offline viewing" in account settings.
    Is there an easy way to convert the cached version on my computer to my new IMAP account?
    I've tried just dragging the to the folder where the local mbox files are kept, but it fails. Looking at the info.plist files in each folder I found the following xml nodes where present in the IMAP ones <key>UIDNEXT</key> and <key>UIDVALIDITY</key> and that deleting them from the info.plist made it possible for me to just drag the mbox file to the local folder. Editing all the info.plist files seems like at huge task and I'm not sure what implications just deleting them might have? Can anybody shed some light on this please?

    I have some small progress. I wrote this code:
    <Field>                   
              <FieldLoop for='rows' in='strAdUcty'>
                    <Field name='username'>
                       <Display class='Label'>
                          <Property name='value'>
                              <expression>
                                  <block>
                                       <invoke name='get'>
                                            <ref>rows</ref>
                                            <s>name</s>
                                      </invoke>                                     
                                  </block>                                      
                              </expression>
                           </Property>
                       </Display>
                   </Field>
               </FieldLoop>
    </Field>This code return names of AD users, but they are "locked" in <FieldLoop> loop. How is possible to get names of AD users to another variable (or to workflow processing)?
    thank you

  • How to get message answer in the code

    Hi,
    I'm using jdeveloper 11.1.2.3.0
    I have such a code on save button of my form:
    public void onSaveClick(ActionEvent actionEvent) {
    //first code
    if(...) {
        RichPopup.PopupHints hints = new RichPopup.PopupHints();
        getOnSavePopup().show(hints);
    //second code
    }I would like to know if there is any way to display a popup with dialog/message with yes/no answers,
    then to get the answer in the code, and according to the answer to continue with the code.
    Without using dialog listener, because I want to continue with the code of the save function.
    Hope my question is clearly.
    Thanks a lot!

    Hi,
    Check
    http://jdevadf.oracle.com/adf-richclient-demo/docs/tagdoc/af_dialog.html

Maybe you are looking for

  • Customer Exit VAriable Error

    Hi   Please fix this or update me on how to fix it as i am struggling to fix I created a restricted Key Figure based on Info object data Type DATS User Enter Date intreval 01.01.2007 to 31.12.2007 My requirment is to develop a Variable on Cal Year/Mo

  • Getting page no. when generating report in  XML format

    hi all, could any one tell me. How to get page no's in XML reporting. Is there any facility to assign physical page no. to an other variable? regards, Vasu

  • Layout for Variant

    Dear Experts , I want to create two variants for t code MB5B. In the first variant i want the o/p layout to be different from that in the second one . I have created & saved the said layouts , BUT while creating the variant , i am not getting the sav

  • How to create STPR(Stock Trasnsfer Pruchase Req) in MRP Run

    Hello PP Guru , I am running MRP in various branch-plant .I maintained Special Procurement Key 40  for all the material in branch-plant .Here we have one supply plant .We run MRP at Supply plant once all our other branches(plant) completes their MRP

  • Reinstall MAC OSX

    Can I reinstall my OS w/o format my HD?