Manipulate / set the Message-ID?

Hi folks!
I have the following question! Is it possible (e.g. in a java-mapping) to explicitly SET / CHANGE the message-ID of a subsequent message?
Short description of the task we have to implement: We get a big XML which includes many seperate invoices. Each invoice has some "unique data which identifies the invoice uniquely". This data should be used as "message-ID" within XI (monitoring, retry, ...) So I like to use BPM to SPlit the big XML and send the separate XML Invoice asynchronously to a subsequent process. The message-ID for this asynchronous sending-process should be SET to some identifier which is included in the XML Invoice itself ...
Any ideas how to accomplish that? Is it possibly to <b>SET the message-ID</b> (to read it one can use the "MESSAGE_ID" System constant within java-mapping or java function - I know). Has anybody done that already?
Thanks for any input you can give on this ...
Best regards, Andy

As Michael stated above ...
All the info so far is regarding <b>getting</b> the values of runtime constants (and the special case of getting them in the BPE environment) but not how to <b>SET</b> them (if even possible) - maybe one solution is that I use the HTTP Sender Adapter to post the message to the XI Integration Engine itself - in this POST one could manipulate the "MSGGUID" Parameter for defining the Message-ID explicitly?
Could this work?
Thanks, Andi

Similar Messages

  • How to set the message in the status bar...

    hai,
    how to set the message in the status bar...
    let us say "inserted data successfully, or opening page followed  by the link clicked on the screen....."
    kindly help me out

    sunil,
    do not use advise by Ashutosh with WebDynpro.
    Instead of placing message into browser status bar (and browser is not the only WD UI agent), use IWDMessageManager API to post messages of such kind:
    wdComponentAPI.getMessageManager().reportSucces("Record inserted"); 
    VS

  • Troubleshoot-Adapter engine:Error Setting the message status to DLNG failed

    Dear Experts,
    We use SAP RFC- PI-JDBC(MSSQL).  here the Data(message) successfully transfered to mssql table but the status is been set to DLNG failed,  And it finally shown as SYSTEM ERROR.
    QoS required: ExactlyOnce ,  here The Message has got inserted in that particular table and in PI adapter the  status turned to  DLNG faild and the service again tries to send the same message which is not possible becoz the data is set for primary value.
    2010-09-15 09:59:48 Success Message successfully received by messaging system. Profile: XI URL: http://XXXXX:50000/MessagingSystem/receive/AFW/XI Credential (User): YYYY
    2010-09-15 09:59:48 Success Using connection JDBC_http://sap.com/xi/XI/System. Trying to put the message into the receive queue.
    2010-09-15 09:59:48 Success Message successfully put into the queue.
    2010-09-15 09:59:48 Success The message was successfully retrieved from the receive queue.
    2010-09-15 09:59:48 Error Setting the message status to TBDL failed, due to: com.sap.aii.af.ra.ms.api.DeliveryException: Error updating status..
    2010-09-15 09:59:48 Success Delivering to channel: CCR_JDBC_ZZZZZ
    2010-09-15 09:59:48 Success MP: Entering module processor
    2010-09-15 09:59:48 Success MP: Processing local module localejbs/CallSapAdapter
    2010-09-15 09:59:48 Success Receiver JDBC adapter: processing started; QoS required: ExactlyOnce
    2010-09-15 09:59:48 Success JDBC adapter receiver channel CCR_JDBC_ZZZZZ : processing started; party  , service BS_BCP_IMPLOG_ZZZZZ 
    2010-09-15 09:59:49 Success Database request processed successfully
    2010-09-15 09:59:49 Success MP: Leaving module processor
    2010-09-15 09:59:49 Success The message was successfully delivered to the application using connection JDBC_http://sap.com/xi/XI/System.
    2010-09-15 09:59:49 Error Setting the message status to DLNG failed, due to: com.sap.aii.af.ra.ms.api.DeliveryException: Error updating status..
    2010-09-15 10:37:01 Success The message was successfully retrieved from the receive queue.
    2010-09-15 10:37:01 Success The message status set to DLNG.
    2010-09-15 10:37:01 Success Delivering to channel: CCR_JDBC_ZZZZZ
    2010-09-15 10:37:01 Success MP: Entering module processor
    2010-09-15 10:37:01 Success MP: Processing local module localejbs/CallSapAdapter
    2010-09-15 10:37:01 Success Receiver JDBC adapter: processing started; QoS required: ExactlyOnce
    2010-09-15 10:37:01 Success JDBC adapter receiver channel CCR_JDBC_ZZZZZ : processing started; party  , service BS_BCP_IMPLOG_ZZZZZ
    2010-09-15 10:37:01 Error Unable to execute statement for table or stored procedure. 'imp_log' (Structure 'STATEMENT') due to com.microsoft.sqlserver.jdbc.SQLServerException: Violation of PRIMARY KEY constraint 'PK_XXX_log'. Cannot insert duplicate key in object 'dbo.XXX_log'.
    2010-09-15 10:37:01 Error JDBC message processing failed; reason Error processing request in sax parser: Error when executing statement for table/stored proc. 'imp_log' (structure 'STATEMENT'): com.microsoft.sqlserver.jdbc.SQLServerException: Violation of PRIMARY KEY constraint 'PK_XXX_log'. Cannot insert duplicate key in object 'dbo.XXX_log'.
    Thanks in advance for your valuable answer.

    Hi Vinaygam,
    2010-09-15 10:37:01 Error Unable to execute statement for table or stored procedure. 'imp_log' (Structure 'STATEMENT') due to com.microsoft.sqlserver.jdbc.SQLServerException: Violation of PRIMARY KEY constraint 'PK_XXX_log'. Cannot insert duplicate key in object 'dbo.XXX_log'.
    2010-09-15 10:37:01 Error JDBC message processing failed; reason Error processing request in sax parser: Error when executing statement for table/stored proc. 'imp_log' (structure 'STATEMENT'): com.microsoft.sqlserver.jdbc.SQLServerException: Violation of PRIMARY KEY constraint 'PK_XXX_log'. Cannot insert duplicate key in object 'dbo.XXX_log'.
    See above error, It cannot the Duplicate Key in your log table. Duplicate means repeated as a same data.So kindly check once your data.
    IF,I assume your scenario is Synchronous, If you are using any sender JDBC adapter  just check with your Quality of Service and set it to "Exactly once".
    so kindly do it.
    Thank you,
    Sateesh
    Edited by: sateesh kumar .N on Sep 17, 2010 8:17 AM

  • I have set the Message History setting to delete messages after 30 days. Since doing this, Messages app is quite buggy.

    I have no need to keep huge, old Messages conversations, so I recently set the Message History to delete messages after 30 days. Since doing this, however, I have noticed that the Messages app has become fairly buggy. Sometimes I'll open the app and it will look like there's no conversations, and the app prompts me to send a new message. Sometimes, I'll open the app to reply to an incoming message and my response will hang at 90% sent and then when I go back to the conversation list, it displays my outgoing, as-yet-unsent response as a new message, complete with little blue new message marker. The only way I have found to temporarily resolve these issues is to restart the phone. What's going on here?

    Hi,
    According to your description, I understand that you need to apply a rule to delete messages older than 30 days for all mailboxes in your environment. Is it right? If I misunderstand, please point it out.
    As all above suggestions, we can use retention tags and retention policies in Exchange 2013 to achieve it. To apply it, we can try the following steps:
    1. Login to Exchange Admin Center(EAC) in Exchange 2013 as an administrator.
    2. Click compliance management > retention tags.
    3. Click New Tag > applied automatically to entire mailbox(default).
    4. Edit the Name, Retention action and Retention period(30 days), then
    Save it.
    5. Click Retention Policies tab > New.
    6. Edit Name and add the Retention tags you created a moment ago. And
    Save it.
    7. Navigate to Recipients > Mailboxes.
    8. In the list view, use the Shift or Ctrl keys to select multiple mailboxes.
    9. In the details pane, click More options.
    10. Under Retention Policy, click Update.
    11. In Bulk Assign Retention Policy, select the retention policy you created to apply to the mailboxes, and then click
    Save.
    Hope it helps.
    Thanks,
    Winnie Liang
    TechNet Community Support

  • FM required for setting the message body with values from table

    Hi all,
      I have a retq wherein in tcode VL31n when i create the IBD,after saving the document,i need to send a mail to few people in the FI dept with the foll deatils:
    Inbound delivery no.
    A. Bill of Lading no.
    B. Bill of Lading date
    C. No. of containers
    D. Invoice no.
    E. Invoice date
    F. Supplier name
    G. Vessel name
    H. Name of the receiving port
    I. Final Destination,,
    J. Expected date of arrival
      The method used is SAVE_AND_PUBLISH_DOCUMENT.i get all these deatils in the table it_xlikp.But is there  any FM by means of which i cna read these  values and set the message body with these values and send this  as  a mail using the FM SO_DOCUMENT_SEND_API1?Full points will be  awarded..Any help is appreciated..
    Regards,
    Disha.

    HI Disha
    Check out these links. They will surely help
    http://www.geocities.com/mpioud/Z_EMAIL_ABAP_REPORT.html
    http://www.thespot4sap.com/Articles/SAP_Mail_SO_Object_Send.asp
    If you find this answer useful, please reward me for the same.
    Good luck
    Karthik Potharaju

  • Nokia 5800: Setting the Messages save to Memory Ca...

    Software version:
    V 21.0.025
    Custom Version:
    21.0.024.382.02
    The settings for Messages cannot be set to Memory Card. It always sets to Nokia Phone.
    I cannot be able to create a new Profile in Profile Settings.
    Please help me. Thanks

    I can mark all the messages, but the option to copy them to phone memory does not appear! I'm using the lastest firmware for my Nokia 5800.

  • API to set the Message State

    Hi,
    is it possible to set the PI Message State to Application Error in Message Mapping or/and in Adapter Modul ?
    best regards,
    Hai

    Hi,
    in case you want to get the whole soap fault message (do not use soap evelope) and handel it youself. You may want to set it to application fault and forward the fault message to caller.
    regards,
    Hai

  • How to set the message deletion function

    What must I do to allow my verizon.net messages to remain in my inbox for a few months? I don't see anything in "settings" that allows me to manage this...Thanks!

    nellpals wrote:
    I don't know where the old messages are going! Right now they only go have messages dating back as far as Nov. 21--which is only a few weeks' worth. 
    My husband set up my Microsoft Outlook 2010 for me about 6 mos ago, so I mostly  view my emails through Microsoft Outlook. But I should still have access to them through my Verizon account when I'm not at home. And when I read the response below to another person whose messages had also vanished, I wondered if this could be related to my problem?? (sorry to be stupid about this.., )
    "Most likely an e-mail client downloaded them."
    Microsoft Outlook is an email client, and is most likely the cause of the deletions. Check your settings in Outlook to make sure "Leave a copy of messages on server" is checked.
    If a forum member gives an answer you like, give them the Kudos they deserve. If a member gives you the answer to your question, mark the answer as Accepted Solution so others can see the solution to the problem.
    "All knowledge is worth having."

  • How to set the message in the textInput

    Hi,
    I have a textInput field as follows on my UIX form:
    <uix:textInput name="UserName">
    Beneath/Under the textInput element, I would like to display a short message (something like, UserName should include alphabetic and numeric characters). How to achieve this?
    Thanks,
    Guru

    Guru,
    you should first tell us which jdev version you a on...
    UIX sounds like 9.x
    I guess there is a uix:outputText or uix:text element available you can use to put some text on your page.
    Timo

  • Setting the message parameter in java class

    Hi!
    I have a resource bundle with a message that includes a parameter.
    my.message.key=Part1 {0} Part2
    I am able to fill this parameter when using this message in jspx page like:
    <h:outputFormat value="#{res['my.message.key']}"
      rendered="#{userInfo.authenticated}"
      escape="false">
    <f:param value="SomeValue"/>But when I try to get this message in a backing bean I just can't find a way to set this parameter value.
    I'm using JSFUtils.getStringFromBundle for all my messages without parameters but can't find a way for messages with parameters. Can someone please tell me how do I set my parameter value (I know this can't be this difficult)?
    Thanks!
    BB

    java.text.MessageFormat.format("Part1 {0} Part2", new Object[] { "SomeValue" }) will produce "Part1 SomeValue Part2".

  • How do I send images in an email, but not embedded in the message body?

    I want to submit some jpg images of artwork to a competition and the rules state that attached images must *not* be embedded in the email body. They want the list where you can see the file name and you click on it to open it, as I've seen in Windows MS Outlook. I've searched the net and I see that this is a problem for other people, but I've not seen a solution.
    I'm using the current version of iMail, and I've tried setting the message to Plain Text, the "Windows Friendly" setting, as well as the "Always attach at end of message" setting. All leave the image embedded. I'm using the current version of iMail. Anyone know how to do this? I have a deadline approacing so time is of the essence. Thanks!!

    I agree that it's a shame to have to buy something that I feel Mail should already do. That said, it seems that people's experience with sending attachments using Mail seems varies - I believe it's often to do with how the recipients email client is configured.
    All I know is that since installing Attachment Tamer (used to be called Mail Attachments Iconizer) a few years ago it's something I no longer have to bother about.
    I think you can run AT in demo mode to test flight it, before committing to buy.

  • How To Set JMS Message ID

    Hi,
    I am working for a client that uses a MQ Series as their interface routing infrastructure.  They have written some custom tools that log MQ messages.  Their tools expect the MQ message ID to be in a specific format YYYY_MM_DD_HHMMSS_AAAAAA where AAAAAA is a unique set of characters based on the millisecond.
    Is it possible to set the JMS message ID on a JMS receiver adapter?
    Thanks in advance for your help,
    Craig

    Hi Craig,
    as it looks you have to set the Message Id in a special format. I am not sure if this is possible at all. I didn't find a way to influence how XI sets the JMS Message Id.
    Maybe you could work with the JMS Correlation ID instead and have your client adapt his tools. You can use either a User-Defined Function or a Java Mapping, setting the so-called Adapter-specific attribute DCJMSCorreleationId
    Here you can find an example how to do this in the User-Defined Function:
    http://help.sap.com/saphelp_nw04/helpdata/en/43/03612cdecc6e76e10000000a422035/frameset.htm
    In a Java Mapping it is similar:
    http://help.sap.com/saphelp_nw04/helpdata/en/43/09b16006526e72e10000000a422035/frameset.htm
    This example uses the File Adapter, but the same applies for the JMS Adapter.
    The JMS Adapter has the namespace http://sap.com/xi/XI/System/JMS
    Have a look at this one to find out more about the Adapter-specific attributes of the Receiver JMS Adapter:
    http://help.sap.com/saphelp_nw04/helpdata/en/10/b1b4c8575a6e47954ad63438d303e4/frameset.htm
    I hope that this information is of some help for you.
    regards,
    Peter

  • How to set MQ message header properties using JMS adapter? (10.1.2)

    Hello,
    I am trying to send MQ messages from a BPEL process. We are using OAS 10.1.2 and JMS MQ adapter. Could you please let me know how to set the message descriptors like message format, type, report and reply to queue properties and queue open options (in jmsAdapterOutboundHeader).
    Regards,
    Geratayya

    put something like this
    <activationAgents>
          <activationAgent className="oracle.tip.adapter.fw.agent.jca.JCAActivationAgent" partnerLink="PARNERLINKNAME">
            <property name="clusterGroupId">SOMEUNIQUEVALUE</property>
            <property name="portType">PARTNERLINK_PORTTYPE</property>
          </activationAgent>
        </activationAgents>

  • Message retry count for the message has been exhausted

    Hi,
    I am using 'Custom Document Over Internet' with HTTPS as transport protocol. I have set the acknowledgement mode to Sync in order to receive the synchronous response. B2B is able to post the HTTP request successfully and in turn it receives a synchronous response and a MDN message. At the initial stage, after posting the request it shows the state as 'WaitForAck' for request message and for response and MDN messages, the state is completed.
    After some time when we check the state of request it is changed to 'Error' with the error message as 'Message retry count for the message has been exhausted'. We have not set the retry count and retry interval and so after retrying for 3 times with an interval of 120 minutes it is showing error state as it is not able to correlate the incoming response to the corresspoding request. We have tried the option of setting the Message id of the request in 'replyToMsgID' parameter of response header and tested the flow. But still I am facing te same issue. Please help me to resolve this issue.

    Hi Anuj,
    The property mentioned by NandaGopal has already been added in tip.properties file. I sent the B2B logs in debug mode and tip.properties file to your mail id. Please have a look into that. The result of opatch lsinventory command is
    Result:
    Installed Patch List:
    =====================
    1) Patch 9234704 applied on Fri Jan 15 16:41:12 GMT 2010
    [ Bug fixes: 8870866 9143036  ]
    [ This patch overlays patches " 8703410 " ]
    [ This patch needs patches " 8703410 "  as prerequisites ]
    2) Patch 8703410 applied on Thu Jan 07 17:56:08 GMT 2010
    Unique Patch ID: 11901808
    [ Bug fixes: 7652646 7497854 7664370 8708445 7661101 7007789 6352814 6802446 7665607 7641078 6496457 6013963 8330151 7305413 8619657 7460584 7529893 7458954 7020996 8393885 8210401 6329207 6740403 7126458 6511970 8783577 7379065 7230993 8704965 6774631 7198642 8309511 8392729 7661769 7605518 7479148 6733262 8349002 6736026 7322333 7242500 7239355 8746561 8344645 8451004 7645440 6747966 6369424 6737334 8339176 6774134 7046561 6412124 7210461 7506319 8630406 8235175 7258882 7184318 6453359 7456866 7673646 6043277 7457597 6769895 7193710 8239170 7668247 8404955 8612841 7261965 7132740 7485790 6518386 7305363 6852370 6433256 7673431 6764239 8360048 7501748 7379153 8281019 7498031 8216457 7046574 6875312 6754906 6656289 6417367 7658271 7556011 7000190 6979467 8594506 8691820 6852308 8475848 8518443 7600385 7211208 6732051 8524862 7461051 8263026 7609467 7379161 7672714 6353293 7157229 7594997 7211287 7034069 7563311 6822375 6640935 7359202 6769261 6919593 8601869 6029507 6974391 7139013 7518641 8605719 6817264 7501903 7496014 7576785 8666761 7130151 7322581 5523563 7680097 8508905 7241737 7660780 8480395 7660781 7191994 6924921 7672723 8432093 6800745 8703404 8540335 8507242 8608121 8217566 7481317 6639030 6200414 7529795 7354853 8475867 7376270 7303860 7016005 7678901 7368610 8992520 6881977 6016128 7033061 6397084 7672730 8703410 7709562 6449656 7045589 8508054 6491068 7378745 7643811 7435853 7615836 8707416 6447557 7379042 6940476 7670634 6950383 6764273 6962327 7478322 8546454 7157324 8871403 8862082 7184219 7672744 7164618 7672745 7230184 7576730 7590301 8746541 7261863 8327427 6769430 8295683 7526186 8298731 6414280 6139955 6646997 7692853 8233048 6794296 7457066 8552373 8225241 7706387 7204022  ]
    3) Patch 4601861 applied on Fri Nov 14 04:24:08 GMT 2008
    [ Bug fixes: 4601861  ]

  • Xacute Send Mail by placing an iGrid in the message

    It has been a few years since I have tried or seen this, but could someone either direct me or submit a sample of the format I should use when placing MII's applets in the message portion of the Send Mail in Xacute?

    Well applets generally don't work in emails for a couple of reasons.  For one.. MII security,  second, outlook won't display it...   But  other than that, its just like any other HTML page if you set the Message Content Type to text/html.
    Then you can drop in an applet call using the same syntax you would in a web page.
    However I would highly recommend using pictures or html tables instead, not applets.

