on 02-13-2015 4:01 AM
Hi Experts,
I am using PI 7.4. I am trying to pick data from Oracle 11g database. I am able to update the data in the table using JDBC. But I am unable to pick it. Below are the screenshot of the issues faced. Please help.
I have tried using this select query on the database. Its fine. I have also checked the sender structure, it matches with the database structure. Not sure why the data is not getting picked, as suggested by first screenshot.
Regards,
Nishant
Hi Nishant,
As u said, the query is working fine and there is data in table.The only problem is in mapping,as there is no value coming in CO_NO.
you can run inbound payload from moni, and see if you can understand anything more from it, you can paste it here.
Check if correct JDBC driver is installed, and if you have made contents below "row" in data type, exactly as table contents in database, check case sensetivity.
you can also try and put parameters in sender communication channel, and see if they work-
1. poll interval.
2. change the occurence of fields 0-unbounded to allow to select multiple data structure from database.( in ESR)
3.in advanced tab of communication channel, check on advanced mode, and set message limit to true, and put maxMsgSize and maxRowSize limit in Kb.
Also msgLimitErrorInterval time in seconds( it is amount of time adapter will wait before next poll, in case of error situation).
Thanks,
Varsha.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Nishant,
As I see in your picture, it´s seem that is a mapping problem. If you want to know the real data that your query is getting and what´s wrong in the mapping you can configurate logging paylod in After Mapping step in your ICO.
To check the real mapping, you need the real payload so, you can extract it but you have to change ICO configuration and Store `payload in After Mapping Step, Staging section. Activate changes and open the channel.
To extract the payload you have to go to host:por/pimon and get the payload in Message Monitor for Adapter Engine.
After you get the payload, just coy & paste the payload and test the mapping.
Regards,
Alberto
Hi Nishant,
Try to Get the payload from the sender JDBC communication channel in communication channel monitoring and verify whether you are getting the value to the CO_NO field.
Regards,
Raju.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nishanth,
from above first screen shot is saying mapping error. Please try to use mapwithdefault function.
check the values are going according to context. If the value is not there then it passes empty string.
As Naveen kumar told it is mapping error only.
Go to message monitor check the messages according to you DB Configuration.
Regards,
Suhale Shaik.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Did you SQL query execute succesffully ?/
Did you see and records being fetched from DB ?
If not please check with DB whether are thier any records in Talbes matching your SQl query condition or not .
Or esle you may pass the same SQl query to DB side and tell them to execute and cross check the result.
It would be good if you put a screenshot of inbound and outbound message from MONI.
Br,
Manoj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nishant,
If i understood the issue correctly you have fetched the data from DB and updated in DB successfully. But when it is being processed by SAP PI it is failing in the mapping as the field COMPANYID is not fulfilling the condetion.
Thanks and Regards,
Naveen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.