File to proxy and proxy to file asynchronous

Hi Experts
Through my scenario I have to send xml files to file system from R/3 and vice versa. I am using Sender is proxy and receiver CC is file and vice versa. Here in R/3 25 tables having 25 different structures and sender and receiver data structure is same in XI. So for each structure I have to create 1 Data Type, Message Type, I/O interface and Message mapping and Interface mapping in IR. I am right?
In ID sender is Proxy (so no need to create sender CC and Sender interface).
For each interface can I create 1 receiver file communication channel or not? Or one communication channel is enough? Bcz, for above 25 interfaces target system is same and processing file names are different.
E.g. -  file name is like <TABLENAME><TIME_STAMP>.XML here I want save the file in target directory like <TABLENAME><TIME_STAMP>.XML for this what I have to do?.
For this can I create how many interface determinations and receiver determinations I have to create?
What is the good procedure to do this interface please give me your valuable inputs.
And vice versa I have to do same like this for this I have to pick xml file from source directory based on first in first out by sorting according to timestamp. Once IX read this file from source directory I have keep this file in archive directory? (Means I have to keep this file from source to archive folder)
What is the procedure to do this? Please explain.

Hi,
As per my knowledge I will give you small suggestion. If it should be 25 tables then,
Create a Common data type which contains fields like,
<Source>
    <Table_Name>
   <Field1>
   <Field2>
