Jdbc-rfc synchronous

Hi...Experts,
we are going to handle  JDBC-RFC Synchronous scenario, how can we proceed, what are the settings are to be required and if u have any example sceanrios pls share with me, it would be very helpfull for me..
thanks in advance,
Jain

Hi Jain,
For JDBC (Sender/Receiver )Scenario we have to Install the JDBC Drivers on XI Server.
Use those Driver name and Connection in JDBC Adapter to connect to the Database.
For RFC Sender Adapter we have to create the Program ID in SAP R/3 side.
For RFC Receiver no need of any Extra settings.
step by step RFC to JDBC scenario
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/step%2bby%2bstep%2brfc%2bto%2bjdbc%2bscenario
Tips and Tutorial for Sender JDBC Adapter
/people/yining.mao/blog/2006/09/13/tips-and-tutorial-for-sender-jdbc-adapter
http://help.sap.com/saphelp_nw04s/helpdata/en/22/b4d13b633f7748b4d34f3191529946/frameset.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/22/b4d13b633f7748b4d34f3191529946/content.htm
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3867a582-0401-0010-6cbf-9644e49f1a10
Also you can look at this scenario --> File to JDBC:-
/people/sap.user72/blog/2005/06/01/file-to-jdbc-adapter-using-sap-xi-30
/people/yining.mao/blog/2006/09/13/tips-and-tutorial-for-sender-jdbc-adapter
/people/sameer.shadab/blog/2005/10/24/connecting-to-ms-access-using-receiver-jdbc-adapter-without-dsn
/people/saravanakumar.kuppusamy2/blog/2005/01/19/rdbms-system-integration-using-xi-30-jdbc-senderreceiver-adapter
SENDER RFC
Registered server program name which is maintained in the ABAP should be called in the program ID.
for more information follow this links
/people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step
/people/shabarish.vijayakumar/blog/2008/01/08/troubleshooting--rfc-and-soap-scenarios-updated-on-20042009
How to test the RFC to Flat File scenario
Type 3 ABAP Connection :
ex 1) If we want to execute any function module from one SAP system in another , we need type 3.
We define an RFC destination say ECC6CLNT100 with required parameters.
and to test it go to SE37, select any common sap function module and when you execute that it will ask
for RFC destination. you provide this destination and the function module will be executed in the target
system.
ex2) when you create a partner profile, you need to create a port and for creating a port, we need to
specify an RFC destination. here also we use type 3.
Type H.
ex1) when we need to send xml messages from an SAP system to any other system, we need this.
For example when we send messages using proxy from SAP system to the integration engine of XI, we
need type H.
Type T.
ex1) To we make an RFC call from R/3 to XI , we use sender RFC adapter in XI.
In R/3 system we need to create an RFC destination of type T.
Different types of RFC are :-
Asynchronous RFC - aRFC
Synchronous RFC - sRFC
Transactional RFC - tRFC
Queue RFC - qRFC
Parallel RFC - pRFC
Chk this link also:
Link :http://help.sap.com/saphelp_nw04/helpdata/en/6f/1bd5b6a85b11d6b28500508b5d5211/content.htm
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1685 [original link is broken] [original link is broken] [original link is broken]
Please go through the following links.
/people/bhavesh.kantilal/blog/2006/07/03/jdbc-receiver-adapter--synchronous-select-150-step-by-step JDBC Receiver Adapter -- Synchronous Select – Step by Step
/people/yining.mao/blog/2006/09/13/tips-and-tutorial-for-sender-jdbc-adapter Sender JDBC adapter
/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
FILE- RFC-FILE Synchronous (Using BPM)
/people/shabarish.vijayakumar/blog/2008/01/08/troubleshooting--rfc-and-soap-scenarios-updated-on-20042009 Trouble Shooting RFC and SOAP Scenario
Regards,
Vinod.

