Creating VIEW for Genric DS
Hi guys, I just created a View using VBRP table in R# for (Billing item) documents.I selected 9 fields from this table in an extract structure. Now i am trying to create DS using RSO2, when i chose view and try to enter the name of database View name , it does not recognize it.It says invalid extract structure templete for DS. whats this message? should i create master data DS or transactional DS?
I am trying to perform a simple loading process to the cube in bw. Could anyone suggest me what are my next steps. AFter replicating DS , how should i go about creating cube, i want to create a customize cube.Whats the best way to create all infoobjects( fields in the extract structure) in the cube?
I am trying to simply extract some data ( no specific requirement) from R3 table for SD component, and load it to the new Cube, and use BEx for reporting.Again, all these are for self practicing purpose.
I am really confused , i have been reading lot of theoritical part, but when i try to see how it really works , i never have completed full load or extraction process.
I would appreciate it if anyone could guide me here, I am using BI7. What table should i chose for this ,it could be from any Component, SD,MM etc. Whats the best way to proceed?
I know all basic stuffs ..like..if using generic DS, create view, create DS using RSO2 and replicate to bw etc.
i would really apprciate it if any one walk me thru or suggest me what should i try first. i ll assign points also.thanks
dk
Hi,
A few more pointers
Creating generic datasource
Error when creating generic datasrc
Errors in Generic Datasource
Generic Data Source Creation Problem....URGENT!!!!!!!!!!!!!
Reg GENERIC DATASOURCE
Generic DataSource Problem
Generic extraction
Hope this helps.
Thanks,
JituK
Similar Messages
-
How to create view for xmltype table in oracle
hi:
Can some one help me how to create view for xmltype table in oracle?
XMLType do not have column
SemThank you !!
I read it and become very hard to implement what I want to do.
Can you give me example please?
My main goal to create view for xmltype table is to XQuery the XML data?
Do you have any other suggestion?
Please help
Ali_2 -
To create View for the following req
Hi Gurus
Table view is to be generated for tables ZFUNCTION, ZPFUNCTION, and ZLOCATION.
Assignment of T Code to this table so that SSC team can update as and when there is change in business requirement.
Pls suggest me to create view for the above req and to assigning T code for the same.
Regards
SureshI seem to recall (don't have the docs handy) that there is a higher level
PDDest object and a PDAction object - you might want to look at using those
higher level objects (created via PDXXXFromCosObj) if you are having trouble
working with Cos.
Leonard -
Creating View for a table with parent child relation in table
I need help creating a view. It is on a base table which is a metadata table.It is usinf parent child relationship. There are four types of objects, Job, Workflow, Dataflow and ABAP dataflow. Job would be the root parent everytime. I have saved all the jobs
of the project in another table TABLE_JOB with column name JOB_NAME. Query should iteratively start from the job and search all the child nodes and then display all child with the job name. Attached are the images of base table data and expected view data
and also the excel sheet with data.Picture 1 is the sample data in base table. Picture 2 is data in the view.
Base Table
PARENT_OBJ
PAREBT_OBJ_TYPE
DESCEN_OBJ
DESCEN_OBJ_TYPE
JOB_A
JOB
WF_1
WORKFLOW
JOB_A
JOB
DF_1
DATAFLOW
WF_1
WORKFLOW
DF_2
DATAFLOW
DF_1
DATAFLOW
ADF_1
ADF
JOB_B
JOB
WF_2
WORKFLOW
JOB_B
JOB
WF_3
WORKFLOW
WF_2
WORKFLOW
DF_3
DATAFLOW
WF_3
WORKFLOW
DF_4
DATAFLOW
DF_4
DATAFLOW
ADF_2
ADF
View
Job_Name
Flow_Name
Flow_Type
Job_A
WF_1
WORKFLOW
Job_A
DF_1
DATAFLOW
Job_A
DF_2
DATAFLOW
Job_A
ADF_1
ADF
Job_B
WF_2
WORKFLOW
Job_B
WF_3
WORKFLOW
Job_B
DF_3
DATAFLOW
Job_B
DF_4
DATAFLOW
Job_B
ADF_2
ADF
I implemented the same in oracle using CONNECT_BY_ROOT and START WITH.
Regards,
MeghaI think what you need is recursive CTE
Consider your table below
create table basetable
(PARENT_OBJ varchar(10),
PAREBT_OBJ_TYPE varchar(10),
DESCEN_OBJ varchar(10),DESCEN_OBJ_TYPE varchar(10))
INSERT basetable(PARENT_OBJ,PAREBT_OBJ_TYPE,DESCEN_OBJ,DESCEN_OBJ_TYPE)
VALUES('JOB_A','JOB','WF_1','WORKFLOW'),
('JOB_A','JOB','DF_1','DATAFLOW'),
('WF_1','WORKFLOW','DF_2','DATAFLOW'),
('DF_1','DATAFLOW','ADF_1','ADF'),
('JOB_B','JOB','WF_2','WORKFLOW'),
('JOB_B','JOB','WF_3','WORKFLOW'),
('WF_2','WORKFLOW','DF_3','DATAFLOW'),
('WF_3','WORKFLOW','DF_4','DATAFLOW'),
('DF_4','DATAFLOW','ADF_2','ADF')
ie first create a UDF like below to get hierarchy recursively
CREATE FUNCTION GetHierarchy
@Object varchar(10)
RETURNS @RESULTS table
PARENT_OBJ varchar(10),
DESCEN_OBJ varchar(10),
DESCEN_OBJ_TYPE varchar(10)
AS
BEGIN
;With CTE
AS
SELECT PARENT_OBJ,DESCEN_OBJ,DESCEN_OBJ_TYPE
FROM basetable
WHERE PARENT_OBJ = @Object
UNION ALL
SELECT b.PARENT_OBJ,b.DESCEN_OBJ,b.DESCEN_OBJ_TYPE
FROM CTE c
JOIN basetable b
ON b.PARENT_OBJ = c.DESCEN_OBJ
INSERT @RESULTS
SELECT @Object,DESCEN_OBJ,DESCEN_OBJ_TYPE
FROM CTE
OPTION (MAXRECURSION 0)
RETURN
END
Then you can invoke it as below
SELECT * FROM dbo.GetHierarchy('JOB_A')
Now you need to use this for every parent obj (start obj) in view
for that create view as below
CREATE VIEW vw_Table
AS
SELECT f.*
FROM (SELECT DISTINCT PARENT_OBJ FROM basetable r
WHERE NOT EXISTS (SELECT 1
FROM basetable WHERE DESCEN_OBJ = r.PARENT_OBJ)
)b
CROSS APPLY dbo.GetHierarchy(b.PARENT_OBJ) f
GO
This will make sure it will give full hieraracy for each start object
Now just call view as below and see the output
SELECT * FROM vw_table
Output
PARENT_OBJ DESCEN_OBJ DESCEN_OBJ_TYPE
JOB_A WF_1 WORKFLOW
JOB_A DF_1 DATAFLOW
JOB_A ADF_1 ADF
JOB_A DF_2 DATAFLOW
JOB_B WF_2 WORKFLOW
JOB_B WF_3 WORKFLOW
JOB_B DF_4 DATAFLOW
JOB_B ADF_2 ADF
JOB_B DF_3 DATAFLOW
Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs -
Creating View for an extractor with reference field
Hi All,
Here is my requirement.
I need to create a DB view for an extractor. I need to join 3 tables : AUFK,AFIK & AFKO.
Table Join Conditions:
AUFK MANDT = AFIH MANDT
AUFK MANDT = AFKO MANDT
AUFK AUFNR = AFIH AUFNR
AUFK AUFNR = AFKO AUFNR
This AUFK table has a Z field ZZACCOMPLISH(QUAN field) and it it referning to MARA-MEINS.
I created view successfully with all fileds including ZZACCOMPLISH.
But when i give the view name in RSO2, i am getting an error message that 'ZZACCOMPLISH' is refering to some other table.
In this case i don't know how to include MEINS in ths view and There is no link between table AUFK and MARA.
Please guide me on this.
Regards,
AshokCould you please share how this was resolved?
I currently have the same requirement/issue.
Many Thanks, -
Creating views for users by entering a field
Hi I want to create a veiw for a new user.
I want the user to view details for a member after he has entered a Membership No
create view member_details
(&memberno, name, address)as
select memberno, name, address
from member
where memberno = &memberno;
when i use this command it asks me for a memberno, I enter one so when the user logs in and
select * from reilly.member_details;
all he gets is the info for the memberno I have entered
how do I fix this so the user is the one entering the membernoIf your admin staff need to access details for any member, can't they just query a view of all members and specify a memberno then?
View (presumably more complex than this in reality) would be
create view member_details
(memberno, name, address) as
select memberno, name, address
from members;Admin user query would be:
select * from member_details
where memberno = &memberno;Is SQL*Plus really the interface you provide your admin users with? -
Creating view for DataSource from table containing Structures.
Hello All,
I need to make a datasource for HR PY master data from a table PA9004(its special for a HR infotype) which needs some fields like PFOBEE(PF-Opening Balance-Ee).
Field(PFOBEE) is part of a structure(PS0008) which is included in the table PA9004.I tried where-used list for this structure in programs,FuncModules,Tables but got no result of any transparent table.
To form my Datasource I tried creating the Database view, which had inconsistencies. I tried using the table PA9004, which said "This operation failed, because the template structure quantity fields or currency fields, for example, field PFOBEE refer to a different table."
Also Projection view cant be used for generic datasources.
Even Create Infostructure(MC21) does not work for HR: PY-IO.
All suggestions welcome.Mail me at [email protected]Hello All,
I solved this problem by forming my generic datasource(TCode RSO2) on a Infoset which had the table pa9004. There were some warnings regarding the use of the development class, but finally I had the datasource ready.
I checked the datasource is working using the RSA3 TCode and the DS is perfectly extracting the data. I replicated this DS in BW server and it appears exactly where I wanted.
Some colleages had suggested writing a functional module to extract the data, which must be right but I have not tried this option yet.
Experts may please review my solution and offer tips. I am willing to offer points to anyone offering a more elegant solution. -
Create view for Global Temporary Table
if view is create for global temporary table so exactly how it works which helps regarding application performance.
Regaards,
Sambit RayA view is just a stored query. It can be on global temporary tables or regular one, makes no difference.
-
Creating view for exchange alerts only
how do I give access to another group to view or modify alerts for the exchange servers alerts? Should this be done on the web view or the scom console?
Rather than building another view, just create a new operator role (Exchange Ops - or whatever name you want to call it), scope it to the Exchange Views, and add their security group to that role. Now they can log in to the console and they will be
presented with ALL the alerts contained within the Exchange View. If you have multiple versions of Exchange, scope them to all of them.
Now, if these Exchange ops people want to see ALL alerts on an Exchange server, then you would have to author a custom MP containing an instance group of windows.server/computer classes, create a view which would display all alerts for that instance group,
then scope them to that particular custom view which would reside in your newly created custom MP.
Otherwise, if they just want Exchange related items, then scope them to the views and don't bother creating more. That's my take on the situation, but the other suggestions work as well. Just depends on what they want to see and how much work
you want to make for yourself. Explain to them, that if they are scoped to a specific MP view (Windows, IIS, etc) then they are going to mostly see alerts pertaining to those applications. If you are monitoring hardware or clusters, and there are
issues with hardware or clusters, then they may not see it in the Exchange alert view because of how the targeting is set up and presented.
Regards, Blake Email: mengotto<at>hotmail.com Blog: http://discussitnow.wordpress.com/ If my response was helpful, please mark it as so, if it answered your question, then please also mark it accordingly. Thank you. -
Create view for Material using BAPI_MATERIAL_SAVEDATA
Hello. I need create Accounting View(1&2) and Costing View(1&2) using FM BAPI_MATERIAL_SAVEDATA, but i don't now who importing values are required for this...
please HELP!!!!Hi,
Check this link.
http://sap-img.com/abap/bapi-to-copy-materials-from-one-plant-to-another.htm
Thanks,
Anitha -
Hello,
I need to create a workbook which has the same row and key figures but each tab should have different countries.
a. Should I create three different queries restricting each query to the country I need to display
or
b. Can I create different views out of the same query?
- If so, how can I create query views and insert them into my workbook.
Taking performance into consideration, which method is the best.
All feedback is appreciated with points:)
Thanks for your help.
Please send your commentscreating three different queries is a better option.
View is a navigational state of the query and when you do not need all the data, it makes no sense to get all the data from the infoprovider and then restrict it. -
How to create index for a column of a view
Hi,
I have created view for a table and then i am trying to create index for a column of that view. i am using the query "CREATE INDEX index_name ON view_name (col)". but Mysql is showing error like "view_name is not a base table".
How can i do that......As mentioned this is a java forum not a mysql forum, but as I know the answer - you can't create an index directly on a view in mysql.
-
How to create views in OBIEE?
Hi everyone,
I'm new to OBIEE. My requirement is i need to apply different filters to each columns in a report. But if i apply any filter it is applying to all the columns.
For example, My report column is something like
StudentsPassed || StudentsFailed || StudentsTrasnfered
So i need to look up on a status column and need to show only a particular result based on the status column. But if i select for status=StudentsPassed then in all three column im getting only students passed.
So what i did is i created individual views for each column. i.e View1 will hold the list Students Passed view2 will hold only list of Students Failed. But now i need to generate many reports of same type. So i don't think it is a best idea to create views for each columns in a report in the database level.
Is there any method to do this?
Is there any method to store only Students Passsed list in a logical column in the Administration level?
Please provide some help.
Thanks in advance,
karthickWhat are you trying to get?
This is normal error, you must use measure in FILTER (USING), you are using maybe foreign key in count distinct or some other columns that is not a measure.
1. If you like to use FILTER (USING) go to RPD, BMM and make new measure, etc MEASURE2=count(distinct student_id), etc.
Then applied this MEASURE2 in FILTER(MEASURE2 USING (VEE_TOTAL.STATUS = 3.00)
or
2. Use views as I explained before
Regards
Goran
http://108obiee.blogspot.com -
How to create view in oracle?
Hi sir,
i have a view created in sql server that i converted in sql developer through translation scratch editor.
but when i am executing this it's not getting executed showing error insufficient privilege.
here is my view below.
CREATE OR REPLACE VIEW vwEmpMain
AS
SELECT Employee.Emp_ID ,
Employee.Emp_FirstName || ' ' || Employee.Emp_LastName Emp_Name ,
Comp_Master.Comp_Name ,
Dept_Master.Dept_Name ,
Desig_Master.Desig_Name ,
Category_Master.Cat_Name ,
Dept_Master.Dept_Desc ,
Category_Master.Cat_Desc ,
Desig_Master.Desig_Desc ,
Comp_Master.Parent_ID HiredBy ,
Employee.Card_ID ,
Employee.Comp_ID ,
Employee.Dept_Code ,
Employee.Cat_Code ,
Employee.Desig_Code ,
Employee.ADDRESS ,
Employee.Phone ,
Comp_Master.STATUS Comp_Status ,
Employee.DOJ Date_Of_Join
FROM Comp_Master
RIGHT JOIN Employee
ON Comp_Master.Comp_ID = Employee.Comp_ID
LEFT JOIN Desig_Master
ON Employee.Desig_Code = Desig_Master.Desig_Code
LEFT JOIN Dept_Master
ON Employee.Dept_Code = Dept_Master.Dept_Code
LEFT JOIN Category_Master
ON Employee.Cat_Code = Category_Master.Cat_Code;
could you check that.
thanksWhenever you post provide your 4 digit Oracle version (result of SELECT * FROM V$VERSION).
>
when i am executing this it's not getting executed showing error insufficient privilege.
>
Always provide the exact error code and message for questions like this.
That error means the user does not have the CREATE VIEW or CREATE ANY VIEW privilege.
The solution is to grant the user CREATE VIEW, for creating views in their own schema, or CREATE ANY VIEW to create views on objects in other schemas.
As SYS 'REVOKE CREATE VIEW FROM SCOTT'. Then as SCOTT
>
create or replace view a_view as select * from emp;
ORA-01031: insufficient privileges
>
It is a different error when the user does not have SELECT privilege on the underlying table or view
As SYS 'GRANT CREATE VIEW TO SCOTT'. Then as SCOTT
>
create or replace view a_view as select * from hr.employees
ORA-00942: table or view does not exist
>
Same if the object does not exist
>
create or replace view a_view as select * from no_such_table
ORA-00942: table or view does not exist
>
But if the table does exist
>
create or replace view a_view as select * from emp; -
Create datasource for processing group text
Hi All,
I want to create a datasource in R/3 to pull the text for Processing group in BW. Currently only codes are pulled in BW for processing group. It would be great help if somebody can provide me details regarding the same. A step by step solution will be of gr8 help.
ThanksHI
In R/3 execute the TCODE RSO2
Then create a text data source.(ZZ...)
Then assign the table from which you need to get the data, or create view for the required fields in SE11 first and then assign the VIew in RSO2 in the field View/tables,
Then Save and generate Data source.
Then come to BW select the application component under which you created the data source.
Replicate the data source.
Then assign info source.
Extract the data.
Regards
RaM
Maybe you are looking for
-
Performance Issue ---Need help
Hello Friends, Could you guys please help me in improving the performance. This query takes 2 minutes to run and I was wondering if you guys can just take a look and suggest something. I would really appreciate your help on this ALTER PROCEDURE [dbo]
-
Can't find my overdrive audiobook on my ipad
Hello, I'm looking for some help with a library audiobook from the Harris County Public Library. I have an original ipad running the latest OS. The book is WMA format, and I have it checked out until 1/27/12. Here is what I have done so far: The m
-
Search Help Parameter Default - Problems with VKO and VTW in Sales Order
Hello, we've implementend an own serchhelp for the material-search. The fields VKORG and VTWEG have the default VKO and VTW. If I open this searchhelp in VA03 those values are not filled, if I open it in MM03 or ME23N those values are filled. My user
-
I have matched my music library but iTunes still takes up a major portion of my hard drive
i have matched my itunes library but itunes still is taking up a big chunk of my hard drive. i want to get rid of it but want access to my cloud library of course. am afraid to just delete the library as it exists now. simply put i just want to cle
-
Hi Guru's Can we find storage bin while doing delivery, If we have Warehouse Configured in our system Thanks and Regards Srinivas Kapuganti