on 10-15-2014 11:10 AM
Hello Gurus,
I have a requirement to design an interface which involves JDBC adapter as a receiver.
Scenario:
SAP would send a request message with EmployeeID field.
PI would perform the select query on three tables (each table has more than a million records) based on EmployeeID field and send the output of select query back to SAP as response.
Can you please let me know how it can be implemented in PI?
Can a join query be formed in PI message mapping step?
If So could you please provide the step by step procedure ?
Hi Sahithi,
Simplest solution would be to implement a stored procedure and call the same from PI mapping which does the all query logic.
Thanks
Chirag
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can create three individual select on tables and get the desire values from all three tables and do necessary transformation in PI.
check below select statement -
Defining a SELECT Statement - Advanced Adapter Engine - SAP Library
thanks
chirag
Hi Chirag,
Thanks for your reply!
I am able to retriev the data from multipletables using "SELECT" statement at receiver side. My scenario is synchronus.Could you please expain how can we send the response data to SAP.
Also is it possible to do it dynamically.Incase if i have 10 to 15 table then how could we acheive this ?
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.