on 11-25-2009 5:25 PM
I am trying import the view structure from DB2 database. I am able to import the table structure as external definition. But while trying to import the view structure present in same database schema, I get table not found error.
Is there any extra setting need to be done for importing the view structure or we can import only Table structure and not view as external definition in SAP PI 7.1?
Thanks,
Sandeep
Hi Sandeep,
In Database views are created with a Query and there no physical existence of it.. But database tables are not like that they have a physical existense.. Hence Views cannot be imported as a External Definition.. Try to create a table which will do the functionality of a view and then import that
Regards
Suraj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
These are the steps-
1. Create the table with same name as of view (view should not be present at the time of creating the table; otherwise it will not allow you to create the table. Field data type and length should be same and the sequence of fields (columns name) should be same as of your view to be.)
2. Import the table structure as a external definition
3. After import, drop the table from database
4. Create the view
Use the imported External definition for JDBC lookup and it will work fine.
Maybe in next coming releases PI can have the view import functionality added.
Thanks
Sandeep Rane
Hi,
I dont think its possible to import view structure,it supports only table structure.
Regards,
Raj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
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.