Doubt on FILE to RFC & PROXYS

Hi everybody,
                    I'm able to solve most of my doubts by this forum, thankz to everybody who assisted me.Here are some simple doubts plz give solutions to them as many as possible
              1.In my FILE to RFC scenario I'm using BPM & i should send response back to SENDER so what steps should i include in it ? I'm using BAPI_GOODS_MVT_CREATE bapi?
              2.In my FILE to RFC scenario  I'm maintaining single SLD for DEV,CONS,PROD ,so can i configure my file sender service directly in ID as a BUSSINESS SERVICE?
              3.Can any one give some information In which case we have to go for
PROXY &  in which case for IDOC?exluding this reason  " if syst config is >6.20 or else go for IDOC or RFC for an sap system?
              Plz kindly answer to this questions & valuable answers are rewarded.
                                                                                Regards,
                                                                                Vinod.

<i>1.In my FILE to RFC scenario I'm using BPM & i should send response back to SENDER so what steps should i include in it ? I'm using BAPI_GOODS_MVT_CREATE bapi?</i>
>>>
Ref: /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
Else in case you have SP19 then ref this abstract from an earlier post !!
<i>All,
Just thought I'd add a quick note here.
From SP 19 on XI 3.0 and SP 10 on PI 7.0, a File - RFC - File ( Asynch - Synch ) scenario can be done without a BPM.
Steps:
Integration Repository
The Integration Repository will be similar to any Synchronous Scenario ( say HTTP - RFC ) . 1 Outbound Synch message Interface and 1 Inbound Synch Message Interface.
Integration Directory
This is where a few differences lie, so let me take some time.
1. The Receiver Determination , Interface Determination will be the same as in HTTP - RFC synch scenario. Create the Sender File Adapter, Receiver RFC Adapter and Receiver File Adapter.
2. Sender Agreement will be for the Sender File Adapter. Sender Agreement uses the Synch Outbound Message Interface.
3. Receiver Agreement will be for the Receiver RFC adapter. Receievr Agreement will use the RFC as thge Inbound Message Interface.
4. We need to add a few modules in the Sender File Adapter.
Go to the Modules Tab of the Sender File Adater, and add the following modules in the same sequence,
Number - ModuleName - Type - ModuleKey
1- AF_Modules/RequestResponseBean - Local Enterprise Bean - 1
2- CallSapAdapter-Local Enterprise Bean - 2
3-AF_Modules/ResponseOnewayBean-3
Parameters
ModuleKey - ParameterName - ParameterValue
1 - passThrough - true
3-receiverChannel - Receiver File Adapter Name
3-receiverService - Receiver Business Service/ System
With this configuration, you can now handle the requirement without a BPM
This feature been already blogged for JMS Adapters in these blogs ,
Sync/Async communication in JMS adapter without BPM (SP19)
Async/Sync Communication using JMS adapter without BPM (SP 19)
Dynamic Configuration is also possible,and this as well as many other options are discussed in the How To guide - "How To Realize a sync-async and async-sync
bridge within the Adapter Framework" available on the Service Market Place.</i>
<i>
In my FILE to RFC scenario I'm maintaining single SLD for DEV,CONS,PROD ,so can i configure my file sender service directly in ID as a BUSSINESS SERVICE?</i>
>>
you can use Business service !!!
<i>3.Can any one give some information In which case we have to go for
PROXY & in which case for IDOC?exluding this reason " if syst config is >6.20 or else go for IDOC or RFC for an sap system?</i>
>>>
Advantage of Proxy over RFC, IDOC
/people/ravikumar.allampallam/blog/2005/08/14/choose-the-right-adapter-to-integrate-with-sap-systems

