Principle question to RFC

Hello,
I have a basic question to RFC execution. Maybe somebody can give me a good hint.
Assume, we have an SAP system whose application servers are all located in Hamburg.
Furthermore there are users all over Europe, using SAPGUI.
Close to the users there are content servers to store documents and to provide fast access.
Assume that there is a 3rd party product which can convert any document into a pdf format. The functionality is located on different servers which are located close to the content servers.
There should be a background process on the SAP application server which calls an RFC on the pdf Convert Server and retrieves a document from the content server to get it converted.
Now the question: will the document be transferred to the application server to Hamburg first and from there to the pdf Convert Server? WIll the result (the pdf) also be sent to Hamburg first before it can be stored in a local content server?
Or is RFC itself so 'intelligent' to avoid these unnecessary data transfers?
I try to ask the question in general. Hopefully somebody understands the problem.
Thanks in advance.

Dear Mr. Kretz,
SAP RFC is 'only' a mechanism to perform remote function invoke. Thus it makes some definition on server and client side and defines a transfer protocol.
SAP RFC itself does not define, which partners in your scenario are communicating as client or server. It is the task of the architect of your solution to define the process (of course also with respect to performance and communication overhead)
There should be a background process on the SAP application server which calls an RFC on the pdf Convert Server and retrieves a document from the content server to get it converted.
... will the document be transferred to the application server to Hamburg first and from there to the pdf Convert Server? WIll the result (the pdf) also be sent to Hamburg first before it can be stored in a local content server?
The whole thing depends on the ability of your server to certain functions.
If your Convert server is able to access docs on the content server directly by himself without ABAP "help", it can work like:
   SAP AppServer -> RFC -> Convert Server <- some communication protocol -> Content Server
and will not require data transfer over Hamburg.
If Convert Server and Content server cooperate only by help of SAP ABAP, it would look like
  SAP AppServer -> RFC -> Convert Server -> RFC -> SAP AppServer -> RFC -> Content Server     and the whole call stack back.
Or is RFC itself so 'intelligent' to avoid these unnecessary data transfers?
RFC can only control, what is in his scope. That is the communication from a sender to a receiver. RFC itself cannot optimize the calls of a scenario 3 acting parties.
Hope that helps you somewhat.
Best regards

