RFC-JDBC synch, BPM or not?

Hi everyone,
I have a question regarding my business scenario. My scenario seems simple.
RFC -> PI -> JDBC
The RFC call is synchronous. When the data comes from the RFC PI will execute a stored procedure using JDBC. The stored procedure doesn't return any value. But my RFC waits for an result code. xx or yy.
Is it possible to do this without using BPM? I am not sure how I should return a response to the RFC without using BPM.

Hi,
If you make a synchronous RFC call than JDBC adapter will send a response messages which will need to be handled in Pi.
The JDBC adapter when sending its response back will create a Message Type of the same name as the request message with a u201C_responseu201D appended to it.
Please refer to following blogs on SDN on how to configure response JDBC messages:
/people/siva.maranani/blog/2005/09/16/xi-how-to-on-jdbc-receiver-response
/people/bhavesh.kantilal/blog/2006/07/03/jdbc-receiver-adapter--synchronous-select-150-step-by-step
Regards,
Deepak.

Similar Messages

  • File - RFC - File without BPM  ---  Object not found in ResponseOneWayBean

    I am using PI 7.1, and facing the following error in File - RFC - File without BPM
    "Error: com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Object not found in lookup of ResponseOneWayBean."
    I am using 1 sender CC for File ( CC_LOTUSNOTES_CHALET_SND)
                      1 receiver CC for File( CC_LOTUSNOTES_CHALET_RCV_FILE)
                     1 receiver CC for RFC (CC_LOTUSNOTES_CHALET_RCV_RFC)
    in the sender CC I have given Module parameter as:
    Processing sequene
    CallSapAdapter    Local Enterprise Bean 2
    AF_Modules/ResponseOneWayBean  Local Enterprise Bean 3
    AF_Modules/RequestResponseBean  Local Enterprise Bean 1
    Module configuration:
    1     passThrough          true
    3    receiverChannel      CC_LOTUSNOTES_CHALET_RCV_FILE
    3    receiverService       Bus_File
    pls let me know where i am wrong

    Hi
    i am facing following error:
    2009-12-03 09:08:17       Information        The application sent the message asynchronously using connection File_http://sap.com/xi/XI/System. Returning to application.
    2009-12-03 09:08:17       Information       MP: processing local module localejbs/AF_Modules/ResponseOnewayBean
    2009-12-03 09:08:17      Error                 MP: exception caught with cause java.lang.NullPointerException
    2009-12-03 09:08:17      Error                 File processing failed with java.lang.NullPointerException

  • 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

  • Interfaces with Synch JDBC in BPM

    Hi All,
    My scenario is File->JDBC(Synch)->file.
    For this I am following below two blogs:
    Synchronous JDBC: /people/bhavesh.kantilal/blog/2006/07/03/jdbc-receiver-adapter--synchronous-select-150-step-by-step
    File-RFC-File: /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
    Here I am confused with the interfaces to be used and the mapping of interfaces.
    I have created Interfaces as follows:
    1.     Source_File_OB (Outbound Asynchronous) => Source File MessageType
    2.     BPM_SFile_ABS (Abstract Asynchronous) => Source File MessageType
    3.     BPM_JDBC_SYNCH_ABS (Abstract Synchronous) => JBDC_request and JDBC_Responce MessageTypes
    4.     BPM_TFile_ABS (Abstract Asynchronous) => JDBC_Responce MessageType
    5.     Target_File_IB (Inbound Asynchronous) => Target File MessageType
    Is it correct? And what about mapping???? Which Interfaces to map?
    One more confusion is while adding containers for these steps in BPM which ABSTRACT interfaces should we use? In above mentioned Blogs everything is clear Except BPM part … I am not able to figure out how are all steps created in BPM?
    Can anybody plz help me with interface Mapping and BPM (Containers / Abstract Interfaces)?
    Thanks,

    Hi Rohan,
    > 2. BPM_SFile_ABS (Abstract Asynchronous) => Source File MessageType
    Instead of Source File MessageType assign JDBC_request MessageType to BPM_SFile_ABS (Abstract Asynchronous)
    >And what about mapping???? Which Interfaces to map?
    Map  Source_File_OB (Outbound Asynchronous) and BPM_SFile_ABS (Abstract Asynchronous)
    >One more confusion is while adding containers for these steps in BPM which ABSTRACT interfaces should we use?
    You have to create Container elements for BPM_SFile_ABS (Abstract Asynchronous) and
    BPM_TFile_ABS (Abstract Asynchronous)
    Cheers,
    Jag

  • RFC to Jdbc Synch Scenario

    Hi,
    I have a scenario like RFC to JDBC synch scenario, so what would be the QOS for sending( RFC) communication channel and as well as JDBC communicaiton channel.
    Thanks n Advance.,
    Xeon

    Hi,
    Neither the Sender RFC adapter nir the Receiver JDBC adapter provide the option to select the QOS.
    In your case if the report triggering the call to XI is making a Synch Call then the QOS in the SOAP header will be BE. If the Inbound Interface for the Receiver JDBC adapter is also a Synchronous Interface the QOS is taken as BE for the Receiver JDBC adapter.
    You need not manually change the QOS anywhere as long as you are using Synch message interfaces.
    Regards
    Bhavesh

  • File to RFC scenario using BPM : a synchronous one

    Hi All
    I am doing File>RFC>File scenario using BPM with help of the blog
    RFC Scenario using BPM --Starter Kit
    here everything is explained but i am getting error while the processing of BPM part
    Input file is being picked (this part is success) but rest BPM and response i am not getting back in .
    interface names
    filereq_MI >Filetoabstract_MI>Sync_MI>RFCtoabstract_MI>Fileres_MI
    (abstract means its an abstract interface)
    i have configuered the Integration process as follows
    Start>Recieve>synch_send>send>end
    step :  Recieve
    mode : asynch
    message:Filetoabstract_MI
    step :  synch_send
    mode : synch
    synch interface : synch_send
    req message:Filetoabstract_MI
    res message : RFCtoabstract_MI
    step :  send
    mode : asynch
    message:RFCtoabstract_MI
    and i have given interface mapping during second (synch_send) step but here mapping is giving problem its showing exception error during mapping
    error is there
    1) Integration process ---> file
    2) Integration process-->R/3 system

    Hi,
    Configure the Integration Engine According to this Blog and Trigger the Process again
    Configuration of a Central Integration Server
    Regards
    Seshagiri

  • Jdbc -rfc -jdbc

    hi all,
    i have jdbc - rfc - jdbc scenario,should i go with bpm or without bpm approach?

    i have jdbc - rfc - jdbc scenario,should i go with bpm or without bpm approach?
    we have 3 Approaches :
    1. using bpm synchasynchbridge
    2.RFC LooKUP it is standard function of the "CONVERSION" Function Group in pi 7.1
    Defining RFC Lookups Graphically
    http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/8661
    note: if you are using pi 7.1 below version, then you need to wite one udf for RFC Lookup.
    3.Standard Adapter Module BEans RequestResponseBean
    http://wiki.sdn.sap.com/wiki/display/XI/Sync-AsyncwithoutccBPM
    http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/7032

  • 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

  • Step by step File to RFC Scenario with BPM

    hi
    for the following scenario i m following the webblog
    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
    i have successfully created the design phase
    in the configuration stage
    i need to create a business system or business service will do to create the communication channel
    i have not created the systems so i feel i should not create the business systems
    i would like to create the business service
    so in only one business service can i assign all the communication channel
    useful answers will be rewarded
    Regards
    JM

    There are 3 parts of communication: Sender service to Integration Process (Asynch.), Integration Process to RFC (Synch.), Integration Process to Receiver Service (Asynch.)
    The configurations should be like as follows:
    <b>Sender Service to IP</b>
    Receiver determination:
    Sender Service->Request Outbound Message Interface->Integration Processs.
    Interface Determination:
    Sender Service->request Outbound Message Interface->Integration Process->Request Outbound Abstract Interface. (No interface Mapping is required as the interfaces share the same structure.)
    Sender Agreement:
    Sender Service->request Outbound Message Interface->Integration Process->Request Outbound Abstract Interface>FileRFC_Send
    <b>IP to RFC</b>
    Receiver determination:
    Integration Process->Request Outbound Abstract Interface->Business service.
    Interface Determination:
    Integration Process->Request Outbound Abstract Interface->Business service->RFC Structure->Corresponding Interface Mapping between file structure and RFC structure.
    Receiver Agreement:
    Integration Process->Request Outbound Abstract Interface->Business service->RFC_Receiver
    <b>IP to Receiver Service:</b>
    Receiver determination:
    Integration Process->Response Inbound Abstract Interface->Business service.
    Interface Determination:
    Integration Process->Response Inbound Abstract Interface->Business service->Response Inbound Message Interface. (No interface Mapping is required as the interfaces share the same structure)
    Receiver Agreement:
    Integration Process->Response Inbound Abstract Interface->Business service->FileRFC_Receive.
    Hope you find this useful.
    Regards,
    Amitabha

  • Blogg RFC scenario using BPM - starter kit (more detail on BPM required)

    I follow this blog to the letter - because it is the same as my scenario:
    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
    The problem is I have no experience with BPM. I have setup the Integration process as I think it should be but I get an error.
    Could one of you experts go through the BPM steps in more detail? Screen shots/details of the properties and containers on each step would be very useful. Thanks.

    Hi Lynn!!
    Check this SAP help for certain requirements when to use BPM:
    http://help.sap.com/saphelp_nw04/helpdata/en/cb/15163ff8519a06e10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/08/16163ff8519a06e10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/0e/56373f7853494fe10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/11/13283fd0ca8443e10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/ca/7c5c41fe06cf1ee10000000a155106/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/e8/8e2d4233c8db2ce10000000a1550b0/content.htm
    Take a look at this blog by Michal,
    /people/michal.krawczyk2/blog/2005/09/16/xi-how-to-test-your-mapping-in-real-life-scenarios
    /people/krishna.moorthyp/blog/2005/06/09/walkthrough-with-bpm - Walk through BPM
    /people/siva.maranani/blog/2005/05/22/schedule-your-bpm - Schedule BPM
    /people/sriram.vasudevan3/blog/2005/01/11/demonstrating-use-of-synchronous-asynchronous-bridge-to-integrate-synchronous-and-asynchronous-systems-using-ccbpm-in-sap-xi - Use of Synch - Asynch bridge in BPM
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken] - Use of Synch - Asynch bridge in BPM
    Check this weblog for a step by step procedure:
    /people/krishna.moorthyp/blog/2005/06/09/walkthrough-with-bpm
    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
    or case study go thru this blog:
    /people/krishna.moorthyp/blog/2005/06/09/walkthrough-with-bpm
    for checklist:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3bf550d4-0201-0010-b2ae-8569d193124e
    Take a look at this blog for some very good guidelines on when to use BPM's and when not to use BPM,
    /people/swen.conrad/blog/2006/12/22/xi-ccbpm-performance-under-perform-or-out-perform
    Thanks !!
    Pls reward if useful

  • File-RFC-File (without BPM)- Issue

    Hi All,
    I am working on a File-RFC-File (without BPM) scenario in PI 7.1.
    My scenario is having few problems like, its not able to delete the file from the source directory path (for which we have delete permissions) and it is an NFS system and it shows an error in the Sender file CC.
    "Error: com.sap.aii.af.service.cpa.impl.exception.CPAObjectKeyException: Value of key must not be null: ObjectId"
    But it gets processed successfully and provides a written paramter which I could see in MONI, but again doesn't write the file in the target directory. Could you please provide your inputs and let me know if I need to do any additional settings w.r.to PI7.1.
    These are the parameters which I have specified in the Sender File adapter
    Processing sequence
    AF_Modules/RequestResponseBean     Local Enterprise Bean     1
    CallSapAdapter     Local Enterprise Bean     2
    AF_Modules/ResponseOnewayBean Local Enterprise Bean     3
    Module configuration:
    1     PassThrough     true
    3     receiverChannel     <FilereceiverCCname>
    3     receiverService     <Receiver Bus System>
    Regards,
    Nithiyanandam

    Hello,
    Check out in module configuration tab for any "type error" or spell mistakes.
    Check out this thread which might be useful for you :[ File - RFC - File without a BPM - Possible from SP 19.|File - RFC - File without a BPM - Possible from SP 19.]
    regards
    Ramesh

  • Error Handling in RFC- JDBC sync

    Hi all,
    We are having scenario RFC<->XI<->JDBC(Sync),and its working fine also.
    Suppose  exception  occur in RFC->JDBC request mapping,Now is it possible to pass the error back to R/3 ?
    If parsing error occurs in JDBC adapter how to catch this error in error structure of rfc ?
    We observed that if any exception occurs on request side , response mapping will not get executed can anybody explain me why this is happening ?
    Thanks in advance,
    Tuhin

    Hi Gopesh,
    U should follow the steps as below.
    1.Create TCT/IP connection with t-code SM59
      in R/3 and give program id (it is case sensitive also).
    2.Give same program name in Sender RFc communication     channel.Check that this channel is register in your R/3 system with t-code SMGW(Gate way monitor)
    Only this much extra config I have done.
    Thanks,
    Tuhin

  • Error in File-RFC-File Without BPM

    Hi,
    We are following this wiki
    [https://www.sdn.sap.com/irj/scn/wiki?path=/display/xi/file-rfc-file(Without+BPM)]
    and we are getting Error: com.sap.aii.af.ra.ms.api.DeliveryException: Received HTTP response code 500 : Internal Server Error in sender communication channel monitoring. File is not picking. I think problem with the parameters that we have mentioned in module tab in sender communication channel as specified in the wiki. If we remove additional 2  parameters it is picking the file.
    Please help me to resolve this issue.
    Thanks.
    Jyothi Anagani.

    are you able to see the logs of file adapter?
    go to messaging system and check the details
    http://host:port/MessagingSystem/monitor/monitor.jsp
    Rajesh

  • File-To-RFC without using BPM

    hey guys
    is a File-To-RFC scenario possible without using BPM? i have gone through the blog by Arpit Seth ( /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit ) but it uses BPM.
    i am new to XI and not very comfortable with BPM.
    please let me know if BPM is the only way out or are there some other methods too.
    Also under what circumstances one should use BPM?
    thanx in advance.
    aamir suhail

    Hi,
    it's a standard non BPM scenario
    (you can find many weblogs like this)
    the only different thing is the RFC signature import
    (inside repository)
    and the use of different channels (file and RFC)
    you can find many examples in my XI FAQ
    (document section)
    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>

  • Java.lang.NullPointer Exception in File-RFC-File wtihout BPM scenario

    Hi All,
    I have implemented scenario File - RFC - File without BPM in PI7.1 according to below link by bhavesh
    [File - RFC - File without a BPM - Possible from SP 19.;
    but I am getting error java.lang.NullPointer Exception  in Audit log of sender communication channel when it enters in ResponseOnewayBean.
    I had implemented the same in PI 7.0 but there it was working fine.
    Is there any limitations on the use of the above beans in PI7.1 as I could see two more threads on the same unanswered yet.
    Please help me in resolving as it is priority task for me
    Thanks,
    Amit

    Sometime back I saved this SAP Note 1261159 for this error. Not sure if it is still valid. Try to get it implemented.
    Regards,
    Prateek

Maybe you are looking for

  • Session TimeOuts

    Hi again, Thanks for the response on my application model question. Here's another one : Is there a way to set a timeout on a query to a DBMS using the DBSession (or some other way) ? Or must I rely on a timeout setting in the DBMS ? Thanks. Christia

  • The tabs in OPTIONS can no longer be accessed - it opens to the history page and that is all I can reach.

    The options page comes in with the TABS inaccessible above the page level. The page cannot be moved, and I cannot access any other options page/tab. For one month Firefox 22 Windows XP Service Pack3

  • Adobe Media Encoder not working

    When I opened the Adobe Media Encoder, the "Start Queue" button is gray (it can't be clicked). There is also an error message that says fireworks.mov (the file I was trying to open) could not be imported by Adobe Media Encoder. Also, DivX appears as

  • Z10 OS 10.2(?) new input languages

    Is there any word if the coming OS 10.2 will have Japanese native input language?. From those on Crackberry who have Beta 10.2: the following new inputs are listed: several Chinese dilects,  Hinglish, Javanese, Malay, Slovakian, Slovenian, Serbian, S

  • Recordset Paging

    Dear All, Can anyone plz help me in knowing how the prev << 2 3 4 5 6 >> Next link can be used to navigate from first 10 records to display next 10 and then other next. Plz reply soon, its urgent. Regards, Simmy