How to change Data in SOAP Header

Dear friends,
We are facing a problem with IDOCs. We have a scenario where in we are sending IDOC from a logical system XXXCLNT040 to another one XYZCLNT004 using XI3.0 SP10.
Now the problem is that we are simulating a situation wherein system XXXCLNT004 sends PORDCR1 idoc to XI and then XI send it to XYZCLTN004 which should return an acknowledgement to be sent to "just" XI and then to some third system not the original sender.
Now, the problem is that we changed the mapping of the IDOC field SDNPRN to point to XI logicalsystem so that the receiver sees that message is sent from logical partner XI and not from XXXCLNT004 but when I check the idoc in we05 of the receiver side it still has partner XXXCLNT004 instead of XI and it seems that it takes it up from the SOAP message header data.
Is there anyway we can manipulate this so that we can change/modify the sender logical partner information during runtime? or anyother suggestions.
Thanks & Best Regards,
Manish

Hi Manish -
You can't map the 6 sender and receiver control record fields (partner, port, and function) and have XI pick them up. See note 728792 for the fields that you can map. You can map them but they will be ignored even if you choose "Use control record values from payload". You need to use other methods. See note 792333 for the options.
Also check out the document "How To Sample IDoc Scenarios within XI3.0" which is available in the How-To section for XI 3.0. This will give you a number of scenarios. Drink a lot of coffee before you read this document.
This is definitely the most confusing part of XI IDoc processing so set aside some time to figure it out.

