Sending IDoc Batches to SAP: Issue with Header Mapping for SNDPRN

We are sending batched IDocs from XI to SAP. We need the individual IDocs to reflect different SNDPRN values. Our mapping creates the different IDoc EDI_DC40 record correctly with different SNDPRN values. However, XI wipes out the SNDPRN values in the payload. When we define Header mapping to get the Sender Party as the XPath to the SNDPRN in the payload, then the header mapping errors out because the XPath returns multiple values.
I wanted to know if anyone has successfully implemented sending IDoc batches to SAP from XI with different SNDPRN values.
Your feedback is appreciated.
Jay Malla
Licensed To Code
Genentech SAP XI Team

Hello,
I have the same problem. I want XI send an IDOC with the SNDPOR, SNDPRT and the SNDPRN that are in the EDIDC40.
<u><b>I find this in sap.help : </b></u>
<i>Mapping
The IDoc adapter does not make any special demands on mapping. The IDoc adapter must simply be provided with an IDoc XML structure at the Integration Server outbound channel. This either already exists or must be generated by using a mapping.
If the IDoc XML structure contains a control record, it is deleted and created again by the IDoc adapter. If you want to include additional values in the control record, you must select the Apply Control Record Values from Payload checkbox in the parameters in the communication channel and provide a corresponding mapping for the values.
You can include the values from the following fields in your IDoc control record:
MESCOD, MESFCT
TEST
EXPRESS
STD, STDVRS, STDMES
SNDSAD, SNDLAD
RCVSAD, RCVLAD
REFINT, REFGRP, REFMES</i>
http://help.sap.com/saphelp_nw04/helpdata/en/b9/c5b13bbeb0cb37e10000000a11402f/frameset.htm
Perhaps we must use party configuration but I don't know how do this !
Regards,
Chris<u></u>