Similar Messages

  • Jdbc-rfc synchronous scenario

    Hi...All,
    we r plaing to do JDBC-RFC Synchronous Scenario with out BPM,please tell me any settings are required for this scenario.any body is having any links regarding this type of scenario pls share with me...that is helpfull for me...
    thanks in advance,
    Pasi.

    Hello Pasi,
    JDBC-RFC Synchronous Scenario with out BPM,
    Go through this links...
    JDBC Sync - RFC Sync Scenario without BPM
    File - RFC - File without a BPM - Possible from SP 19.
    JDBC-RFC-File
    Re: jdbc-rfc synchronous
    /people/yining.mao/blog/2006/09/13/tips-and-tutorial-for-sender-jdbc-adapter
    /people/siva.maranani/blog/2005/09/16/xi-how-to-on-jdbc-receiver-response
    /people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible
    http://help.sap.com/saphelp_nw04s/helpdata/en/22/b4d13b633f7748b4d34f3191529946/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/22/b4d13b633f7748b4d34f3191529946/content.htm
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3867a582-0401-0010-6cbf-9644e49f1a10
    JDBC-RFC Scnario mapping problem
    Thanks,
    Satya Kumar
    JDBC---RFC will Support Sync?????????

  • Jdbc-rfc scenario

    Hi..All,
    We are doing JDBC-RFC synchronous scenario using BPM, we are getting (Req & Res) data in to SXMB_MONI perfectly, the data is not updating into the Database Table, client wants to see the data in the DB only. how can i get the data in to DB Table.
    thanks in advance,
    Pasi.

    Hi..Seshagiri,
    In the JDBC Receiver CCM we are getting the follwing error
    JDBC message processing failed; reason Error processing request in sax parser: Error when executing statement for table/stored proc. 'Oracle DB Table' (structure 'ITEMDETAILS_RESPONSE'): java.sql.SQLException
    we are sending multiple entrys response to the DB,even we could not able to send one record.the structure has been made based on the multiple entrys, pls let me know.
    Regards,
    Pasi.

  • Manual intervention from jdbc-rfc scenario

    Hi...Experts,
    my scenario is jdbc-rfc synchronous scenario,we are sending the data from Oracle Database to ECC, client is insisted for manual intervention before posting the data in to SAP,  when ever client wants to process the data from XI system (like press the F8 button manually by user), then only the data will enter into SAP.
    let me know me how to achieve this type of requirement.pls help us at the earliest...
    Points will be rewarded for the helpful answers.
    thanks in advance,
    Pasi

    Hi,
    Why don't you create jobs in Xi and run them when ever you wanted them to.
    check these for adapter scheduling..
    http://help.sap.com/saphelp_nw04/helpdata/en/45/06bd029da31122e10000000a11466f/frameset.htm
    this blog too..
    /people/shabarish.vijayakumar/blog/2006/11/26/adapter-scheduling--hail-sp-19-
    Thanks,
    Vijaya.

  • JDBC to RFC synchronous scenario (Urgent).

    Dear forum,
    My requirement is data is populated in oracle data base.we are fecthing the data from database through XI and sending it to R/3. RFC is sending the response (suceess/failure) to XI. And XI is updating the status message into database.
    For this,I have done the JDBC - RFC - JDBC syncronous scenario using BPM. .I got the successfull message under message monitering.Problem is I cannot able to find the data for RFC and JDBC reciever.
    Please find the following Configuration steps for the above scenario
    3 data types
    JDBC request, JDBC response one dummy structure to capture RFC response messages.
    3 message types for the above data types
    5 message interfaces.
    OB request,
    OB ABS request,
    IB Asyn for dummy,
    Syn ABS (JDBC req and dummy structure),
    IB JDBC response.
    4 message mappings.
    Mapping between JDBC request to JDBC request dummy.
    Mapping between JDBC request dummy to RFC request.
    Mapping between RFC response to JDBC response dummy.
    Mapping between JDBC response dummy to JDBC response.
    3 Interface Mappings.
    JDBC request to JDBC request dummy.
    JDBC request dummy to RFC request and RFC response to JDBC dummy response(Synchronous request and responce) .
    JDBC dummy response to JDBC response.
    Integration Process.
    Used following steps.
    Recieve step asynchronous -> Send synchronous -> Send asynchronous
    I can able to see the payload for sender under communication channel.But the data is not reached to RFC.can any one help me to come out of this problem.
    Points will be awarded for helpfull answers.
    Thanks & Regards,
    Naresh.K

    Hi Seshagiri,
    We are trying the same scenario with out using BPM.
    Following steps has been done in design(IR).
    2 data types for JDBC request & JDBC response.
    2 message types for the above data types.
    1 outbound synchronous message Interface.
    2 message mappings (JDBC request -> RFC request) and (RFC response -> JDBC  response)
    1 Interface Mapping.
    Could you please let me know how to maintain the collaborative profiles & and agreement details in Configuration(ID).
    Your valuable assistence is required to complete the interface.
    Thanks in advance.
    Kind Regards,
    Naresh.K

  • JDBC---RFC will Support Sync?????????

    Hi All,
    Wil JDBC--RFC Senario supports for Sync Comunication with out using BPM???
    Regards
    Vamsi

    Hi Vamshi,
    For JDBC (Sender/Receiver )Scenario we have to Install the JDBC Drivers on XI Server.
    Use those Driver name and Connection in JDBC Adapter to connect to the Database.
    For RFC Sender Adapter we have to create the Program ID in SAP R/3 side.
    For RFC Receiver no need of any Extra settings.
    step by step RFC to JDBC scenario
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/step%2bby%2bstep%2brfc%2bto%2bjdbc%2bscenario
    Tips and Tutorial for Sender JDBC Adapter
    /people/yining.mao/blog/2006/09/13/tips-and-tutorial-for-sender-jdbc-adapter
    http://help.sap.com/saphelp_nw04s/helpdata/en/22/b4d13b633f7748b4d34f3191529946/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/22/b4d13b633f7748b4d34f3191529946/content.htm
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3867a582-0401-0010-6cbf-9644e49f1a10
    Also you can look at this scenario --> File to JDBC:-
    /people/sap.user72/blog/2005/06/01/file-to-jdbc-adapter-using-sap-xi-30
    /people/yining.mao/blog/2006/09/13/tips-and-tutorial-for-sender-jdbc-adapter
    /people/sameer.shadab/blog/2005/10/24/connecting-to-ms-access-using-receiver-jdbc-adapter-without-dsn
    /people/saravanakumar.kuppusamy2/blog/2005/01/19/rdbms-system-integration-using-xi-30-jdbc-senderreceiver-adapter
    SENDER RFC
    Registered server program name which is maintained in the ABAP should be called in the program ID.
    for more information follow this links
    /people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step
    /people/shabarish.vijayakumar/blog/2008/01/08/troubleshooting--rfc-and-soap-scenarios-updated-on-20042009
    How to test the RFC to Flat File scenario
    Type 3 ABAP Connection :
    ex 1) If we want to execute any function module from one SAP system in another , we need type 3.
    We define an RFC destination say ECC6CLNT100 with required parameters.
    and to test it go to SE37, select any common sap function module and when you execute that it will ask
    for RFC destination. you provide this destination and the function module will be executed in the target
    system.
    ex2) when you create a partner profile, you need to create a port and for creating a port, we need to
    specify an RFC destination. here also we use type 3.
    Type H.
    ex1) when we need to send xml messages from an SAP system to any other system, we need this.
    For example when we send messages using proxy from SAP system to the integration engine of XI, we
    need type H.
    Type T.
    ex1) To we make an RFC call from R/3 to XI , we use sender RFC adapter in XI.
    In R/3 system we need to create an RFC destination of type T.
    Different types of RFC are :-
    Asynchronous RFC - aRFC
    Synchronous RFC - sRFC
    Transactional RFC - tRFC
    Queue RFC - qRFC
    Parallel RFC - pRFC
    Chk this link also:
    Link :http://help.sap.com/saphelp_nw04/helpdata/en/6f/1bd5b6a85b11d6b28500508b5d5211/content.htm
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1685 [original link is broken] [original link is broken] [original link is broken]
    Please go through the following links.
    /people/bhavesh.kantilal/blog/2006/07/03/jdbc-receiver-adapter--synchronous-select-150-step-by-step JDBC Receiver Adapter -- Synchronous Select – Step by Step
    /people/yining.mao/blog/2006/09/13/tips-and-tutorial-for-sender-jdbc-adapter Sender JDBC adapter
    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
    FILE- RFC-FILE Synchronous (Using BPM)
    /people/shabarish.vijayakumar/blog/2008/01/08/troubleshooting--rfc-and-soap-scenarios-updated-on-20042009 Trouble Shooting RFC and SOAP Scenario
    Regards,
    Vinod.

  • Hi please need suggestion for best design for jdbc-rfc-file

    Hi Gurus,
    actually our scenario is jdbc->XI( <-RFC->)->File
    Here our payload is around 5000 records
    can it be advisable to use rfc synchronous communication.
    The scenario will be exected only in night times.so can we schedule the adapter as we are using sp9.
    If not what must be the good design approach.
    And also after scheduling to a perticular period ,if there is any down time of XI server,will the process start immediately after the sever up or it will again watch for that perticular time.

    Hi,
    >>>can it be advisable to use rfc synchronous communication.
    - No, if there is no business requirement for realtime response.
    >>>can we schedule the adapter as we are using sp9
    - Not necessary.
    >>>Here our payload is around 5000 records
    - Is it requirement to send all 5000 records at once?? if not then distribute load whole day if possible.
    If you provide more information then maybe we can assist you.
    Regards,
    Gourav
    <i>Reward points if it helps you</i>

  • Http-xi-RFC synchronous call - multiple records ?

    Hi Gurus,
    Can we have multiple records processing in RFC synchronous call ? for ex, BAPI_COMPANY_GET_DETAIL. I want to feed multiple company ids and get the responses in browser.
    I have changed cardinality in message mapping and interface mapping as <b>o to unbounded.</b> Tested the same which works fine.
    But, <b>when I activated the interface mapping, I get an error</b> which says I can not use multi mapping in synchronous RFC call.
    what is the alternative ? please help.

    HI,
    It is better to use the RFC lookup in mapping and get the multiple records , i men each one for one lookup , so that in your mapping use UDF for RFC lookup.
    see the below link
    Lookup - /people/alessandro.guarneri/blog/2006/03/27/sap-xi-lookup-api-the-killer
    Also read thru this to get more idea on lookups - http://help.sap.com/saphelp_nw04/helpdata/en/cf/406642ea59c753e10000000a1550b0
    Lookup’s in XI made simpler - /people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler
    http://help.sap.com/saphelp_nw04/helpdata/en/2e/96fd3f2d14e869e10000000a155106/content.htm
    /people/prasad.illapani/blog/2006/10/25/how-to-check-jdbc-sql-query-syntax-and-verify-the-query-results-inside-a-user-defined-function-of-the-lookup-api
    Lookups - /people/morten.wittrock/blog/2006/03/30/wrapping-your-mapping-lookup-api-code-in-easy-to-use-java-classes
    Lookups - /people/alessandro.guarneri/blog/2006/03/27/sap-xi-lookup-api-the-killer
    Lookups with XSLT - https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8e7daa90-0201-0010-9499-cd347ffbbf72
    Regards
    Chilla

  • File to RFC synchronous scenario stopped Picking the files

    Hi Experts,
    We have a File to RFC synchronous scenario. Till yesterday night it is working fine.
    But suddenly it is stooped working.In moni, i can see the failed messages with the Mapping error " Can not create target element, values missing in the queue context "
    No Payload in moni / communication channel monitoring / Message monitoring. I've noticed that, wrong files placed in the To-be- processed files and the adapter picked those files and failed in mapping.
    I tried by stop and start the communication channel / did some dummy changes in the communication channel and activated. cleared the cache.
    But still the communication channel is not working.when i stop and start the communication channel it will try to process the wrong files and failed.
    Give me your valuable inputs to resolve this issue.
    Regards
    Bhargava krishna

    Hi Bharghav,
    Please go through the below,
    Symptom
    FTP Adapter is being used in the business scenario for message processing.
    During file processing it is noticed, that the FTP sender channel stops
    polling. There is no error in the channel monitor or the trace/log files
    and the polling jobs are correctly displayed in the AFW scheduler table.
    The issue is observed after a network connection issue with the FTP server.
    In order to remove the hanging locks from the FTP Adapter, the parameter
    'ftp.timeout' setting is required to be set, which releases the lock once
    the timeout value is expired. But in the above situation, the value for the
    'ftp.timeout' is not taken properly while establishing the data connection
    by File Adapter.
    Other terms
    FTP Adapter, sender, FTP, adapter, timeout, stalled, network, hang, polling
    Reason and Prerequisites
    Program error
    Solution
    The hanging situation has now been improved by code changes. Please see
    section "SP Patch Level" of this note for a list of updated software
    components.
    To get this correction available in your Support Package you need to apply
    the patch matching to your Support Package version as per the instructions
    in the NetWeaver Support Package Stack guide which can be found on the SAP
    Service Marketplace as described in SAP Note 952402.
    Thanks & Regards
    Uday.S

  • HTTP to RFC synchronous scenario Issue

    Hi Folks,
        Currently I'm working on a HTTP to RFC synchronous scenario.  Everything went well till i triggered the message. While triggering the message i'M GETTING IS AS BELOW
    Result:
    http-Status:  500 Internal Server Error
    Payload:
    <SAP:Error>
    <SAP:Category>Application</SAP:Category>
    <SAP:Code>MAPPING.EXCEPTION_DURING_EXECUTE</SAP:Code>
    <SAP:P1>com/sap/xi/tf/_MM_Comcode_</SAP:P1>
    <SAP:P2>java.lang.NullPointerException</SAP:P2>
    <SAP:Stack>java.lang.NullPointerException thrown during application mapping com/sap/xi/tf/_MM_Comcode_: </SAP:Stack>
    </SAP:Error>
    I also tried executting the message testing tool to see the trace and the below result I got
      <?xml version="1.0" encoding="iso-8859-1" ?>
    - <Top>
      <First>BeginTrace</First>
      <Trace level="1" type="B">CL_MAPPING_XMS_PLSRV3-ENTER_PLSRV</Trace>
      <Trace level="2" type="T">......attachment XI_Context not found</Trace>
      <Trace level="3" type="T">Mapping is determined</Trace>
      <Trace level="1" type="T">Interface Mapping http://www.http-rfc.com IM_Comdet</Trace>
      <Trace level="3" type="T">Object ID of Interface Mapping CA9DBC0BCB27311FBAA3C4CE387CEC3B</Trace>
      <Trace level="3" type="T">Version ID of Interface Mapping 226C2EB123A711DFC0F4FAEBC0A80020</Trace>
      <Trace level="3" type="T">Mapping Steps 1 JAVA com/sap/xi/tf/_MM_Comcode_</Trace>
      <Trace level="3" type="T">Dynamic Configuration Is Empty</Trace>
      <Trace level="2" type="T">Mode 3</Trace>
      <Trace level="3" type="T">Creating Java mapping com/sap/xi/tf/_MM_Comcode_.</Trace>
      <Trace level="2" type="T">Call method execute of the application Java mapping com.sap.xi.tf._MM_Comcode_</Trace>
      <Trace level="2" type="T">Java mapping com/sap/xi/tf/_MM_Comcode_ completed. (executeStep() of com.sap.xi.tf._MM_Comcode_</Trace>
      <Trace level="3" type="T">Dynamic Configuration Is Empty</Trace>
      <Trace level="1" type="E">CL_MAPPING_XMS_PLSRV3-ENTER_PLSRV</Trace>
      </Top>
    But still I'm not able resolve this issue kindly help.
    Regards,
      Santosh

    Looks like there is some mapping problems ,may be the RFC connection is not properly configured .Here is the link to configure the connection between ECC and PI :
    http://wiki.sdn.sap.com/wiki/display/XI/ConnectionSettingsbetweenECCandPIsystem
    May be there is no value retrieved from the ECC system so it is saying null value.
    For proper configuration check you can refer the following blog:
    /people/community.user/blog/2006/12/12/http-to-rfc--a-starter-kit
    I am a beginner so not the full answer is there but may be this would help you.
    Regards
    Ravi Anand

  • 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

  • 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

  • SOAP to JDBC/RFC  - RFC/JDBC  to  SOAP XI Scenario

    Hello,
    Can anybody give me the links for SOAP to JDBC/RFC-BAPI or RFC-BAPI/JDBC ---> XI ---> SOAP XI Scenario?
    I tried searching, but there isn't any step-by-step approach for it.
    Thank you in advance.
    Cheers,
    Deepak.

    Hi,
    Check some links on SOAP,
    RFC -> XI -> WebService - A Complete Walkthrough
    /people/shabarish.vijayakumar/blog/2006/03/23/rfc--xi--webservice--a-complete-walkthrough-part-1
    /people/shabarish.vijayakumar/blog/2006/03/28/rfc--xi--webservice--a-complete-walkthrough-part-2
    SOAP with attachments
    /people/michal.krawczyk2/blog/2006/04/19/xi-rfc-or-abap-proxy-abap-proxies-with-attachments
    /people/padmankumar.sahoo/blog/2005/02/15/an-overview-of-soap
    /people/siva.maranani/blog/2005/05/23/communication-between-sap-system-webservice-using-proxies
    SOAP
    An Overview of SOAP
    /people/padmankumar.sahoo/blog/2005/02/15/an-overview-of-soap
    JDBC ADAPTER
    http://help.sap.com/saphelp_nw04/helpdata/en/7e/5df96381ec72468a00815dd80f8b63/content.htm
    /people/saravanakumar.kuppusamy2/blog/2005/01/19/rdbms-system-integration-using-xi-30-jdbc-senderreceiver-adapter
    Regards,
    phani
    Reward points if Helpful

  • Http to RFC or SOAP to RFC (synchronous)

    Hi,
    I need to connect PHP with RFC via XI/PI
    Request will be send from php developed web pages to R/3 (RFC) to get data back to web page.
    I think to resolve this scenario 1u2019ve two options
    1: SOAP to RFC (synchronous)
    2: HTTP to RFC (synchronous)
    Can you please suggest me the scenario?
    Thanks for you time
    Regards,
    Farrukh Ghani

    Hi Ghani,
    The two options you mentioned we can use,but it depends on how PHP web site going to  send data,if it is going to send webserive then use SOAP adapter,you are expecting response ,the RFC wil work as synchronous.
    If it is not  Web Service other option is HTTP,receiver would be RFC only.
    How to configure SOAP->XI>RFC or HTTP->XI-->RFC scenarios,simple search in sdn will give many blogs,search in sdn,
    if you unable to find right one let me know..
    Regards,
    Raj

  • JDBC-RFC no errors at XI BOX still records were not update at Target system

    hi
    am doing jdbc to rfc scenario
    tested rfc at target  R/3 and its working fine,but records were not being updated in jdbc-rfc scenario.
    i can see the audit log as success but no record is inserted at the target system
    think problem is at FM.
    please look at my FM code.
    FUNCTION zscp_fm_inb_task_act_eff_updat .
    ""Local Interface:
    *"  TABLES
    *"      IT_TASK_DATA STRUCTURE  ZSCP_S_TASK_EFFORT
      DATA : v_taskguid TYPE bapi_ts_guid-task_guid,
             is_task TYPE bapi_ts_task,
             is_task_upd TYPE  bapi_ts_task_upd,
             is_return TYPE TABLE OF bapiret2 WITH HEADER LINE.
    *DATA : BEGIN OF it_data OCCURS 0,
            project TYPE zspr_project_id,
            task_id TYPE cgpl_entity-external_id,
            act_work TYPE dpr_tv_act_work,
            guid TYPE dpr_task-guid,
          END OF it_data.
      DATA : BEGIN OF it_task_eff OCCURS 0,
               project TYPE zspr_project_id,
               guid TYPE dpr_task-guid,
               act_work TYPE dpr_tv_act_work,
             END OF it_task_eff.
      DATA : BEGIN OF it_report OCCURS 0,
               msgtype(1),
               project TYPE zspr_project_id,
               task_id(24),
               msg(250),
             END OF it_report.
      DATA : l_taskguid TYPE dpr_task-guid.
      DATA : v_begintmstamp(20) TYPE c,
             v_endtmstamp(20) TYPE c.
    *ranges : r_taskguid for l_taskguid.
      DATA : v_tabix TYPE sy-tabix.
      DATA : it_dpr_task TYPE STANDARD TABLE OF dpr_task,
             wa_dpr_task TYPE dpr_task.
    *data : l_taskguid type BAPI_TS_GUID-TASK_GUID.
      DATA : flg_no_flg TYPE c.
      DATA : l_task(24),
             flg_error TYPE c.
      DATA : l_taskdetail TYPE bapi_ts_task_detail,
             l_retdetail TYPE STANDARD TABLE OF bapiret2 WITH HEADER LINE.
      DATA : v_count TYPE i.
      DATA curr_date TYPE sy-datum.
      DATA curr_time TYPE sy-uzeit.
      CONCATENATE sy-datum sy-uzeit INTO v_begintmstamp.
    DELETE it_data WHERE act_work < 0.
      DELETE it_task_data WHERE act_work_effort < 0.
      IF it_task_data IS NOT INITIAL.
    LOOP AT it_task_data.
       v_tabix = sy-tabix.
       CALL FUNCTION 'CONVERSION_EXIT_DPRCE_INPUT'
         EXPORTING
           input  = it_task_data-task_id
         IMPORTING
           output = it_task_eff-guid.
       it_task_eff-guid = it_task_data-task_id.
       it_task_eff-project = it_task_data-project_id.
       it_task_eff-act_work = it_task_data-act_work_effort * 60 * 60.
       MODIFY it_data INDEX v_tabix.
       APPEND it_task_eff.
       CLEAR: it_task_eff, it_task_data.
    ENDLOOP.
        LOOP AT it_task_data.
          it_task_data-act_work_effort = it_task_data-act_work_effort * 60 * 60.
          MODIFY it_task_data.
          CLEAR it_task_data.
        ENDLOOP.
        SELECT *
            FROM dpr_task
            INTO TABLE it_dpr_task
            FOR ALL ENTRIES IN it_task_data
            WHERE guid = it_task_data-guid.
    *Begin Commented by Aparna/25/01/2007 so that all the tasks are updated irrespective the planned efforts are filled or not.
           and
                work_effort > 0.
    *End
    IF sy-subrc <> 0.
       MESSAGE e000 WITH 'No data selected to update'.
    ENDIF.
        IF sy-subrc = 0.
          curr_date = sy-datum.
          curr_time = sy-uzeit.
          LOOP AT it_dpr_task INTO wa_dpr_task.
            CLEAR it_task_eff.
            READ TABLE it_task_data WITH KEY guid = wa_dpr_task-guid.
            IF sy-subrc = 0.
              wa_dpr_task-act_work_effort = it_task_data-act_work_effort.
              wa_dpr_task-act_work_unit = 'S'.
              wa_dpr_task-zzupdated_date = curr_date.
              wa_dpr_task-zzupdated_time = curr_time.
              CLEAR wa_dpr_task-flg_man_rem_work.
              MODIFY it_dpr_task FROM wa_dpr_task TRANSPORTING act_work_effort act_work_unit flg_man_rem_work zzupdated_date zzupdated_time.
            ENDIF.
            CLEAR wa_dpr_task.
          ENDLOOP.
          DESCRIBE TABLE it_dpr_task LINES v_count.
        ENDIF.
      ENDIF.
      IF it_dpr_task IS NOT INITIAL.
    *{17Sep2007 Refresh all tasks before updating the efforts
        UPDATE dpr_task SET act_work_effort = 0
        WHERE version_number EQ space.
    *}17Sep2007 Refresh all tasks before updating the efforts
        UPDATE dpr_task FROM TABLE it_dpr_task.
      ENDIF.
    ENDFUNCTION.

    Not exactly an ABAPer but I dont see a commit work in the FM. Maybe this is an issue
    Regards
    Bhavesh

Maybe you are looking for