File- XI- RFC, JDBC

Hello Gurus.
I have a scenario where i have to load File to JDBC (Oracle) and RFC (SAP) in parallel.
If my file is QoS (EO), then do I have to use BPM to send the message to JDBC and RFC,
or I can just create two Receivers, and the message will split in the pipeline on IE?
The file is loaded once in Quarter, every 3 months.
Thanks in advance...

"In Parallel" means you may have to use BPM where you can have a parforeach block to simultaneously send the message to both the receivers.
But i see why this process can be done in a sequence. If so , BPM is not required. You just have to MAP the Outbound to 2 inbounds, namely IDOC and the RFC.
Raj

Similar Messages

  • JDBC to File and RFC adapter

    Hi All,
    In my scenario, i am sending file from a database system to SAP system. Here I am using JDBC/ webserveices adapter at outbound side  to query the database and FILE and RFC at inbound side to send file and workflow notification.
    my requirement is to send file as batch to SAP system(after business hours), send workflow notiication to the responsible person, and when the file is stored on application server then only i should send the notification to the person.
    I know this can be acheived by BPM by using wait step but I am  not sure how to do it only for RFC adapter to kick the notification once the file has stored and confirmed.
    Can anyone help me in this issue.
    Reg
    Sre.

    >
    sre wrote:
    > Hi All,
    >
    > In my scenario, i am sending file from a database system to SAP system. Here I am using JDBC/ webserveices adapter at outbound side  to query the database and FILE and RFC at inbound side to send file and workflow notification.
    > my requirement is to send file as batch to SAP system(after business hours), send workflow notiication to the responsible person, and when the file is stored on application server then only i should send the notification to the person.
    >
    > I know this can be acheived by BPM by using wait step but I am  not sure how to do it only for RFC adapter to kick the notification once the file has stored and confirmed.
    >
    > Can anyone help me in this issue.
    >
    > Reg
    > Sre.
    There are two options,
    1. With BPM you can have the send step for file request an acknowledgment and then have the send step for the RFC call after the previous file send  step.
    2. Without BPM, use the same Business system (single receiver det.) and have multiple interface determination (file&RFC). Use the option maintain order at runtime and have the file interface above the RFC. This will act like an EOIO.

  • How to explain the business requirement of a file to rfc scenario

    Hello Experts,
                       How do i explain the business requirement of
        1. FILE TO IDOC.
        2. FILE TO RFC.
        3. FILE TO JDBC scenarios?
            Cud anybody explain me how to explain the requirement of these scenarios in an interview?Cud u pls send me the example for these and the systems involved and the documents involved...helpful answers will be rewarded...
                                                                                    cheers
                                                                                    Jay.
    my mail :  [email protected]

    <b>1. FILE TO IDOC</b>.
    When u have ur master data stored in a file thru a legacy system say in some xml format then u may need to have this scenario configured.
    <b>2. FILE TO RFC.</b>
    Consider pt1 but here for example consider delete scenario. when u have deleted the mater/transaction u may need to update another file...so in this case u will need to config this scenario...y we cannot use idoc is becoz sync scneario is not possible with idoc but yes with rfc
    <b>3. FILE TO JDBC scenarios?</b>
    u have some business data extracted from a file and before u update a r3 transaction u may need to refer a datbase table to read some data baed on keyfield...so u will take a jdbc response and based on that u may validate with the data for r3 updation.
    the scenario keeps varying in real life and the above are very few examples of the kind of scenario that would exists in the business world

  • FILE to RFC Scenario in PI

    Hi,
    I am working on File to RFC Scenario. Can u tell me how to do this scenario using RFC Lookups.
    Thanks,
    Seenu.

    do a lookup from your mapping?
    RFC Lookup -
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a03e7b02-eea4-2910-089f-8214c6d1b439
    in case of 7.1, you can try - /people/jin.shin/blog/2008/02/15/sap-pi-71-mapping-enhancements-series-graphical-support-for-jdbc-and-rfc-lookups

  • RFC-JDBC error

    Hi,
    I am doing an RFC-JDBC scenario.
    My input file is being generated in the following format:
    - <T_SOMASTER>
    - <item>
      <CUSTOMERID>0000001033</CUSTOMERID>
      <ORDERDATE>0000-11-82</ORDERDATE>
      <PARTIALSHIP />
      <SALESORDERID />
      <SYNCIND />
      </item>
      </T_SOMASTER>
    It should have been
    - <T_SOMASTER>
    - <item>
      <CUSTOMERID>0000001033</CUSTOMERID>
      <ORDERDATE>2007-12-17</ORDERDATE>
      <PARTIALSHIP>1</PARTIALSHIP>
      <SALESORDERID>0000018818</SALESORDERID>
      <SYNCIND>Add</SYNCIND>
      </item>
      </T_SOMASTER>
    I get the following error in SXMB_MONI - "java.lang.NullPointerException thrown during
    application mapping
    com/sap/xi/tf/_MM_SAP2ABPP_SO_CREATE_CHANGE_:"
    Can you please help.
    Thanks,
    Shyam

    Hi shyam,
                    Generally this error occurs when values given in the payload is more than given limit (length of the value given is more than defined length). So check the values of the paylaod ......So in this case the mapping will not takes place for the resason mentioned above..............
    Hope this will solve u r poblem
    Reward with points if helpful
    Regards
    Sai Ganesh

  • JDBC-RFC-JDBC  without  BPM

    Hi
    I have JDBC-RFC-JDBC Scenario.Now i have complated JDBC-RFC part but for the RFC response i dont want to use BPM . We are on PI 7.0 SP 11 . What changes needs to be done in module level to achieve this .
    Regards
    Vijay

    Hi bhavesh,
    But In your one of the thread File-RFC-File scenario
    These steps are mentioned ,  is it required in my JDBC-RFC-JDBC Scenario???
    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
    Regards Vijay

  • Error when executing multiple scenarios with same ProgramID for RFC-JDBC

    Hi,
    I am working on the RFC-JDBC scenario.
    I see the following error in the dev_jrfc.trc file when I try to execute multiple scenarios which are using same program id (different communication channels).
    RfcException:
        message: Commit fault: com.sap.aii.af.rfc.afcommunication.RfcChannelMismatchException: Wrong Sender Agreement:The Sender agreement does not have channel CC_SAP_XXXXX configured for the functionmodule Z_XXXXX_SO_CREATE_CHANGE
        Return code: RFC_CLOSED(6)
        error group: 108
        key: RFC_ERROR_INTERNAL
    Can one program id be used for multiple scenarios? Or do we need to create a new ProgramId for each scenario.
    Any response will be highly appreciated.
    Thanks
    Shyam

    Hello Shyam,
    >>>>>>>>Do you think that I still need to create a new Program Id for each of these processes.
    You should not use same program ID for different RFC adapters. It is recommended by SAP (check FAQ's on RFC).
    Although technically you can use but it gives you unpredictable behaviour based on connection pool.

  • 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

  • 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 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

  • Error While Adding File in Mimes

    Hello Experts, I am new to WDA, and am trying to add a image as a mime object in the WD component. But its giving an error "Error when Loading File" I tried putting the image in the Mimes repository but still the same error. Any clue what can be the

  • How to increase the field size in modules

    Dear Oracle Team, When we add some items in reason codes from the dictionary, it has certain limit in reason code and title. So I can increase those field size to add bigger text for title names. I think it also applicable for the fields in other mod

  • My messages are not going through imessage

    I am unable to send message in my ipad through imessage. However my iphone is working fine and I am able to send messages.

  • Oracle 11g Client  for OBIEE 11.1.1.6 installation in AIX

    Hello Experts I have two servers : Server A & Server B. AIX- Server A holds database & AIX-Sever B : I need to install OBIEE11.1.1.6 My question is do I need to install Oracle client in OBIEE server B to communicate with Database server A as my metad

  • Html mail show image

    Hi Experts, I am trying to send email from pl-sql procedure. The following procedure works,but does not show image,i wantto show the jpg file for message. Is it possible to show image and how? Please help. CREATE OR REPLACE PROCEDURE APPS.xxtt_send_m