RFC (Sync) - File (async) always via s/a Bridge?

Hi,
maybe a silly question, but do I always have to use the s/a Bridge when I have a sync. RFC sender and a async receiver? Is there another possibility without bpm (well using a async RFC of course)?
Thank you
Thomas

Hey Thomas..
well the concept of BPM comes, only when u have a syn/asyn communication...
when u say a RFC, which is a async, u need to have a BPM as the file is an Async.
also, if u just want to put the data in R3(say), then u have the scenario FTP to IDOC , wherin u dont get any response and no BPM required...
hope it clears some of ur doubt on BPM...
regards..
vishal

Similar Messages

  • Idoc (async) - soap (sync) - file (async)

    Hi.
    I have a flow from idoc (async) to webservice (soap sync) and I want the response from soap to be written in file (async).
    I want to do this without BPM and I have read some posts about using modules RequestResponseBean and ResponseOnewayBean.
    Can someone help me with this step by step.
    I have in ESR a OM that is async because of the outbound Idoc. Do I need a sync OM for the soap call and another async OM for the response to the file.
    Where do I need to put the modules? In the SOAP receiver?
    I know there are some threads that cover some of this but I couldn't find any that cover the whole of my issue step by step.
    Regards,
    Hjortur

    Yes doing async to sync is possible without bpm. YOu already got the design solution.
    >Where do I need to put the modules? In the SOAP receiver?
    Sender Channel.  In your case you might not need channel for idoc but for this configuration you might need to create one. That is my guess.
    In the module section sequence as follows
    1) AF_Modules/RequestResponseBean   Type:  Local Enterprise Bean    Module key   1
    2) CallSapAdapter                Type Local Enterprise Bean    Module Key 2
    3) AF_Modules/ResponseOnewayBean     Type Local Enterprise Bean  Module Key   3
    Plus follow the link given by shabarish as reference.

  • Issue in Sync-Async bridge(RFC to File) scenario

    Hi All,
    My scenario id RFC to file synchronous scenario.Following the below link, I configured everything and its working fine. I am working on SAP PI 7.31 Dual Stack.
    http://scn.sap.com/blogs/henrique/2007/08/02/syncasync-scenarios-without-bpm
    As mentioned in the above link, I created the file with Message Id as file name and correlating with the message id(Using WaitResponse and Notify beans).Its working fine. But I don't want the file name to be as Message Id. Then in that case, please suggest me how can I correlate the request and response messages.What are the possible ways of doing it.
    Thanks,
    Madhurima

    there is not a best way, just what you need to archive, take the file name as you mentioned is not the best practice, so you can use another parameter provided by SAP.
    To evaluate the following attributes in the PI message header, set the corresponding indicators:
    ○  File Name (technical name: FileName)
    ○  Directory (technical name: Directory)
    ○  File Type (technical name: FileType)
    ○  File Encoding (technical name: FileEncoding)
    do any of them are good for you?
    Rdgs

  • Xml validation in File to RFC Sync Scenario with Validation fails message

    Hi All,
    We are using PI 7.4 (Dual Stack) the Requirement is File to RFC Sync Scenario(File <---> RFC).and need to do XML validation against XSD Schema. if any Validations fails Response message should send back to sender.RequestResponseBean standard module is using for File to RFC Sync scenario but how to send the response message to sender if any validation fails. adapter level XML validation is not helpful for this requirement. please help out me how to achieve the requirement with graphical mapping.
    Thanks in advance.

    to validate schema you cannot solve it with graphical mapping but validating the schema in the AAE or the integration engine.
    y recomend you to use the AAE validation at sender side, coz the sender system will be notified in case of schema errors.
    The response will be validated at Integration Server level.
    you can search in the forum, you will get many document about how to configure it.
    take a look to my blog: PI 7.3  - XML Validation

  • Async RFC to file -data not passsed to PI

    Hi all,
    Im facing a peculiar problem in Async RFC to File scenario.
    I have done all the required configurations for it.
    Referred the following blogs :
    /people/swaroopa.vishwanath/blog/2006/12/28/send-rfc-to-sap-xi-150-asynchronous
    /people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step
    https://www.sdn.sap.com/irj/scn/advancedsearch?query=rfctofile+scenario
    As soon as I trigger the scenario in R/3 , I get a message in PI but the data is not passed.
    The payload I get in PI is with empty tags...

    Hi Ramya,
    As you are getting the empty payload there is not probelm i nthe connection between R/3 and XI system.
    1. Check the logic you used in RFC .. place a break point and check your execution is a getting data properly.
    2. Some times due to the re design in the interface  the cache needs to be updated properly.. Check this too.
    Regards
    Sunil.

  • IPad 2 issue: syncing files via iTunes

    I've been having problems syncing files (namely PSD to Sketchbook Pro) through iTunes on my new iPad 2. All the software is up to date. I can drag the files into the app folder but when I open Sketchbook Pro on the iPad there's nothing.

    That's exactly what I have been doing. I just followed some similar threads, so it appears to be an issue with the most recent iTunes update (everything worked like clockwork on my previous iPad and iTunes until this update).
    Thanks for your help regardless.

  • SYNC or ASYNC

    Hi,
    When the network to the standby is lost with SYNC or ASYNC, where is the information queued and how is it retransmitted once the network has been re-established?

    about this ,Larry Carpenter's book "Oracle Data Guard 11g Handbook" has a best description , i post it here :
    Automatic Gap Resolution
    A log file gap occurs whenever a primary database continues to commit transactions while the LNS process has ceased transmitting redo to the standby database.This can occur whenever the network or the standby database is down,depending on how you have chosen to implement your Data Guard configuration.While in this state,the primary database LGWR process continues writing to the current ORL,fills it,and then swithes to a new ORL while an archive(ARCH) process archives the completed ORL locally.This cycle can repeat itself many times over on a busy system before the connection between the primary and standby is restored,creating a large log file gap.
    Data Guard uses an ARCH process on the primary database to continuously ping the standby database during the outage to determint its status.When communication with the standby is restored,the ARCH ping process queries the standby control file(via its RFS process) to determine the last complete log file that the standby received from the primary database.Data Guard determines which log files are required to resynchronize the standby database and immediately begins transmitting them using additional ARCH process.At the very next log switch,the LNS will attempt and succeed in making a connection to the standby database and will begin transmitting current redo while the ARCH processes resolve the gap in the background.Once the standby apply process is able to catch up to current redo records,the apply process automatically transitions out of reading from archived redo logs,and into reading from the current SRL(assuming the user has configured Data Guard real-time apply).One last side note:beginning wiht Data Guard 10g,one ARCH process at the primary database is always dedicated to local archival to ensure that remote archival during gap resolution does not impact the ability of the primary to recycle its ORLs.

  • File to RFC to File with BPM Scenario

    Hi all,
       I am trying to implement a Sender File ( async )  to RFC (sync ) to Receiver File with a BPM. I using the blog  https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1926. [original link is broken] But it doesn’t work.  First message FileRequestOut is correct in SXMB-MONI, but the second is showing a error. I checked in SXMB-MONI-BPE and I say in workitem is follow message:
    Message Error Workflow
    ‘ Error handling for work item 000000001714
    Work item 000000001714: Object CL_SWF_XI_MSG_BROKER method SEND_SYNCHRON cannot be executed
    No reference message specified when sending a response
    No reference message specified when sending a response’
      I configured my BPM scenario in this way:
      ( Sender File Adapter )
      First Step
      Receiver Step ( Asynchronous )
      Mode:  Asynchronous
      Receive Message: File Request
      ( Receiver RFC Adapter )
      Second Step
      Send Step ( Synchronous ) 
      Mode: Synchronous
      Request Message: File Request
      Response Message: File Response
      Receiver From: Send Context
      ( Receiver File Adapter )   
      Third Step
      Send Step (Asynchronous )
      Mode:  Asynchronous
      Receive Message: File Response
      Receiver From: Send Context
       I have changed it, many times and I can get solve it.  About my configuration objects, I think it is ok, because a tested my Interfaces in Configuration Test Tools it was ok. ( Receiver Det. Interface Mapping, etc…)
        I have seen in SDN, this error maybe Sencond Step must be Synchronous e  Third Step must be Synchronous too. Is it true? In other hand, I have seen, it is possible to use a Async / Sync Brigde.
         Could you help me about this problem?
          Thanks for help
          Best regards
          Fábio Ferri
          Consultant XI/ABAP/Netweaver

    Hi ,
            <b><i> I have seen in SDN, this error maybe Sencond Step must be Synchronous e Third Step must be Synchronous too. Is it true? In other hand, I have seen, it is possible to use a Async / Sync Brigde.</i></b>
                     In BPM did u used as
                        Recive Step      Async
                        Synchronous     Send Step
                        Send Step is  Async
       <i><b>    it is possible to use a Async / Sync Brigde.</b></i>
                         No need to use Asyn Sync Step for this
    Assign poins if u found hepful
    Best Regards.,
    V.Rangarajan

  • SenderAgreement not found in RFC to File

    Hi,
    In  RFC - File scenario, i am facing the following error:
    Error in processing caused by: com.sap.aii.adapter.rfc.afcommunication.RfcAFWException: senderAgreement not found: lookup of binding via CPA-cache failed for AdapterType RFC, AdapterNS http://sap.com/xi/XI/System, direction INBOUND, fromParty '', fromService 'DEC', toParty '', toService '', interface 'SLDJAVA_ACCESSOR_REQUEST', NS 'urn:sap-com:document:sap:rfc:functions' for channel 'CC_LOTUSNOTES_OUTBOUND_SND_RFC'
    I deleted the sender CC and created it again, did a CPACahe Refresh but nothing happened.
    could anybody help to solve this issue.
    in the ECC side I have coded a RFC which is included in the BAPI, then i am calling this RFC in ABAP program. i created a LS in ECC which has the PI details. RFC is called like below:
    CALL FUNCTION 'Z_HR_OUTBOUND_DATA2'
    IN BACKGROUND TASK DESTINATION 'DPICLNT100'    -
    > this is the PI server
    is this correct, or am i missing some steps?
    thanks

    Hi Siva,
    I have done the following for RFC to File scenario:
    ECC side:
    1. Created a RFC and tagged it to BAPI
    2. In the ABAP program, i am calling the RFC like below:
    CALL FUNCTION 'Z_HR_OUTBOUND_DATA2'
    IN BACKGROUND TASK DESTINATION 'Z_HR_OUTBOUND_DATA2'
                   EXPORTING
                     INTERFACE       =
    IMPORTING
       FILENAME        = FILENAME
       RETURN          = RETURN
    TABLES
       ITAB10          = ITAB10
       P_STATUS        = P_STATUS
    COMMIT WORK.
    3. Created a RFC destination using SM59
    RFC detination     : Z_HR_OUTBOUND_DATA2
    Connection type    : TCP/IP
    Enabled Registered Server Program
    Program ID : SAPSLDAPI_DPI -
    > not sure whether this correct. but took this vvalue in
    on the TCP/IP connection in PI (As mentioned if i am giving any other value say SAPECC etc, then it gives an error while Tst connection  * TP sapecc not registered* )
    Gateway host : ECC's host number
    Gateway service : ECC's service number.
    In PI side:
    I have created :
    1 DT for File Rcvr
    1 MT for File Rcvr
    1 SI for File Rcvr (async)
    1 MM (sender RFC and receiver File)
    1 OM
    1 CC with RFc as sender with the following parameters:
       Communication component : ECC's component
       application server (gateway) : ecc's gateway
       application server service(Gateway) : ecc's service number
       Program id : SAPSLDAPI_DPI -
    > not sure whether this correct.
    in on the TCP/IP connection in PI
       inital connections 1
       max. connections 1
    And also gave ecc's details in application server , s/y number, auth. mode, logon user ,
    pwd, ecc's client number
    1 CC with File adapter and file content conversion
    1 receiver determination
    1 interface determination
    1 sender agreement
    1 receiver agreement
    When i am executing the ABAP program in R/3 I am getting the following error:
    *Error in processing caused by: com.sap.aii.adapter.rfc.afcommunication.RfcAFWException:
    lookup of alternativeServiceIdentifier via CPA-cache failed for channel
    'CC_LOTUSNOTES_OUTBOUND_SND_RFC' (f455111112de33bba4c3dc3dbf93ed1b, party '', schema
    'TechnicalSystem', identifier 'DEC#120')*
    Please let me know if any of my steps are wrong and how to rectify this error and make
    the scenario working.
    Thanks for your help

  • RFC to JDBC to RFC sync

    Hi all,
    Anyone have any link for RFC to JDBC to RFC sync scenario step by step?
    (For reverse one means JDBC to RFC to JDBC used RRBEANS configuration in sender jdbc channel and created one receiver JDBC channel.)
    What should I do for the same?
    Any suggestion?
    Thanks,
    Arthita 

    Hi Inaki Vila,
    2. Where I need to configure the RRBEANS ? In which channel?
    In the RFC sender channel, the first channel to be used. You can check it in the wiki that i mentioned above.
    Could you please provide the wiki link for the same?it ll be very helpful.
    3. Is it applicable for reverse scenario?
        Suppose JDBC is sender and I'm using one RFC. For that also no need to use any bridge (RequestResponseBean) ?
    If you want to take the data from DB source and to pass to an ECC system via RFC you wont need any bridge, you can do a normal async scenario JDBC - RFC.
    I'm asking for JDBC - RFC sync scenario where I'm using one RFC.
    Thanks,
    Arthita

  • HTTP-RFC(BPM)-FILE Scenario

    I have a problem on using the 'http-RFC(BPM)-File scenario'. When i enter values using the  Client http adapter, it displays message telling that "BPE_ADDAPTER.SYNCHONOUS_MESSAGE"
    The error msg is displayed below:
    Result:  
    <SAP:Error>
    <SAP:Category>XIAdapter</SAP:Category>
    <SAP:Code>BPE_ADAPTER.SYNCHONOUS_MESSAGE</SAP:Code>
    <SAP:Stack>The process does not support the given synchronous interface or does not support synchronous messages</SAP:Stack>
    </SAP:Error>
    Also in SAP XI monitor, the sender services along with the corresponding sender interfaces.
    Expecting this prob will be off soon.
    thanks
    vinod v

    Hi Vinod,
    your process is asynchronous (no sync async bridge). But you send "Quality of Service = Best Effort" (Url paramater qos=BE). You should send "Exactly Once" (EO).
    Regards,
    Udo

  • Regarding RFC to RFC to FILE

    Hi,
      I am Doing RFC to RFC to FILE. I want to execute RFC to RFC and I want to get RFC response to FILE.
    1)Do I need to Define BPM for theScenario.
    2) Should I configure Sync- Async Bridge for the above scenario.
    2)For RFC's we do not ceate any Interfaces, then for RFC should I define Abstract Message Intergaces to use in BPM.
    3) In order to get the RFC response to FILE, Shd I define Mapping between RFC response and File.then what would be the Interface Mapping?
    Regards,
    Varun

    Hi Varun,
    Sync/async communication enables a synchronous sender system to communicate with a receiver system that cannot process synchronous messages.
    The central component of sync/async communication is the sync/async bridge, which enables the Integration Server to receive synchronous messages from a sender and send them to a receiver as asynchronous messages. Conversely, it can send the asynchronous response from the receiver back to the sender as a synchronous response.
    To do this, you define an integration process, which is started as soon as a synchronous message is received from the sender system. The process uses a special receive step to open the sync/async bridge, sends the received message to the receiver system asynchronously, and waits for the asynchronous response to arrive from the receiver.
    The Business Process Engine receives the asynchronous response from the receiver, correlates it with the corresponding query, and activates the waiting process, which then sends the response back to the sender synchronously.
    1)Do I need to Define BPM for theScenario.
    Yes
    2) Should I configure Sync- Async Bridge for the above scenario.
    Yes
    2)For RFC's we do not ceate any Interfaces, then for RFC should I define Abstract Message Intergaces to use in BPM.
    Just import ur RFC and use it.
    3) In order to get the RFC response to FILE, Shd I define Mapping between RFC response and File.then what would be the Interface Mapping?
    Yes.Interface mapping what ever u had done select that.
    Procedure:
    SyncReceive – To Receive the payload synchronously from HTTPRequestInt interface
    syncSend – To Send the request payload Asynchronously from BPM to the File system
    syncReceive – To receive the response payload Asynchronously from Legacy File system to BPM
    SyncSend – To Send the response Synchronously from BPM to LegacySystem
    Refer this blog
    Bridging the Sync-Async bridge with Fork (XI)
    Demonstrating Use of Synchronous-Asynchronous Bridge to Integrate Synchronous and Asynchronous systems using ccBPM in SAP Xi
    Also go through these links:
    http://help.sap.com/saphelp_nw04/helpdata/en/83/d2a84028c9e469e10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/c4/dc06418752ef6fe10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/f9/66bf40ad090366e10000000a1550b0/RN_XI_DE_neu.pdf
    Regards,
    Vinod.

  • RFC To File Synchronous

    Hi,
    Please tell me how to configure RFC to File Synchronous using BPM.
    I want an acknowledgemnt to the RFC as soon as the File sending is completed

    Hi,
    file adapter supports transport acknowledgements.......
    have a glance over the blog.....
    The specified item was not found.
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken]                              
    Sync/Async scenarios without BPM                         
    Thanks,
    Madhu
    Edited by: Madhu sudhan Reddy on Jul 31, 2008 1:52 PM
    Edited by: Madhu sudhan Reddy on Jul 31, 2008 1:52 PM

  • Error Handling on RFC - XI - File Scenario

    I have an R/3 RFC -> XI -> FILE scenario that works, but does not adequately handle the error of my R/3 to XI connection being down.
    The RFC call is async since I was under the impression that I had to do a "to file" scenario that way.
        CALL FUNCTION 'ZXO_SAP2RFC'
          IN BACKGROUND TASK
          DESTINATION  wa-rfc_dest_1
          EXPORTING
            request          = request
            rfc_header       = rfc_header.
        COMMIT WORK AND WAIT.
        IF sy-subrc <> 0.
          [error handling]
    If my rfc destination is down (for example when XI is down), this RFC call is still getting a sy-subrc of '0' (so my error handling does not kick in).
    Any suggestions?

    Hi Keith,
    your scenario is working correctly. If XI is down you will find your message queued in transaction SM58, where you can restart it manually. Usually there should be standard job for report RSARFCEX, which is periodicly trieing to restard the message.
    Asynchr Call (tRFC) means that your program continues completly undependent from that call.
    Make a test: Change temporary the called machine in SM59 destination to senseless value and execute your programm. Your message should be in SM58. Then correct the destination and wait a few minutes...
    Regards,
    Udo

  • Constantly restoring iPod due to a missing sync file

    iPod model: Ipod Nano (3rd Gen)
    softwear Version: 1.3.3 (current)
    Format: Windows
    Capacity: 8 GB
    itunes Version: 11.0.4.4
    For the past few days I've been having a very annoying issue. Whenever I plug in my iPod It tells me that it's unable to sync to itunes because my iPod is missing the sync files. I find that odd. This is the first time in the 6 years -almost 7- that I've owned this device, that I've experienced this problem. Restarting the computer, unplugging and replugging the iPod back into the computer and trying a different computer all produces the same error.
    Here's what happens.
    -Plug iPod in
    -Itunes starts syncing my iPod.
    -itunes gives me an error saying my ipod can't be synced because if missing a file needed to sync my ipod to itunes.
    -iPod is disconnected from iTunes -by itunes- yet my computer can still detect it as a removeable device 95% of the time.
    I don't understand why It's doing this. I always disconnect my ipod from a computer once it's finished syncing -once both itunes and the ipod both say it's finished- by selecting the option on itunes and by selecting the safely remove hardware option in the taskbar.
    In order to restore my iPod, i have to click the ipod button when it pops up in itunes and hit restore before thhe error message comes up. It's a pain in the but that i have to do this every time i connect it to my computer. Is there any long term solutions for this?

    Hey TidalWavesLion,
    Thanks for the question, and welcome to Apple Support Communities.
    This error usually relates to a missing file for photo syncing. A good troubleshooting step would be to restore the iPod, then try to sync each type of media at a time (i.e. sync music only, then sync photos only, etc). This will help us isolate the issue.
    iTunes: Unable to sync photos
    http://support.apple.com/kb/TS3697
    Symptoms
    In certain situations, iTunes may display an alert or may be unable to sync photos to an iPod or iOS device. Examples include:
    - This error appears: "The iPhone/iPod touch '[device name]' cannot be synced. The required file cannot be found."
    This article outlines steps to resolve these issues...
    Thanks,
    Matt M.

Maybe you are looking for