Table RSTHIERNODE?
HI Everybody,
There is an ABAP program to load Cost Element Group attribute of Cost Element. There is a hierarchy table maintained.
The program takes nodeid for Costelement, identifies parentid and its nodename. This is taken to identify the TXT from RSTHIERNODE table. This text is taken to identify Cost element Group from master data of Costelement group.
I wanted to know what is this table RSTHIERNODE as there is a mismatch in masterdata loaded from R/3.
Thank you very much.
Thanks & Regards,
Virinchi.
Hi
Check these links
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_bw_bex/~form/handler%7b5f4150503d3030323030363832353030303030303031393732265f4556454e543d444953504c4159265f4e4e554d3d363537313036%7d
Hierarchies Load using ABAP Program
Regards,
Sumit
Similar Messages
-
I need to read a hierarchy on GL_ACCOUNT. My only paramater is one node of this hierarchy. I need to find this node in my hierarchy and also to find all those which are dependant with this node.
Ex:
AAAA
|
|______> Node1
|
|______> Node2
|
|____> Node 2.1
|
|____> Node 2.2
Here for the node AAAA i need to fill in my internal table :
Node 1, Node 2.1 and node 2.2.
ANy inputs?Hi,
I had a requirement like this and I could solve it in ABAP.
Step1: get the ID from rshiedir
Step2: get the highest node from table RSTHIERNODE
Step3: Starting on top node read from H table parent and child ID (i.e. level1 = highest node; level2: Parent = node 1 and child ID = Level2)
Step4: relad all levels down to level xx
Now: with IF statements: every level which is not parent level for following node is a leaf
I hope this helps
Regards
Aban -
How to understand the hierarchy structure of 0PLANT io?
how to understand the hierarchy structure of 0PLANT io ?
i can understand the hierarchy structure of PRODUCT io,
well, i hope someone could explain the hierarchy structure of 0PLANT io
thanks.Hi
You can use following hierarchy tables
RSTHIERNODE - Texts of Non-Postable Hierarchy Nodes
RSEHIERNODE - Master Data: Hierarchy Nodes that Cannot Be Posted To
RSMHIERNODE - Master data: Hierarchy nodes that cannot be posted to
RSHIEDIR - Hierarchy Catalog
RSHIEDIRT - Hierarchy directory texts
RSREQHIER - Data Request hierarchy
RSROLEHIERARCHY - Role hierarchy
In addition to these have a look at K table & I table for 0PLANT.
K table - Hierarchy SID table
I table - Hierarchy structure table
Hope this will help..!!
Thanks,
Vikrant -
How to understand the embeded src
What for example does this mean:
<embed src="
http://www.clip4e.com/clip4e.swf
" width="400" height="320" type="application/x-shockwave-flash"
pluginspage="
http://www.macromedia.com/go/getflashplayer"
flashvars="cl_id=1505&guid=c71f4b9df28b7594"/>Hi
You can use following hierarchy tables
RSTHIERNODE - Texts of Non-Postable Hierarchy Nodes
RSEHIERNODE - Master Data: Hierarchy Nodes that Cannot Be Posted To
RSMHIERNODE - Master data: Hierarchy nodes that cannot be posted to
RSHIEDIR - Hierarchy Catalog
RSHIEDIRT - Hierarchy directory texts
RSREQHIER - Data Request hierarchy
RSROLEHIERARCHY - Role hierarchy
In addition to these have a look at K table & I table for 0PLANT.
K table - Hierarchy SID table
I table - Hierarchy structure table
Hope this will help..!!
Thanks,
Vikrant -
HIERARCHY NODE 0HIER_NODE FROM COPA
Hello,
I create a hierarchy datasource for COPA for a specific CO-PA characteristic in SAP.
Datasource is OK in R/3 in transaction
RSA6in SAP ECC. The description for a node is OK in SAP ECC.
Example :
1st Node :
000000000000099 description All Channel OK
I execute my info package in BW to extract hierarchy. My
hierarchy is OK. But the description of node isn't good. I have the technique description (table RSTHIERNODE) for info objet 0HIER_NODE.
Example in BW :
000000000000099 00000001 0HIER_NODE
Description : 00000000000000000000000000000099
Transaction SE16 for Table RSTHIERNODE :
DE A 99 000000000000099
EN A 99 000000000000099
FR A 99 000000000000099
So i want to have the good description for the Hierarchy Node(s) info objet 0HIER_NODE.
Can you give me the solution to charg 0HIER_NODE ?
Best regards.
RémiHi,
Presume you used keb1 to do this. We are struggling with this too?
Has anyone else managed to do this in BW, currently on 04s here.
Cheers,
Sarah -
How to find tech nodename based on node description (text) from hierarchy
Hi Friends,
There is a 0ACCOUNT hierarchy. If you open the hierarchy thru info objects maitenance screen using "Maintain Hierarchies", it is displayed in hierarchical arrangement.
Here we give text description to 0HIER_NODE object to denote the title of group/category; a technical name is also assigned in NODENAME column in /BI0/HACCOUNT table for each 0HIER_NODE description. And child node contains actual values of 0ACCOUNT.
My question is, I want to find out the technical name (NODENAME) from the title text description (0HIER_NODE) of group/category. where is the relation between text descripion (0HIER_NODE) and technical name (NODENAME) is stored?
Any help will be appriciated.
Regards,
PurvangHi,
Go to se11 check the contents of the table RSTHIERNODE with the parameters LANGU (your language) HIEID = A and NODENAME the technical node name of a hierarchy.
There you go.
Diogo. -
Modifying Hierarchy Node name in Query or during download from ECC
We have some hierarchies that we download from ECC into BI and use them in query to display as report for Income statement or Balance Sheet statements. The issue we want to resolve is when we download the hierarchy from ECC into the intermediate download process tags hierarchy name as prefix for the node name. So for example if the hierarchy in ECC is as below
ABC (name)
1000 (node name)
2000 (node name)
When its downloaded in BW it looks as below
ABC
ABC1000
ABC2000
We want to see hierarchy in BW same as ECC. I tried removing the prefix in the query with no success.
Since the table RSTHIERNODE has the prefixed also as node name so that's how it will be displayed.
I thought I will modify the download process (datasource) to remove the prefix but the delivered user exit EXIT_SAPLRSAP_004 get executed prior to select of the data.
Has anyone got any other suggestions?
Thanks for your time.
Edited by: SK on Oct 28, 2008 2:19 PMRavi,
Just checking. Did you create a authorization variable and added it in the query for that characteristic?
Gova -
MB5B Report table for Open and Closing stock on date wise
Hi Frds,
I am trying get values of Open and Closing stock on date wise form the Table MARD and MBEW -Material Valuation but it does not match with MB5B reports,
Could anyone suggest correct table to fetch the values Open and Closing stock on date wise for MB5B reports.
Thanks
Mohan MHi,
Please check the below links...
Query for Opening And Closing Stock
Inventory Opening and Closing Stock
open stock and closing stock
Kuber -
Hi All,
i got an error while dropping a table which is
ORA-00600: internal error code, arguments: [kghstack_free1], [kntgmvm: collst], [], [], [], [], [], [], [], [], [], []
i know learnt that -600 error is related to dba. now how to proceed.
thanks and regards,
sri ram.00600 errors should be raised as service request with Oracle as it implies some internal bug.
You can search oracle support first to see if anyone has had the same class of 00600 error, and then if not (and therefore no patch) raise your issue with Oracle.
http://support.oracle.com -
Logical level in Fact tables - best practice
Hi all,
I am currently working on a complex OBIEE project/solution where I am going straight to the production tables, so the fact (and dimension) tables are pretty complex since I am using more sources in the logical tables to increase performance. Anyway, what I am many times struggling with is the Logical Levels (in Content tab) where the level of each dimension is to be set. In a star schema (one-to-many) this is pretty straight forward and easy to set up, but when the Business Model (and physical model) gets more complex I sometimes struggle with the aggregates - to get them work/appear with different dimensions. (Using the menu "More" - "Get levels" does not allways give the best solution......far from). I have some combinations of left- and right outer join as well, making it even more complicated for the BI server.
For instance - I have about 10-12 different dimensions - should all of them allways be connected to each fact table? Either on Detail or Total level. I can see the use of the logical levels when using aggregate fact tables (on quarter, month etc.), but is it better just to skip the logical level setup when no aggregate tables are used? Sometimes it seems like that is the easiest approach...
Does anyone have a best practice concerning this issue? I have googled for this but I haven't found anything good yet. Any ideas/articles are highly appreciated.Hi User,
For instance - I have about 10-12 different dimensions - should all of them always be connected to each fact table? Either on Detail or Total level.It not necessary to connect to all dimensions completely based on the report that you are creating ,but as a best practice we should maintain all at Detail level only,when you are mentioning any join conditions in physical layer
for example for the sales table if u want to report at ProductDimension.ProductnameLevel then u should use detail level else total level(at Product,employee level)
Get Levels. (Available only for fact tables) Changes aggregation content. If joins do not exist between fact table sources and dimension table sources (for example, if the same physical table is in both sources), the aggregation content determined by the administration tool will not include the aggregation content of this dimension.
Source admin guide(get level definition)
thanks,
Saichand.v -
Rendering xml-table into logical filename in SAP R/3
Hi,
I am trying to translate an xml-table with bytes into a logical filepath in SAP R3.
Do I have to use the method gui-download or shall I loop the internal xml-table?
When I tried to loop the xml-table into a structure, and then transfering the structure into the logical filename, I get problems with the line breaks in my xml-file. How do I get the lines to break exactly the same as I wrote them in my ABAP-code?
Edited by: Kristina Hellberg on Jan 10, 2008 4:24 PMI believe you posted in the wrong forum.
This forum is dedicated to development and deployment of .Net applications that connect and interact with BusinessObjects Enterprise, BusinessObjects Edge, or Crystal Reports Server. This includes the development of applications using the BusinessObjects Enterprise, Report Application Server, Report Engine, and Web Services SDKs.
Ludek -
Can you check for data in one table or another but not both in one query?
I have a situation where I need to link two tables together but the data may be in another (archive) table or different records are in both but I want the latest record from either table:
ACCOUNT
AccountID Name
123 John Doe
124 Jane Donaldson
125 Harold Douglas
MARKETER_ACCOUNT
Key AccountID Marketer StartDate EndDate
1001 123 10526 8/3/2008 9/27/2009
1017 123 10987 9/28/2009 12/31/4712 (high date ~ which means currently with this marketer)
1023 124 10541 12/03/2010 12/31/4712
ARCHIVE
Key AccountID Marketer StartDate EndDate
1015 124 10526 8/3/2008 12/02/2010
1033 125 10987 01/01/2011 01/31/2012
So my query needs to return the following:
123 John Doe 10526 8/3/2008 9/27/2009
124 Jane Donaldson 10541 12/03/2010 12/31/4712 (this is the later of the two records for this account between archive and marketer_account tables)
125 Harold Douglas 10987 01/01/2011 01/31/2012 (he is only in archive, so get this record)
I'm unsure how to proceed in one query. Note that I am reading in possibly multiple accounts at a time and returning a collection back to .net
open CURSOR_ACCT
select AccountID
from
ACCOUNT A,
MARKETER_ACCOUNT M,
ARCHIVE R
where A.AccountID = nvl((select max(M.EndDate) from Marketer_account M2
where M2.AccountID = A.AccountID),
(select max(R.EndDate) from Archive R2
where R2.AccountID = A.AccountID)
and upper(A.Name) like parameter || '%'
<can you do a NVL like this? probably not... I want to be able to get the MAX record for that account off the MarketerACcount table OR the max record for that account off the Archive table, but not both>
(parameter could be "DO", so I return all names starting with DO...)if I understand your description I would assume that for John Dow we would expect the second row from marketer_account ("high date ~ which means currently with this marketer"). Here is a solution with analytic functions:
drop table account;
drop table marketer_account;
drop table marketer_account_archive;
create table account (
id number
, name varchar2(20)
insert into account values (123, 'John Doe');
insert into account values (124, 'Jane Donaldson');
insert into account values (125, 'Harold Douglas');
create table marketer_account (
key number
, AccountId number
, MktKey number
, FromDt date
, ToDate date
insert into marketer_account values (1001, 123, 10526, to_date('03.08.2008', 'dd.mm.yyyy'), to_date('27.09.2009', 'dd.mm.yyyy'));
insert into marketer_account values (1017, 123, 10987, to_date('28.09.2009', 'dd.mm.yyyy'), to_date('31.12.4712', 'dd.mm.yyyy'));
insert into marketer_account values (1023, 124, 10541, to_date('03.12.2010', 'dd.mm.yyyy'), to_date('31.12.4712', 'dd.mm.yyyy'));
create table marketer_account_archive (
key number
, AccountId number
, MktKey number
, FromDt date
, ToDate date
insert into marketer_account_archive values (1015, 124, 10526, to_date('03.08.2008', 'dd.mm.yyyy'), to_date('02.12.2010', 'dd.mm.yyyy'));
insert into marketer_account_archive values (1033, 125, 10987, to_date('01.01.2011', 'dd.mm.yyyy'), to_date('31.01.2012', 'dd.mm.yyyy'));
select key, AccountId, MktKey, FromDt, ToDate
, max(FromDt) over(partition by AccountId) max_FromDt
from marketer_account
union all
select key, AccountId, MktKey, FromDt, ToDate
, max(FromDt) over(partition by AccountId) max_FromDt
from marketer_account_archive;
with
basedata as (
select key, AccountId, MktKey, FromDt, ToDate
from marketer_account
union all
select key, AccountId, MktKey, FromDt, ToDate
from marketer_account_archive
basedata_with_max_intervals as (
select key, AccountId, MktKey, FromDt, ToDate
, row_number() over(partition by AccountId order by FromDt desc) FromDt_Rank
from basedata
filtered_basedata as (
select key, AccountId, MktKey, FromDt, ToDate from basedata_with_max_intervals where FromDt_Rank = 1
select a.id
, a.name
, b.MktKey
, b.FromDt
, b.ToDate
from account a
join filtered_basedata b
on (a.id = b.AccountId)
ID NAME MKTKEY FROMDT TODATE
123 John Doe 10987 28.09.2009 31.12.4712
124 Jane Donaldson 10541 03.12.2010 31.12.4712
125 Harold Douglas 10987 01.01.2011 31.01.2012
If your tables are big it could be necessary to do the filtering (according to your condition) in an early step (the first CTE).
Regards
Martin -
Can not insert/update data from table which is created from view
Hi all
I'm using Oracle database 11g
I've created table from view as the following command:
Create table table_new as select * from View_Old
I can insert/update data into table_new by command line.
But I can not Insert/update data of table_new by SI Oject Browser tool or Oracle SQL Developer tool .(read only)
Anybody tell me, what's happend? cause?
Thankyou
thiensu
Edited by: user8248216 on May 5, 2011 8:54 PM
Edited by: user8248216 on May 5, 2011 8:55 PMI can insert/update data into table_new by command line.
But I can not Insert/update data of table_new by SI Oject Browser tool or Oracle SQL Developer tool .(read only)so what is wrong with the GUI tools & why posting to DATABASE forum when that works OK? -
Not able to refresh the data in a table
Hi In my application i fill data in a table on clikc of a button ..
Following are the line of code i have user
RichColumn richcol = (RichColumn)userTableData.getChildren().get(0); (fetch the first column of my table)
richcol.getChildren().add(reportedByLabel); (reportedByLabel is a object of RichInputText)
AdfFacesContext adfContext1 = AdfFacesContext.getCurrentInstance();
adfContext1.addPartialTarget(richcol);
adfContext1.addPartialTarget(userTableData);
But on submit of that button table data is not refreshed after adding partial trigger on that table as well as that column also .... any idea??
Edited by: Shubhangi m on Jan 27, 2011 3:50 AMHi,
The Code that you have shown adds an additional inputText component to the first column of a table.
Is that your intention?
If yes, please use the following code snippet to achieve your functionality:
JSPX Code:
<af:form id="f1">
<af:commandButton text="Add Column" id="cb1"
actionListener="#{EmployeesTableBean.onAddColumn}"/>
<af:table value="#{bindings.Employees.collectionModel}" var="row"
rows="#{bindings.Employees.rangeSize}"
emptyText="#{bindings.Employees.viewable ? 'No data to display.' : 'Access Denied.'}"
fetchSize="#{bindings.Employees.rangeSize}"
rowBandingInterval="0"
selectedRowKeys="#{bindings.Employees.collectionModel.selectedRow}"
selectionListener="#{bindings.Employees.collectionModel.makeCurrent}"
rowSelection="single" id="t1"
binding="#{EmployeesTableBean.table}">
<af:column sortProperty="EmployeeId" sortable="false"
headerText="#{bindings.Employees.hints.EmployeeId.label}"
id="c1">
<af:outputText value="#{row.EmployeeId}" id="ot2">
<af:convertNumber groupingUsed="false"
pattern="#{bindings.Employees.hints.EmployeeId.format}"/>
</af:outputText>
</af:column>
<af:column sortProperty="FirstName" sortable="false"
headerText="#{bindings.Employees.hints.FirstName.label}"
id="c2">
<af:outputText value="#{row.FirstName}" id="ot1"/>
</af:column>
<af:column sortProperty="LastName" sortable="false"
headerText="#{bindings.Employees.hints.LastName.label}"
id="c3">
<af:outputText value="#{row.LastName}" id="ot3"/>
</af:column>
</af:table>
</af:form>
Bean:
public class EmployeesTableBean {
private RichTable table;
public EmployeesTableBean() {
public void setTable(RichTable table) {
this.table = table;
public RichTable getTable() {
return table;
public void onAddColumn(ActionEvent actionEvent) {
RichInputText newRichInputText = new RichInputText();
newRichInputText.setId("new");
newRichInputText.setValue("Name:");
RichColumn richcol = (RichColumn)table.getChildren().get(0);
richcol.getChildren().add(newRichInputText);
AdfFacesContext adfContext1 = AdfFacesContext.getCurrentInstance();
adfContext1.addPartialTarget(table);
Thanks,
Navaneeth -
Unable to capture the adf table column sort icons using open script tool
Hi All,
I am new to OATS and I am trying to create script for testing ADF application using open script tool. I face issues in recording two events.
1. I am unable to record the event of clicking adf table column sort icons that exist on the column header. I tried to use the capture tool, but that couldn't help me.
2. The second issue is I am unable to capture the panel header text. The component can be identified but I was not able to identify the supporting attribute for the header text.Hi keerthi,
1. I have pasted the code for the first issue
web
.button(
122,
"/web:window[@index='0' or @title='Manage Network Targets - Oracle Communications Order and Service Management - Order and Service Management']/web:document[@index='0' or @name='1824fhkchs_6']/web:form[@id='pt1:_UISform1' or @name='pt1:_UISform1' or @index='0']/web:button[@id='pt1:MA:0:n1:1:pt1:qryId1::search' or @value='Search' or @index='3']")
.click();
adf
.table(
"/web:window[@index='0' or @title='Manage Network Targets - Oracle Communications Order and Service Management - Order and Service Management']/web:document[@index='0' or @name='1c9nk1ryzv_6']/web:ADFTable[@absoluteLocator='pt1:MA:n1:pt1:pnlcltn:resId1']")
.columnSort("Ascending", "Name" );
}
Maybe you are looking for
-
I just bought a new ipod shuffle, how can i transfer music from my old ipod onto the new one
How do I transfer from my old ipod to my new ipod
-
How To Install Urdu Fonts and Use in Form
How to work with urdu fonts and use in form ...
-
Compatible HDD for 14" Touchsmart Model 14-b109wm
I'm looking into replacing my laptop with a new HDD. Can anyone help me out what specs I should be looking for to assure that it's compatible with my laptop. I'm currently looking at these products. I'm really hoping to get 7200 RPM HDD. Can you also
-
WebLogic 10 : Unable to view JMS message
When I navigate to from weblogic admin console to Services->Messaging->JMS Modules->My queue->Monitoring tab I see count as 1 one High Messages but When I check the queue and click on Show messages button the resulting messages grid is empty. Why can
-
I recently purchased a G5 and copied all the content of my PB HD to the G5. All fine and working well however the G5 Hard drive seems to have acquired a new name when viewed in the Finder window etc. It now reads Macintosh HD; bkgbkgl ffffffffff,, .