Similar Messages

  • How to get data from SOAP-Header/MAIN-Section?

    Hi,
    I need some data of the SOAP-Header-MAIN-Section, e.g. <SAP:Sender><SAP:SERVICE>
    Is it possible to get these data with XSLT-Mapping or Java-Mapping? Are there blogs about it?
    I need these data of the MAIN-Section inside the condition of the receiver determination.
    Thank you all.
    Regards
    Wolfgang

    Hi,
    Do you wnat to access the Sender Service details in your mapping using java or XSL mapping? this is possible.
    Check this link,
    http://help.sap.com/saphelp_nw04/helpdata/en/43/09b16006526e72e10000000a422035/content.htm
    Or do you want to access the SOAP header itself?
    Regards,
    bhavesh

  • Can any one tell me how to change the current row header in FB1LN tcode

    Hi,
    can any one tell me how to change the current row header in FB1LN tcode.
    I want to show input date also in the layout.
    Regards
    Mave

    Hi
    I know two ways:
    - transaction obvu: here you can insert new fields, but only if these fields are included in certain table (like BKPF, BSEG, BSIS.....
    - if your field isn't included in those table, you have to modify the structure RFPOS and manage it in the BTE 1650. After updating RFPOS you have to run the program RFPOSXEXTEND to update the structure RFPOSXEXT.
    Max

  • Passing data in SOAP Header

    Hi,
       I'm trying to make a SOAP call. As part of the SOAP message, I need to pass a string called session id. This doesn't seem possible from the message type, which only represents the SOAP body schema. How do I handle the SOAP header data in XI?
    Regards,
    Harsh

    Hi Udo,
       Thanks for the quick response. I'm trying to build the soap envelope manually. I imported this into the repository as an ED. But I'm not able to define use it in message mapping. Can you help me with this? I'm attaching the xml. Regards,
    Harsh
    <?xml version="1.0" encoding="UTF-8" ?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <types>
    <xsd:element name="ABC">
    <xsd:complexType>
        <xsd:sequence>
              <xsd:element name="soapenv:Header">
                    <xsd:complexType>
                      <xsd:sequence>
                        <xsd:element name="urn:SessionID" type="xsd:string" />
                    </xsd:sequence>
              </xsd:complexType>
           </xsd:element>
       </xsd:sequence>
       <xsd:sequence>
               <xsd:element name="soapenv:Body">
               <xsd:complexType>
                   <xsd:sequence>
                        <xsd:element name="urn:getserverTimeStamp" type="xsd:string" />
                   </xsd:sequence>
                </xsd:complexType>
              </xsd:element>
       </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </types>
    <message name="getServerTimestampRequest">
              <part element="urn:getServerTimestamp" name="parameters" />
         </message>
    </xsd:schema>

  • How to change data type of attribute in caf

    hi.
    this is my problem.
    i been added a attribute in an entity service called emloyee. named "Birthday", use the data type "com.sap.caf.core.date".
    when i tried modify the entity service, i hit exception about "DST Daylight Saving Time".
    because of DST, the date will add an hour such like "1957/04/01 00:00:00.0" to "1957/04/01 01:00:00.0", and com.sap.caf.core.date will throw an exception.
    is anyone had same problem like me?
    how to fixed it(if passable)?
    and, how to change data type?
    thanks.

    Hi Sruthi,
    all you need to do on this is open the report go to the parameters, select the parameter that you wish to change and click "Edit". This will allow you to change thefield to a date rather than a date time.
    Regards,
    Noel

  • How to change data source name and context root during deployment

    Hi,
    Env:
    WLS 10.1.3
    JDev 11.1.1.6
    Hudson
    I need to deploy two instances of my ADF application on the same development enviroment. We are using Hudson to deploy. My question is how to change data source name and application context root before second deployment.
    Kuba

    I don't believe there is an inbuilt facility to do this.
    Previously how I've done this is when checking files out using Hudson jovs, before the build I then use an Ant extension called XmlTask (http://www.oopsconsultancy.com/software/xmltask/) to modify the required XML files.
    Can I ask why you're doing this in the first place please? Multi-tenancy? 2 versions of the same app?
    CM.

  • How to change data format from  MM/DD/YYYY to DD/MM/YYYY

    HI,
    How can we change data format from MM/DD/YYYY to DD/MM/YYYY in Prompt and Report Level in obiee 11g.
    Please help me ont this.
    Thanks

    Hi,
    In Prompt:
    Try using EVALUATE function.
    Eg: Evaluate('TO_CHAR(%1,%2)' as character(30),"D5.Times"."Day Date",'DD-MON-YYYY')
    Report level:
    Try this in the column formula-
    Evaluate('TO_CHAR(%1,%2)' as character(30),"D5.Times"."Day Date",'MM/DD/YYYY')
    (or)
    EVALUATE('TO_CHAR(%1,%2)' AS CHARACTER ( 30 ), "Dim- Date".Start Date, 'MON-YY')
    http://108obiee.blogspot.in/2009/03/how-to-change-date-format-mask-in-date.html
    http://obiee-bip.blogspot.in/2011/08/customizing-obiee-calendar-display.html
    Some other methods.
    Metdhod 1:
    'Save System-Wide Column Formats' Option
    Check this.
    http://siebel-essentials.blogspot.com/2010/10/11-obiee-11g-tips-9-system-wide.html?m=1
    Thanks
    satya

  • How to change date format in OBIEE

    Hello
    I have a need to change the date column to a varchar column in OBIEE..
    The date column stores data in the format of 'YYYY/MM/DD', I need to change this to a varchar column with this format 'YYYYMM'..
    Since I am pointing directly at the transactional database, I can't make any changes at the database level, so I will have to do it in OBIEE layer, any ideas how it could be done?
    Many thanks in advance!

    hi user,
    Refer : http://varanasisaichand.blogspot.com/2010/01/how-to-change-data-format-to-our-custom.html
    http://varanasisaichand.blogspot.com/2010/05/evaluate-function.html
    Thanks,
    Saichand.v

  • How to change date format in select-option (mm.yyyy).

    Hi,
       Plz, How to change date format in select-option (mm.yyyy).
      in my selection screen date type selection-option is there ,when i am enter date   it's  taken  dd.mm.yyyy format,but i want mm.yyyy format.
    how to set that .
    Regards,
    Kk.

    sorry
    parameters : pmonyr type spmon or
    select-options : sspmon for PGPL-spmon .
    or what table ccontains spmon.
    regards
    shiba dutta

  • How to change Date format in Prompts.

    Hi,
    How to change Date format to DD/MM/YYYY in Dashboard Prompts.Kindly let me know.

    Hi,
    try to below ways
    1) By using cast fxn you can solve it.
    SELECT CAST("YOUR COLUMN" AS DATE) FROM "SUBJECT AREA NAME"
    2) This is a known bug get patch Bug 9280334: CALENDAR DD/MM/YYYY PROMPT IN DASHBOARD RETURNING FORMAT YYYY-MM-DD HH:MI:SS from support.oracle.com
    3) refer
    http://108obiee.blogspot.com/2009/04/changing-date-format-mask-in-javascript.html
    Thanks
    Deva

  • How to change date format

    Can anyone help me with this, Please?
    I have a form with start date and end date and the date format I am getting is YYYY-MM-DD. But I would like to change it to MM-DD-YYYY format. How do I achieve this??
    When I went to JFPREAMBLE_1, i see it reads:
    ^define group:PO_DOC_COMM__SVC_STRT_DT!FldNotAvail  \groupG_Commodity_Line\fieldPO_DOC_COMM__SVC_STRT_DT.
    ^define group:PO_DOC_COMM__SVC_STRT_DT!FldUsed      \groupG_Commodity_Line\fieldPO_DOC_COMM__SVC_STRT_DT.
    ^define group:PO_DOC_COMM__SVC_END_DT!FldNotAvail  \groupG_Commodity_Line\fieldPO_DOC_COMM__SVC_END_DT.
    ^define group:PO_DOC_COMM__SVC_END_DT!FldUsed      \groupG_Commodity_Line\fieldPO_DOC_COMM__SVC_END_DT.
    Can I change anything here to change the format??? Or how do I change date format??
    I would really appreciate your help on this. Thanks in advance.

    Hi,
    Try this in the column formula-
    Evaluate('TO_CHAR(%1,%2)' as character(30),"D5.Times"."Day Date",'MM/DD/YYYY')
    (or)
    EVALUATE('TO_CHAR(%1,%2)' AS CHARACTER ( 30 ), "Dim- Date".Start Date, 'MON-YY')
    http://108obiee.blogspot.in/2009/03/how-to-change-date-format-mask-in-date.html
    http://obiee-bip.blogspot.in/2011/08/customizing-obiee-calendar-display.html
    Some other methods.
    Metdhod 1:
    'Save System-Wide Column Formats' Option
    Check this.
    http://siebel-essentials.blogspot.com/2010/10/11-obiee-11g-tips-9-system-wide.html?m=1
    Thanks
    satya
    Edited by: Satya Ranki Reddy on Jul 2, 2012 3:57 PM
    Edited by: Satya Ranki Reddy on Jul 2, 2012 3:59 PM
    Edited by: Satya Ranki Reddy on Jul 2, 2012 4:13 PM

  • How to change date format in BR?

    Hi all!
    Does anybody know how to change date format in BR?
    I created global variable with type DateAsNumber and usage type run-time promt and used it in BR
    Then I launched a BR on the form and chose necessary date. Date stored in MM/DD/YYYY format, but I need DD/MM/YYYY.
    I tried to change format through Planning but then I recieved uncorect result(for instance, I selected 4(April)/14/2009 but it was stored as 4/02/2010)

    Hi,
    the date is always stored the same in Essbase. I think it's YYYYMMDD.
    You can change the format you enter the date in webforms and business rules by changing your planning application settings (Preferences->Display Options).
    Cheers.

  • How to Change Date Format in Registry

    how to change date format in registry so when u qeury the date column, it display in our specific format like 20-05-2005 instead of 20-may-05. i dont want to use to_char in query
    thanks

    Under HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\HOME{X}
    NLS_DATE_FORMAT = 'dd-mm-yyyy'
    You could also change the database date format :
    SQL> alter system set NLS_DATE_FORMAT = 'dd-mm-yyyy' scope=spfile;
    and restart the DB.

  • Change element in soap header

    hello,
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
    - <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SAP="http://sap.com/xi/XI/Message/30">
    - <SOAP:Header>
    - <SAP:Main xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsu="http://www.docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" versionMajor="003" versionMinor="000" SOAP:mustUnderstand="1" wsu:Id="wsuid-main-92ABE13F5C59AB7FE10000000A1551F7">
      <SAP:MessageClass>ApplicationMessage</SAP:MessageClass>
      <SAP:ProcessingMode>synchronous</SAP:ProcessingMode>
      <SAP:MessageId>79630070-BC27-11DC-BD4F-0017A4106568</SAP:MessageId>
      <SAP:TimeSent>2008-01-06T07:17:46Z</SAP:TimeSent>
    i sent the message in HTTPS,
    the problem is the target system can't get SOAP:mustUnderstand="1", the target system can get only SOAP:mustUnderstand="0"
    how can i change  SOAP:mustUnderstand="1" to SOAP:mustUnderstand="0"
    thanks,
    Shelly

    Hello,
    My propousal is as follows:
    Go to the involved comunication channel on the integration Builder and Select the option:
    "Do not use SOAP Envelope"
    Then create your own XSLT mapping program as bellow:
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format">
         <!-- Call Adapter
    -->
         <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SAP="http://sap.com/xi/XI/Message/30">
              <SOAP:Header>
                   <SAP:Main xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsu="http://www.docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" versionMajor="003" versionMinor="000" SOAP:MUSTUNDERSTAND="0" wsu:Id="wsuid-main-92ABE13F5C59AB7FE10000000A1551F7">
                        <SAP:MessageClass>ApplicationMessage</SAP:MessageClass>
                        <SAP:ProcessingMode>synchronous</SAP:ProcessingMode>
                        <SAP:MessageId>79630070-BC27-11DC-BD4F-0017A4106568</SAP:MessageId>
                        <SAP:TimeSent>2008-01-06T07:17:46Z</SAP:TimeSent>
         <SPECIFICMAPPINGPROGRAM/>
                   </SAP:Main>
              </SOAP:Header>
         </SOAP:Envelope>
    </xsl:stylesheet>
    Import the archive and select it in the Interface Mapping.
    Good luck!!

  • How to change date for Compensation Package Offer (IT0706)

    I try to change date for an existing record in IT0706 to a later date, however system prompted "The compensation package was already activated. It can not be changed" As I checked, the record status is "Activated". Can anybody help to advice on how to change the date ?
    Thanks~

    Hi Kishor...Thanks for reply...
    But i need to change my precentation variable date formt...
    i need to write one text like: 'Year to dd/month/yy' in one column formula..
    So how can i achieve it..

Maybe you are looking for

  • PO Status caught in a loop!

    I have an instance where a purchase order has been created from a requisition. There are two issues affecting it, causing the process to stall. 1. I have po value tolerance turned on 2. the po has been modified and requires re-approval. The Po value

  • IE 6 & 7 Won't Center this Div...

    Some pages on this poetry site are not centering in IE6 and 7. http://www.pictopoetry.co.uk/2011/01/fearsome-face/ It's not the same for all pages.  I just can't seem to find the fault. Thanks Martin

  • HT4906 Why do I have to update and pay money to use iCloud on my mac?????

    Please help me.

  • MD 2013 unknowncomputer.asmx

    I am trying to set up web service using MDT 2013 for unknowncomputer.asmx file .  There are two functions that are not working  - GetADSite and GetAssingnedSite.  (Other three SCCM functions are working fine.) However if I install Maik Koster web ser

  • Advise on Query KM Settings

    There were some features of the bi_showcase role that we don't want to implement so we modified the worksets associated with the role. Also, we don't want to give the user capability to provide permissions of their reports to others. I noticed that t