File to Proxy scenarios, varying Transport Protocol

I need to define a "normal" scenario which will pick up files from an external FTP location, and process them with a server proxy.
But there's the additional need to pick files from an arbitrary local file server in which some users could drop manually files they received by mail, which should be processed in the same way.
This forced me to define two communication channels, two sender agreements, etc, and dupplicate in general all the directory objects. The CCs vary in the protocol and directories properties, but the content conversion parameters are also dupplicated (Recordset, fieldNames, fieldSeparator and such).
I will have this same situation with at least 4 interfaces which leads to a lot of objects proliferation.
Is there any way to avoid this massive dupplication?
Many thanks!

Hi Alejandro -
your suggestion didn't apply because in this case we are talking about the same adapter but different protocol which requires two separate CCs
>>>No need to have two separate CC's when you go with execute OS commands option.
Only one channel which will pick the files from local file system. But before processing these you execute the OS commands to download the files from FTP server.
But of course, as you are comfortable with the the other suggestion, you can create the channels and sender agreements..

Similar Messages

  • File to File scenario using Transport Protocol FTP  Problem

    Hi,
    my scenario is a file to file scenario using Transport Protocol FTP
    there are 3 systems involved
    a. computer 1 ( My system-source)
    b. computer 2 (XI server)
    c. computer 3 (Target system)
    I want XI to pick file from computer 1 and post it to computer 3
    I am logging on to XI server from computer 1(thro SAP GUI),
    <u><b>Sender communication  channel :</b></u>
    Transport protocol:FTP
    Messsage protocol: file
    <u><b>In FTP connection Parameters:</b></u>
    Server: computer 1 IP address
    port:21
    User name and PW---> I have given computer 1 Username and password.
    Connection mode: permanently
    Transfer mode: Binary
    Folder: C:\ftproot\output
    filename : given
    <u><b>In Receiver Communication Channel</b></u>
    Transport protocol:FTP
    Message protocol: file
    <u><b>In FTP connection Parameters:</b></u>
    Server: computer 3 IP address
    port:21
    User name and PW---> I have given computer 3 Username and password.
    Connection mode: permanently
    Transfer mode: Binary
    Put File: Use Temporary File
    Folder:
    eccserver\saploc\tmp
    filename scheme: given
    When I activate the scenario file is not getting picked from the source
    In Adapter Framework: Message says up and running No message processing now
    How to check FTP server is up and running on computer 1 (source system)and Computer 2 (XI server)?
    What could be the problem ?
    Thanks
    dushanth

    Hi
    Consider that I dont have FTP installed on my computer. According to this blog
    /people/shabarish.vijayakumar/blog/2006/08/01/along-came-a-file-adapter-mr-ftp-and-rest-of-the-gang
    I have configured.
    In sender comm channel I have given Ipaddress of computer 1 (which has a file to be picked)
    In Receiver Comm channel I have given IP address of computer 3 (in which file to be posted)
    and computer 2 is the XI server
    Computer 1 has FTP installed
    1. XI server should have FTP installed or not ? IF yes is it FTP client  or FTP server   or Guild FTP (according to the blog is enough)
    2. Computer 3 should have FTP installed or not ?
    Please help me I am really confused.
    Thanks
    dushanth

  • File to file scenario but transport protocol is NFS

    send me step by step screenshot for file to file in sap pi 7.1 scenario but transport protocol is NFS

    Hi,
    Send  your email id.
    Sreeni.

  • Error in FILE 2 Proxy Scenario

    Hi All,
    I am doing File to Proxy Scenario i am getting following error
    Could any one provide the solution for this.
      *<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>*
    *- <!--  Call Inbound Proxy*
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIProxy</SAP:Category>
      <SAP:Code area="ABAP">INTERFACE_REGISTRATION_ERROR</SAP:Code>
      <SAP:P1>ifmmessif</SAP:P1>
      <SAP:P2>MI_Emp_Sender</SAP:P2>
      <SAP:P3>Namespace</SAP:P3>
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>No implementing class registered for the interface (ABAP interface, request message MI_Emp_Sender, request message, namespace )</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
    Thanks in Advance
    Mahesh
      </SAP:Error>
    Edited by: Mahesh Reddy on Jul 10, 2008 12:47 PM

    Hi Mahesh,
    1) Use SPROXY transaction.
        Menu-> Proxy -> Activate All.
    2) check in the interface determination if u are using correct
    inbound interface.
    3) If this if fine....try deleting all proxy objects of the interface
    and create new.
    Regards,
    Praveen K

  • File to Proxy Scenario : Error in communication channel monitoring

    Hi,
    I have developed File to Proxy Scenario on PI 7.1 system and it is not working. I see the below error in communication channel monitoring.
    u201CError: com.sap.engine.interfaces.messaging.api.exception.ConfigException: Some of the IS access information is not available. SLDAccess property may be set to true, but SLD is not available.u201D
    File will be picked from the FTP server.
    I have created File system in SLD of type "Third Party", Can this be the issue?
    Please guide me on this.
    Thanks,
    Chandravadan

    Hi!
    Check if the tcode SLDCHECK is ok!
    Check note #764176.
    Also, refer to link below and execute each steps from the links there MANUALLY.
    Wizard-Based Configuration:
    http://help.sap.com/saphelp_nwpi71/helpdata/EN/45/2e4c1b16bb4aa8e10000000a11466f/frameset.htm
    Regards,
    Caio Cagnani

  • File to proxy scenario

    Dear one,
    I need a solution for my problem facing this moment.
    Here is the File to proxy scenario  explained.
    I created three new fields in XI IR to map three more  fields from File to CRM .On this line,I created three fields in IR and passed the updated file(containing three new filelds) and interfaced.Before that I had regenarated and activated CRM level proxy too.
    The file was red by XI and moved to CRM also.
    Now my problem is that I can see the three new fields in SXMB_MONI when I got into detail of that . But when I debug the CRM proxy the value for these three fields are not displaying over there .
    These three values are displayed in XML message but not in proxy ,why it is so?.
    Please help me out to resolve the issue.
    Swasthi,
    Karthik

    Hi Manjusha,
    Here is the reply:
    Is the issue with the fields , or the values in the fields ?
    Ans:Issue is with the values ,not with the fields .
    Is it that your proxy structure doesn't have the fields ?
    Ans:Proxy structure have the fields but not value.
    Can you check sxmb_moni in the CRM system if these fields with value appears.
    Ans:I checked in the CRM system
    <TOTL_INFO>
    <DT_INVOICE>
    <MT_Invoice>
    <ECOMM_VAT_BASIS_AMT>12</ECOMM_VAT_BASIS_AMT>
      <ECOMM_VAT_AMT>13</ECOMM_VAT_AMT>
      <ECOMM_CURR_CODE>GBP</ECOMM_CURR_CODE>
      </TOTL_INFO>
      </DT_INVOICE>
      </MT_Invoice>
    Both field and values are coming perfectly in XML message..
    You can see that above in last three fields (Field- ECOMM_VAT_BASIS_AMT , Value-12 and etc.).
    Only  values are not coming in proxy structure(table) ....fields are coming with no values
    Pls let us know yr views.

  • File to Proxy Scenario Query

    Hi All,
    I hav a file to proxy scenario. The XML file is sent as a proxy from XI to ECC. but ECC is receving it as a blank file.
    SXMB_MONI in XI is success but in ECC it has failed. Please help us understand where the problem is occuring.
    Regards,
    Sudeep R

    Hi,
    Please check your sxmb_moni in ECC & XI, in both message, check the message data is same.
    If you are receiving data on PI from file successfully, the problem can be in Mapping in PI, check that in PI. In this case data will not be sent to ECC System.
    If you are receiving data on ECC from PI, now check the problem in Proxy code.
    Check the steps for inbound proxy in the below blog :
    /people/sandeep.kaushik/blog/2010/07/15/abap-proxy-complete-developments-on-sap-pi-sap-abap-systems

  • File to Proxy Scenario Error

    Hi Experts,
    I am working on File To Proxy Scenario. I am getting the below Error: The Messages in SXMB_MONI are going to AUtomatically Restart Status. I see some Queues with RETRY Status in SMQ2. When i am testing from SPROXY, the Table is Updated with the Corresponding Values. But when i place the file in the ftp folder then i am getting this error.
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--
    Call Adapter
    --> 
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand=""> 
    <SAP:Category>XIServer</SAP:Category>  
    <SAP:Code area="INTERNAL">CLIENT_SEND_FAILED</SAP:Code>  
    <SAP:P1>500</SAP:P1>  
    <SAP:P2>Internal Server Error</SAP:P2>  
    <SAP:P3>(See attachment HTMLError for details)</SAP:P3>  
    <SAP:P4 />  
    <SAP:AdditionalText />  
    <SAP:Stack>Error while sending by HTTP (error code: 500, error text: Internal Server Error) (See attachment HTMLError for details)</SAP:Stack>  
    <SAP:Retry>A</SAP:Retry>  
    </SAP:Error>
    Please check and do the needful .
    Regards,
    GIRIDHAR

    Hi Giridhar,
    The problem is with connection. Please check the below discussion
    HTTP returns status is 500(Internal Server Error)
    Problem in ABAP proxy........ | SCN
    regards,
    Harish

  • File to Proxy scenario message failed in ECC with staus SYSFAIL

    Hi All,
    We are working on File to proxy scenario,  PI  able to send message successfully to ECC, but  In ECC , message got  stuck in queues with the status 'SYSFAIL',
    when I read the error message it is showing Address Invalid.
    when I run the LUW, it is giving 'Function module does not exist or EXCEPTION 'raised message.
    I'm using PI 7.1 EHP1 , ECC 6.0, can anyone suggest the trouble shooting guidelines for this issue?
    Thanks,
    Venu.

    when I run the LUW, it is giving 'Function module does not exist or EXCEPTION 'raised message.
    in your code, there seems to be an invalid statement.
    check the proxy code.

  • EOIO is not working for file- BPM- Proxy scenario.

    Hi All,
    I have one File to BPM (Merge pattern ) to Proxy scenario.
    I have two file communication channel at the sender side and defined QOS as EOIO for both. In SXMB_MONI it assings same queue for all messages.
    BPM is merging that messages. However during that it assings different queue for merged messages.
    When it comes to proxy , again different queues are assingned to the messages.
    Is there any way I can define QOS in BPM or at the proxy side ( I know it should be at the sender side only , but it's not working..)
    Thanks & Regards,
    Dijesh Tanna.

    HI,
    Within the current release the BPM will always only use EO (SAP Note 833740).
    May be the SAP note  905049 will help you on this ...
    Thanks
    Swarup

  • File-xi-proxy scenario

    Hi
    In case of file-xi-proxy I have a business rek like
    In the event of ABAP program fails to complete normally, a error should be logged.
    A notification should be sent to production support. How to send the error which has occured in ABAP system to production support ??
    Thanks
    kumar

    Hey
    please have a look at the following
    How to trigger alert in XI from a connected SAP R/3 4.7 system
    Thanx
    Aamir

  • File to Proxy Scenario using ABAP Class and DB Multi Connect

    Hello Friends,
    I have a scenario below and a proposed solution. I would like some input as to whether i am headed the right way.
    Scenario: Thousands of records come in from the legacy accounting system. The fields of these records need to be mapped to SAP fields using cross-reference tables stored in DB2. Finally, summarize the records by deleting a few fields and feed to R/3.
    Solution i proposed:
    (1) File Adapter is used to send the file
    (2) Although JDBC adapter comes first to mind but since i need to access the DB2 tables multiple times for each record i propose to use an ABAP class for the mapping. Within the ABAP class the intent is to open an database connection to DB2, read the relevant cross tables using native SQL and finally generate the output XML.
    (3) Reciever is Proxy which feeds this generated XML to SAP for creating posting via BAPI_ACC_DOCUMENT_POST
    Question: Is the above solution correct or is there a better method to implement this scenario?
    Please let me know.
    Thanks,
    Minhaj.

    Looks fine. Few observations -
    1. Whether it is ABAP class or Mapping in RFC lookup, you are making multiple trips to the database.
    2. It looks like PI is being used only for reading the file and converting it to XML.
    3. If using PI is not mandatory, then a complete ABAP class on ECC it self would be faster than swtching between PI Java, PI ABAP then round trips to DB2 finally data push to ECC.
    If you could look at something like fetching all the required RFC look up data in one go and then map the fields according, might save u on processor and network resources.
    VJ

  • XML file to Proxy Scenario with BPM - ID Steps

    Hi Guys,
    Any one can help me to find  about the scenario XML file to ABAP Proxy with BPM, ID steps please. Any link or logical routing, receiver determination and interface determination idea. Please correct me,
    I have created Business Service as sender to send one xml file to BPM, BPM is sending a message to SNC system. I have created 2 receiver determinations, but I am confusing in interface determination, where to declare OM?
    Please can any one respond bit quicker.
    Thanks  in advance
    Regards
    San

    ES Repository
                         *Service Interfaces*
    Create one outbound service interface for XML file.
    Create one Inbound synchronous Interface for SNC system.
    Create one Abstract Asynchronous interface ,same message type as you used for outbound service interface .This is for Integration process receive step.
    Create one Abstract async interface for receiving the response from SNC system in Integration process.
    Create one Abstract synchronous interface to be used in the Integration process for Send sync step.
    Create on inbound asyn service interface for sending the response from integration process (received from SNC system) to the Receiver System.
                  Operation Mapping.
    Create an Operation Mapping using Abstract sync interface and inbound syn interfaces.
                  Integration Process
    start--->receive Step---->send Synchronous step----->send step.
    Create two container elements
    first with abstrat async interface for the XML request.
    second for abstract asyn interface with the XML response structure (asyn receiver system structure)
    In the send sync step select your abstract syn interface from the F4 help.and select the corresponding request and response message from the container element you defined earlier.
    Integration Directory.
    Create one sender File adapter Communication channel for XML file reading.
    Create two receiver communication channel for sync system(receiver XI adapte for ABAP PROXY) and other for asyn receiver system .
    Create 3 receiver determination
    1.from sender to Integration process.
    2.from Integration process to SNC system.
    3. from Integration process to Asyn Receiver System.
    Create 3 Interface determination.
    Specify Operation mapping while you are creating interface determination from Integration Process to Syn BS.
    Create one sender agreement
    Create two Receiver agreement.
    Regards
    Kubra Fatima.

  • Combine 2 files as input for file to proxy scenario

    Hello,
      Is it possible to combine to files into 1 message ?
    We've got 2 csv files (1 header and 1 item) and we would like to have this in 1 xi message, processed later by a proxy.
    Any idea's how to do this ?
    regards

    Hi,
    >>Never worked with BPM before, are you aware of an example somewhere that I can have a look at on the internet ?
    need to search sdn.. if i find one i will paste it here
    Update
    http://wiki.sdn.sap.com/wiki/display/BPX/BPMPatternMultiIfconditionExplained%28stepbyStep+Procedure%29
    /people/milan.thaker/blog/2008/07/23/correlation-150-runtime-behavior-of-bpm
    >>what when there are several files currently waiting ? let's say 2 header files and 2 item files ? does the system know which one he has to combine ?
    Say you have a file with header details for company A,B,C and another one for D,E,F... And you have two separate files for their Line items... so each Header (or line item) file will generate a instance of BPM and it will be complete for the other file to come and complete the fork step..
    and here co-relation of the common field plays a role
    Regards
    Suraj

  • Anonymizer Bean is not working XML file -- ABAP Proxy scenario.

    Hi Experts,
    Can anybody please help, How can add   this line <ns0:ROOT xmlns:ns0="urn:XXX:snc:productactivedata"> to my input xml file?
    </ns0:ROOT> to the end of the input xml file. One more thing please, how to remove "standalone="yes" " from this line <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    I have tried with Anonymizer bean settings, I can't able to achieve this, with XSLT mapping could, but I don't know XSLT mapping, can any one help me in this?
    Many Thanks
    Regards
    San

    Hi Prateek,
    If do, like remove namespace in the message type then i get this error.
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="MAPPING">GENERIC</SAP:Code>
      <SAP:P1>com/sap/xi/tf/_MM_EDI_ProAct_One_N_</SAP:P1>
      <SAP:P2>com.sap.aii.utilxi.misc.api.BaseRuntimeException:</SAP:P2>
      <SAP:P3>The element type "D01_PO4" must be terminated by t</SAP:P3>
      <SAP:P4>he matching end-tag "</D01_PO4>".</SAP:P4>
      <SAP:AdditionalText />
    <SAP:Stack>com/sap/xi/tf/_MM_EDI_ProAct_One_N_com.sap.aii.utilxi.misc.api.BaseRuntimeException:The element type "D01_PO4" must be terminated by the matching end-tag "</D01_PO4>".</SAP:Stack>
    I have checked the message, xml message format fine. Any help in this please?
    Thanks & Regards
    San

Maybe you are looking for

  • Windows 8 and Itunes Issues

    I just recently got windows 8. Event though I purchased new songs through itunes, I cannot access them now, nor can I transfer my songs from my ipod to my laptop. There may be compatibility issues with Windows 8 and itunes. Any suggestions?

  • Linking to a Portable DVD

    Is there any way to link my macbook pro to a portable dvd player. Would like to play one movie on my macbook and have it show on both screens. Thanks.

  • Please very urgent........

    hi i am new to ABAP. my requirement is : create a ALV report to display material number and sales order using tables MARA and VBAP using REUSE_ALV_GRID_DISPLAY. points will be rewarded.

  • Blackberry Z10 Software update 10.1.0.273

    Hi.. I got a message for the update of my blackberry Z10 software to 10.1.0.273... When I read review of it, I got mixed response... Lots of people are complaining for: 1- Not able to send SMS 2- Battery draining very quickly 3- Phone getting heated

  • Airport Express has stopped working

    Hi. My AE has just stopped working and now can't connect to the network.  I have tried a harware reset and all I get is the amber light and now and again it flashes then turns green and then back to amber.  It looks to me as if the something has dama