Create a report which fills the filed for each table.
Create  a file Structure which contains table name.
Using the variable Substitution create a file name. Processing parameter use Add Time Stamp.
For more details..
[http://help.sap.com/saphelp_nw70/helpdata/EN/bc/bb79d6061007419a081e58cbeaaf28/content.htm]
So this time you need only one interface and one scenario.
As the same
Do the reverse flow also.
In sender file adapter processing mode select archive. Give the  archive directory name.
Select Processing Sequence by date. So file will poll according to date and time.
For more details..
[http://help.sap.com/saphelp_nw70/helpdata/EN/e3/94007075cae04f930cc4c034e411e1/content.htm]
Regards,
Prakasu.M

Similar Messages

  • Disadvantage on synchronous proxy compared to asynchronous proxy

    Hi friends,
          Please tell me any disadvantage on Synchronous Proxy compared to asynchronous proxy.
    My integration JDBC to PROXY and PROXY to JDBC. Inspite of using the proxy in syn mode i have used asyn proxy, now i have to give the proper answer y i have used asyn proxy, so please give me any drawbacks of syn proxy.
    Thanks in advace
    Karthikeyan

    Hi Karthikeyan,
    The main disadvantage of synchronous communication is for every request there should be corresponding response from the receiver, if for any reason receiver doesnt respond there will not be any further message processing. So, its better to go with asynchronous communication.
    Thanks,
    Bharath.

  • File Asynchronous

    HI Experts,
    I am doing a demo for my client file to file using Asynchronous.
    The sender file will be transfer to receive folder.
    In my RWB, there is message: application to send an XI message synchronously using connection file....
    But my process is Asynchronous but the error is as above synchronously.
    My message interface sender is Asynchronous and receiver as Asynchronous.
    Thank you in advaced.

    Hi,
    Check the Qulaity of service selected by you in file sender communication channel ...looks like there you selected the quality of service as BE instead of EO...
    Also check in CC logs first statement which shows the QOS(Quality of Service) selected ...it should be EO(Exactly Once) and not BE(Best Effort)..
    HTH
    Rajesh

  • Proxy To SOAP Asynchronous

    Hi Folks,
        I'm doing a scenario from proxy to soap. in that I'm fetching the data from the tables in the SAP system using the proxy and sending the same to the webservice through the SOAP adapter configured in the Receiver end. basically I have the XI sender adpter & the SOAP receiver adapter. My question here is whicle sending the data if the webservice is down can still the data be sent once the webservice is active ?
    Regards,
      santosh

    Santosh,
    My question here is whicle sending the data if the webservice is down can still the data be sent once the webservice is active ?
    If the web service is down, then the SOAP channel will try 3 times before going into error. Once the service is back up, you can re-send the message from RWB.
    Regards,
    Neetesh

  • Loading files asynchronously using SwingWorker: method communication proble

    In my GUI app I have two methods load() and parse() that handle correspondingly reading from file operation and parsing that file into my internal data structure. load() method makes use of SwingWorker class and therefore once I enter SwingWorker#done() i must somehow call parse() method. I can not do it from SwingWorker#done() directly because this is logically wrong to call parse form load
    So can you give me some advice on what is best way to call parse()?

    Move calls of load() and parse() into SwingWorker#done()I think you need to read the SwingWorker documentation again, and more carefully.
    -- doInBackground is executed on a Worker thread
    -- done is executed on the EDT.
    Neither your load nor parse calls should be executed on the EDT, so put them in doInBackground.
    done will be automatically invoked when doInBackground returns, and is the right place to include code for updating the GUI when the background process is completed.
    luck, db

  • Generate abap client proxy for outbound asynchronous message

    I can't find execute_asynchronous method. I don't know why.

    Hi
    Correct code will be
    REPORT  ZDECALL_CUST_PROXY.
    DATA prxy TYPE REF TO ZDEMOCO_CUSTOMER_OUT.
    *DATA prxy TYPE REF TO zblogco_proxy_interface_ob.
    CREATE OBJECT prxy.
    *DATA it TYPE  zblogemp_profile_msg.
    DATA it TYPE  ZDEMOCUSTOMER1. " here is message type
    TRY.
        it-customer-cust_no = 'zp000001'.
        it-customer-sales_org = 'zso0001'.
        it-customer-division = 'zdiv00001'.
        CALL METHOD prxy->execute_asynchronous
          EXPORTING
            OUTPUT = it.
         commit work
      CATCH cx_ai_system_fault .
        DATA fault TYPE REF TO cx_ai_system_fault .
        CREATE OBJECT fault.
        WRITE :/ fault->errortext.
    ENDTRY.
    This should work. Check with the class you created for proxy
    ZDEMOCO_CUSTOMER_OUT.
    should have 4 methods. Else recreate the class.
    GET_PROTOCOL
    GET_TRANSPORT_BINDING
    CONSTRUCTOR
    EXECUTE_ASYNCHRONOUS
    Thanks
    Gaurav

  • Asynch Proxy - XI - Synch Http - XI - Asynch File

    Hi,
    Currently I have Scenario:
    Asynch Proxy (SAP Delivered BADI) ->XI ->Asynch HTTP
    Now the Requirement is that from HTTP I need to get the response back So I need:
    Asynch Proxy ->XI ->Synch Http ->XI ->Asynch File Scenario.
    The catch is the proxy is SAP delivered BADI and makes Asynch call. Also all the Design time objects in XI on Sender side (Proxy) are predelivered by SAP and so Interfaces are Asynchronous.
    Is there any way I can achieve the required Asynch Proxy ->XI ->Synch Http ->XI ->Asynch File scenario? If yes How?
    I have gone through weblog /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
    but it  is not working for me as the proxy I am using is SAP Delivered Asynch and also the Business content in XI is for Asynch comminication.
    Thank you in advance.
    -Adrean.
    Message was edited by:
            Adrean Hart

    Hi Adrean,
    <i>In the First Recieve step, Do I still have the Original Message that I got from the Source SAP or it is after the Mapping?</i>
    >>>In the first Receiver Step you have the original Message you got from SAP e.g ReqMessageProxy.
    In the BPM you have a sync send Say SYNCMessage.(Sync, Abstract Interface) To create this you need to have following 2 Interface
    1) Req 2) Response.
    i.e  your Req = ReqMessageProxy - Abstract Async
    Resp = RespMessageHttp (this response is used to send to a file) (Abstract Async)
    Now for the Receiver Http Side, you have a sync Interface. e.g ReqHttp, RespHttp
    Mapping Outside the bpm: In the blog Diagram, 11, 12,13,14
    ReqMessageProxy(Abstract) -->ReqHttp
    RespHttp-->RespMesageHttp.
    Integration Directory Config:
    1) Receiver Determination: from SAP to BPM (No mapping, no receiver agreement)
    2) Receiver Determination: from BPM to Http (Use the above mapping and Reciever agreement)
    3) Receiver Determination: from BPM to File ( No mapping , Receiver agreement)
    Hope this helps,
    Rgdss,
    Moorthy

  • XML file to ABAP report..gidance needed on approach

    Hello All,
    We have an existing ccBPM enabled interface between SAP-ECC and a 3rd party via PI. Currently after all the to-and-fro processing, 3rd party sends an XML FINAL-RESPONSE-FILE to PI, which resides on a folder in PI server. ( Interface ends here)
    Now the requirement is that we need to enhance this interface or create a new one which would pick the XML FINAL_RESPONSE_FILE and format the XML data and present it in user-friendly form in terms of a report /alv.
    What I want to know is:
    1> Should we enhance the existing interface and ccBPM to wait for this final-response file to come and then trigger some BAPI or maybe a proxy to send this data to ECC for further processing.
    OR
    2> Should we create a sepaarte interface which picks this file asynchronously and sends to ECC for further processing.
    OR
    3> Should a create an ABAP report, which would pick this file from PI server and format the data and create an report out of it. ( Here I assume SAP must be havinga  fm to convert XML to some internal table readable format)...please advise if there is such an FM.
    OR
    4> Is there any better approach for my scenario - I am a newbie in ccBPM.
    Many thanks
    Shirin

    Hi,
    1> Should we enhance the existing interface and ccBPM to wait for this final-response file to come and then trigger some BAPI or maybe a proxy to send this data to ECC for further processing.
    No...if you are planning to make the ccBPM wait then avoid this design...it will keep on utilising system resources till the response gets back...
    OR
    2> Should we create a sepaarte interface which picks this file asynchronously and sends to ECC for further processing.
    you can try this one.....rather I would have tried this one:)
    If you have a guarentee that the response will come within a stipulated time-period (say X secs...not very large) and if you are not supposed to create a new interface...then go for change in BPM
    Regards,
    Abhishek.

  • ABAP proxy related issue

    Hi All,
    Good morning,
    i working with ABAP proxy to file scenario. the requirement for this scenario is we are fetching data from data base to internal table then using that table we have to write code and send data to xi.  can give me past response that how to write code using internal table. i want only code related internal table not total code.
    thanks for fast response.
    regards
    sai

    Hi Sai komala,
          After genrating the Proxy, you can view the calss & structures genrated by proxy.You need to create an object with refrence of Class and to be create workareas for your Message type and Data type strucutres. Create an Internal table with your desired structure and do the validations as per your mapping rules.After completion of your all validations you need to populate your final internal table data to the structure of message type and call the execute asynchronous method.
    Have a look into following weblogs
    /people/sap.user72/blog/2005/12/13/integration-builders-through-proxy-server-part--2
    /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
    /people/arulraja.ma/blog/2006/08/18/xi-reliable-messaging-150-eoio-in-abap-proxies
    /people/stefan.grube/blog/2006/07/28/xi-debug-your-inbound-abap-proxy-implementation
    /people/michal.krawczyk2/blog/2006/04/19/xi-rfc-or-abap-proxy-abap-proxies-with-attachments
    /people/sukumar.natarajan/blog/2007/01/07/how-to-raise-alerts-from-abap-proxy
    /people/sravya.talanki2/blog/2006/07/28/smarter-approach-for-coding-abap-proxies
    TO debug u r proxy code, just like your normal R3 report program. put a breakpoint and execute the program , you can view the debugging of your proxy.
    Hope it will helps to solve u r probolem
    Cheers
    Veera

  • Abap proxy call : synchronous / background ?

    Hi,
    I use currently abap proxy call to send data from ECC to XI, and it works fine ! But... I would like to know two points :
    1. Is it possible to execute SYNCHRONOUSLY this call abap proxy and not only in asynchronous...
    2. Is it possible to execute in BACKGROUND this call abap proxy, because it seems it use a dialog process, even if the call is inside an abap program executed in background
    I will appreciate your feedbacks on these both points ?
    Regards.
    Mickael

    Hi,
    Yes, we can do Sysnchronous call in Proxy.
    and we can do the Background job schedule also in Proxy .
    Reffer this help file
    http://help.sap.com/saphelp_nw04/helpdata/en/86/58cd3b11571962e10000000a11402f/content.htm
    Reffer this BLOG also
    /people/sravya.talanki2/blog/2006/07/28/smarter-approach-for-coding-abap-proxies
    Regards
    Seshagiri
    Edited by: N V Seshagiri on Feb 12, 2008 11:19 AM

  • FEH for File Interfaces?

    Hello Experts,
    Can we use Forward Error Handling (FEH) for implementing error handling in File Interfaces ?
    Like for simple Application Server file interfaces, if something goes wrong during the process of writing/reading a file on App Server, can we use FEH for showing the log?
    I know it is a concept used for PI...so we want to know if it can be used for file interfaces as well? Just want to keep similar approach for error handling and logging (for both PI and File Interfaces).
    Thanks.

    Edit 1 May 2015: Added inbound
    Just a slight correction.
    FEH is used in the ABAP backend systems and are only for asynchronous inbound proxy interfaces. It is not available for sync proxies, IDocs, BAPIs. Neither is it available for any error handling on the PI system itself.
    PI/XI: Forward Error Handling (FEH) for asynchronous proxy calls with the use of Error and Conflict Handler (ECH)
    Message was edited by: Eng Swee Yeoh

  • Forward Error Handling - File interfaces?

    Hello Experts,
    Can we use Forward Error Handling (FEH) for implementing error handling in File Interfaces ?
    Like for simple Application Server file interfaces, if something goes wrong during the process of writing/reading a file on App Server, can we use FEH for showing the log?
    I know it is a concept used for PI...so we want to know if it can be used for file interfaces as well? Just want to keep similar approach for error handling and logging (for both PI and File Interfaces).
    Thanks.

    Edit 1 May 2015: Added inbound
    Just a slight correction.
    FEH is used in the ABAP backend systems and are only for asynchronous inbound proxy interfaces. It is not available for sync proxies, IDocs, BAPIs. Neither is it available for any error handling on the PI system itself.
    PI/XI: Forward Error Handling (FEH) for asynchronous proxy calls with the use of Error and Conflict Handler (ECH)
    Message was edited by: Eng Swee Yeoh

  • Exception using fault message in java server proxy.

    Hi All,
    I am trying to use Fault message inside my server proxy code in Asynchronous java server proxy. I am referring the below mentioned link :
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d06315a6-e66e-2910-039c-ba8bbbd23702?quicklink=index&overridelayout=true
    I successfully deployed my SDA file but while running the scenario(http-XI-ftp in PI7.11) i am getting the folowing exception under MDT:
    com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error processing inbound message. Exception: Cannot locate proxy bean ServerProxyFTTest3.
    I am using the following library refernces under application-j2ee-engine.xml file:  com.sap.aii.af.sdk.lib, com.sap.aii.proxy.svc, com.sap.xi.util.misc,com.sap.guid,com.sap.exception all of type "weak".
    I have checked almost all the forums related to fault messages in asynchronous java server proxy but couldn't find much help.
    Request you all to help me.
    Thanks
    Amit

    Hi Rajesh,
    I am deploying my SDA file on Non Central Adapter Engine.
    I have also registered my interface using:
    http://ISVSAPPISB:51000/ProxyServer/register?ns=http://infosys.com/poc&interface=SI_Proxy_IA&bean=localejbs/ServerProxyFTTest3&method=sIProxyIA
    But still i ma getting the same exception.
    Hi Gabriel,
    I implemented my scenario using the same. But in addittion to the librarry referneces mentioned over there i have added one more refrence in it "com.sap.exception"  of type "weak". My structure is like this:
    <?xml version="1.0" encoding="UTF-8"?>
    <application-j2ee-engine xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="application-j2ee-engine.xsd">
    <reference reference-type="weak">
      <reference-target provider-name="sap.com" target-type="library">com.sap.aii.af.sdk.lib</reference-target>
      </reference>
    <reference reference-type="weak">
      <reference-target provider-name="sap.com" target-type="service"> com.sap.aii.proxy.svc</reference-target>
      </reference>
    <reference reference-type="weak">
      <reference-target provider-name="sap.com" target-type="library">com.sap.xi.util.misc</reference-target>
      </reference>
    <reference reference-type="weak">
      <reference-target provider-name="sap.com" target-type="library">com.sap.guid</reference-target>
      </reference>
        <reference reference-type="weak">
      <reference-target provider-name="sap.com" target-type="library">com.sap.exception</reference-target>
      </reference>
        </application-j2ee-engine>
    Please help.
    Thanks
    Amit

  • Fault Messages with file to file

    Hi frnds,
    I have one doubt can i use Fault messages in file to file Asynchronous scenario if it possible please share the how to do the Scenario with Fault messages.
    Regards,
    Rajendra

    Hi
    For file to file async scenario, i don't think we can use fault message.
    But it can be used with proxy async scenario as per the below blog
    Fault Message Types - A Demo (Part 1)
    Regards
    Osman

  • "End of File" error 4 when trying to use Advanced TDMS Palette to create a circular file buffer

    I'm using the Advanced TDMS palette to create an on-disk circular buffer. I was able to successfully implement the buffer for a single channel of data.
    However, when I try to write multiple channels of data, I continuously get "End of File Encountered" error 4. I am pre-allocating 60,000 data points for each channel using the "TDMS Set Channel Information" function.
    I am able to (1) Set Next Write Position and (2) perform an Asynchronous Write to the first channel. But when I try to Set Next Write Position to the second channel, I immediately get an error 4.
    The examples have not been helpful as none of them write to different channels in sequence.
    Attached is an example project of what I'm trying to do, coded in 2013SP1.
    Sorry about the file hierarchy, the project is located in the ZIP file here:
    Workspaces\V12000\_V12000 Common Labview Code\Named WF Array\Named WF Array.lvproj
    http://linkd.in/mikele
    Attachments:
    Named WF Array Project.zip ‏1500 KB

    I looked into your project and found that the error comes from Set Next Write Position because the "offset" passed in is out of range. In fact, for continueous logging, you don't need to put the Set Next Write Position in front of the write. Remove this function and you will find your VI can run successfully without throwing out any errors.

Maybe you are looking for

  • ITunes 7.7 errors in Vista 64-bit are drivin me crazy.

    Alright, I'll break down and ask for help. For the past month, my iTunes has been unable to sync with my phone. I'll try to detail the problem as much as I can. I upgraded my iTunes from 7.6 to 7.7, and after, my iPhone wouldn't sync, saying "This iP

  • Can any one let me know

    Hi This is with respect to P-Card. I am actually confused with G/L account funda. I understand that the G/L account and Document type is created in backend to configure the PCARD. The Card company is created as vendor and the newly created G/L accoun

  • Mouse Clicking in R12

    After using R12 for a period of time, the mouse ceases to work. I am only able to tab through forms. If I re-launch it will start to work again for a period of time before happening again.

  • Database tables monitoring

    Hi, In BPC we have a table which contains logs about BPC activity (errors, warnings, information), is it possible to setup SCOM to monitor this database for certain things within this table? We cannot monitor for LogID as this ID is created every tim

  • [SOLVED] Eric4 and Eric not working.

    After updates today I can't open Eric or Eric4. The error I get relates to a missing module from PyQt QtHelp. I've tried to grab the package with pip and also manually download the tar and install it but neither works. I have a bug report open in eri