Similar Messages

  • Doubt in file to rfc to mail scenario

    Hi All,
    I have a doubt in configuring File2Rfc2Mail scenario,
    Actually my requirement is to send flat File to RFC, and trigger mail alerts for successfull execution , like after successfully posting the mesg to rfc i need to trigger a mail alert to mailserver,
    For that what i thought to do is file to rfc and from rfc response to mail , i don't know whether i can do like that or not , do anybody help me in this issue,
    Thanks in advance,
    Nousheen.

    Hey,
       Your BPM will be like this.
    recieve step(file)-> sysnchronous send step(rfc)-> send step(mail)
    3 abstract interfaces:-
    abstract asynchronous(file structure)
    abstract synchronous (in this request as file sturcture and response as mail structure)
    mapping between abstract synchronous and rfc(no need for transformation as mapping is outside)
    abstract asynchronous(mail structure)
    create two container variables, one for each abstract asynchronous interface.
    use them in recieve step(file) and send step(file)
    revert in case of any queries.
    reward points if useful.
    regards,
           Milan

  • Doubts in File to RFC scenario

    <u><b>Scenario we are working on:</b></u>
    Legacy System -> Flat File -> XI2.0 -> RFC -> SAP R/3 470 ( WAS 620 )
    <u><b>What we have done till now:</b></u>
    1. Created technical system for XI server and the SAP 620 ( target system )
    2. Created business system for XI Server and target system
    3. Created a software product for legacy system and the corresponding technical system and the business system
    4. Defined the business scenario in Repository including Actions, Message Interface, Message Type, Data Type (for source file), Imported RFC signature from target system, message mappings and message interfaces.
    5. Configured the file adapter.
    6. Configured business scenario in Integration Directory including interface determination and receiver end points
    <u><b>Where we are stuck:</b></u>
    1. Currently I have created the entire set of objects under the new software component I created for source system. I want to know how to decide under which software component should I create the design objects, e.g under the software component for source system, or under the software component for target system or am I supposed to create a new product altogether including all the software components in my scenario.
    2. What is the significance/dependency of namespace in the design process?
    3. I have configured the inbound file adapter (attached is the configuration file). How do I integrate it with the Integration server? In other words where to specify the link between my business scenario the file adapter.  How do they talk to each other?
    4. We are not able to configure the RFC adapter. Can we get a configuration file for a working adapter? Are there any pre-requisites for the RFC adapter configuration? Also once configured how will it talk to Integration Server?
    5. Is it possible to use proxies on Integration server in our scenario? Our XI system is installed on WAS 620 with J2EE 620 and the target system is also WAS 620.
    6. Is it possible to send email notification from XI in case or any errors e.g while accepting the file, while mapping, or while passing to target system

    Hi Satinder,
    Below are the answers for your questions:
    Regards
    Prasad
    Netweaver RIG-XI
    SAP Labs LLC.
    Ans1: If you are creating a new sceanrio, you can create a product and a software component in SLD and import the software component into Int.Repository. You can define 1 namespace or mutliple namespaces under this SC.
    It all depends on how are desiging your objects in SLD, Int Rep etc. This can be done in various ways.
    Ans2:
    Namespaces  Definition:
    Namespaces in the Integration Builder are namespaces in the sense of XML namespaces that are sub-divided further into semantic units within the Integration Builder software component versions. Objects of a namespace can only be shipped as part of the corresponding software component version and not separately.
    XML Namespace Definition: An XML namespace is a collection of names, identified by a URI reference , which are used in XML documents as element types and attribute names
    RFC2396
    IETF (Internet Engineering Task Force) RFC 2396: Uniform Resource Identifiers (URI): Generic Syntax
    Use
    The following types of namespaces exist in SAP Exchange Infrastructure:
    ·        Repository namespaces are displayed in the Integration Builder (Design) navigation tree. They are all assigned to a software component version but are used differently:
    ¡        Repository namespaces are used to avoid naming conflicts. For objects of the same object type, it is not possible to have duplicate object names within a repository namespace. In other words, a repository namespace is a quantity in the Integration Repository in which the object names are unique.
    ¡        Software component versions are used to define shipment units. It is not possible to ship objects in a namespace (business scenario objects, business process objects, interface objects, mapping objects, and adapter objects) on their own. Instead, they are shipped as a part of the relevant software component version.
    Although repository namespaces are assigned to the software component version in the navigation tree, the software component version does not affect the uniqueness of the object names.
    ·        XML namespaces are used as identifiers for message instances or customer-specific fields in the instance. You can specify XML namespaces as an attribute of (fault) message types and data type enhancements.
    ·        Namespaces in the System Landscape Directory (SLD), which have nothing to do with repository or XML namespaces (see: Namespace).
    ·        Internal namespaces, which are required in message instances, for example. The internal namespace for fields in the message header is: http://sap.com/exchange/MessageFormat, for example. These namespaces are of no further interest for SAP XI users.
    Ans3: Check the Adpater Documentation. In your case, the legacy system will be creating a file in the file system where the file adpater is installed.You have to mention this path in your FA configuration. Once the FA is running, The file is polled automatically. The parameter defined in the config file will send direct the message to XI server. For Ex:
    XMB.TargetURL=http://:8000/sap/xi/engine?type=entry
    Ans4: Check the documentation for RFC Adapter Config. Once configured it will talk to XI via JCO. send me an email if you have more questions.
    Ans5: Yes you can use Proxies as your target system is was620.
    Ans6: this is possible in XI-3.0 -SP04 as the SMTP adpater is available. You have to model the message in XI-3.0 when to send an email message.

  • Doubt regarding File Content Conversion. File- RFC

    Hi Experts,
        My scenario is File -> XI -> RFC,
    I am able to update the records in R3 when i get a fixed length file with a single record.
    RFC can process one record at a time (its 1 to 1 , its not 1 to unbounded),
    May i know what are the changes to be done in the scenario to implement this existing interface to process a fixed length file contains a multiple records.
    How to get RFC return messages when ever there is return message , as this is not the synchronous scenario.
    Please help me out.
    Thanks

    HI,
    First you need to create a structure [SE12]
    Once that is done, open the function module [SE37] and select the tab [Table].
    Add a new parameter and for the Associated Type use the structure that you have just created.
    Then reimport the RFC in XI.
    I hope it helps.
    Now, to make the RFC return messages you shall create a BPM.
    Notice that this will be a Async -> Sync -> Async interface...
    Basically your bpm steps will be like this:
    Receive,
    Transform if needed,
    Syncronously Send and receive response,
    Transform again if needed,
    Send Asynchronously.
    Take a look at the image in the link to have a better idea on the BPM setup
    https://weblogs.sdn.sap.com/weblogs/images/251764026/bpmAsync2Sync2Async.JPG
    (please, award points if usefull      )
    Edited by: Luis Melgar on May 9, 2008 9:39 PM

  • Step by Step Guide Details for RFC to File and File to RFC scenario

    Hi Guru's
    Good day to you. I am tyring to develop some scenarios based on RFC adaptor. so i want to start up with basic scenarios like RFC to File  scenario(Here i just want to pull some data from SAP using RFC and put it in destination folder as an text file) and FILE to RFC scenario (Here i just want to take some data from the file and update into SAP).
    For doing these scenarios i would like to request you people to send me the step by step guide which explains me about the complete steps of configurations required to do the RFC to FILE scenario and FILE to RFC scenario.
    I found some scenarios and i am in confused state. so i request you to please put your experience to help me out.
    thanks in advance.
    Regards
    Raj

    Hi Aaron,
    I don't know your scenario and your ECC and PI versions but I learned how to use ABAP Proxy more than 1 year ago with the following tutorial:
    Edit--> The forum doesn't allow me to post external link, just search "ABAP Proxy Communication Scenario" in google and visit the 1st result
    The way to develop ABAP Proxys has changed a little if your PI is 7.1. In the ECC side, the transaction SPROXY looks much better too if you have a recent version of the ECC.
    Edited by: Marshal on Oct 8, 2009 5:08 PM
    I've found that SDN Document. Maybe the scenario is not the most simple to start with ABAP Proxy but is very well documented and is for PI 7.1. The document also handles the inbound and outbound proxys
    [http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/c00ca32e-f991-2b10-f5be-97114bd2b08f&overridelayout=true]
    Edited by: Marshal on Oct 8, 2009 5:22 PM

  • File To RFC without BPM

    Dear Friends,
      My scenario is File to RFC , file is picking from third party and that file parameters are updated in ecc  and response is updated in third party system
    using XI.
    For this one I created data types,message types,message interfaces and message mapping for sender , receiver and response.
    In interface mapping I have small doubt i.e how many  interface mappings needed for this scenario.
    In integration directory how many receiver determination and interface determination needed.
    please suggest me.
    Regards,
    Shalini Shah

    Hi Shalini,
    U need to create 2 interfaces at sender side(1 is for file request & 2nd for file response) and one interface at ur receiver side for RFC.
    Refer File to RFC blogs with out BPM u may find lot of stuff to ur requirement.
    Regards,
    Edited by: farook shaik on Sep 20, 2008 7:53 AM
    Edited by: farook shaik on Sep 20, 2008 7:55 AM

  • Is it possible with out BPM- update transaction from flat file - XI -RFC

    Hi
    my requirment is:  i need to update 2 values transaction(ks01)
    Required data we get in flat file(Val1,Val2), that data needs to be updated in transaction KS01 in r/3 system.
    Scenario is: Flat file - XI - Rfc -KS01.
    im have come across couple of doubts while thinking this way:
    ->is it possible using fie -to- rfc scenario to update KS01 transaction in R/3 system through RFC, if possible some body please explain the complete process to implement this scenario.
    ->is it possible file -to- rfc without BPM in XI 
    can somebody please help out me, how can i approach for the above requirment
    -> help would be appriciated and thanks in advance
    Regards
    Rajesh

    The BAPI / RFC corresponding to your requirement is :
    BAPI_COSTCENTER_CREATEMULTIPLE
    You scenario on  a high level would be FILE-XI-RFC
    in your IR, map the corresponding fields of the fiel to the fields in the BAPI's interface.
    As BAPI is synchronous , you may have to use  BPM to implement the Asynch-Sync bridge.
    Regards,
    Ravi

  • SAP PI7.1 File to RFC  to File

    Hiiii,,,
    i have doubt in mapping related to file to rfc to file scenario...
    i have  a source message type i have two field name  ( 1.field_name  2.table_name)...i have to map this two fields to RFC_READ_TABLE function module to the field query_table and field_name...how to map this...
    With Regards.....
    Dinesh

    Hi Dinesh,
    i have one data type in source with two fields (1.table_name 2.field_name).
    .i mapped this to target RFC_READ_TABLE to the parameter query_table and fielname in that function module
    Please let us know if you have any mapping rules for creating the mapping, i mean
    what  are you trying to fetch from the RFC, what are the values you are sending and
    what you want in response.
    Its based on your requirement and you need to decide which field is to be mapped
    to RFC structure.If you are getting error while testing , please let us know.
    Also ensure that your RFC Function module is working when tested in sap system.
    Go to Se37 and enter your Fn module name and test with the valid inputs.
    check if its outputting the desired values.
    Regards,
    Srinivas

  • File-to-file or File-to-RFC for Automatic PO creation and GR creation

    Hi,
    We are on XI 3.0 and the following has been put to me:
    We will receive a .CSV file from FTP server, into XI and then need to create Purchase Orders followed by the Goods Receipt documents in R/3 based on the incoming data.
    Further to this, the requirement is to give a log of the successfule and failed PO + GR document summary to the business.
    The programme in R/3 will compare the incoming file nmame with archived files already processed and will reject any files with duplicate names.
    I was suggesting to go with the file to RFC in R/3 whereby we can have a Z shell BAPI to include the standard BAPI for PO creation and GR creation. This Z code can then be extended to email the log to the business of which records were successfully created and which failed.
    However, I am stumped as to how can I make the file duplication comparison on R/3 as the incoming file will also be stored on R/3 archive somewhere.
    Can this be made when the BAPI is called in XI?
    I can configure alerts when the BAPI is mapped from incoming file for that interface.
    What was suggested also was to pick up the CSV file and thow it as it is in R/3 and then the Z code can go through it and create the PO and GR objects. However, then it does not make much sense to use XI as the middleware platform.
    Please advice.
    Regards,
    Arcahna

    Hi Archana,
    Take a look to this blog: 
    https://wiki.sdn.sap.com/wiki/display/XI/Different%20ways%20to%20keep%20your%20Interface%20from%20processing%20duplicate%20files
    Maybe it could help you for the duplicate files.
    Regards,
      Juan

  • File to RFC/BAPI - Async- How to capture response field value

    Hi,
    I am doing File to RFC/BAPI Scenario. I have Two BAPI's. THe same source xml file is mapped to the Two Target BAPI's.
    For the first flow i.e File to BAPI1, I need to capture BAPI Response, field value and pass this value as Input to the BAPI2.
    How do I proceed with the Mapping. I am working on PI 7.1
    Any input would be Appreciated.
    Thanks & Regards,
    Varun

    Hi Varun,
    apparently you need a Business Process:
    XML -> BP (asynchronous), Map to Bapi1 request structure
    BP -> BAPI 1 (synchronous)
    Transformations step with multi mapping merging XML and Bapi1 response to Bapi2 request structure
    BP-> BAPI2
    Regards,
    Udo

  • File to RFC problem

    Hi Friends,
    I am doing a scenario CSV File to RFC. This is for SO creation in R/3 thru RFC.
    I was provided with a wrapper RFC which internally calls the Sales order create BAPI.
    Now my problem is When I go to SE37 and test the function module the SO is getting created but with the same data when I pass thru XI the so is not getting created. What can be the problem. Is there any authorization issue, if so tell me what auth should be given.
    Vijay

    Vijay,
    Did you check the BAPI return parameter and what is the message you are getting. I think the problem is because of the conversion exit. I this this should be the problem R/3 expects leading zeros for vendor/customer numbers ans this is quite common error. Either change the wrapper RFC to handle this kind of values like calling the conversion routin before passing to the BAPI. This conversion routin can be foung in the domain.
    Or add the leading zeros in XI mapping.
    use this code in udf while mapping
    int intDif, i;
    String strDiff = new String();
    intDif = 10 - Par_Input.length();
    if(intDif > 0)
    strDiff = "0";
    for(i=1; i<intDif; i++)
    strDiff = strDiff.concat("0");
    strDiff = strDiff.concat(Par_Input);
    return strDiff;
    else return Par_Input;
    Thanks,
    Prakash

  • File to RFC - error while processing message to remote system:com.sap.aii.

    Hi
    i m working on File to RFC scenario. the records are getting displayed in sender CC and receiver CC. But in receiver CC i m also getting the following error:
    Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.adapter.rfc.afcommunication.RfcAFWException: error while processing message to remote system:com.sap.aii.adapter.rfc.core.client.RfcClientException: JCO.Exception while calling ZRFC in remote system (RfcClient[CC_RIS_STC_PIMASTER_RECEIVER]):com.sap.mw.jco.JCO$Exception: (104) RFC_ERROR_SYSTEM_FAILURE:      Screen output without connection to user.    
    Error in processing caused by: com.sap.aii.adapter.rfc.afcommunication.RfcAFWException: error while processing message to remote system:com.sap.aii.adapter.rfc.core.client.RfcClientException: JCO.Exception while calling ZRFC in remote system (RfcClient[CC_RIS_STC_PIMASTER_RECEIVER]):com.sap.mw.jco.JCO$Exception: (104) RFC_ERROR_SYSTEM_FAILURE:      Screen output without connection to user.   
    It was working fine few hours earlier but showing this error now. i was giving a SUBMIT program , but stopped that now.
    But still facing the same problem. and in SXMB_MONI its showing recorded for Outbound processing.
    could anyone help.

    Hi
    I am Facing  Following Error When I am trying to call SAP Screen through JCO.jar
    com.sap.mw.jco.JCO$Exception: (104) RFC_ERROR_SYSTEM_FAILURE: Screen output without connection to user
    Please Guide Whethere it is possible to call SAP screen Through JCO.jar  ot NOT
    Please HELP if it is possible to Call SAP screen through JCO.jar with step and Code
    Thanks
    Vivek

  • Error while calling RFC adapter(FILE-XI-RFC scenario)

    Hi,
    I am trying for FILE-XI-RFC scenario. I am getting the following error. I have checked in message monitoring. The error is coming while calling the RFC adapter. Can any body tell what problem is this?
    Regards,
    Dhana
      <?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">AE_DETAILS_GET_ERROR</SAP:Code>
      <SAP:P1>af.f23.sofd00001530a</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>2: Unable to find URL for Adapter Engine af.u7a.us4296</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Error while reading access data (URL, user, password) for the Adapter Engine af.f23.sofd00001530a</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>

    Hi,
    I did SLD check.
    The status says 'Summary: Connection to SLD works correctly'.
    But it fails while checking the access to XI profile.
    Here is the status
    Summary: Connection to SLD works correctly
    Now checking access to the XI Profile
    Properties of RFC destination LCRSAPRFC
      RFC host:
    %%RFCSERVER%%
      program id:      LCRSAPRFC_DZ1
      gateway host:
      gateway service:
    Testing the RFC connection to the SLD java client...
    RFC ping returned exception with message:
    / CPIC-CALL: 'ThSAPOCMINIT' : cmRc=2 thRc=679#Transaction program not registere

  • XML file to RFC

    Hi,
    i have scenario (XML file to RFC), it's by BPM, I can see XML content by file sender adapter but can't get detail field data into my data type of interface. what's wrong, please advise! Thanks!
    my data type as follows,
        EXPORT Complex type
          SHIP       element
          INVOICE element
    and file content as follow
      <?xml version="1.0" ?>
    - <EXPORT>
      <SHIP>A</SHIP>
      <INVOICE>ZZ12387379</INVOICE>
      <?xml version="1.0" ?>
    </EXPORT>

    >
    robert yu wrote:
    > I still can't understand, Could you give me more information? Thanks!
    when you receive/ process an XML....this XML has a namespace associated to it.....which in your case should be http://aaa.bbb.com/SVRFIS/Forwarder_File.....
    However looking at your Payload ther is no namespace in it....so what you do is...open the Interface/Message mapping--- go to the Test tab and click on the SRC tab and then check what/ how the namespace should be or rather how the XML should be while testing...it would be something like:
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:MT_Name xmlns:ns0="http://aaa.bbb.com/SVRFIS/Forwarder_File">

  • XML file to RFC (BAPI)

    hi
    can you please give the configuration steps that i have to follow while doing xml file to RFC,
    1)configurations in XI part
    2)configurations in R/3 part
    and i am using bpm in this scenario, is there any need of  "program id " while doing configurations in ID part, from where we get this programid. if you have some screnshots of this scenario, can you please forward it to me.
    mailid:[email protected]
    regards
    Pradeep P N

    hi pradeep,
       no need of defining programid here...because u r using RFC as receiver...
    dont define the RFC as sender....if u do so it will ask u the programid..
    in u r case RFC is a receiver,so no need to define programid....
    watch this
    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
    thanx,
    krish..

Maybe you are looking for