Maybe you are looking for

  • Ipod touch first generation home button

    hello, i have an ipod touch first generation and i have the problem that the home button got stucked for no reason, it looks like it is constantly pressed. i know that the model is completely obsolete and that it would be better to buy a knew one, bu

  • Lost user profile and disk0s2: I/O error during start up in safe mode

    My almost 2 year old Mac Book Pro (10.7.5) started lagging and rainbow spiraling last week and now it usually doesn't make it to the login page after boot up. It stays on the gray apple screen until I hold the power button to power it off. If it make

  • "Safari could not download the file because there is not enough disc space"

    "Safari could not download the file because there is not enough disc space" I have 60gb available on my MBA and I have "read and write" privileges for the download folder. This error seemingly came out of nowhere. It doesn't matter if the file is 1gb

  • Background Task Alert - won't export PDF

    Hello I'm working on a booklet and have been able to export PDF versions of it yesterday but for some reason today it will not let me export a PDF anymore as it keeps telling prompting "Background Task Alert Failure." I've spent hours reading and try

  • Unable to retrieve records with search criteria

    Hi All, I am trying to retrieve records based on search criteria as below, but not able to retrieve records. I created a search Search s=new Search(repSchema.getTableId("Customers")); Search s=new Search(repSchema.getTableId("Customers"));