on 08-16-2016 11:02 AM
Dear Experts,
Scenario is Proxy to JDBC synchronous scenario, where I need to SELECT records based on some "KEY" field value search criteria & obtain response back in to PI.
Present Structure below for receiver JDBC adapter:
Statement
TableName
action
table
access (0 to unbounded)
FLD1
FLD2
KEY (0 to unbounded)
FLD1
compareOperation(attribute)
FLD2
compareOperation(attribute)
For instance If we have 3 records sent from source then output is getting generated as below
RESULT/OUTPUT:
Statement
TableName
action
table
access1
access2
access3
KEY1
KEY2
KEY3
As per structure specified in help.sap "access" node & "KEY" nodes were maintained at same level
Link:http://help.sap.com/saphelp_srm40/helpdata/en/2e/96fd3f2d14e869e10000000a155106/content.html
But during generation of SELECT statement for multiple records as specified above under RESULT/OUTPUT , I hope there will not be differentiation of which "KEY" field node belongs to which "access" node. Hence If "KEY" field node is made as sub node to "access" node will this work ? result output will be in below format
Statement
TableName
action
table
access1
KEY1
access2
KEY2
access3
KEY3
Can you please let me know whether above SELECT format works correctly for receiver JDBC SELECT query OR how should I change my structure. Do I need to change the structure in such way like, for each record one "Statement" node need to be generated ELSE one Statement with multiple "access" nodes & "KEY" node as sub node to it will work.
Kindly provide your inputs.
Regards,
Vivek.
Hello Vivek,
If you had an example, that would be easier to explain and validate.
Regards
Bhavesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bhavesh,
Thanks for your reply. Its a same SELECT query for all records. Hence can I consider that 3 different Statement records need to be created separately or one Statement node with multiple "access" nodes (& Key field node as sub node to each access node) under it will work ?
Regards,
Vivek.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
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.