Similar Messages

  • Flat File-to-RFC question, multiple RFC calls for one file.

    Hi guys,
    I'm quite new to XI / PI and I have a question regarding a File-to-RFC scenario we're trying in NW PI 7.1.
    We have a flat file which has two lines with two fields each, let's take this as an example :
    001,001
    002,002
    The files needs to be converted to XML and then transferred to the RFC program which will update a table with the values above.
    In the ESR I've created 3 data types (z_row1,z_record1 and z_fileinput1), 1 message type (z_file2rfc_ob_mt), 1 message mapping (z_file2rfc_mm), 2 Service Interface (z_file2rfc_ob_si and z_file2rfc_ib_ztestpi) and 1 operation mapping (z_file2rfc_om).
    In the Integration Builder (ID) I've created everything required (The sender and receiver communication channels, sender and receiver agreement, receiver determination and interface mapping).
    We're also using content conversion to convert the flat file to XML, this does seem to work because I see all the lines/field in the message when it gets into PI. The problem is that the RFC can only accept two fields at a time and only the first line gets updated. I see that only the first line gets sent to the RFC.
    How can I make the RFC call for each and every line ?
    Thanks !!

    Create the RFC with table, which takes multiple lineitem as input and update the table in single call.
    If you want response back then call RFC as synchrounous else in Asynchrounous mode.
    By doing this in single call it will update the complete table.
    Gaurav Jain
    Reward Points if answer is helpful

  • Some PI questions regarding RFC and  receiver determination

    If we import the design objects in one customer system from another customer system , and in the original system there is an imported RFC ,
    This RFC has been created in the new SAP customer system.
    My question is do we have to import the RFC again , as it is already in the imported design objecs.
    My second question is , di we need to create a receiver determination for the answe in a synchronous send step of the BPM ,
    Thanks

    My question is do we have to import the RFC again , as it is already in the imported design objecs
    Yes....the RFC/ IDOC should be imported from the system to/ from which you will send/ receive the data.
    If the RFC was in system1 earlier and now in system2.....then you have to delete the RFC imported from system1 (if it is not used) and then import it from system2
    My second question is , di we need to create a receiver determination for the answe in a synchronous send step of the
    BPM ,
    Irrespective of sync/ async send step.....you should create Receiver Determination....which will have BPM as sender and the TO_SYSTEM as receiver.....not separately for response....just once
    Regards,
    Abhishek.

  • Question about RFC adapter

    Hi,
    There is this little concept about RFC adapter
    I would like a liitle clarifiaction about..
    Here it goes..
    Let's just say I have made an RFC in R/3.
    The same I have imported In xi.
    now when we say RFC ...By definition
    it is a remote enabled function module.
    We import the "interface" of the Same in Xi
    So if I make changes in the BODY of the RFC in
    R/3... do i need to reimport it in XI.
    Besides when XI's reciver RFC adapter is using the
    Rfc's interface to make changes in R/3
    is it using a Copy of this RFC created in R/3
    I would like to intercep at the point it's doing so...
    tried putting a break point in the body of rfc.
    Another question is regarding RFC sender adapter
    Program ID..tcp Ip protocol.
    Conceptually How does this connectivity takes place
    I tried and it worked ...
    I dunno How to explain this connectivity taking place
    just on the basis of PROGRAM ID...
    Kindly Help

    Hi Deepak,
    +
    >>We import the "interface" of the Same in Xi.So if I make changes in the BODY of the RFC in R/3... do i need to reimport it in XI.+
    Yes you have to.
    >>Another question is regarding RFC sender adapter.Program ID..tcp Ip protocol.Conceptually How does this connectivity takes place I tried and it worked ...I dunno How to explain this connectivity taking place just on the basis of PROGRAM ID...
    ·An RFC server program registers itself under a program ID to an SAP gateway (not for a specific SAP system).
    ·If an RFC call is passed on from any SAP system to this SAP gateway with the option “Connection with a registered program” (with the same program ID), the connection takes place with the corresponding JCo server program.
    http://help.sap.com/saphelp_nw04/helpdata/en/09/c88442a07b0e53e10000000a155106/content.htm
    Hope this will clarify your doubts.
    Regards
    Suraj

  • Question about rfc sender

    Hello,
    I was reading a help.sap.com site. I don't understand that sentence:
    "The communication channel in which the RFC adapter is defined must be defined for a service of type Business System in the area Service Without Party. In the PCK, you must create an empty party record." from http://help.sap.com/saphelp_nw04/helpdata/en/67/6d0540ba5ee569e10000000a155106/content.htm
    So this means: I need a Business system. NO Business Service, right?
    And what is meant by empty party record? Does this mean I need to let the partner fields empty?
    thank you.

    Parties are used when u exchange the data between different parties,B2B.
    B2B means Business to Business communication .It is used when there is exchange of information between two different companies or landscape. In case of B2B every party has it own rules which must be followed if we want to communicate between different organization.
    Check out this link:
    http://help.sap.com/saphelp_erp2004/helpdata/en/ca/efb540efe68631e10000000a1550b0/content.htm
    So there lies the answer...
    Regards
    Reward points if useful

  • Question about RFC 822

    When I send mail with messenger express to [email protected],the attached *.doc file became AIMC362111431111.rfc822
    Any question about messenger express ?
    Thanks!

    1 the version
    root@jt-mail1 # ./imsimta version
    Sun Java(tm) System Messaging Server 6.1 HotFix 0.02 (built Aug 25 2004)
    libimta.so 6.1 HotFix 0.02 (built 17:36:06, Aug 25 2004)
    SunOS jt-mail1 5.9 Generic_112233-11 sun4u sparc SUNW,Sun-Fire-880
    root@jt-mail1 #
    2 I send a mail with a attached file name 'test.doc' to [email protected],so I want to see this mail with attached file 'test.doc'.
    But now I see the attached file became: AIMC362111431111.rfc822
    That means 'test.doc' becames 'AIMC362111431111.rfc822' .
    ?

  • BW and Java (principle question)

    Hi,
    during my studies I was an entusiastic Java-Programmer. Now it seems so, that my work life will begin with the BW. So I ask you, in which fields of BW I might get touched with Java in future?
    thanks
    Tobias

    Hi Tobias,
    as there is a software development kit available for java and BI you will get into touch with it.
    Check out this link: https://www.sdn.sap.com/sdn/downloadarea.sdn
    regards
    Siggi
    Message was edited by: Siegfried Szameitat

  • RFC Adaptive Model Questions

    Hi all,
    I have some questions about RFC Adaptive Model in Web Dynpro:
    1)Can I add a new RFC into a Model without recreating that?
    2)There’s a way to WebDynpro don’t lost de mapped attributes like an input field that’s mapped to an import parameter of a RFC? Because all the times that I change the Model and recreate that, my application lost the link between Controller and View and it’s generate a lot of work to redo this manually.
    Thanks,
    Manoel

    About RFC models, if I have this schema:
    RFCModels
    -- ZRFC_A
    -- ZRFC_B
    -- ZRFC_C
    If I want to add a new RFC to this model (ZRFC_D), I can't do that. In this case I want to create a new Model with the ZRFC_D right?
    When I import a Web Services Model and I have made some changes in Web Services, I don't have a Re-import option enabled like RCC models. What can I do in this case?
    Thanks,
    Manoel

  • RFC Comm. Channel question.

    Hi all!
    I've got a question about RFC scenario's.
    <b><u>This is the situation:</u></b>
    In a scenario "A" i use a comm. channel called RFC_Receiver, but in scenario "B" i also use this comm. channel to send data to R/3 from XI.
    Scenario "A" has an integration process which called a function module in R/3 using the comm. channel.
    The function module in R/3 has been edited and now has an extra export parameter (response of the module). I imported the RFC again in XI, so the new structure is known and can be used in the mapping. When using the new structure by sending a document through the integration process, we first have to set the comm. channel RFC_Receiver to INACTIVE. Then set it to ACTIVE. I've been told that this has to be done, if not it will still run with the old structure. (see question 1 below)
    Now, when i transport all the changes to the production system, scenario B also will try to use RFC_Receiver. Now i have to set it to inactive and then to active (see above situation). So when i set it to inactive, i expect Scenario B to generate errors when it has to process a message. (see question 2 below)
    <b>Now my questions:</b>
    <b>1.</b> Do i really need to set the Comm. Channel RFC_Receiver to inactive, then activate it, set it to active and again activate it?
    <b>2.</b> RFC_Receiver is an object used by scenario A and scenario B. When i set it to inactive for scenario A, will it also be set to inactive for scenario B? (i think it will, because it is 1 object)
    Can anyone help me clear out these questions? It will me much appreciated!
    Thanks in advance.
    Marcel Leeraar

    From tthe RFC adapter FAQ
    <i>Q 5: What's about cache memories within the RfcAdapter?
                  A: The RfcAdapter has a cache for the metadata of function modules. This means it caches the definition of function modules, structures and other datatypes. A separate cache is used for each communication channel. When the particular data is needed during runtime, the cache is filled from the configured RFC metadata repository. Once if a particular metadata has entered the cache, only this one is used and no lookups to the RFC metadata repository are made for this type of metadata. If the communication channel is changed within the Integration Directory and gets replicated to the appropriate Adapter Engine (see Environment -> Cache Notifications...), this metadata cache is cleared. The caches for all communication channels are cleared when the J2EE Engine is restarted, the RfcAdapter J2EE Service 'SAP XI Adapter: RFC' is restarted or a dependend J2EE Service is restarted ('SAP XI AF CPA Cache', 'SAP XI AF Messaging').</i>
    After making the change in your RFC , reason you need to deactivate and activate the RFC adapter is that the RC metadata needs to be cleared from the Cache so that the new RFC metadata is used by the RC adapter.
    Regards
    Bhavesh

  • Production Environment RFC's for EWA.... Please help!!

    We have some of the production environment setup EWA. I will need to add else which are left. I have setup EWA in sandbox for testing. worked fine. but i have question about RFC's.
    My all DEV systems has the following RFC's in solman;
    SM_XXXCLNT100_LOGIN
    SM_XXXCLNT100_READ
    SM_XXXCLNT100_TMW
    SM_XXXCLNT100_TRUSTED
    But my all QAS and PRODUCTION system has the following RFC'c in solman.
    SM_XXXCLNT100_LOGIN
    SM_XXXCLNT100_READ
    SM_XXXCLNT100_TMW
    I thought when I generate auto RFC's from SMSY, it creates the following;
    SM_XXXCLNT100_READ
    SM_XXXCLNT100_TMW
    SM_XXXCLNT100_TRUSTED
    What should I do? if it creates _TRUSTED ONE in PRD, should I delete it? Please help!!
    Question: If I am generating auto RFC's for PRD, it created _LOGIN one too? I am totaly confused??
    Thanks,
    I will definitely post points

    The only reason I want to do that because I have to talk to security folks for that, they will go and look at the other production environments which dont have _TRUSTED rfc...
    Like as I have mentioned, all production has the following rfc's
    SM_XXXCLNT100_LOGIN
    SM_XXXCLNT100_READ
    SM_XXXCLNT100_TMW.
    I dont understand only one thing. how can I get _LOGIN rfc?
    The only reason I am asking, when I did EWA in sandbox, It did not generate _LOGIN rfc...
    Do you have any idea?
    Thanks,

  • Some generic questions on BPM of NW CE

    Hi Gurus
      i have over 6 years of ABAP business workflow experience and over 3 years of XI experience. Now i'm getting tough with this new stuff, BPM of NW CE. Here i have some generic questions of it:
    1. How can i trigger a BPM task while a document, like a sales order , has been created in the system? is there any processes to catch the event of R3 in NWDI?
    2. Can BPM consume RFC/BAPIs in R3?
    3. Is it possible to make message mapping in BPM? i found there is a 'mapping' choice in the context setting of NWDI whereas it is quite simple compared with PI.
    4. Can the BPM be integrated with webdynpro ABAP? or send the relevant tasks into R3 directly? Actually what i mean is , can i bypass java programing while dealing with BPM of CE, if possible.
    thanks

    Hi Stephen,
    In the first released version of SAP NetWeaver BPM it is not possible to catch events of R/3 directly. Anyway. In case you have the possibility to trigger a web service in that situation you could start off a specific (BPM) process instance that handles the situation.
    The same is basically true for the question regarding RFC: In the initial version you'd need to wrap the RFC into a web service in order to consume it.
    The mapping possibilities in SAP NetWeaver BPM are meant to perform data flow between different activities in a BPMN based process model. This way you could transform a message that came into the process in that way that if fits your needs in regards to the BPM process (data) context.
    Bypassing Java when using SAP NetWeaver BPM would be difficult as the supported UI technology is Web Dynpro for Java. In addition the possibility to add more flexibility to your mappings by defining custom functions is based on EJB, thus again Java.
    Best regards,
    Martin

  • RFCs and their use

    Hello
    a novice question about RFCs.
    Documentation I have says that I need to import the model and then bind the model object to a context model to be useable.
    I have a BAPI that I have imported by creating a model in my application.
    I am able to set parameters and call the execute method in the Input type class of the model without binding the model to any context so thought I could carry on without the binding.
    However I am having trouble accessing the return type or message from the BAPI after execution and was wondering if this requires the binding?
    Thanks

    Hi Harnomit Babraa ,
                                      Can u please tell , how u r executing the rfc without binding it to the context??
    have u checked this doc?
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/user-interface-technology/webdynpro/wd%20java/wdjava%20archive/creating%20a%20web%20dynpro%20application%20accessing%20abap%20functions.pdf
    regards
    Sumit

  • Wait time for RFC response

    Hi experts,
    I am calling an RFC in a remote SAP R/3 system from another SAP system (say CRM).
    Is there a timeout parameter value that can be set to a time limit that a calling system can wait for a response from the RFC call? In other words, how can I set up a time parameter in the ABAP program to wait for the RFC and if can not get a response; continue with a set of code.
    Any suggestion greatly appreciated <REMOVED BY MODERATOR>
    Abbey Qayum
    Edited by: Alvaro Tejada Galindo on Feb 25, 2008 2:58 PM

    Just to calrify my question;
    An RFC is being called in R/3.
    The calling system is say CRM.
    The question is:
    1) If the RFC called system (R/3) is down, what would be the expected response from the called system (R/3) to the requesting system (CRM)? i.e what happens when the called system is down/connection breaks down?
    When calling the RFC in R/3, I noticed that the call hangs up and the hour glass shows and waits for the RFC reponse for a long time. How can this be prevented? That is, the RFC call should timeout after a certain time if you don't get a response from the called system. How and where this timeout can be set in the ABAP.
    Thanks

  • RFC Sender

    Hi all,
    Hi have defined a RFC Sender scenario. I think all in Design and Configuration time is OK.
    But I can't define the TCP-IP destination in SM59...What's about Program ID in definition of destination? How I register the Program ID?
    Thanks in advance,
    Regards.

    hi,
    >>>The commit work must go after de call function, isn't it?
    yes
    >>>>Another silly question: the rfc must exits in XI server?
    only in the repository - you import it into the repository
    >>>>No XML traffic in SXMB_MONI, no file written...
    check TCODE - SM58 on the r/3 if there are any errors over there
    BTW
    is the RFC connection to XI working in SM59?
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • Concerning RFCs

    Hi~ I've got a question about RFCs
    I wanna use RFCs without Netweaver or EAI server.(SAP -> .NET)
    .NET connector is not suitable for this matter. It's too complicate to make systems
    Plz give me some great solutions~

    Our company is using mySAP ERP 2005 and we didn't buy Enterprise Portal(the compornent of Netweaver)
    we already know the way of ASP.NET Webservice that you told me.
    that is the way calling some functions from SAP system to .NET
    However, the thing that I want know is the way calling functions from .NET to SAP system.
    We know some ways to do it but it is not hard to make.(by using .NET Connector and Windows Services-deamon)
    so, plz tell me more effective way to make it.
    Message was edited by:
            Se il Sohn
    Message was edited by:
            Se il Sohn

Maybe you are looking for

  • ITunes 11.1 crashes on Apps tab of connected iPhone

    With an iPhone 4S (iOS7) connected and selected in iTunes 11.1.0.126, clicking the Apps tab causes iTunes to crash with the message "iTunes has stopped working."  Running Windows 7 Ultimate 64-bit, all MS updates applied. Information from Windows Eve

  • What are start and end routines in BI 7.0..

    Hi, Can you please explain and give me a sample code ? thanks

  • Column name in user_ind_columns, all_ind_columns

    The oracle data dictionary seems to assign a new system generated name (for example 'SYS_NC00008$') to index columns where the descend value = 'DESC'; SQL> select index_name, index_owner, column_name, descend from all_ind_columns where descend = 'DES

  • Delete row 2 from excel file in SSIS

    I need to delete the second row in an excel file in my SSIS package. Is that possbile to do? Thanks

  • How to unlock a record

    hi everybody im doing a bdc to create  customer hierachy but at each loop in the internal table, its telling customer is locked by myself how to unlock that?