File to ABAP proxy with EOIO

Hi Experts,
I am working on File to ABAP proxy scenario. The requirement is to have EOIO from end to end.
Which means the files have to be sent to target system (R/3) in the same order as they are placed in the file location. I have two questions regarding this.
1. Do I have to create 2 queues, one in PI and one in R/3 to acheive this? In File Sender CC we have option of specifying queue name but in XI Receiver CC, I do not see such option. How to handle this?
2.For picking the files from folder if I use NFS, then I have option of specifying 'Processing Sequence' as 'By Date' to pick the files based on timestamp. But if I am using FTP, how can I make sure that the files are sent to Integration engine based on timestamp?
Please provide your valuable inputs.
Thanks and regards,
Prasad

Hi,
1. Do I have to create 2 queues, one in PI and one in R/3 to acheive this? In File Sender CC we have option of specifying queue name but in XI Receiver CC, I do not see such option. How to handle this?
1 queue is okay. Just specify it in the Sender File CC.
2.For picking the files from folder if I use NFS, then I have option of specifying 'Processing Sequence' as 'By Date' to pick the files based on timestamp. But if I am using FTP, how can I make sure that the files are sent to Integration engine based on timestamp?
Processing Sequence is not supported for FTP and is only for NFS.
If you have to use processing sequence, then do an FTP, bring the files to an NFS directory and then use the processing sequence accordingly.
Hope this helps.
Regards,
Neetesh

