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 NALLA
Refer 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/
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 -
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,
MFHHi 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 -
Error in SOAP receiver channel in Synchronous Proxy to SOAP scenario
Hi all,
We are experiencing an issue with a synchronous Proxy to SOAP scenario. Getting below error message in the SOAP receiver communication channel for the response message.
SOAP: Response message contains an errorXIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 500 Internal Server Error
Returning to application. Exception: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error encountered while executing mapping: com.sap.aii.af.service.mapping.MappingException: com.sap.aii.utilxi.misc.api.ResourceException: Could not determine mapping steps for message 1364b76e-ecbf-11e4-85f4-000023acfde6.
We are running PI 7.4.
Any help is appreciated.
Thanks,
PushpaHi,
Seems the Receiver Webservice is not reachable. Did you try to test it using SOAP UI tool.
1. Test a fresh message from local SOAP UI tool.
2. Pick 3rd party WSDL file and Import in SOAP UI tool.
3. Put some dummy data for mandatory fields
4. Trigger it msg and ckh if you get successful / response msg.
5. Check if firewall is open and that URL is not blocked.
Hope it helps
Regards,
Azhar -
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. -
Receiver agreement fails in Proxy to Mail Scenario ( B2B)
Hi All,
I have a proxy to mail Scenario. It is an B2B scenario. I communicate on the sender side via a Business System and on the receiver via a Business Service.
This is a Proxy to mail scenario. I test via the test configuration tool. The sender agreement, Receiver detemination, Interface detemination runs fine.
The failure occurs in the receiver agreement. It fails saying " NO standard agreement found" .
I did the the following checks
1. Checked whether the Agreement is active
2. Checked the name of the Communication component and Interface. all ran well
What could be the issue. Why can sender agreement fail.
Can anyone please help.
Thanks
AbhishekHi All,
I have a proxy to mail Scenario. It is an B2B scenario. I communicate on the sender side via a Business System and on the receiver via a Business Service.
This is a Proxy to mail scenario. I test via the test configuration tool. The sender agreement, Receiver detemination, Interface detemination runs fine.
The failure occurs in the receiver agreement. It fails saying " NO standard agreement found" .
I did the the following checks
1. Checked whether the Agreement is active
2. Checked the name of the Communication component and Interface. all ran well
What could be the issue. Why can sender agreement fail.
Can anyone please help.
Thanks
Abhishek -
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 , -
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 -
Dear All,
I am having one scenario in which I have to update third party's SQL Tables with the data from a flat file. The data is stored in the flat file in the following way:
0000000119690607Sunjay Shrivas
0000000419641029Shishir Bhandarkar
0000000519671004Harvinder Singh
0000000619700101Shashi Kant Tiwari
0000000719690911Kamala Rai
0000000819680914Vishav Bhushan Monga
0000000919610829Moloy Mitra
In this file, first eight characters are for employee number, next eight are for date of birth of employee, next 40 characters for employee first name and then for employee last name.
Kindly guide me out in creating in the Data Types and Message Mapping for this scenario.
Warm Regards,
N.JainHi
Have a look
jdbc /people/saravanakumar.kuppusamy2/blog/2005/01/19/rdbms-system-integration-using-xi-30-jdbc-senderreceiver-adapter
JDBC receiver
/people/bhavesh.kantilal/blog/2006/07/03/jdbc-receiver-adapter--synchronous-select-150-step-by-step
/people/sap.user72/blog/2005/06/01/file-to-jdbc-adapter-using-sap-xi-30 - File to JDBC
use SELECT statement in JDBC
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1725 [original link is broken] [original link is broken] [original link is broken] [original link is broken]
stored procedure
/people/siva.maranani/blog/2005/05/21/jdbc-stored-procedures
/people/sameer.shadab/blog/2005/10/24/connecting-to-ms-access-using-receiver-jdbc-adapter-without-dsn
Sender adapter
/people/yining.mao/blog/2006/09/13/tips-and-tutorial-for-sender-jdbc-adapter
for jdbc adapter...
http://help.sap.com/saphelp_nw04/helpdata/en/22/b4d13b633f7748b4d34f3191529946/content.htm
for configuring receiver jdbc adapter...
http://help.sap.com/saphelp_nw04/helpdata/en/7e/5df96381ec72468a00815dd80f8b63/content.htm
Might be useful. -
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 -
Entering data into a mySQL database for use with my JDBC program
does any know what i type on telnet to get mySQL to work on windows 2000?
i read check your isp for what to type in for this line, but i use IIS
www24:mywww/devshed# mysql -u devshed -p
and what do i put for
login: devshed
Password: ********
it says check with isp on that one too
i am trying to insert records, and make columns, is there an easier way to do this?
thanks,
Pearl
Beginning MySQL Tutorial
By W.J. Gilmore
April 03, 1999
Part 1: At First Glance
MySQL is most commonly entered through telnet. (A nice Telnet program, Easyterm, can be found at http://www.arachnoid.com) Once the telnet connection to the web server has been accomplished, a second command provides access to the MySQL server. The procedure to make these connection is as follows:
1. Connect to telnet. This involves the insertion of the given ISP username and password.
--------------------------------------------------------------------------------login: devshed
Password: ********
Last login: Wed Aug 12 09:49:14 from 195.103.124.222
Copyright 1992, 1993, 1994, 1995, 1996 Berkeley Software Design, Inc.
Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994
The Regents of the University of California. All rights reserved.
BSDI BSD/OS 2.1 Kernel #12: Mon Feb 23 13:46:27 EST 1998
You have new mail.
www24:mywww/devshed#
2. Connect to MySQL. This involves the insertion of the username and password given specifically for MySQL use. This information has probably been provided to you at your request to the ISP provider.
--------------------------------------------------------------------------------www24:mywww/devshed# mysql -u devshed -p--------------------------------------------------------------------------------
Syntax: mysql -h hostname -u username -p[password]
Or
mysql -h hostname -u username --password=password
The user will then be prompted for a password, as prompted by -p.
--------------------------------------------------------------------------------Enter password: *******--------------------------------------------------------------------------------
Assuming MySQL has been correctly installed and configured, the user will see output similiar to the following:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 49 to server version: 3.21.23-beta-log
Type 'help' for help.
mysql>
(Note: If an error message pertaining to "Access denied" is the result of connection attempts, you should consult the MySQL documentation included with the software, the MySQL mailing list found at http://www.mysql.com, as well as your ISP provider. These resources will aid greatly in resolving these problems.)
Once connected to the database, we are free to execute the various commands of the MySQL language. However before we are able to modify the database, we must first connect to it, via the command:
--------------------------------------------------------------------------------mysql> use devshed;
Result:
--------------------------------------------------------------------------------Database changed
Mysql>
You now are connected to the database. Note that the command was followed by a semi-colon (;). Almost all commands in MySQL are followed by a semi-colon.
At the disposition are a number of administrative commands. These commands can be viewed simply by typing help, \h or ? at the command line:
--------------------------------------------------------------------------------mysql> help
help (\h) Display this text
? (\h) Synonym for `help'
clear (\c) Clear command
connect (\r) Reconnect to the server. Optional arguments are db and host
edit (\e) Edit command with $EDITOR
exit (\) Exit mysql. Same as quit
go (\g) Send command to mysql server
print (\p) print current command
quit (\q) Quit mysql
rehash (\#) Rebuild completion hash
status (\s) Get status information from the server
use (\u) Use another database. Takes database name as argument
Connection id: 49 (Can be used with mysqladmin kill)
mysql>Let's make this simple:
a) Your book seems to assume you're doing development remotely.
b) You are not doing development remotely.
c) Therefore, you shouldn't follow every step listed in your book (i.e. ignore the stuff about Telnet).
Assuming you installed mySQL in the standard location, you can use this batch file to start mySQL on your machine:
@echo on
cd c:\mysql\bin
mysqld
@echo off
cls
Use this batch file to shut down mySQL:
@echo on
cd c:\mysql\bin
mysqladmin shutdown
@echo off
cls
You can play around without a login or password in development. For a production environment, you're going to need to set up users and grant permissions.
Spend some time reading the mySQL documentation. -
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 -
Problem in Receiver side File Adapter using FTPS mode
Hello,
Here I am facing some problem in receiver side while using FTPS mode in the channel configuration.
The error message which i could see in the audit log is,
Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Error when getting an FTP connection from connection pool: com.sap.aii.af.service.util.concurrent.ResourcePoolException: Unable to create new pooled resource: java.lang.NullPointerException
Can anyone help me out in solving this issue ASAP?
I am using Per file transfer mode ni the reciever channel.
Thanks in advance,
Yours
SooryaHI Surya,
First check wether server started or not and then check you are connecting to FTP server by
go to run -> cmd and write ping and ipaddress which is used and see whether u r getting reponse from teh FTP server.
Try to login to the ftp server which you have mentioned in CC using the user name and pwd, to chk whether you have the permissions to login to the server.
Also the check whether the folder you are trying to access is having permission for delete/read/write.
Restart the FTP server and try it again.
Regards
Sridhar Goli -
Specify Keys in Data Type for receiver JDBC adapter
Hi guys,
I have the following issue:
In a proxy to JDBC scenario, I want to specify somehow the key values for the SQL statement in the data type that I define for the receiver JDBC adapter. Thus, I am using the following structure in data type:
root
Statement
dbTable
action
table
access
CustomerID
Name
HouseNo
Key
CustomerID
But in the SQL statement that is produced (I can see that in RWB, CC Monitoring, Audit Log), the "Key" segment is translated into "OR". E.g. UPDATE_INSERT ("A100" "Evaggelos Gkatzios" "El Alamein 19") OR ("A100")
Do you have any ideas ?Hi,
Its clear from the statement in RWB (in CC monitoring's auditlog) you are using UPDATE_INSERT as the action.
Please correct me if this is OK. Now the interpretation of input xml file will be like this,
If the input XML is in the following format
<root>
<Statement>
<dbTable action=UPDATE_INSERT>
<table>EXAMPLE</table>
<access>
<CustomerID>ABC</CustomerID>
<Name>xyz</Name>
<HouseNo>123</HouseNo>
</access>
<key>
<CustomerID>DEF</CustomerID>
</key>
</dbTable>
</Statement>
</root>
Resultant SQL after parsing the XML file will be,
1. It will first check with the condition WHERE CustomerID = DEF. If it finds the record with this condition then it will update the record with CustomerID=ABC, Name =xyz & HouseNo=123.
2. If it doesn't find any record with that CustomerID then, it will insert a new record with the same details.
In auditlog, you will find two SQL statements like,
1.UPDATE EXAMPLE SET CustomerID=ABC, Name =xyz & HouseNo=123 WHERE CustomerId=DEF
2.INSERT INTO EXAMPLE VALUES(ABC,xyz,123)
hope this has given clear information about your query,
Regards,
Soorya
Maybe you are looking for
-
Issue with Oracle Application Adapter (11g) for SAP
Hi, I need to call a WSDL file that is generated through Oracle Application Adapter Application Explorer from a BPEL Composite in SOA 11g. The wsdl files are stored under the path $SOA_HOME/soa/thirdparty/ApplicationAdapters/wsdls by default. I'm not
-
Hi All, Experience BSOD's throughout the business day on an Windows 2008 R2 SP1 x64 terminal server (hosted on an hyper-v 2008 host) but not outside of business hours (thinking its an application / driver issue). Other virtual machines on this host a
-
Hello, 70% of my notes are missing. I've just unlocked my phone, and they're gone. I've done nothing new in any of my Apple devices (ipad, iphone or macbook). Do you know if it is possible to restore the old notes? I had them backed up to iCloud, but
-
CS5.5 component upgrade problems
I installed Master Suite CS5.5 a couple of weeks ago, and all programs I opened worked fine. The one thing I used immediately was Acrobat X Pro to edit .pdf forms and save them. Thnking it would be a good thing, In Acrobat X Pro, I used the "Check
-
Re-use theme 15 tabs and breadcrumbs
Hi, I am trying to create a custom theme (based on the modern theme #4) in APEX 4.0.2. I want to replace its tabs and breadcrumb region with the ones in the traditional theme #15. Does anyone know how to re-write the following table-based stuff into