AWM Create Relational View for BIEE
Hi Sir/Madam,
I am having trouble trying to create my relation view in the analytical workspace manager. Every time I try and create it, it gives me all this error. The error is as follow;
####ERROR LOG#####
APR-24-2008 03:49:33: **
APR-24-2008 03:49:33: ** ERROR: Unable to create view over cube R_UT_CUBE6428.
APR-24-2008 03:49:33: User-Defined Exception
Regrads,
cbeins
so how we can do with that?You tell us :)
1- Do you want to extract each performance element into separate rows (through a third XMLTable)?
2- Do you want to keep only one of them?
3- Other?
For 1 :
contactPerson3 VARCHAR2(20) PATH 'assignedOrganization/contactParty/contactPerson/name',
performance XMLTYPE PATH 'performance'
) detail
, XMLTable(
XMLNamespaces(default 'urn:hl7-org:v3'),
'/performance'
PASSING detail.performance
COLUMNS
code3 VARCHAR2(10) PATH 'actDefinition/code/@code',
codeSystem VARCHAR2(30) PATH 'actDefinition/code/@codeSystem',
displayName VARCHAR2(20) PATH 'actDefinition/code/@displayName'
) perf
...For 2 :
contactPerson3 VARCHAR2(20) PATH 'assignedOrganization/contactParty/contactPerson/name',
code3 VARCHAR2(10) PATH 'performance[1]/actDefinition/code/@code',
codeSystem VARCHAR2(30) PATH 'performance[1]/actDefinition/code/@codeSystem',
displayName VARCHAR2(20) PATH 'performance[1]/actDefinition/code/@displayName'
) detail
...
Similar Messages
-
Creating relational view for an ODBC result set?
Hello,
I'm trying to create a view for the data available from the Siebel Analytics server (SAS) query's result set by executing pass through sql. SAS reads from files and multiple other databases to provide the result set.
The query sent to pass has its own properitary syntax and is not SQL.
ie, I'm trying to achieve something like this :
create view analytics_wrapper_view as
select * from
<
dbms_hs_passthrough('my custom sql understood by SAS')
dbms_hs_passthrough.fetch_rows
>
Cant use a function selecting from dual as there could be several rows returned from this operation. If I retain it as a view, I can avoid data duplication. If this is not possible, a table approach could be considered.
Any thoughts or inputs on this would be highly appreciated.On your server..
- On the FCS server go to OSX Workgroup Manager.
- Create a group and name it something cool
- save and exit
Final Cut Server Client...
(Logged in as admin)
- select Administration in the client.
- Go to Group Permissions
- click Create New Group and then select cool new group name
and select BROWSER from the PERMISSION SET list
- save and go back to OSX
Back in OSX Workgroup Manager...
- create users and assign them to your cool group
DONE! -
Hi Everyone,
I am currently trying to create a relational view in the awm to use in the administration tool in BIEE. However, everytime i click on the plug in- create relational view all my dimension is greyed out except measures. and when i click on the create view button i get the following error,
MAY-01-2008 10:25:09: ** ERROR: Unable to create view over cube FINSTMNT_REP_CUBE6428.
MAY-01-2008 10:25:09: User-Defined Exception
has anyone encounted this problem please let me know when you can
regard
cbeinsHi Everyone,
I am currently trying to create a relational view in the awm to use in the administration tool in BIEE. However, everytime i click on the plug in- create relational view all my dimension is greyed out except measures. and when i click on the create view button i get the following error,
MAY-01-2008 10:25:09: ** ERROR: Unable to create view over cube FINSTMNT_REP_CUBE6428.
MAY-01-2008 10:25:09: User-Defined Exception
has anyone encounted this problem please let me know when you can
regard
cbeins -
[ADF Help] How to create a view for multiple tables
Hi,
I am using Jdeveloper 11G and ADF framework, and trying to create a view to update multiple tables.
ex:
Table A has these fields: ID, Name
Table B has these fields: ID, Address
A.ID and B.ID are primary keys.
B.ID has FK relationship with A.ID
(basically, these tables have one-to-one relation)
I want to create a view object, which contains these fields: B.ID (or A.ID), A.Name, B.Address.
So I can execute C,R,U,D for both tables.
I create these tables in DB, and create entity objects for these tables.
So there are 2 entity objects and 1 association.
Then I create a view object based on B and add fields of A into the view:
If the association is not a "Composition Association",
when I run the model ("Oracle Business Component Browser") and try to insert new data, fields of A can't edit.
If the association is a "Composition Association", and click the insert button, I will get
"oracle.jbo.InvalidOwnerException: JBO-25030: Failed to find or invalidate owning entity"
If I create a view object based on A and add filed of B into the view:
When I run the model and try to insert new data, fields of B can't edit, no matter the association is or is not a composition association.
So... how can I create a view for multiple tables correctly?
Thanks for any advices!
Here are some pictures about my problem, if there is any unclear point, please let me know.
http://leonjava.blogspot.com/2009_10_01_archive.html
(A is Prod, B is CpuSocket)
Edited by: user8093176 on Oct 25, 2009 12:29 AMHi Branislav,
Thanks, but the result is same ....
In the step 2 of creating view object, I can select entity objects to be added in to the view.
If I select A first, and then select B (the "Source Usage" of B is A), then finishing the wizards.
When I try to create a new record in the view, I can't edit any properties of B (those files are disabled).
If I select B first, and then select A in crating view object, the result is similar ...
Thanks for any further suggestion.
Leon -
Do I need to create a view for this?
Hi Ihave got 2 tables emp and project
In emp tabe:
emp_no
family name
given name
In porgect table:
emp_no
status(assigned,unassigned)
start_date
end_date
emp_no Family_name given_name
1 Smith John
In project table same employee can have many assigement eg
emp_no status start_date end_date
1 assigned 01-may-08 01-july-08
1 assigned 01-sep-08 01-july-09
1 unassigned 01-july-09 01-oct-09
In the form:
there are 2 querable fields "project ends between field1(date) and field2(date)" which is used to
retrive records which have end date between field1 and field2.
The following fields are needed to get from database:
emp.family_name emp.given_name project.start_date project.end_date No.of time assigned
Requirements:
1. project.start_date and project.end_date must be the latest project_end_date for the same emp
so in the above sample date
2. No. of time assigned is a count of total of number records which have status='assign'
So for the given sample data the record expected after query would be(field1=01-jun-08 field2=02-july-09)
emp.family_name emp.given_name project.start_date project.end_date No.of time assigned
Smith John 01-sep-08 01-july-09 2
What is the best approach to get:
1 The lastest project(latest end_date) for the emp
2. get No.of time assigned.
Do I need to create a view for this? If yes, any sample sql code this this?
Thanks for your helpHi W1zard,
Thanks for your reply. Could you clarify the following points for me:
1.) you could create a master block basing on your emp table and a detail block basing on your project table with the relation over emp_no. set the default_where clause of your detail block programmatically using
set_block_property('project', default_where, 'status = ''assigned'' and <your_date_criteria>');
Q1: where I pit this code? in pre-query trigger in detail block?
2.) Of course you could create a view to join both of your tables if you don't want to use master detail blocks; Also do the join over emp_no
create or replace force view v_emp as
select emp.family_name, emp.given_name, project.start_date, project.end_date
from emp, project
where emp.emp_no = project.emp_no
Q2 As I mentioned before, there are multipal entries for the same emp in project table and we only need the maching record from project table which has latest end_date. So I think I need something like
max(project.end_date) somewhere in create view to make sure only one record for one employee.
Also is there possible to include the no. of assigned field(select count(*) from project where status='assigned' and emp=emp_no) into the view as well?
Q3 All the fields mentioned above are diaplay-only. So Can I create a control block which has all the fields from emp and project. Then populate them with my sql. The question is
where I put this customerised sql so when user click excute query. My sql will run and display one the form?
REally appreciated your help!
Michael -
Is it possible to create relational view on Analytic Workspace in Oracle 9i Release1
Hi All,
We are in the initial stages of Oracle 9i OLAP prototype. Since the current version of BIBeans 2.5 does not work with Release 2 of Oracle 9i OLAP, we are planning to use Oracle 9i OLAP Release 1. So can you please answer the following questions.
1. Is it possible to create relational view on Analytic Workspace(like in Release 2) and populate the OLAP catalog, if so can you give me guidance to get the appropriate user guide. The OLAP DML guide in Release 1 talks about creating OLAP catalog metadata for Analytic Workspace using a metadata locator object.
2, Is it advisable to use Oralce 9i OLAP Release 1? Does the Analytic Workspace and the corresponding BIBeans work in Release 1?
Thank you,
SenthilAnalytic Workspaces (Express/multidimensional data objects and procedures written in
the OLAP DML) are new to Oracle9i OLAP Release 2, you cannot find them in Release 1.
BI Beans will soon (within a week) introduce a version on OTN that will work with Oracle9i OLAP Release 2. -
Create Relational View got error: ORA-19276: XPST0005 - XPath step specifie
Hi expert,
I am using Oracle 11.2.0.1.0 XML DB.
I am successfully registered schema and generated a table DOCUMENT.
I have succfully inserted 12 .xml files to this table.
SQL> SELECT OBJECT_VALUE FROM document;
OBJECT_VALUE
<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet href="http://www.accessdata.fda.gov/spl/stylesheet/spl.xsl" type="text/xsl"?>
<document xmlns="urn:hl7-org:v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:hl7-org:v3 http://localhost:8080/home/DEV/xsd/spl.xsd">
<id root="03d6a2cd-fdda-4fe1-865d-da0db9212f34"/>
<code code="51725-0" codeSystem="2.16.840.1.113883.6.1" displayName="ESTABLISHMENT REGISTRATION"/>
</component>
</document>
then I tried to create a create Relational View base on one inserted .xml file I got error:
ERROR at line 3:
ORA-19276: XPST0005 - XPath step specifies an invalid element/attribute name: (document)
is there anyone know what was wrong?
Thanks a lot!
Cow
Edited by: Cow on Feb 15, 2011 8:58 PM
Edited by: Cow on Feb 21, 2011 6:59 AMThese kinds of issues, you will have to solve by joining multiple resultsets or passing fragments to the next XMLTABLE statement and building redundancy via the ORDINALITY clause (which results a NUMBER datatype)
For example
A "transaction" can have multiple "status"ses which can have multiple "reason"s
WITH XTABLE
AS
(SELECT xmltype('<TRANSACTION>
<PFL_ID>123456789</PFL_ID>
<PMI_ID>1</PMI_ID><PII_ID>1</PII_ID>
<ID>1</ID>
<INSTR_ID>MARCO_003</INSTR_ID>
<E_TO_E_ID>MARCO_004</E_TO_E_ID>
<INSTD_AMT>10</INSTD_AMT>
<INSTD_AMT_CCY>EUR</INSTD_AMT_CCY>
<STATUS>
<PFL_ID>123456789</PFL_ID>
<PMI_ID>1</PMI_ID><PII_ID>1</PII_ID>
<TXI_ID>1</TXI_ID>
<ID>1</ID>
<PMT_TX_STS_UTC_DT>2011-02-15</PMT_TX_STS_UTC_DT>
<REASON>
<ID>1000</ID>
<STS_RSN_PRTRY>MG001</STS_RSN_PRTRY>
</REASON>
<REASON>
<ID>2000</ID>
<STS_RSN_PRTRY>IS000</STS_RSN_PRTRY>
</REASON>
</STATUS>
</TRANSACTION>') as XMLCOLUMN
FROM DUAL
SELECT STS_ID as STATUS_ID,
STS_PFL_ID,
STS_PMI_ID,
STS_TXI_ID,
RSN_ID as REASON_ID,
RSN_STS_RSN_PRTRY,
RSN_XML_POS as POSITION
FROM XTABLE
, XMLTABLE ('/TRANSACTION/STATUS'
PASSING XMLCOLUMN
COLUMNS
STS_PFL_ID NUMBER(10) path 'PFL_ID'
, STS_PMI_ID NUMBER(10) path 'PMI_ID'
, STS_TXI_ID NUMBER(10) path 'TXI_ID'
, STS_ID VARCHAR2(10) path 'ID'
, XML_REASONS XMLTYPE path 'REASON'
) sts
, XMLTABLE ('/REASON'
PASSING sts.XML_REASONS
COLUMNS
RSN_XML_POS FOR ORDINALITY
, RSN_ID VARCHAR2(10) path 'ID'
, RSN_STS_RSN_PRTRY VARCHAR2(10) path 'STS_RSN_PRTRY'
) rsnWill give you the following output (in your case DON"T forget to buildin the namespace references)
SQL> WITH XTABLE
2 AS
3 (SELECT xmltype('<TRANSACTION>
4 <PFL_ID>123456789</PFL_ID>
5 <PMI_ID>1</PMI_ID><PII_ID>1</PII_ID>
6 <ID>1</ID>
7 <INSTR_ID>MARCO_003</INSTR_ID>
8 <E_TO_E_ID>MARCO_004</E_TO_E_ID>
9 <INSTD_AMT>10</INSTD_AMT>
10 <INSTD_AMT_CCY>EUR</INSTD_AMT_CCY>
11 <STATUS>
12 <PFL_ID>123456789</PFL_ID>
13 <PMI_ID>1</PMI_ID><PII_ID>1</PII_ID>
14 <TXI_ID>1</TXI_ID>
15 <ID>1</ID>
16 <PMT_TX_STS_UTC_DT>2011-02-15</PMT_TX_STS_UTC_DT>
17 <REASON>
18 <ID>1000</ID>
19 <STS_RSN_PRTRY>MG001</STS_RSN_PRTRY>
20 </REASON>
21 <REASON>
22 <ID>2000</ID>
23 <STS_RSN_PRTRY>IS000</STS_RSN_PRTRY>
24 </REASON>
25 </STATUS>
26 </TRANSACTION>') as XMLCOLUMN
27 FROM DUAL
28 )
29 SELECT STS_ID as STATUS_ID,
30 STS_PFL_ID,
31 STS_PMI_ID,
32 STS_TXI_ID,
33 RSN_ID as REASON_ID,
34 RSN_STS_RSN_PRTRY,
35 RSN_XML_POS as POSITION
36 FROM XTABLE
37 , XMLTABLE ('/TRANSACTION/STATUS'
38 PASSING XMLCOLUMN
39 COLUMNS
40 STS_PFL_ID NUMBER(10) path 'PFL_ID'
41 , STS_PMI_ID NUMBER(10) path 'PMI_ID'
42 , STS_TXI_ID NUMBER(10) path 'TXI_ID'
43 , STS_ID VARCHAR2(10) path 'ID'
44 , XML_REASONS XMLTYPE path 'REASON'
45 ) sts
46 , XMLTABLE ('/REASON'
47 PASSING sts.XML_REASONS
48 COLUMNS
49 RSN_XML_POS FOR ORDINALITY
50 , RSN_ID VARCHAR2(10) path 'ID'
51 , RSN_STS_RSN_PRTRY VARCHAR2(10) path 'STS_RSN_PRTRY'
52 ) rsn
53 ;
STATUS_ID STS_PFL_ID STS_PMI_ID STS_TXI_ID REASON_ID RSN_STS_RS POSITION
1 123456789 1 1 1000 MG001 1
1 123456789 1 1 2000 IS000 2
2 rows selected.If I wouldn't have done that then I would have got your result which fails with your error:
- ORA-19279 - XQuery dynamic type mismatch: expected singleton sequence - got multi-item sequence
SQL> WITH XTABLE
2 AS
3 (SELECT xmltype('<TRANSACTION>
4 <PFL_ID>123456789</PFL_ID>
5 <PMI_ID>1</PMI_ID><PII_ID>1</PII_ID>
6 <ID>1</ID>
7 <INSTR_ID>MARCO_003</INSTR_ID>
8 <E_TO_E_ID>MARCO_004</E_TO_E_ID>
9 <INSTD_AMT>10</INSTD_AMT>
10 <INSTD_AMT_CCY>EUR</INSTD_AMT_CCY>
11 <STATUS>
12 <PFL_ID>123456789</PFL_ID>
13 <PMI_ID>1</PMI_ID><PII_ID>1</PII_ID>
14 <TXI_ID>1</TXI_ID>
15 <ID>1</ID>
16 <PMT_TX_STS_UTC_DT>2011-02-15</PMT_TX_STS_UTC_DT>
17 <REASON>
18 <ID>1000</ID>
19 <STS_RSN_PRTRY>MG001</STS_RSN_PRTRY>
20 </REASON>
21 <REASON>
22 <ID>2000</ID>
23 <STS_RSN_PRTRY>IS000</STS_RSN_PRTRY>
24 </REASON>
25 </STATUS>
26 </TRANSACTION>') as XMLCOLUMN
27 FROM DUAL
28 )
29 SELECT STS_ID as STATUS_ID,
30 STS_PFL_ID,
31 STS_PMI_ID,
32 STS_TXI_ID,
33 RSN_ID as REASON_ID,
34 RSN_STS_RSN_PRTRY
35 FROM XTABLE
36 , XMLTABLE ('/TRANSACTION/STATUS'
37 PASSING XMLCOLUMN
38 COLUMNS
39 STS_PFL_ID NUMBER(10) path 'PFL_ID'
40 , STS_PMI_ID NUMBER(10) path 'PMI_ID'
41 , STS_TXI_ID NUMBER(10) path 'TXI_ID'
42 , STS_ID VARCHAR2(10) path 'ID'
43 , RSN_ID VARCHAR2(10) path 'REASON/ID'
44 , RSN_STS_RSN_PRTRY VARCHAR2(10) path 'REASON/STS_RSN_PRTRY'
45 ) rsn;
</REASON>
ERROR at line 24:
ORA-19279: XQuery dynamic type mismatch: expected singleton sequence - got
multi-item sequenceHTH
Edited by: Marco Gralike on Feb 16, 2011 12:12 PM -
Creating Classification view for material through Standard Function
hi,
I have created the material code through BAPI_MATERIAL_SAVEDATA. For quality inspection i have used BAPI_MATINSPCTRL_SAVEREPLICA. i have to create classification view for that material code. Can anyone suggest me which standard function helps me to create the classification view.
Thanks in advance.
Senjeyhi,
i have tried that function module. I have mentioned the code below.
i_object = '000000151860630000'.
i_alloc_num-CHARACT = 'THICKNESS'.
i_alloc_num-VALUE_FROM = '5.70'.
append i_alloc_num.
i_alloc_char-charact = 'SHAPES'.
i_alloc_char-VALUE_CHAR = 'PLATE'.
append i_alloc_char.
clear i_alloc_char.
i_alloc_char-charact = 'CATEGORY'.
i_alloc_char-VALUE_CHAR = 'CS'.
append i_alloc_char.
clear i_alloc_char.
CALL FUNCTION 'BAPI_OBJCL_CREATE'
EXPORTING
OBJECTKEYNEW = i_object
OBJECTTABLENEW = 'MARA'
CLASSNUMNEW = 'RAWMATERIAL'
CLASSTYPENEW = '001'
STATUS = '1'
STANDARDCLASS =
CHANGENUMBER =
KEYDATE = SY-DATUM
NO_DEFAULT_VALUES = ' '
IMPORTING
CLASSIF_STATUS =
TABLES
ALLOCVALUESNUM = i_alloc_num
ALLOCVALUESCHAR = i_alloc_char
RETURN = i_ret.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
WAIT = 'X'.
But i am getting the error 'Assignment exists and is valid '.
Please help.
Regards,
Sengathir.J -
How to create classification view for material?
HI All,
How to create classification view for material? is there any function module?
pls let me know.
Bandicheck the standard include "LCLBPAU14" this is using the following F.M
call function 'BAPI_OBJCL_CREATE'
exporting
objectkeynew = l_object
objecttablenew = l_objecttable
classnumnew = classnum_new
classtypenew = l_classtype
status = status
standardclass = standardclass
changenumber = changenumber
keydate = keydate
no_default_values = no_default_values
importing
classif_status = classif_status
tables
allocvaluesnum = allocvaluesnum
allocvalueschar = allocvalueschar
allocvaluescurr = allocvaluescurr
return = return. -
How to create thumbnail view for html files
hi,
I want to create thumbnail view for html files, not for image files.. can we treat html files as images..
Anybody help me..You can right click on your Desktop and select New Folder. In Finder File > New Folder should work too, not in front of my Mac.
Welcome to back by the way. You might find these websites helpful.
Switch 101
Mac 101 -
BIEE ERROR when creating Relational View
Hi Everyone,
I am using the OTN Relational View Creator from the oracle website to create my relational views. However, all my dimension are grayed out and i am unable to select my attributes and hierarchies. Would anyone know what I am doing wrong or is the data that was created not setup properly.
Regards,
CbeinsGuys,
I got it. The name of the view was not named starting with 'Z'. So I renamed it as 'ZREQ_DAT' and it works now.
Thanks,
Sirish. -
How to create a view for all Service Requests that are not approved by reviewer
Hallo,
I want to create a view in the Service Requests library that shows all SRs that are not approved. How to configure condition that says: if a SR has related Review Activity which is In Progress, show that SRs?
I couldn't find this when creating the view. Thank you.So here's the first problem with that: Which review activity? a SR can contain multiple RAs, so how do we decide if an arbitrary SR is approved or not?
As to the specific language you use (Any child RA is In Progress) you might want to look at the criteria from the default Change approval view, which does something similar:
<QueryCriteria Adapter="omsdk://Adapters/Criteria" xmlns="http://tempuri.org/Criteria.xsd">
<Criteria>
<FreeformCriteria>
<Freeform>
<Criteria xmlns="http://Microsoft.EnterpriseManagement.Core.Criteria/">
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpressionLeft>
<Property>$Context/Path[Relationship='CoreActivity!System.WorkItemContainsActivity' TypeConstraint='CoreActivity!System.WorkItem.Activity.ReviewActivity']/Property[Type='CoreActivity!System.WorkItem.Activity']/Status$</Property>
</ValueExpressionLeft>
<Operator>Equal</Operator>
<ValueExpressionRight>
<Value>$MPElement[Name="CoreActivity!ActivityStatusEnum.Active"]$</Value>
</ValueExpressionRight>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpressionLeft>
<Property>$Context/Property[Type='CoreChange!System.WorkItem.ChangeRequest']/Status$</Property>
</ValueExpressionLeft>
<Operator>Equal</Operator>
<ValueExpressionRight>
<Value>$MPElement[Name="CoreChange!ChangeStatusEnum.InProgress"]$</Value>
</ValueExpressionRight>
</SimpleExpression>
</Expression>
</And>
</Expression>
</Criteria>
</Freeform>
</FreeformCriteria>
</Criteria>
</QueryCriteria>
This is a simple AND criteria with two componets. one looking for a Review Activity (TypeConstraint='CoreActivity!System.WorkItem.Activity.ReviewActivity') which is related to the targetting CR by Contains Activity ($Context/Path[Relationship='CoreActivity!System.WorkItemContainsActivity';
Context in this... context means the CR targeted by the view) where it's status (/Property[Type='CoreActivity!System.WorkItem.Activity']/Status$) is In Progress ($MPElement[Name="CoreActivity!ActivityStatusEnum.Active"]$). The other is filtering
for the target change request's status ( $Context/Property[Type='CoreChange!System.WorkItem.ChangeRequest']/Status$) is In Progress ($MPElement[Name="CoreChange!ChangeStatusEnum.InProgress"]$).
You could convert the second criteria to point to SRs and SR status values, and then use the similar text for the first criteria. i'd recommend
Anton's Advanced View Editor (or
the free version) to do the criteria adjustment. -
Creating 'Z' views for Standard ABAP Web dynpro Application
Hi Experts,
I am totaly new to ABAP web dynpro objects.
In our project there were some client requirements which required us to change the properties of the Views related to the Webdynpro. The Client now has said that he needs to apply some enhancement pathces on his system. Due to this, the changes made to the Views i.e all the changes done in standard code are lost.
The client now wants a long term solution where all the changes need to be done in 'Z' implimentataion so that changes are not lost every time the pathces are applied.
Is it possible to create an entire new 'Z' Views for the standard Webdynpro instead of standrad ones?
If Yes how does one link them to the Webdynpro application ?Hi
Have a look at following article about enhancing webdynpro applications.
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/700317da-bd79-2c10-368e-8f18bf5d8b81?quicklink=index&overridelayout=true
Regards
Manas Dua -
Need to create maintenance view for a custom infotype
A custom infotype 90XX is created. The data cannot be modified or created through PA30 in this infotype. Through PA 40 actions only we can create/change the record/data. We have created some 1000 records in it. Now can we create a maintenance view for the infotype so that we can create, delete or change the data in the infotype as and when we want.
Hi,
pls chk dat u have maintained the 'Infotype Charecteristics' and 'Technical Attributes' correctly.
thanks,
teja. -
Creating a view for a datasource
Hi experts,
I'm kinda new in BW and ABAP, but I have a requirement to get a datasource that contains data between SAP Tables. The scenario should be like this :
1. Get all Personal Number from PA9038 (Customized Infotype) within a period ( ENDDA & BEGDA as the parameters )
2. Get only the last Cost Center each person has from PA0001-KOSTL
3. Get only the last Assessment Value from PA9040 (Customized Infotype)
Is there any way to create a view based on that scenario? I've tried using the create view via SE11 and I was confused about joining the tables to get only the last data from PA0001 and PA9040.
Or is there any method to build a Fact Table that contains the data I need?
PS:
Actually if I used ABAP Commands, I can generate this data in Internal tables and joining them into one internal tables.
Probably the ABAP Codes are like this :
SELECT pernr endda begda
FROM pa9038
INTO CORRESPONDING FIELDS OF TABLE itab1.
IF NOT itab1[] is initial.
SELECT pernr endda begda kostl
FROM pa0001
FOR ALL ENTRIES IN itab1
INTO CORRESPONDING FIELDS OF TABLE itab2.
*For getting the last record I can manipulate the data in itab2 like this
SORT itab2 BY pernr ASCENDING endda DESCENDING begda DESCENDING.
DELETE ADJACENT DUPLICATES FROM itab2 COMPARING pernr.
ENDIF.
LOOP AT itab1.
READ TABLE itab2.
...... and so on.
ENDLOOP.
Thanks for the help...Hi Febrain,
Identify the base tables from where you can fetch the data from. Then Using those tables you create a VIEW. Using the view you create a generic Datasouce.
Please use this url for more info..
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/3f/548c9ec754ee4d90188a4f108e0121/content.htm
Regards
Maybe you are looking for
-
Is there a way that I can order online and have it arrive at a set date and time?
Hello there Apple community, I am looking at buying an iPod Touch 5 gen but I'm not sure if I will be at home when it arrives. Is there a way for me to set it to arrive at a time like 4:30 Tuesday? And also, does apple deliver on labour day? This Mon
-
Some Apps not showing in the Apps page of iPhone
Hi, I have an iPhone 4s with tonnes of apps on it. When synced with my computer in iTunes I can see a bunch of apps which I can sort by size etc and install and remove. Great. Except the list isn't complete. I seems like the newer apps I've downloade
-
Flash Builder 4 Beta RDS issue
I cannot connect to ColdFusion via RDS with my Flash Builder 4 beta 2. I have no issue connecting to CF via RDS in dreamweaver CS3. However whenever I try to connect to a CFC via "connect to DataService" and I get "Enter RDS password and user name"..
-
How to load configuration using Cisco USB port???
on USB-flush configuration there. I try to download it gives this: Switch#copy usbflash0: 3560-ST Source filename [3560-st]? Destination filename [3560-ST]? %Error opening usbflash0:3560-st (File not found) What is the Problem? flash formatted on mos
-
Implementing multiple tasks on one hardware
Hi, i am anil, i am using NI CDAQ 9188 Chasis, for NI 9237 of 5 numbers, for load cells measurment, for my application i have requirement of acquiring reading from all channels simultaneously, and i need to scale them independently. while configuring