Similar Messages

  • Error Handling in Inbound ABAP Proxy with EOIO

    Hi,
    The scenario
    I have a File to ABAP Proxy scenario and since the requirement is that the messages have to be processed in a single queue in the SAP system (i.e. EOIO), the sender file channel was configured to be EOIO. This ensures that all messages that enters the SAP system are put in a single queue and then processed one after the other.
    The Issue
    Now if one of the messages that enter SAP system fails during the processing in the ABAP program, the queue gets stuck and all messages after that go into a scheduled state. And one has to manually clear the errored message in order to continue processing the other waiting messages.
    The Question
    I know this is a default behavior in an EOIO scenario, however is there any way in which if a message fails in the ABAP program then one can automatically push it out of the queue and keep processing the other messages after it ?
    Thanks
    Bharath

    As a general rule I only use EOIO when there is a possibility of dependancy between messages (message 1 must be first and finsihed before message 2 starts). Assuming your just moving the errored message asside, I would assume that EOIO should be just EO.
    Alternatively, change the ABAP proxy to handle the error and return a clean status. Exception handling (try/catch) should be used were ever dangerous code is being used.
    If alerting in the proxy end point is to much trouble - change your proxy to a sync scenario return the error to PI and fire alerts from there <- I think this should be avoided but it will work.
    The main point is the exception handling so that the proxy fails "gracefully".

  • Client abap proxy with EOIO

    Hi,,,
    does anyone guide me with abap sample code using EOIO?
    thanks
    dennis
    ogawa Dennis

    HI,
    It is performance problem, if it is large database,
    See the below links
    /people/sap.user72/blog/2005/05/02/useful-sap-notes-for-xi
    /people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions
    /people/arulraja.ma/blog/2006/08/18/xi-reliable-messaging-150-eoio-in-abap-proxies
    Regards
    Chilla

  • File to ABAP Proxy (problem with inbound queues in R3)

    Hi,
    In File-XI-ABAP proxy scenario, XI is successfully picking up file and sending it to R3.
    But in R3, an inbound queue is created in SMQ2 transaction code and I solved the same to automatically process the Queue by registering that in SMQR transaction code. But even though the inbound queue doesn't appear in SMQ2 (which means that it is processed successfully) it doesn't call the method EXECUTE_ASYNCHRONOUS. Can anyone help me whether I need to do any settings to run that method?
    Also can anyone help me, after the inbound queue is successfully processed in SMQ2 transaction, what would be the next step to watch what exactly that queue has done?

    Hi,
    Please check the program code for Server ABAP proxy.
    This will show you the trigerring of Proxy on inbound side.
    ABAP Proxy inbound program - sales order creation - Community Profiles - Wiki
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/abap%2bproxy%2binbound%2bprogram%2b-%2bsales%2border%2bcreation
    For Queues, you can go to SMQR and check for the register queue. Select and double click on it. If anything is stuck up then you can see in it. Even same with SMQ2
    Thanks
    swarup

  • File to ABAP Proxy(ProductActivityNotification_In)

    Hi All
    I have to develop one scenario for Flat File to ABAP Proxy (ProductActivityNotification_In).
    I am going to use Receiver File Adapter(to receive file in PI) and Reiver XI adapter(to send file to SNC proxy ProductActivityNotification_In)
    I am new to XI please let me know how to approach to this solution.
    What could be the design steps I need to consider?
    Do I Need to use content conversion?
    Can I use graphical mapping?
    Thanks for your inputs.
    Regards
    Amol.

    Hey,
    You need to import the SNC standard content in XI.
    This will provide you with the Proxy interface.
    Then you need to do certain settings on the SNC server.
    R3 side
    SLDCHECK
      Use this transaction to access the SLD of XI.
    SLDAPICUST
      Create an entry for respective XI server
      requires hostname, port username and ip.
      Can have multiple enteries for different servers.
      But you can check only one entry.
      based on the entry that is checked, respective SLD API will be triggered from
      SLDCHECK.
    SM59 (T type connections).
      To connect to the SLD you need 2 types of TCP/IP connections.
      1)LCRSAPRFC:-
          In this you require the gateway host(ip address) and gatewayservice(sapgw[system no.])
          YOu also need to give Program ID.
          Entry of corresponding Program ID must be maintained in SMGW.
          IN SMGW Click GoTo->logged on Clients.
          If entry is not there for corresponding XI.
          Create a communication channel in XI, pointing to R3 and give a Program ID
          in the channel. Once the channel is activated, corresponding Program ID wil
          appear in SMGW.
      2)SAPSLDAPI:-
         In this case follow the same porcedure as for LCRSAPRFC.
       As far as the Program ID is concerned te procedure mentioned above is for
       Customized RFC's
       The RFC destinations mentioned here are both standard RFC's
       Hence for these two RFC's no need to Create Program ID's. you just need to
       change the System ID of the Program ID.
       Both these RFC's are maintained in the J2ee server of XI.
    SPROXY.
       In this transcation you can check the Proxies.
       If the proxies are not activated (i.e. if the message interfaces are not active)
       then you need to maintain one G type RFC destination pointing the resepctive XI server.
       In the G tpye RFC destination give the Ip adress of the XI server in the target
       host and set the path prefix as /rep.
       Goto SPROXY->Goto->connection test-> click on the table SPROXSET.
       In this table maintain enteries for ADDRESS_ONLY_FROM_SPROXSET and IFR_HTTP_DEST
       The values corresponding to these enteries will be the G tpye RFC destination.
    In order to connect R3 to the Integaration server you need to maintain H type
    The default RFC is XI_INTEGRATIONSERVER. In you need to give the Target host entry as the
    Ip address and Path Prefic as.../sap/XI/engine/?type=entry (this you can get from SXMB_ADM of XI)
    You can also create the H type RFc of your own.
    goto SXMB_ADM(r3) and open Integration engine configuration.
    Goto edit->change global configuration and give the RFC dest name like this:-
    Corresponding Integration server:- dest://{h-type rfc destination}
    If you do not want to create RFC destination you can directly give
    the Integration server address(that you can obtain from SXMB_ADM of XI) in the
    Corresponding Integration server field.
    This is to activate the communication between SNC and PI.
    now you need to create the file structure in XI.
    the next step is to do the mapping between the file structure and the appropriate interface
    As yours is a flat file you need to do a file content conversion
    In Integration directory you need to configure two channels one for File and the other one for Proxy.
    regards,
      Milan

  • SAP XI- File to ABAP Proxy scenario

    Hi SDN,
    I have a FILE to ABAP proxy scenarioin SAP+XI can you guide me how to procede in that, what should be my ESR and ID objects and how to use the sproxy transaction.
    Regards,
    Aniruddha Bhattacharya

    Hi,
    please check out the search option on SDN forum first - there are tons of blogs with step by step on the same
    come back with more detailed questions ok ?
    thank you,
    Regards,
    Michal Krawczyk

  • File to ABAP proxy via AAE

    Hi All
    Am doing a file to ABAP proxy scenario and using SOAP adapter(XI protocol 3.0) at target side in order to make use of AAE.
    But while testing am getting the following error at both the channels(file and soap) :
    Error Transmitting the message to endpoint <local> using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.net.ConnectException: Connection timed out.
    SOAP channel configuration :
    Target URL : http://X.X.X.X:8001/sap/xi/engine?type=entry
    Logon language : en
    X.X.X.X  being the IP address of the target system which is BW.
    Appreciate any help.
    Regards
    Soumen

    Re-Iterating my 1st post : Am using SOAP( Message Protocol : XI 3.0 ) as I want to make use of the AAE. XI adapter is not supported by AAE.
    Followed this : http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/70066f78-7794-2c10-2e8c-cb967cef407b?quicklink=index&overridelayout=true
    Anyways, found out I was having some error in teh IP I was using ...corrected it and now my error is changed to :
    Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: invalid content type for SOAP: TEXT/HTML; HTTP 403 Forbidden
    Now since my source is File which goes through mapping, what do I need to do for this error?

  • File to ABAP Proxy Scenario

    Hi All,
    I am  doing File-to-ABAP Proxy Scenario, in the sender side side it is picking the file, but in sxmb_moni it is giving the 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="1">
      <SAP:Category>XIProtocol</SAP:Category>
      <SAP:Code area="MESSAGE">DUPLICATE_DETECTED</SAP:Code>
      <SAP:P1>4CFF4691EEE211DC85E30019D1522982</SAP:P1>
      <SAP:P2>CENTRAL</SAP:P2>
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Message ID 4CFF4691EEE211DC85E30019D1522982 already exists in called system (pipeline CENTRAL)</SAP:Stack>
      <SAP:Retry>N</SAP:Retry>
      </SAP:Error>
    Can u plz tell me why this error is occurring and how we can resolve this error.
    Thanks & Regards,
    Vikas

    Hi Vikas
    make a dummy change and activate your object then make a full refresh
    you can make it through in 3 ways
    1) tcode SXI_CACHE
    2) go to ID -> environment and make a full cache refresh
    3) http://<host>:5<sys#>00/CPACache/refresh?mode=full     Full CPA cache refresh
    when you do the developement then these are stored in ABAP data dictionary table which can be refreshed by delta cache
    while full cache will delete this temporary object and make this cahe into runtime
    hope this will help you
    thanks
    sandeep
    if helpful reward points

  • SOAP to Abap Proxy with attachment

    Hi Experts,
    i am facing one problem while developing one interface from SOAP to ABAP Proxy with attachment.
    the sender system is sending empty soap message but with all its content in the attachment.
    we need to parse the attachment and send the data to ECC system through proxy.
    we made some research on SDN and found out that in sender soap adapter PayloadSwapBean is not supported.
    however in receiver XI adapter the module tab is not editable.
    could you suggest any solution to handle this interface?
    thanks in advance.

    Hi Aditya,
    Can you just try to  use SOAP with Servlet(Axis) protocol, since standard SOAP sender does not allow modules to be used.
    please refer http://help.sap.com/saphelp_nw04/helpdata/en/45/a39e244b030063e10000000a11466f/frameset.htm
    The first attachment is put in the main payload; further attachments become attachments of the XI message.
    http://help.sap.com/saphelp_nw70/helpdata/EN/45/a4f8bbdfdc0d36e10000000a114a6b/frameset.htm
    Regards,
    Srinivas

  • File -- XI -- Abap proxy Que lock

    Hi all,
    My scenario is file --> XI --> Abap proxy, for some strange reason the message always gets locked on R3 side. So, in the monitor of XI the message is processed succesful BUT in the monitor of R3 we always have to unlock (que) the message manually before he executes the proxy. Isn't there a way that we don't have to unlock the message manually before executing the proxy?
    TIA

    Have you registered and activated the queues?
    Transaction sxmb_adm -> Integration Engine-> Administration -> Manage Queues.
    Cheers
    Manish

  • BPM file to ABAP proxy

    HI all
    I´m developing a BPM, this has the following steps:

    Reciver Step: this is to read a file , comunication channel type file.
    2º transformation Step: maps the MT of the file to a new MT
    3º Send step: send syncronously the result of the the map.Using an ABAP proxy. XI adapter.
    4ºSwitch step: compares de the value of the result of the syncronous call, with a constant.First branch Send Step to write a file
    Second branch nothing.
    My question is? Do i have to insert something before the switch. Because i cannot activate the BPM, In the SXI_CACHE i can see and error that says that the value that i´m using to compare the value it is not an object of the payload.
    Any idea?
    Many thanks
    Noelia

    Hi,
    Last try...
    salida_proxy./p1:MT_salidaproxy/row/valor = 0
    In the condition editor:
    When you do a f4 for the left operanfd text box:
    The expression editor opens:
    You need to click on the "Interface Variable" radio button and select your container salida_proxy and prove the correct xpath.
    Make sure that the Type specified next to the xpath in the expression editor is String.
    A f4 in the right operand text box opens a expression ediote, where:
    You need to click on the constant radio button, and provide the constant 0.
    Again make sure that the xsd trype is String.
    In case all this has been done perfectly, then try deleting the switch and recreating it again. You never know, this might do the trick!
    Regards,
    Smitha.
    Message was edited by:
            Smitha Rao

  • File to Abap Proxy Scenario : No message log in SXMB_MONI

    I have a PI Scenario in which a FTP server is polled every 5 minutes, and when it receives any file,  file is archieved and abap proxy is called. Few days back it was running perfectly fine. But For last couple of days I am facing strange error.
    My File is archived but abap proxy isnot called, neither I get any message in SXMB_MONI.
    any guesses what should I do?
    Jawed Ali

    Hi Jawed,
    HOLD means you have given QoS as EOIO in sender channel and the first message got failed and hence all messages are waiting..
    Check this thread
    Re: PI 7.1 Messages stuck into the Queue of the Adapter Engine
    Try resending the messages through runtime workbench->message monitoring->adapter engine
    Regards
    Suraj

  • File to ABAP proxy as attachment

    Hello PI expert,
    I have requirement to FTP file from FTP server to ECC server.  But because of some security, we can not get FTP permission on ECC server.
    What i want to do is, get the file from FTP server as it is, and send it using abap proxy as attachment. I don't want to do any content conversion or xml conversion because I want to transfer file as it is.
    Any suggestion.
    Thanks,

    Hi,
    if your PI version is at least "SAP NetWeaver PI 7.1 SP3"
    create sample Data type structure with one node and one field, and use this for both proxy and file service/message interfaces.
    Pick the file from FTP. No graphical mapping. Use Java Mapping. Read the input stream and create an attachement from this and attach it to the message. pass some static values for the output (proxy) structure using output stream. Thats all.
    http://help.sap.com/javadocs/pi/SP3/xpi/index.html
    Methods:-
    com.sap.aii.mapping.api --> OutputAttachments --> create(String contentId, byte[] content) / create(String contentId, String contentType, byte[] content)

  • File to custom IDOC  or File to abap proxy

    Hi there,
    I would like to know best approach for the following scenario.
    1) i have file coming from legacy system
    2) On target side SAP , I have BAPI's available  (Create, Save, Commit )(No standard IDOC available)
    I can create Custom IDOC and call those BAPI's in Custom Function Module
    or
    I can use ABAP proxy and call BAPI's
    What is the best way of doing this? and Is there any other way?
    Thanks
    Kumar

    hi,
    Abap Proxy is better than RFC in terms of performance.
    proxy is that it always by passes the Adapter Engine and will directly interact with the application system and Integration engine - so it will and should give us a better performance.
    In your case , if there want to crate idoc from scratch level then we go for proxy  and proxy support large volume of data (more than 5 mb).
    One more  reason is RFC , the data is converted between RFC and XML in RFC adapter. In proxy XI communicates with the R/3 in native XI language (SOAP XML).

  • Abap proxy with attachments in enhanced interface determination/mapping

    Hi guys.
    We were receiving a abap proxy from ECC with a pdf attached in the header.
    This was the scenario PROXY ---> FILE
    We used the PayloadSwapBean Module in a Receiver File Adapter to get this document and put it in a FTP Server.
    Now we have to make and improvement in the scenario and we have to generate two receiver interfaces so the scenario looks like this:
    PROXY ---> FILE and JDBC.
    So we have to use an enhanced interface mapping and an enhanced interface determination.
    The problem is that with this enhanced interface determination/mapping the attached document is lost.
    Any solution?
    Thanks a lot.
    Regards.

    > The problem is that with this enhanced interface determination/mapping the attached document is lost.
    I know there was an issue in early PI 7.1 SP versions. maybe you find a bug fix for this?
    Otherwise report to SAP.

