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?????????
Similar Messages
-
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,
JainHi 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. -
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 krishnaHi 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,
SantoshLooks 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 -
Response structure empty for HTTP to RFC synchronous scenario
Hi experts,
I have a HTTP to RFC synchronous scenario.
The request is given to Price List ZBAPI.
The input to the BAPI is date, material no, customer no and condition type.
The output I am fetcching from access sequence table into the table FINAL type structure ZFINAL which is
then sent back to source as a response.
But the problem is that I get this table as empty although BAPI returns data
Regards,
MozilaDear Mozila,
How did you check that BAPI returns data? Did you use an exact message sent from PI to the receiver business system? If not, I would suggest to take the message which was sent by PI to the receiver business system and use it when performing BAPI test.
Are table contents received by RFC adapter on PI side (can you see BAPI execution results in message contents for response message received by RFC adapter)?
Can you see any errors in RFC communication channel?
Did you check message monitor in Integration Server for the particular message? Are there any errors?
Please also check your message mapping - this may also cause the error in case RFC adapter receives correct results, but HTT client receives empty table.
My regards,
Vadim -
Java Proxy - XI - RFC Synchronous Scenario OUTBINDING Problem.
Java Proxy -> XI -> RFC Synchronous Scenario. Problem
Hi,
I'm doing a Java Proxy -> XI -> RFC Syncronous Scenario.
A Java Server Socket is running as a Demon. When a client make a request to the Java Server Socket, this one call Java Proxy Client and set up the parameters.
The first time that execute the scenario it works perfectly but no the next one and so on.
The error when I check the monitor (TCODE: SXMB_MONI) is in PLSRV_OUTBOUND_BINDING.
<Trace level="1" type="B" name="CL_XMS_PLSRV_OUTBINDING-ENTER_PLSRV">
<Trace level="1" type="T">no outbound binding found.</Trace>
<Trace level="1" type="T">No standard agreement found for , DES210_DEV, , JPX_DEV, urn:servipago:SERVIPAGO_SAP_02, mi_os_t1</Trace>
</Trace>
<Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_TO_PERSIST" />
And it has sense, because my scenario doesn't begin with the execution of FM (RFC).
A Hint, my services in the first try are:
<b>Sender Service:</b> JPX_DEV (Java Proxy Client)
<b>Receiver Service:</b> DES210_DEV (R/3 4.6C)
But the second try and so on the services that I saw in the monitor are:
<b>Sender Service:</b> DES210_DEV (R/3 4.6C)
<b>Receiver Service:</b> JPX_DEV (Java Proxy Client)
I can't understand why they swich each other.
Any idea?Hi,
Outbound binding problem is because of Reciever Determination/Agreement is not activated or refreshed correctly.
Try to recreate or refresh and activate it. Then check it.
also do the cache refresh in SXI_CACHE.
Also in go to Integration Builder(XI home page)->Administration->Cache Overview and do all the cache refresh.
Hope this helps
Regards,
Moorthy -
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.KHi 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 -
File to RFC synchronous scenario
Hello Friends,
I have a file to RFC scenario.
Sender is sending file synchronously and based on conditions within file i have to make call to various ECC instances and returning responses.
I am using BPMmulticastparallel. Implemented conditional receiver determination and the correlation.
Does anyone have such scenario example.
Kindly share.
Edited by: vishal kharat on Aug 5, 2011 2:47 PMHi Mr.
You can follow this example, regarding BPM implementation:
http://www.riyaz.net/blog/a-step-by-step-guide-to-bpm-asynch-sync-bridge/technology/sap/170/
For XPath Receiver Determination, follow this links:
http://wiki.sdn.sap.com/wiki/display/XI/XpathConditioninReceiverDetermination
http://wiki.sdn.sap.com/wiki/display/XI/EnhancedReceiverDeterminationinSAP+XI -
Soap to RFC synchronous scenario
Dear experts,
i am doing a SOAP to RFC(BAPI_INTERNALORDER_GETDETAIL) sync scenario and the rfc returns a structure with the records as well as the BAPIRET2 records .
Do i need to use fault message types here ?
If yes what would be its purpose in this scenario ?
RaviHi,
if you have BAPIRET2 then all the errors will be over there
so I guess there is no need to use a fault message
Regards,
Michal Krawczyk -
SOAP to RFC synchronous scenario with File
Hi,
My scenario is
Java application is sending SOAP message to PI and PI should route that message (after converting SOAP message to XI message) to RFC.
2) After receiving the response from RFC PI should send the response to java application. Now here comes the little tweak, we need to map RFC response to File as well apart from sending SOAP response message (which is generated after mapping RFC response message to Java application response structure) back to Java application.
Is it possible without BPM?Without BPM you can try below approach, but i would recommend you to use BPM.
Develop SOAP---->PI(rfc look up) -
> SOAP/JAVA application
map RFC loop up response to SOAP receiver and JAVA application/.
Regards,
Raj -
SOAP to RFC synchronous scenario with File without BPM
Hi Folks,
I have a requirement that has to be done with out BPM!!!
Requirement:
Soap will trigger the request to SAP(RFC) and SAP sends the response to a file and then after SOAP has to recieve the ACK from PI.
1) Can we do this by without using BPM
2)Can we use without BPM module entries for SOAP Sender
Please suggest and help me out in this
Thanks in advance,
Regards
vivekHi Vivek,
Why not have the SOAP interface defined as synchronous?
You can avoid using BPM that way.
Best Regards,
Ravi -
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,
PasiHi,
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. -
Is synchronous scenario possible with JDBC & JMS adapter?
Suppose,JDBC adapter is updating a table or deleting some entry from a table.Can we have an acknowledgement back that the work has been done successfully??
same qstn for JMS adapter also..
Suppose JMS adptr is communicating with any messaging system,can we have acknowledgement back?Jms Adapter supports Asynchronous scenarios only but If u want to use Synchronous then possible with Standard module beans :
For ex: JMS to Rfc synchronous scenario:
In id:
Sender jms adapter supports Asynchronous scenarios so we have to use standard module beans in Module tab.
Like :
AF_Modules/RequestResponseBean -> 0
CallSapAdapter
AF_Modules/ResponseOnewayBean -> 1
And Provide values in configuration:
0 -> passThrough -> true
1 -> receiverChannel ->provide RECEIVER JMS adapter name ( have to create one more JMS receiver communication channel for responce )
1 -> receiverService ->provide receiver adapter service name (that is provide sender business component because need response for sender )
jdbc adapter :
http://www.****************/Tutorials/XI/SOAP2JDBC/Page1.htm -
Hi ,
I have created HTTP RFC Synchronous Scenario .....i am able to send the message to RFC... but i am not able to get back response...
I have created two communication channels one for RFC call in SAP R/3 and the other one is for sending HTTP respose back to source..
Where is the receiving http adapter is configured.... ?I have created the scenario....but i am not able to get the response.....i am getting the following the response error
<?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="1">
<SAP:Category>Application</SAP:Category>
<SAP:Code area="MAPPING">EXCEPTION_DURING_EXECUTE</SAP:Code>
<SAP:P1>com/sap/xi/tf/_MM_FAXCHG_RFCRESP_</SAP:P1>
<SAP:P2>com.sap.aii.mappingtool.tf7.IllegalInstanceExcepti</SAP:P2>
<SAP:P3>on: Cannot create target element /ns1:MT_FAX_CHG_T</SAP:P3>
<SAP:P4>ARGET/IVR/TRANTYPE. Values missing in queue conte~</SAP:P4>
<SAP:AdditionalText />
<SAP:Stack>Runtime exception occurred during application mapping com/sap/xi/tf/_MM_FAXCHG_RFCRESP_; com.sap.aii.mappingtool.tf7.IllegalInstanceException: Cannot create target element /ns1:MT_FAX_CHG_TARGET/IVR/TRANTYPE. Values missing in queue conte~</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
Pls advice on this
Maybe you are looking for
-
Cannot find file symbol not showing up
Hi - I have just done a massive move and backup etc. Things are going fine - just learned that every time you "reorganized" itunes music the entire file structure changes so a real back up with something like SyncBack totally ***** but... The questio
-
When dowloading updates from my iTunes library onto my iPhone my playlists appear in reverse order with the least played at the top of the list and most played at the end on the playlist. Therefore I cant play my favourites in the order that I like t
-
ViewRanger maps on Nokia 6210 Navigator
I've just installed ViewRanger maps of all the United Kingdom National Parks onto my N6210 Navigator for less than £25. Incredibly good value for walking and cycling holidays. I bought the electronic dowload; perhaps not wise with a slow broadband li
-
Bluetooth File Exchange - V551 - 10.4.10
I am able to use iSync to sync the addresses, etc. with my mac and Motorola V551 cell phone (which bluetooth sees as a computer – not a cell phone). I know the computer sees the V551 because of the success in syncing addresses into this particular Ma
-
One thing that really annoys me in UB and there is no control over is the net logical listings in certain areas of the program. An example is the bus settings, when you have to select the nets you want to add its listed: 1 10 2 20 21 Any idea how ann