Similar Messages

  • Pass through scenario in SAP PI with no mapping for File to IDoc and Idoc to file scenarios

    Hi Experts,
    Can i have step by step process in SAP PI for pass through scenario with no mapping in case of file to Idoc and Idoc to file both cases please.
    What objects i can skip.
    My PI system is 7.3 dual stack.
    I have seen below blogs, still its confusing to me.
    When and how to create an scenario in SAP PI without mapping objects.
    Pass Through Scenario with no Mapping in PI 7.1
    Appreciate your help on this.
    Regards,
    Mohan.

    Hi Mohan
    In pass thru interface you don't need to create any ESR objects, only ID objects are required.
    Just Create a Receiver Determination and Receiver Agreement for your scenario (no need for Interface Det. and Sender Agreement).
    Specify the IDOC in the Sender Interface and namespace as urn:sap-com:document:sap:idoc:messages
    Or instead of creating objects manually, Run the wizard with Idoc name/namespace in sender/receiver interface
    Regards
    Osman

  • Send idoc to external sap system

    hi all,
    is it possible to send IDoc to a sap system which is not in the same network with XI? If yes, is there any special points that should be taken care?
    Regards,
    Hui

    HI Hui
    It is possible. But it is IDOC to IDOC Scenario.
    Check these below SAP contribution docs on Idoc-Idoc scenario:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c09b775e-e56e-2910-1187-d8eba09c7a4a
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f6d2d790-0201-0010-9382-b50b499b3fbe
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/903a0abc-e56e-2910-51a8-9dc616df56eb
    Cheers..
    Vasu
    <i>** Reward points if found useful **</i>

  • Issue with heat maps refresh process in EID 3.1?

    Issue with Heat Maps in EID 3.1? Heats maps don't refresh unless you go back to home page and then again go back to the Endeca app.
    In Oracle Sample app if we open the Map tab we will see that Milwaukee is really hot in the heat map. now if we filter the data to just show data from 100 miles within Orlando, FL then the map will get refreshed to show that area but the colors on heat maps do not change.
    Now if we keep the refinements same and go back to home page and again go back to sample app and maps tabs then it will still show area of 100 miles within Orlando, FL which is good but now heat map would have updated and it would show us correct color.
    Now if we remove the refinement then it would show complete US map as hot which is again wrong.
    I have observed this issue in chrome browser as well as firefox.
    Is there anyway to overcome this issue?

    This issue was resolved after applying latest patch from Oracle.

  • I have an issue with disappearing option for 1920x1080 in Preferences / Displays.

    Recently updated to 10.9 - have all updates installed - Mid 2010 iMac 21.5.
    I have an issue with disappearing option for 1920x1080 in Preferences / Displays. - After overnight shutdown, my iMac woke up and the screen resolution of my 2nd was set at 800 x 600 - the display a Samsung S22B150 was previously working properly at 1920 x 1080.  This option is no longer available in the system preferences - highest resolution available 1600 x 1200.
    I use my mMac for Photography and use the second monitor for the interface, leaving the iMac screen as a full work area for the photos.
    I have tried:
    Power down Monitor & restart
    Shutdown & restart
    Shutdown & restart in Safe Boot Mode (options same in Prefs)
    Power down Monitor & restart in Safe Boot Mode
    Ran Disc Utility - Repaired Permissions, verified both HDD & Mac OSX
    Udated Pram
    I am now at a loss, I guess I could try a recovery, and download/install  Mavericks again, but do not wish to do this if I can help it.
    I have searched the net to see if there are any Terminal commands to enable the resolution, but can find nothing.
    Anyone out there have any ideas, please.

    Back up all data. Quit System Preferences if it's running.
    Triple-click anywhere in the line below on this page to select it, then copy the text to the Clipboard by pressing the key combination command-C:
    ~/Library/Preferences/ByHost
    In the Finder, select
    Go ▹ Go to Folder...
    from the menu bar. Paste into the box that opens (command-V), then press return. A folder should open. If it does, look for a file with a long name that begins "com.apple.preference.displays2". There may be several such files. Move them to the Trash.
    Test.

  • Issue with Visibility Settings for Backgrounds and Layers

    I am using Acrobat Pro XI 11.0.10 (Windows) and having an issue with visibility settings for layers and backgrounds. I am attempting to get backgrounds to appear while viewing in Adobe Reader and Acrobat Pro but not be printed and so far have had no success.
    When using a background the Appearance Options dialogue has "Show when printing" unchecked, but "Show when displaying on screen" is checked. This results in the background not showing on the screen, and the background will only appear once the box for "Show when printing" is checked. It looks like the option for printing is dictating whether or not the background is able to appear.
    Using layers has not worked either. The background layer is set to "Never Prints", but will still show up when printed.
    I was wondering if anyone else has run into this and has a solution, or has any recommendations.
    Thanks in advance.

    Hi setrev2012,
    How are you adding the backgroud?
    The only way I can think to accomplish this is via a watermark.
    The basics...
    Open PDF in Acrobat. Choose Pages > Watermark > Add Watermark.
    Select a jpg or PDF of your background and adjust scaling options as desired.
    Then click the Appearance Options.. and uncheck the Show When Printing option.
    In this image the PDF is a blank page with the word "Test" on it. The watermark is the stamp and impression (a stock photo jpg).
    If you want a solid color background, just create a flat image of the background color for use as the watermark.
    If you have already followed the steps and still facing the issue then please share the file with me at [email protected] so that i can have a look.
    Regards,
    Rave

  • Hello every one, am having issue with my itunes, for some reason or another my icon in the itunes doesnt change, its stuck on Songs, and will not let me get playlist or anything else. can any one tell me if that can be fixed

    hello every one, am having issue with my itunes, for some reason or another my icon in the itunes doesnt change, its stuck on Songs, and will not let me get playlist or anything else. can any one tell me if that can be fixed

    http://support.apple.com/kb/TS3694#error-1
    Error 1 or -1
    This may indicate a hardware issue with your device. Follow Troubleshooting security software issues, and restore your device on a different known-good computer. If the errors persist on another computer, the device may need service.

  • Litlle problem with nokia maps for 5800 xm

    hi evryone,
    i have a problem with nokia maps for my 5800 xpressmusi which is i cant find my acces point when itry to GO ONLINE
    please help thank you

    Hi,
    When you switch on your device for the first time, the access points may be configured automatically based on the service provider information in your SIM card. Otherwise contact your operator or service provider to receive the access point settings if you cannot find it..

  • Issue with provided message for WSDL of SAP PI sender interface

    Hi,
    as I am not familar with SOAP interfaces and use of WSDL by partners with WSDL generated in SAP PI there are some issues that I have with a scenario:
    1. Import of external xsd for message is done
    2. Enterprise Repository and Integration Directory objects are completely created and activated
    3. WSDL was generated from ID Sender agreement (This is PI 7.1)
    4. Partner got the WSDL
    The partner provided now some test messages by mail that I would like to test in the mapping as the message is really complex.
    But the result is strange...
    1. The header of the partner message is this:
    <XJustiz_Daten xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <Grunddaten xmlns="http://www.xjustiz.de">
    (Some german words are in that example. But this doesn t matter!)
    This is different to the xml that PI generates in mapping:
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:XJustiz_Daten xmlns:ns0="http://www.xjustiz.de">
       <ns0:Grunddaten>
          <ns0:Grunddaten XJustizVersion="">
    Partner defines xsi:   instead of ns0   and PI fails using this message!
    So I had to change the message header and add ns0: to all element tags and node tags of the message.
    (See for example with first node "Grunddaten").
    2. There are some mandatory nodes and elements.
    An example:
    - Rechtsform is mandatory node (1..1) with element content (mandatory 1..1)
    So it will appear in the payload like this:
                        <ns0:Rechtsform>
                                <ns0:content xmlns=""/>
                         </ns0:Rechtsform>
    But the partner provides this:
    <Rechtsform xsi:nil="true" />
    which is the next issue as PI doesn t understand as xsi is not mapped to a namespace. !
    It would be easy to use an "exist" function to solve the issue with the not provided element but this will not help
    when the node is provided with additinal information xsi:....
    Can you give any help/answer why PI is not able to handle such things.
    Thank you!
    Best regards
    Dirk

    Hello Meinhard,
    If you are the Service Owner, the sender system must use your wsdl message (WebService Definition).
    If there're other problems or the sender system can't use your message structure, in agreement with them you need to develope a different mapping.

  • Sending IDoc from Non-SAP system to XI

    Dear all,
       We have a non sap system which needs to send IDoc to XI, Please could you answer my following four questions
    1. What should be the values for the following fields in the IDoc control record
    e.g. RCVPRN = <logical system name of XI>
    SNDPOR
    SNDPRT
    SNDPRN
    RCVPRT
    RCVPOR
    2. How does XI decide which port(idx1) to be used when it receives an idoc
    3. The third party system is a non sap one, so it does not have a client no, so I would assume, I need to use another SAP system as a meta data provider, in that case, how would i tell XI to use that port when it receives IDocs from the non-SAP system ?
    4. In what step does XI use the logical system name of the Business system(in SLD)?
    Thanks in advance
    cheers
    danus
    Edited by: Chidambaram Danus on Jan 25, 2008 2:21 PM

    Hi
    there is bit wrong interpretation of the statement
    If the sender system is a non-SAP system, the sender service is identified from the logical system name of the sender port.
    If the sender system is nonSAP it indicates taht the data is coming to XI from non sap systems such as file, database, webservice etc. to XI and from XI it will pass to sap as IDOC inbound.
    For this you need to create the logical system in SAP (receiver) and pass on that value to IDOC header.
    You could maintain it in the Business service used for Sender system (nonSAP). here it will be available in the tabs ---> History.
    note : IDOC is the concept of data container in SAP, you will not be able to have the IDOCs in non sap systems...
    Thanks
    Swarup
    Edited by: Swarup Sawant on Jan 25, 2008 2:54 PM

  • Send IDOC Messages to SAP

    I have a text file which contains lots of records. I have created a schema for that text file.Then I mapped this schema with IDOC (Acc_Document03)schema.Now I want to send this IDOC message to SAP.There is not shown any errors by BizTalk admin console.But
    the message is not reached to SAP.But when I  send this IDOC message to a location through File adapter instead of SAP adapter then it has reached there .Why this is happening ?
    Please also tell me how to send multiple IDOC message to SAP ?

    Hi Glenn.
    I got the following error:
    The adapter failed to transmit message going to send port "Interplx.SAP_SendPort" with URL "sap://CLIENT=130;LANG=EN;@A/10.151.97.51/00?RfcSdkTrace=False&AbapDebug=False&ListenerGwHost=10.151.97.51&ListenerGwServ=SAPGW00&ListenerProgramId=BTSIDOC_DEV-".
    It will be retransmitted after the retry interval specified for this Send Port. Details:"System.Xml.XmlException: Start element 'ITEMNO_ACC' from namespace 'http://Microsoft.LobServices.Sap/2007/03/Types/Idoc/3/ACC_DOCUMENT03//701' expected. Found element
    'ITEMNO_ACC' from namespace ''.
    Server stack trace: 
       at System.ServiceModel.AsyncResult.End[TAsyncResult](IAsyncResult result)
       at System.ServiceModel.Channels.ServiceChannel.SendAsyncResult.End(SendAsyncResult result)
       at System.ServiceModel.Channels.ServiceChannel.EndCall(String action, Object[] outs, IAsyncResult result)
       at System.ServiceModel.Channels.ServiceChannel.EndRequest(IAsyncResult result)
    Exception rethrown at [0]: 
       at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
       at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
       at System.ServiceModel.Channels.IRequestChannel.EndRequest(IAsyncResult result)
       at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfClient`2.RequestCallback(IAsyncResult result)".
    Prakash

  • PO Form Issue with Header Level Changes

    Issue:
    It has been observed that whenever changes are done in PO Header (e.g. Header Text), system prints Billing Address and Communications Details as blank. If the changes are made to Line Item level along with header then system prints the Billing address and Communication Details correctly.
    Analyse:
    we are using the SELECT statement below to fetch the field for
    Billing Address and Communications Details.
    SELECT SINGLE
    mandt z_plant z_company_code z_toll_free_no z_local_no z_fax_no
    z_email z_name1 z_name2 z_street z_house_no z_district z_post_code
    z_city z_country z_vat_no z_loc_term_cond z_langu
      FROM zptp_poformdata
      INTO w_poformdata
      WHERE z_plant = ls_ekpo-werks
    AND   z_company_code = ls_ekpo-bukrs .  
    And when we only change the header level  data no value is passing for comany code and plant . as a result Select statement gets failed and we are getting blank window.
    NOTE: we are getting blank box only when we fire a print or fax.The preview is coming fine.

    by asking so many questions in a single post,you are violating the rule of engagement given below
    Only One Question Per Posting
    For each question that you have, make a separate posting. Don't ask multiple questions in one posting, this is confusing for people and might not get answered, since the subject line does not reflect all your problems. If a new and unrelated question comes up during a thread, start a new thread.

  • Whether this function module K_DOCUMENT_UPDATE can send IDOC to Non SAP Sys

    Hi,
    I know function Module K_DOCUMENT_UPDATE can sent IDOC to R/3 systems.
    1.Whether this function module can sent the IDOC to Non SAP System?.
    2.How to make sure, that the function module can sent IDOC to Non SAP System?.
    Please advise.Thanks.
    Regards,
    Dinesh

    Hi Dinesh,
          Inside this function module K_DOCUMENT_UPDATE there is a FM available 
    CALL FUNCTION 'K_DOCUMENT_SEND'
           EXPORTING
                I_LOGSYS      = LOGSYSTEM
                I_COBK        = COBK
           TABLES
                T_COEP        = LT_COEP
                T_COEPL       = LT_COEPL
           EXCEPTIONS
                 This FM is responsible to send IDOCs to the defined logical system LOGSYSTEM. No matter this logica; system is SAP or non-SAP IDOC will be sent. Prerequisite are,
    1) RFC connection exist between system
    2) Partner profile is configured between the system.
    Regards
    Ram

  • Issue with Head count

    Hi,
    I have a report in BEx 7.0 which displays the Orgunit wise Employee Head count for the month Interval entered by the user. The 0EMPLOYEE is a time dependent charecteristic. For calculating the head count i have created a formula variable as:
    Type: replacement path
    Ref charecteristic: 0EMPLOYEE
    Replace variable with: InfoObject and Charecteristic Reference (Constant 1) with the Calculation After Calculation.
    Each employee has an Orgunit as an attribute.
    Now when i run the report for period: 01.2010 to 07.2010 it does give me a count but for employees who have changed their orgunit's in this period the report counts it as two. Which should actually be 1 since its a single employee with just a change in Orgunit.
    Can you please suggest.

    Hi,
    Instead of that try to get the head count by making use of Exception Aggregration .
    Mke new formula and put 1 inside it then hit aggregation tab and choose count of all values NE 0 and refernce characterstic as
    0Employee.
    This will give you count of all the employees,now as you mentioned you need to get the count with respect to org unit so fot that make another formula and put your earlier formula inside it and this time choose Aggregation as Total and refernce characterstic as Org Unit .
    Hopefully it will give you the correct count.
    Regards,
    AL
    Edited by: AL1112 on May 13, 2011 9:17 AM

  • IDOC TO HTML FILE SCENARIO WITH XSLT MAPPING

    Hi ,
                 I am doing idoc to html file using xslt mapping can anyone provide me some help(material or example ) please reply soon.
    Thanks & Regards,
    Vinay Yadav

    Hi ,
    For xslt mapping the place to start is
    http://www.w3schools.com/.
    in help.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/83/2200cb50d345c793336d9a1683163e/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/a4/64b93d0d4e6b3be10000000a114084/frameset.htm
    There are some blogs here which can proove to be good.
    /people/pooja.pandey/blog/2005/06/27/xslt-mapping-with-java-enhancement-for-beginners
    /people/pooja.pandey/blog/2005/06/27/xslt-mapping-with-java-enhancement-for-beginners
    https://weblogs.sdn.sap.com/pub/wlg/3823 [original link is broken] [original link is broken] [original link is broken] [original link is broken]
    Regards ,
    Deepak
    /people/anish.abraham2/blog/2005/12/22/file-to-multiple-idocs-xslt-mapping

Maybe you are looking for

  • Excel_Work​bookClose in excel2000.​fp generates unwanted "Save As" prompt.

    Hi, I created a LabWindows/CVI application that is developed and built on: Windows XP Pro SP3 Labwindows/CVI 2009 Version 9.1.1 Microsoft Excel 2000 The application generates a report using excel2000.fp activex functions. We've been running successfu

  • Flash Builder 4.6 - results of web service into arrayCollection?

    Hello, I'm coming from Flex 2 environment where it seemed easy to create an array collection from the data returned from my webservice using ArrayCollection and ArrayUtil. I've since switched over to flash builder 4 and am using the data services wiz

  • SCD Type 2 - effective/expiration dates

    OWB 11g 11.2.0.2 I'm coming in cold to an environment where there's a business need to have a pair of start/end dates in a type 2 DIM, very simillar to the way the effective/expiration dates are maintained by OWB. The difference is that the end date

  • Radar pulse generation

    I would like to generate a series of cycles of a Sinewave at about 1 GHz (creating a Pulse of about 1.6 uSec).  I'd also like to monitor this in the time domain with the 5661. More specifically, I want to trigger the 5661 from the 5671 (the RF Pulse

  • I want to cancel my Creative Cloud Membership subscription.

    While my  status is "Your plan: Creative Cloud Free membership" You have access to 30-day free trials of all our products, limited access to services, and 2 GB of cloud storage. I am charged every month fpr 11,88euros. I want to cancel this subscript