Maybe you are looking for

  • Is there a way to create an email button to multiple addresses within a PDF?

    I have to regularly update a list of committee members and their email addresses which is then sent to all of the members.  Does anyone know if there a way of creating a button for each of the committees in the list which, when clicked, creates an em

  • How to make the values of a combination graph (bar and line) visible always

    Hi , I am using jdev 11.1.1.6 i have created a combination graph which has a bar and line. The data with respect to bar and graph were only visible when i keep the mouse pointer on it. i need to set the values visible always. kindly let me know how t

  • Problem upgrding from SP1 to R2

    Hi I am trying to upgrade a ConfigMgr standalone primary site running SP1 CU5 to R2. I have done numerours upgrades in the past but have never seen the errors I am getting before. The environment is a bit special because it consist of four sperate do

  • Add BOM to Essbase exported file?

    We've got a MaxL script that exports a Unicode-enabled database to a text file. By default that file is UTF-8 encoded, however it's "Unix" UTF-8 encoded and therefore has no byte order mark (BOM) at the beginning of the file.<BR>While this practice m

  • Reader 10.1 update deployment through SCUP losing customizations.

    Hi All, I am currently in the process of testing the deployment of Adobe reader updates through the published SCUP catalogs and SCCM in a very large enterprise environment. I have run into an issue whereby %95 of workstations appear to be falling in