IDOC-XI-XML Scenario Questions

Hi everyone,
I am actually trying to configure a scenario starting from SAP and finishing creating a XML file.
R/3 IDOC -> XI -> XML file
The XI is receiving IDOCs from SAP correctly, but when it try to send to third party system, the monitor engine (SXMB_MONI) are showing the following error: HTTP_RESP_STATUS_CODE_NOT_OK.
I am currently using the File Adapter, please take a look at the config for the communication channel:
Adapter Type: File
http://sap.com/xi/XI/System
SAP BASIS 6.4
Transport Protocol: File Protocol(FTP)
Message Protocol: File
Adapter Engine: Integration Server
Target Directory: /  (root)
File Name Scheme: mptest_xi_output.dat
File Construction: Create
Overwrite File: X
File type: Binary
Adapter Status: Active
Regards,
Gabriel Santana

If you have enough authorization, then click on the last button which is change button.
Otherwise, open two windows of SAP and try to do the above step and when you get the authorization error, go to the second window and enter transaction /nSU53. Send that info to your security team.
Once you have authorization you should be fine.
One other thing, in which client you are doing this ?
Do not use DDIC user to change it.
regards
Shravan

Similar Messages

  • IDOC To XML Scenario

    Hi all,
    In my scenario I need to map fields of IDOC XML to a v complex and generic Enevelope ( XML ) <b>As well as send the entire IDOC XML as a string to one of the fields of the target Envelope XML</b> </b>    Now wht is the best approach for mapping :
       Java / XSLT ?
       Is there any better simpler method to achieve this requiremnet ?
    Thanks and Regards,
    KLK

    Attached is the code in Java Mapping
            private InputStream  payload ;
         /* (non-Javadoc)
    @see com.sap.aii.mapping.api.StreamTransformation#setParameter(java.util.Map)
         public void setParameter(Map arg0) {
              this.param = arg0;
           if (param == null) {
               this.param = new HashMap();
         /* (non-Javadoc)
    @see com.sap.aii.mapping.api.StreamTransformation#execute(java.io.InputStream, java.io.OutputStream)
         public void execute(InputStream arg0, OutputStream arg1)
              throws StreamTransformationException {
                   DefaultHandler handler = this;
                   try {
                     payload = arg0;
                 BufferedReader inp = new BufferedReader(new InputStreamReader(payload));
           StringBuffer buffer = new StringBuffer();
           String line="";
         while ((line = inp.readLine()) != null) {
                        buffer.append(line);
                          source=buffer.toString();
      if(source != null)
      param.put("key1",source);
      else
      param.put("key1","Its Empty");
                   catch (Exception e){
                        e.printStackTrace();           

  • Mapping Problem in IDOC to XML scenario

    hi,
    In the target i have a tag which says:
    Extrinsic 0..unbounded
    name     required
    I have to map the above target to a source which comes from different IDOC segments.
    E.g.
    if E1EDP17.Qualf = '002' then map the E1EDP17.lktext to the "name"
    if E1EDP17.Qualf = '001' then map the E1EDP17.lktext to the Extrinisc.
    If data resides in other segments, how would i map those segments to the same output in xml.
    Example:
    <Extrinsic name="a">test</Extrinsic> -> this comes from E1EDP17 segment
    <Extrinsic name="a">test</Extrinsic> -> comes from segment A
    <Extrinsic name="a">test</Extrinsic> -> comes from segment B
    How can i use a single Target to map from different sources if they are in different segments?
    Any tips?
    Thanks,
    KP
    Message was edited by: Tirumal Kumar Pappu

    Tirumal,
    U will have to use comination of node functions like <b>exists</b> and <b>mapWithDefault</b>.
    Are you sure that, E1EDP17.Qualf will have the value '002' or '001'.
    There are some very good blogs on mapping by Sravya. Go through them and also go through the following link.
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm">sap help for Mapping</a>
    Please reward if helpful

  • IDOC to XML SOAP Scenario

    Hi All,
    I want to implement IDOC to XML SOAP scenario for 3 different IDOC types.
    Should i implement it under same namespace or use different namespace for each IDOC to XML scenario.
    Thanks,
    Vishal

    Hi,
    depends on your requirement and your XML SOAP receiver
    there are no general rules
    Regards,
    Michal Krawczyk

  • Regarding receiver determination problem in IDOC-XI-XML file scenario

    Dear All ,
    In IDOC-XI-xml file scenario , I have configured SLD , IR . But in ID , after file adapter , reciever agreement configuration when I am doing receiver determination configuration I am not able to insert mapping program in configuration overview of receiver determination as I am not getting "New Specific" option in mapping .
    Can anybody suggest what could be the reason behind this .
    Thanks in Advance
    Prabhat

    Hi PRabhat,
    In RCVR determination, you need to select the party & service (as appropriate) save the obeject
    then refresh the configuration overview of recr det.
    then you can see the partner/service
    then you can open it & add the necessary objects.
    Regards
    Vishnu

  • How to eliminate empty tags in out put XML file in IDOC to File scenario

    Hi Experts,
    I am doing IDOC to File scenario.
    My Out put XML is in to FTP is as below
    <ITEMS>
        <item>
              <A>asdf<A>
              <B>GHIJ<B>
        </item>
        <item>
              <A>123<A>
              <B>G098<B>
        </item>
    </ITEMS>
    <ITEMS/>   -
    > Means no data
    <ITEMS/> -
    > Means no data
    <ITEMS>
        <item>
              <A>yyy<A>
              <B>zzz<B>
        </item>
        <item>
              <A>arrr<A>
              <B>Ghhh<B>
        </item>
    </ITEMS>
    Now I want to eliminate tages <ITEMS/> in out out put XML file ( PIwhich writes in File server).
    1) Is there any setting in communication channel to do this
    2) Is there any settings in Mapping proram to suppress parent tag if child tags are not available.
    I want output as below .
    <ITEMS>
        <item>
              <A>asdf<A>
              <B>GHIJ<B>
        </item>
        <item>
              <A>123<A>
              <B>G098<B>
        </item>
    </ITEMS>
    <ITEMS>
        <item>
              <A>yyy<A>
              <B>zzz<B>
        </item>
        <item>
              <A>arrr<A>
              <B>Ghhh<B>
        </item>
    </ITEMS>
    Thanks,
    Subbu

    items->mapwithdefalut(just empty in the value)-> euqals(check with empty constant)->not->createif->target node
    and make sure that as Ravi kanth said ...occurance is  min is 0 at target side
    Regards,
    Prasad.
    Edited by: PRASAD KONDA on May 21, 2009 1:50 PM

  • IDOC to XML file scenario with party

    Hi All,
    I am developing a IDOC to XML file scenario with party in which I have extended the MATMAS idoc and configured the receiver FILE communication channel.
    But its giving me the error *"No receiver could be determined"*  with party. If I run the same scenario without the sender party its working fine.
    And sender is my R/3 system under party P_Party and receiver is my third party system under P_Party.
    Thanks in advance.
    Gaurang

    U can give a try as follows.
    In the Partner Profile of Sender R/3 system,
    Give the Receiver Party P_Party in the PartnerNo. Give the 'Business Partner' as logical System type.
    In XI, Party Definition of P_Party
    Give the following Alternative Identifier
    Agency  -   Sender R/3  Business System       
    Scheme -   ALE#GP
    Value    -    P_Party

  • Questions to a Mapping for IDOC-to-File Scenario

    Hi all,
    I want do develop a Message-Mapping for an IDOC-to-File Scenario. A SAP System sends an IDOC to the XI-System and the XI-System should make a mapping an send a XML-File to a FTP-Server. The Strukture of the target message is very easy:
    <xdoc>
       <Invoice>
          @purno
          <HeaderInfo>
             <invno/>
             <shipdate/>
             <extvalue/>
          </HeaderInfo>
          <DetailInfo>
             <LineItem>
                @lineno
                <vpartno/>
                <descrip/>
                <qtyord/>
                <cost/>
                <vendmemo/>
             </LineItem>
          </DetailInfo>
       </Invoice>
    </xdoc>
    The source message is an IDOC. This IDOC can contain one or more positions (E1EDP01). Those different positions should be mapped into different LineItem's (see target structure) -> so in the target file one or more LineItems can appear.
    Is it possible to implement this process with a common message-mapping or have I to implement a business process?
    Thanks
    with best regards
    Christopher

    Hi Christopher,
    <i>Is it possible to implement this process with a common message-mapping or have I to implement a business process?</i> - This thing is possible with common message mapping......you dont need business proces for it.......in msg mapping after taking the source IDOC and target xml struc, map the E1EDP01 field to LineItem field.......just check the occurance of these nodes.....it should be 0..unbounded.........so as many E1EDP01 nodes will be there in idoc, that many LineItem nodes in target will be created.......
    Thanks,
    Rajeev Gupta

  • Question on IDoc to File scenario

    Hi Guys
    I am doing an IDoc to File Scenario, and my sender system is maintained in the SLD as a business system, an I have created my RFC destination and Port acording this blog: http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/1310. [original link is broken] [original link is broken] [original link is broken] but when I use transaction idx2 the is niothing on a LOADED METADAT.
    I have imported the idoc to integration repository : "FLCUSTOMER_CREATEFROMDATA.FLCUSTOMER_CREATEFROMDATA01"
    My file will be created on the FTP Server directory.
    My question is, do I have to created the RFC connection of type 3 or type T.
    Thanks
    Yonela

    Hi Yonela,
    Go thru the following threads and troubleshoot..
    IDoc was saved but cannot or should not be sent
    "IDOC saved but cannot be sent"
    Regds,
    Pinangshuk.

  • ALE IDOC to XML IDOC scenario using XML port

    Hi,
    I am working on ALE IDOC to XML IDOC scenario using XML port . The requirement is to place a XML IDOC on the application server using ALE IDOC scenario ( output type is created in NACE which is ALE enabled ).
    Can anybody help me on the steps.
    Regards
    Kumar
    Moderator message: please search for available information/documentation.
    Edited by: Thomas Zloch on Sep 8, 2011 6:01 PM

    U can give a try as follows.
    In the Partner Profile of Sender R/3 system,
    Give the Receiver Party P_Party in the PartnerNo. Give the 'Business Partner' as logical System type.
    In XI, Party Definition of P_Party
    Give the following Alternative Identifier
    Agency  -   Sender R/3  Business System       
    Scheme -   ALE#GP
    Value    -    P_Party

  • Multiple target files - Idoc to File scenario - Simple question

    Hi,
       I have a simple IDOC to File scenario. However at the occurence of a node say node A I need to generate a file
    For example if the input IDOC has 3 Nodes for Node A I need to have 3 different files one for each node.
    Any help is appreicated.
    Thanks
    Joe

    Hi,
    Map your node A to the Target root node.
    it will generate the Flat files based on node A.
    Regards,
    sukarna.

  • IDoc-to-File scenario with external Partner ... PCK necessary?

    Hi all,
    I have a question concerning to a IDoc-to-File Scenario with an external Partner. Here is a short Description of the Scenario:
    The SAP ERP System creates an IDoc which should be send to the SAP Integration Server. The Integration Server respectively the IDoc-Adapter transform the IDoc in IDoc-XML. The Integration Server executes a Mapping and so on. In the final step the Integration Server should send the XML-File to a FTP Server in New York (external Partner) with the File/FTP-Adapter.
    Have I to install the Partner Connectivity Kit at a Server in New York or is it working without the PCK? Which are my possibilities?
    Thanks for your help
    with kind regards
    Christopher

    Hello,
    If the FTP server has connectivity to XI and if the
    port is open XI can directly do the FTP using File
    Adapter.
    Thanks,
    Himadri
    Hi,
    thanks for your quick answer.
    What means "connectivity to XI"? Our SAP-Environment is in Germany and the FTP-Server is in New York. Is it enough to open the port in the firewall?
    Thanks for your answer
    Christopher Kühn

  • ABOUT DATA SENDING IN idoc TO file SCENARIO

    How the data is sended in idoc to file scenario?
    what is the difference in sending data through BD10, BD14 and WE19 ?
    Is the data is sended through XI OR R/3 SYSTEM?

    Hi Rammohan
    >> How the data is sended in idoc to file scenario?
         Makeing settings in SAP R/3 side then based on the RFC
         destination,port,parterner profiles.....
         Idoc can hold the data with out any direction but RFC port will direct where to
        go ...based on the partner profiles (Out buond IDOCS)
    >>what is the difference in sending data through BD10, BD14 and WE19 ?
        BD10,BD11,BD12,BD13,BD14 will be to send the master data automatically
        generally will be in the production(But not for testing) and this will be depending
        on the declaration of profiles in the BD64
        --- But we19 will be used to test the Idocs with any data
            but here we need to give all the parameters like senders,receivers,ls,idoc...
    >>  Is the data is sended through XI OR R/3 SYSTEM?
         Data will send through XI  i.e XI will receive the Idoc and Convert into XI specific
         SOAP XML message and process all the pipe line steps ...based on the target
         it will send
         Here target is file so choose the file adapter as target and give all parameters
         it will work fine
    I hope this will answer your question
    regards
    --- prasad

  • Idoc to file scenario doc

    Hi,
    Can anybody share the document of IDOC to File Scenario for Vendor Master.
    Regards,
    Balaji

    Hi Balaji Permi ,
    Check these websites which wil answer u'r question:
    A Step-by-Step Guide on IDoc-to-File Using Business Service in the XI Integration Directory
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e07dcaa0-a92b-2a10-3a96-b3d942bd1539
    How to convert an IDoc-XML structure to a flat file and vice-versa in XI 3.0
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/46759682-0401-0010-1791-bd1972bc0b8a
    Introduction to IDoc-XI-File scenario and complete walk through for starters.
    Introduction to IDoc-XI-File scenario and complete walk through for starters.
    IDOCs (Multiple Types) Collection in BPM
    IDOCs (Multiple Types) Collection in BPM
    cheers!
    gyanaraj
    <removed by moderator>
    Edited by: Mike Pokraka on Aug 12, 2008 3:07 PM

  • Idoc-xi-file scenario.  how to display file in html format

    I am not sure whether this is a valid question.........but want to confirm as it was asked by somebody
    In idoc-xi-file scenario.......  how to display file in html format ??
    Thanks in advance
    Kumar

    Hi Vijayakumar,
    Thanks for your reply !! You mean to say I got to use XSLT mapping and also .htm and .html extension together to produce the html file ?? or it is sufficient to use any one of them to produce the html file ??
    Regards
    Kumar

Maybe you are looking for

  • Using Apple TV to display my desk top on my laptop

    I had hoped I could use my flat screen tv as my computer screen for presentations I would normally do I my laptop. I thought Apple TV would allow me to do this but I don't see anything in the menu that might allow it. Does anyone have any thoughts ho

  • Running OSX Update, screen goes black - nothing!! HELP!!

    I have an old iMac and I haven't used it for much besides a DVD player in the last 2 years. I'm planning on making it more of an every-day computer and was updating to 10.6.3 so that I could then update to 10.7.  While running the 10.6.3 update, it s

  • Trying to import my new pics

    When I plug in my iphone 5s I hear a syncing sound, and it will sync to Itunes.  What won't happen is the little box that used to come up (for my old iphone) to select "import photos/videos".  I'm really frustrated and don't know what to do.  My phon

  • Cannot find Iphone icon in Windows 8/my PC.

    How do I transfer video's? I  cannot find the iPhone icon in Windows 8/ My PC.

  • Multiple Desktop Windows suddenly not available how do I fix this?

    I changed one preference in MIssion Control System Preference - - assigning Dashboard to F5. I then noticed that when I open mission control it shows only Dashboard and 1 application desktop. Also the ways of accessing desktops have been limited to c