PROXY TO JDBC scenario
Hi All,
I am working on PROXY to JDBC scenario upto yesterday its working fine.
Today I, am getting "Time limit exceeded" error in QRFC monitoring and message showing with GREEN COLOUR FLAG (RECORDE) in PI SXMB_MONI.
Please help me to salvoes this error.
Thanks and Regards,
MFH
Hi All,
First of all thanks for all your early replays....
"TIME LIMIT EXCEEDED" QRFC Problem is indicates that when we processing large volume of messages to external or internal systems in this case specified time limit in SM59 is not enough to process the message so that please increase TIMEOUTS...TIME LIMIT EXCEEDED error will be solved.
With Regards,
MFH
Similar Messages
-
Two Receiver DB in Synchronous Proxy to JDBC Scenario?
Hey,
Is it possible to develop a synchronous proxy to JDBC Scenario that have two different DBs as Receiver?
The response Datas are insert_count and update_count.
Thank.Park,
You can't have more than one receivers in Sychronous case. If you designed the scenario , then u will get the error as "TOO_MANY_RECEIVER CASE_BE".
-raj. -
Proxy to JDBC scenario need dynamic sql query for sender .
Hi Experts,
I am developing proxy to jdbc scenario. in this i need to pass dynamic sql query whre we are passing classical method like below.
while we are passing select stmt in constant and mapped with access field and key field mapped with key field.
MY requirement is like instead of passing select stmt in constant where i can generate dynamically and passed in one field and mapped with access field.Hi Ravinder,
A simple UDF or use of graphical mapping functions in most cases should provide you everything you need to construct a dynamic SQL statement for your requirement.
Regards,
Ryan Crosby -
Performance issues in Proxy-XI-Jdbc scenario
Hello,
I have developed a proxy to JDBC synchronous scenario.
My scenario works like this.
*i run an abap program which calls a client proxy,
the proxy fetches the data from database table and returns the data in the ABAP program.(select query)
there are serious performance issues when we are running the report
it is taking around 2-5 minutes and at times multiple users are logged in , it takes around 5-20 minutes.
it seems that most of the time is consumed in the data fetching.
please help me to find some solution so that we can fine tune the performance on the PI side.
Are there any options on JDBC CC which can help us in making the queries faster
thanks
kannu.Kanu16 ,
Issue seems to be at r/3 end..
1. Make sur ethat report program is using select query in proper fashion .
2. avoid using nested loops.
3. Hope not much validations are being done on selected data .
Abaper can help you optimizing this .
By debugging you can find out the exact reason behind.
Regards , -
An error Handling in Asynchronous Proxy to JDBC Scenario?
Hey,
In my scenario, we'll send data from erp to third-party database.
If it occurred an error while saving the data to database, I want to manage that error in ERP.
Is it possible to make this scenario with asynchronous proxy to JDBC?
If it was possible, how should do I?
Thank you,Also
go thru the following thread (Similar problem discussed)
Re: RFC to JDBC response
regards
krishna -
Proxy to JDBC scenario data to be fetched from two dB
Hello all,
we have a requirement in which the data is sent from an abap program and using PI it will fetch the data from DB at client side,
and we need to display the data in the report program.
As we need the real time data and need to be displayed back in the Report program the processing time should be less than 30 sec.
We have tried the scenario using synch Proxy-synch jdbc and we are getting the data with in time but we tried this with 1 DB.
But now we have requirement change and we need to look the data in 2 Data bases.
we need to pass data through client proxy(Synch) to PI and it should check the data in 2 DB and send back the data.
the data sent back from the DB, we need to show in our ABAP program.
Please send in your inputs so that i get some pointers regarding this requirement.
Thanks
Karandeep SinghHI Vijayashankar,
Thanks for your reply.
Please brief me the steps for using fork in BPM.
Thanks
Karandeep Singh. -
Data coming in receiver side by using proxy to jdbc scenario
Hi experts ,
I have scenario Proxy (client proxy) to JDBC (IVR system) Asynchronous method,
I execute se38 its working fine and go SXMB_MONI here also success flag in development server same way I checking PI side also SXMB_MONI everything fine but data not coming IVR side if write select query
In runtime workbench the Communication channel status id green and Message processing completed successfully
My question is when I writing select query like select * from table name ,Why data not coming receiver side ? execute query here IVR side also mention query status is successfully ,but IVR side data not coming, I have access right in receiver side
Please provide valuable inputs.
Thanks
INASH NALLARefer the following link for more details:
http://help.sap.com/saphelp_nw04/helpdata/en/64/ce4e886334ec4ea7c2712e11cc567c/content.htm
Also, in the reciever JDBC adapter you dont write a SQL query anywhere but it is the target MT structure and corresponding mapping,which generates the query.
Refer the blog:
http://www.riyaz.net/blog/jdbc-adapter-configuration/technology/ 1200/ -
Reg. Client(ABAP) Proxy to JDBC scenario
Hi All,
I am working on a scenario of Proxy to JDBC. The scenario goes like this.....
SAP is the sender and I need to fetch data from the database table at the R/3 end and update in the legacy system at the receiver end .
Can anybody guide me apart from PI configuration, the settings need to be done at the R/3 end in the transaction sproxy i.e. the ABAP class and objects. Also let me know if I need to trigger the interface weekly once, is it possible to trigger it automatically by using ABAP class and objects else I need to write an ABAP program in order to trigger the interface.
Thanks for understanding in advance.
Regards,
Neethu ChordiaHi,
Can anybody guide me apart from PI configuration, the settings need to be done at the R/3 end in the transaction sproxy -
As Raj suggested please search on SDN, you will find lot of links on this.
Also let me know if I need to trigger the interface weekly once, is it possible to trigger it automatically by using ABAP class and objects else I need to write an ABAP program in order to trigger the interface. -
>For this you need to write Abap class program and override method "Execute asynchronous" this will send the SAP R3 data to XI and then you have to configure job on R3 to run this program periodically as per your requirement.
Divyesh Vasani -
Structure to be maintained in proxy to jdbc scenario
Hi all ,
There is a field Flag ,which receives the value from the database table.if the flag value is 0 then nothing should be done ,if the flag value is 'S' then the correspong record must be removed from the JDBC data base table.
I am already using the action UPDATE_INSERT for over writing the existing record.
In the ztable ,I am maintaing a zield Flag(change indicator).If this change indicator is S then, record must be deleted from jbdc.
How to maintain jdbc structure .
Thanks,
SrinivasaCan I use structure as this one?
Target->Statement->Attachments-
action=UPDATE_INSERT
table=Mytable
->access-
Field1
Field2
Field3
Field4 ->
<Statement>
<Mytable action=u201DDELETEu201D>
<key1>
<Field1>S</Field1>
</key1>
</Statement>
Here I am using both Update_insert and Delete operations on same table.
Thanks,
Srinivasa -
ABAP Mapping for Error handling in Proxy to JDBC
Hi All,
I am working on a proxy to jdbc scenario in which we have to throw validation errors to NWPM(Net Weaver Process Monitor Tool)
I am following the below steps,
step 1 - In message mapping a UDF is created to catch errors and store them in a variable using dynamic configuration
step 2 - writing abap mapping for handling this thrown exception and im reading the dynamic configuration in the abap class and raising exception. The exception format expected is
SAP:Error SOAP:mustUnderstand="" xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SAP:Category>XIServer</SAP:Category>
<SAP:Code area="RCVR_DETERMINATION">NO_RECEIVER_CASE_ASYNC</SAP:Code>
<SAP:P1>ZPI_THROW_EXCEPTION</SAP:P1>
<SAP:P2>001</SAP:P2/>
<SAP:P3>Mandatory field is missing[BUKRS] </SAP:P3>
<SAP:AdditionalText />
<SAP:Stack>No receiver could be determined</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
I have written the following ABAP code to achieve this:
method IF_MAPPING~EXECUTE.
DATA l_record type mpp_dynamic.
DATA error type String.
getting dynamic configuration value
filled in by any previous mapping
CALL METHOD DYNAMIC_CONFIGURATION->GET_RECORD
EXPORTING
NAMESPACE = 'http://sap.com/xi/XI/System/ERROR'
NAME = 'ERROR'
RECEIVING
RECORD = l_record.
error = l_record-value.
*raising exception with our message
RAISE EXCEPTION TYPE CX_MAPPING_FAULT
EXPORTING
TEXTID =
PREVIOUS =
ERROR_CODE = '001'
ERROR_TEXT = error .
RAISE EXCEPTION TYPE CX_MAPPING_FAULT
EXPORTING
TEXTID =
PREVIOUS =
ERROR_CODE = '003'
ERROR_TEXT = error .
endmethod.
I am gettign the following message for our code:
SAP:Error SOAP:mustUnderstand="" xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SAP:Category>XIServer</SAP:Category>
<SAP:Code area="RCVR_DETERMINATION">NO_RECEIVER_CASE_ASYNC</SAP:Code>
<SAP:P1 />
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText />
<SAP:Stack>No receiver could be determined</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
Could you please help in finding the solution for getting currect error message from ABAP class?
Edited by: SwethaC on Jan 21, 2011 8:18 AMThe error is due to RFC Call fail from PI system to your ECC Application System.
Check your RFC Destination for ECC System type 3 in PI System.
When you are receiving data from ECC System using Proxies & again you are going to ECC System for Validation.
Why you are not doing this validation on ECC System only in your proxy code ?
In your proxy code, it will be much better for performance to check your data there on same system. -
Sender ABAP Synchronous proxy -- PI -- JDBC sync scenario pls!!
Hi Guys,
Can any one help to find one sample scenario like ABAP Proxy --> PI --> JDBC Sync call ? Sync ABAP proxy sample code any 2 or more filelds going from ABAP proxy and maps on JDBC sync request, up date target side SQL server database tables, in case if any error happens error/success message must go back to SAP one Z table with response.
Any help would be really great!!
Many thanks in advance
Sanup date target side SQL server database tables, in case if any error happens error/success message must go back to SAP
one Z table with response.
When you do an update you can get back the number of rows updated in the JDBC response....you can find this in the help page showing JDBC structure. If you are looking for any other response then probably the message needs to be genarated by PI itself after checking the response from JDBC.
Regards,
Abhishek. -
No response message in Proxy to JDBC synchronous scenario
Dear Team,
I am working on synchronous scenario Sender ABAP proxy <===> SAP PI 7.31 <===> Oracle Database.All the necessary proxy configuration has been successfully tested.
Business Scenario:
ABAP proxy will send a single Vendor Id to Oracle DB as request and in return , it has to retrieve all the columns related to Vendor as response.Oracle Database stores all the Vendor information.There are 11 columns including the vendor Id in the view for the Vendor records.
Design :
For Request structure:
a-->Created MT for Sender ABAP Proxy with only 1 field for Vendor Id.
b-->Created MT for Receiver JDBC with Action as SELECT , Table with "View Name" , Access with Constant Blank for all 11 column and Key as Vendor Id.
I have been following the link and Bhavesh Kantilal document.
http://help.sap.com/saphelp_nw73/helpdata/en/44/7b7171fde93673e10000000a114a6b/content.htm?frameset=/en/44/7b7855fde93673e10000000a114a6b/f
rameset.htm¤t_toc=/en/ca/b977f1c7814201954f20bb87ad7aab/plain.htm&node_id=71
For Response structure:
Created MT for Receiver JDBC with All the column names.
Created MT for target ABAP ECC with the same 11 column name of JDBC response.
Note :
1.Database team shared a excel file as a sample payload which has all the column names of a vendor and I created my DT with the same naming conventions as they are maintaining in their database i.e. Column names are in CAPs, in the same order and even the special characters in the column name.
2. The PING test connection for Cc works fine to database.
Please read out my queries as the I am not receiving any response from Oracle DB and gives error as timeout exception:
1.Since I am trying to retrieve all the column of the view , am I doing the correct procedure of putting all the column name in the JDBC request structure and making a Select statement. Can I add < * > to fetch all the column name and if so where can I add it.
2. Whats the difference between SELECT and SQL_QUERY and on what circumstances I can add it?
3. How can I test ICO in ID?
4. Can I use any SOAP tool to test the messages? Is there any functionality in NWA to test the messages directly to JDBC .
Hope all your inputs can improve my design part.
Regards
RebeccaHi Rebecca,
Did you go through all of these links below?
PROXY to JDBC- SYNC
Proxy to JDBC Sync, with Idoc Receiver
JDBC to PROXY Sync Scenario | SCN
JBDC Receiver Insert Statement Response
Re: Synchronous JDBC select
receiver JDBC structure
Regards,
Jannus Botha -
Using of Integration Scenario in a Abap Proxy to JDBC receiver synchronous
Hi ,
Can any one help me out how to go about for creating Integraion scenario in ESR as i'm new to the use of Integration scenario..
its an Abap proxy to Jdbc synchronous scenario... kindly help in this regards.Hi Indudhar,
Right click on the namespace where you want to create the IS and say new, Select process integration scenario option, give a suitable name and say OK.
In the Component View section right click on the first grey column and Insert a sender Application component. Enter ur product and the software component version. Like wise in the next grey column enter the target Application component.
Now go to the top level menu and click on view and select grid.
Now right click on each App. component and insert the created actions. If the scenario is sync then the actions will be side by side otherwise the target one will be in the next grid of the target app. component.
After entering the actions click on the source action then press shift and click on the target action, right click and choose create connection between the two actions.
Fill in the info and then save.
Regards,
Anshul -
Client Proxy to JDBC synchronous Scenario
I'm using Proxy--PI---JDBC synchronous shcenario, when i execute the proxy from R/3 it is giving me error "RCVR_DETERMINATION.NO_RECEIVER_CASE_BE" in configuration i have used one inbound receiver determination for request, my question is do i need to have one more reciever determination for response.
Thanks for help.No, you do not have to add additional receiver determination
Usually in sync scenario, make sure you have one receiver determination, no arbitration.
If you have condition for receiver detemination, make sure the condition only return one true.
Liang -
On running Proxy-> JDBC Scenario
i found out that no data is being passed through the Communication channel for this scenario ( but for another scenario also i am using the same communication channel, there it is passing the data ) but i can see the data in SXMB_MONI of XI.
Don't know where is the issue..?
Regards,Hi Guys,
Finally i resolved ..
Since for the sender data type(and hence msg type,and also i was using that for proxy generation) i was not using the namespace but was using the namespace for receiver side..
At the time of message mapping message types were also mapped..but since no namespace was coming from Sender Message ..so it was throwing the error in RWB..
Hope it will help others also..
Regards,
Maybe you are looking for
-
Excel won't open and error message There was a problem sending the command to the programe
Hi there I'd be grateful for your help. I've just bought a new laptop and installed Office 2013. I used Excel 2013, did what I needed to do and saved it. This was 5 days ago. Today, I've tried opening the file from my desktop and get the error mess
-
Ical 3.0.8 to-dos all gone - irreplaceable important info - help!
Hello, My wife today lost all of her to-dos - they just weren't there when she opened iCal. There's some irreplaceable things in there - things our young kids have said for example (don't ask why she keeps it there - I can't figure it out myself...)
-
Flash Builder 4.7 Immediate Crash
FYI Flash Builder 4.7 Mac + OSX 10.10 Yosemite + (any) File Dialogue Box = Immediate Crash :-( Flash Builder 4.7 + OSX 10.10 Yosemite + File Dialogue Box = CRASH :-( Problem Description: When attempting to use a Flash Builder File Dialogue Box under
-
Parameter Screen not opening - '500 Internal Server Error'
Hi All, I have developed a Discoverer Report which runs based on certian parameters. When i run the report in Discoverer Viewer at my end the parameter screen opens fine with no errors, but when the customer clicks on the flashlight then instead of t
-
Critical issue with Berkeley Java API
Hi While using Java API to access BDB, and when multiple requests are made at the same time, I am getting the following error: unable to allocate memory for mutex; resize mutex region Exception in thread "main" java.lang.OutOfMemoryError: Cannot allo