on 07-11-2016 9:28 AM
Hi,
I want to get data from one database (using select query) and same i want to insert into another DB(using SP).
In mapping level not required any validation, so planning to go for pass through scenario
Is this possible achieving through pass through scenario?
As there is an option to call SP at message mapping only with out mapping how can i call SP.
Kindly suggest
Sounds like a very strange scenario for PI.
Is it master data that you try to copy?
if it is something at the database level and not business level and just db replication is needed , I would use mechanism like SQL Server TDS and similar.Not SAP PI.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
then what exactly you mean by PASS THROUGH.
Do you mean to say the number of columns are same in both DBs and have the same name? so the data should be selected and updated in receiver DB?
If above is true then you can create 1 to 1 mapping with stored procedure call in the mapping. the data will remain the same and will be pushed as it is.
to avoid XML validations at runtime just do not select the SWCV in Inbound Processing
Regards,
Vikas
Pavan,
AFAIK you can't make it a pass through scenario because when you are dealing with DB through PI at receiver side a particular XML-SQL format has to be built which is different for normal SQL queries(like instert,update,select etc etc..) and for SP it is different so you need to create the structure in ESR .
Br,
Manoj
Hi Pavan,
If you want to Integrate the data from one database to other database with out any validations or message transformations as just pass-through, Middle-ware is not required.
The best possible solution will be "DBLINK".
DB link is traditional Point-to-Point integration approach.There is no need for data transformation from binary to text and back and there is no need for data validation.Security implementation is simplified.
you can discuss with your Database development team for enabling the DBLINK and the security options.
1) DB Link integration or ESB based – Sysco Middleware Blog
Thank you!
Regards
Hanu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
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.