[SSM 7.5 BI CONNECTOR] Updating hierarchy from BW query
Hello
I'm working on SSM 7.5 SP2 with the BI Connector.
I've made a model with the BI Connector which read a simple query with one dimension. This dimension has a hierarchy which we will call H1.
Bi connector steps :
I import the schema...
I create my metrics...
I update my data...
SSM Admin steps :
I create a new KPI in my context with the measure from my query
I launch the Scorecard and i drilldown in the KPI screen and i see all my data in the hierarchy H1. Everything is Ok.
Now
I create a new hierarchy in BW, let's call it H2 on my infoobject which correspond to the dimension.
I edit my query in Query Designer to set the new hierarchy on the free characteristic. I do not change anything else.
I repeat BI Connector steps :
I import the schema...
I create my metrics...
I update my data...
I launch the Scorecard and i drilldown in the KPI screen and i see all my data in the hierarchy H1 not H2. So SSM is not up to date.
I tried many ways to solve this but i cant find a solution to update the scorecard.
So what can i do to make SSM Scorecard use H2 hierarchy instead of old H1 ?
Thank you very much for your help.
Note : H2 has the same members as H1 but in a different order so there is data in both hierarchy.
Hello,
did you stop the services and clear the cache?
In "Best Pratices - The BI Connector in SSM 7.0" it says:
"In early versions of the BICA Tool (pre 6 June 2008), if you did an Import Schema using BICA then changed the query definition in BI then tried to re-import schema using BICA (or even import schema to a brand new PAS Model) then the BICA may not have recognized the new query definition. This is because the old query definition is still in the Work Database of the PAS user that the BICA tool uses to connect to PAS. From BICA version 6 June 2008, u201CFORCEu201D has been added to all of the IMPORT commands so this should no longer be a problem. The other solution is to restart the extended listener (to close the work database of the PAS User) and then use the BICA to re-import the new query definition. Note that if you are working in PAS directly you would just issue an exit clear command and re-enter PAS u2013 the new query definition will then be available to you."
I don't know if this to SSM 7.5, but you can try.
Regards,
Vera
Similar Messages
-
Update Hierarchy from file flat
Hi,
We have transferred the hierarchy of infoobjet 0IM_REPOBJ from OLPT, and a new hierarchy is created in SAP BW.
Now we want to add new characteristic (node) to this hierarchy, from upload file flat.
I have followed all steps of documentation from sdn but I can't do it.
After that, I think that from uploading file flat, only is possible created a new hierarchy or update a hierarchy created before for this way.
It's correct or exist any way for update by uploading file flat, of a hierarchy downloaded from OLPT?,
Best Regard,
Mario.Hi Abhishek,
When I try to upload the new characteristic from file flat, the follow error appear:
RSAR 204: Error when you calculate the node level in ahierarchy.
There is two sap notes, but it not apply for our case.
When I create the infopackage of datasource from file, in tab "Hierarchy Selection" I can't select the herarchies available from OLPT, I have to create a new hierarchy. Although I create a new hierarchy with the same technical name of OLPT hierarchy, the system assign a new internal ID.
And I think that, when I execute the infopackage from file flat, try calculate the node level in the new hierarchy created and not of the hierarchy existing in a infoobject.
For this reason I guess that it isn't possible update by file flat of a hierarchy downloaded from OLPT.
Regarding your proposal of download the OLPT hierarchy, update it and upload to BW from file flat (deleting the existing hierarchy). I think that would be the more aproximate option, but we'll have to analyze the process, because the hierarchy will be updated both from OLPT as file flat.
Have I to assume that my guesses are right?.
Best Regard,
Mario. -
BW: Cost Element Hierarchy - from R/3 plus additional node in BW
Hi all,
We have cost element hierarchy (say ZP14PL) which we schedule to update periodically from R/3 into BW . However we would like to add an additional sub-node under this same hierachy via RSH1. As this subnode is only for BW use, this is not maintained in the hierarchy ZP14PL in R/3. With the 'full update' or 'update Subtree' option in the infopackage the hierachy ZP14PL will be deleted and replaced with the latest changes thus removing the additional node which we created for BW only.
Any suggestion as to how we could have the latest hierarchy updated from R/3 without deleting the additional subnode that we added in the same hierachy in BW?
Appreciate all expert advice.
Thanks and best regards,
VCAn easy way would be to include this link into the file using a start routine....
you should know the child node and parent nodes for the same and since the location of the same is going to be constant - you could add it to your start routine....
Or have a time dependent hierarchy but that would mess up your reporting...
Also this is not the correct forum to post BI relevant questions - suggest you post the same in the BI forums for more relevant answers....
Arun
Message was edited by:
Arun Varadarajan
[message moved to BI] -
How to Create Hierarchy From Flat file Structure
Hi Gurus,
There is a scenario for me regarding the Hierarchy.
Required Hierarchy structure - Region>Director>Manager-->Sales id
I have flat file which gives the info like user id , sales id , manager id, director id.
But the transaction data Flat file has structure with sales id, region id, sales amt, sales qty.
Note : Region id is another Master Data.
How i can create hierarchy from the first flat file which doesnot have region info in that but it is available in the transaction data Flat file.
Is there anyway we can create hierarchy based on the first Flat file structure which contains more that 1,00,000 records.
Try to Suggest me in this regard .
This is urgent.
Regards,
ManoHi Mano,
Defining the source system from which to load data
Choose the source system tree File ® Create.
2. Defining the InfoSource for which you want to load data
Optional: choose InfoSource Tree ® Root (InfoSources) ® Create Application Components.
Choose InfoSource Tree ® Your Application Component ® Other Functions ® Create InfoSource 3.x ® Direct Update.
Choose an InfoObject from the proposal list, and specify a name and a description.
3. Assigning the source system to the InfoSource
Choose InfoSource Tree ® Your Application Component ® Your InfoSource ® Assign Source System. The transfer structure maintenance screen appears.
The system automatically generates DataSources for the three different data types to which you can load data.
○ Attributes
○ Texts
○ Hierarchies (if the InfoObject has access to hierarchies)
The system automatically generates the transfer structure, the transfer rules, and the communication structure (for attributes and texts).
4. Maintaining the transfer structure / transfer rules
Select the DataSource for uploading hierarchies.
IDoc transfer method: The system automatically generates a proposal for the DataSource and the transfer structure. This consists of an entry for the InfoObject for which hierarchies are loaded. With this transfer method, the structure is converted to the structure of the PSA during loading, which affects performance.
PSA transfer method: The transfer methods and the communication structure are also generated here.
5. Maintaining the hierarchy
Choose Hierarchy Maintenance, and specify a technical name and a description of the hierarchy
Hope this helps
Regards
Karthik
Assign points if Helpful -
How to download hierarchy from production system & recreate it development.
Hi Gurus,
I am working on a requirement where the updated hierarchy is present in production system & I have to create the same hierarchy with the same data in development system.
Could you please suggest me the best way to download the same hierarchy in a file from production & create it in development system with the same data.
Thanks & Regards
Mayank Tyagiit is solved now!!!!!
Thanks alott.... -
Product Hierarchy from R/3 to BW
Hi
I have a problem with product hierarchy in BW. First, i extract master data for material (0Material, infoobject), but attribute 0PROD_HIER was not update, all records has this value in blank. After that, i extracted hierarchy from R/3, with datasource 0MATERIAL_LPRH_HIER, and hierarchy was activated in BW without problems. Now my problem is how to insert the material en hiearchy, as i have it in R/3, i think that it should be when i extract the hierarchy, but it not happened. So how can i insert the whole material in their node as they are in R/3??
Thanks a lot...regardsHave a look at this:
Prod Hierarchy - how to
Regards -
Measurement hierarchy from Essbase to BIEE physical layer
According to official documents, the measurement hierarchy from Essbase should be imported as one flat level on Physical layer in OBIEE Administration. However, after importing, I can't see those measurements shown ! What I can see is the "Measure" dimension which has 5 gen of hierarchy~
What I want is to put the measurements (e.g. unit sold / unit sold (east region) / unit sold (west region) / unit count / sales per week .... ) to presentation layer for users. How can I handle this? Is there anything I miss while building the cube in essbase?
Since my essbase has just been upgraded from v.6 to v.11.
Does anyone can help? THANKS A LOT !Welcome to the wonderful world of OBIEE/Essbase integration!
Your "Measure" dimension basically should be your Account dimension of Type "Accounts". When a dimension has that type, it will automatically become the "fact" in the flattened out representation in the physcial layer.
Funny that you mention this since I anyways wanted to blog a bt more on this since I got quite some questions recently (for all who were there: result of that nice discussion in Brighton), since you may have multiple measure hierarchies and then there's a bit more config to do ;-)
Update:
I just saw your other post and I'm a bit confused now. You state you have the "Measure" table which I assume means you have it in the BMM layer already. As of 10.1.3.3.2. if you import Essbase metadata, you can just drag and drop it from physical to BMM to presentation layer and the models and presentation tables are created automatically. Not much manual intervention needed (initially, but you'll do a lot of modification afterwards).
Cheers,
Christi@n
Edited by: Christian Berg on May 22, 2009 9:32 AM -
Extract hierarchy from a flat file
Hello,
Im trying to extract hierarchy from a flat file.
The hierarchy is built from 3 different infoObjects each infoObject represent different level in the hierarchy. I built the hierarchy in the last level of the hierarchy and put all the levels as external chars in the hierarchy.
(I used the blog: Hierarchy Upload from Flat files: /people/prakash.bagali/blog/2006/02/07/hierarchy-upload-from-flat-files )
When I extract the data into the PSA it looks fine but when I choose to update the PSA data into the infoObject the request stays yellow. Three is no dump and I cant find the job in SM50.
Please Advice,
DavidHi David,
Thats the problem with using PSA for flatfile hierarchy loads. If you can change the transfer method to "IDOC" then change and retry the load. The IDoc method gives you an advantrage when dealing with flatfiles as you can debug and notice which record # has errors.
Bye
Dinesh -
Error while updating data from PSA to ODS
Hi Sap Gurus,
I am facing the error while updating data from PSA to ODS in BI 7.0
The exact error message is:
The argument 'TBD' cannot be interpreted as a number
The error was triggered at the following point in the program:
GP44QSI5RV9ZA5X0NX0YMTP1FRJ 5212
Please suggest how to proceed on this issue.
Points will be awarded.Hi ,
Try to simulate the process.That can give you exact error location.
It seems like while updating few records may be no in the format of the field in which it is updated.
Regards
Rahul Bindroo -
Running Windows XP service pack 3. Updated Firefox from 8.0 to 9.0. Now when Firefox opens "The URL is not valid and cannot be loaded" is displayed in a window and no home page appears. What's wrong?
That issue can be caused by an extension that isn't working properly.
Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
*Don't make any changes on the Safe mode start window.
*https://support.mozilla.com/kb/Safe+Mode
*https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes -
Hi,
trying to update data from a view with:
- Company (table)
- Products (table)
In a form, the user wants to update
e.g: both products.product_name and Company.company_name.
Is there a way to update a view records built on 2 tables ?
Any idea will be really appreciated
ThksAn other question on INSTEAD OF Trigger:
Base Tables:
1.
SQL> desc pcs_companies;
Name Null? Type
COMPANY_ID NOT NULL NUMBER(12)
COUNTRY VARCHAR2(350)
COMPANY_NAME VARCHAR2(320)
COMPANY_PHONE VARCHAR2 (320)
COMPANY_FAX VARCHAR2(320)
COMPANY_URL VARCHAR2(150)
UPDATED_DATE DATE
2.
SQL> desc pcs_individuals;
Name Null? Type
INDIVIDUAL_ID NOT NULL NUMBER(12)
COMPANY_ID NUMBER(12)
FIRST_NAME VARCHAR2(320)
LAST_NAME VARCHAR2(320)
LOB VARCHAR2(300)
JOB_ROLE VARCHAR2(300)
TITLE VARCHAR2(300)
GENDER VARCHAR2(3)
EMAIL VARCHAR2(720)
FAX VARCHAR2(720)
PHONE_NO VARCHAR2(720)
UPDATED_DATE DATE
COUNTRY VARCHAR2(150)
ADDRESS_1 VARCHAR2(720)
ADDRESS_2 VARCHAR2(720)
ADDRESS_3 VARCHAR2(720)
CITY VARCHAR2(720)
3. pcs_individuals.COMPANY_ID = FK, ref pcs_companies.
4.
SQL> CREATE VIEW V_PCS_COMPANY_IND
AS
SELECT
i.INDIVIDUAL_ID,
c.company_id,
c.country,
c.Company_name,
c.company_phone,
i.Company_id indiv_company_id,
i.gender,
i.first_name,
i.last_name,
i.lob,
i.job_role,
i.title,
i.email_address,
i.fax,
i.phone_no ,
i.address_1,
i.address_2,
i.address_3,
i.city
FROM
pcs_individuals i,
pcs_companies c
WHERE
i.company_id = c.company_id
5.
CREATE OR REPLACE TRIGGER PCS_ADMIN.PCS_COMP_IND_UPDATE_TR
INSTEAD OF UPDATE ON PCMS_ADMIN.V_PCS_COMPANY_IND
FOR EACH ROW
begin
update PCS_COMPANIES
set
Company_name = nvl(:new.company_name,company_name),
company_phone = nvl(:new.company_phone,company_phone)
where company_id = :new.company_id;
update PCS_INDIVIDUALS
set
gender = nvl(:new.gender,gender),
first_name = nvl(:new.first_name,first_name),
last_name = nvl(:new.last_name,last_name),
lob = nvl(:new.lob,lob),
title = nvl(:new.title,title),
email_address = nvl(:new.email_address,email_address),
phone_no = nvl(:new.phone_no,phone_no),
fax = nvl(:new.fax,fax),
country = nvl(:new.country,country),
address_1 = nvl(:new.address_1,address_1),
address_2 = nvl(:new.address_2,address_2),
address_3 = nvl(:new.address_3,address_3),
city = nvl(:new.city,city)
where company_id = :new.company_id;
end PCMS_COMP_IND_UPDATE_TR;
6.
CREATE OR REPLACE TRIGGER PCS_ADMIN.NEW_COMPANY_ID_INSERT
INSTEAD OF INSERT ON PCS_ADMIN.V_PCS_COMPANY_IND
DECLARE
ID number;
BEGIN
INSERT INTO pcs_companies (org_id)
select v_pcs_comp_id_seq.nextval
into ID
from dual;
:new.company_id = ID;
INSERT INTO pcs_individuals (company_id)
select v_pcs_comp_id_seq.nextval
into ID
from dual;
:new.company_id = ID;
end;
My question
On point 6:
Assumption:
- Company_id is PK of pcs.Company and FK in pcs.individuals
- It should be feed by sequence (v_pcs_comp_id_seq)
Now how can i insert the same value for company_id (current.v_pcs_comp_id_seq) in both pcs_companies and pcs_individuals ? I've tested it in the above INSTEAD OF Trigger.It failed.
Thks for any advice,
lamine -
Update data from cube to cube in BW 3.5
Dear Experts,
Can we update data from one cube to another cube in BW 3.5. i tried it, I created the connection between two cubes as i did in ods to cube through update rules but there is no option like in ods to send the data(update dso data to data targets).Please help me on this.hi arvind,
Thanks, but i have some doubt again, i did it and also data transfered to the second cube, but after creating the connection i went to bi7 in infosource and there i found that cube name starting with 8(cube name), but my question is can i do it in bw3.5 without going to rsa1. -
Update data from ODS to ODS with infopackage selection
Hi,
I am trying to update data from one ODS to another ODS with selection criteria in InfoPackage which is created manually.For Full load I can give selection criteria in InfoPackage. When I initialize data Selection is greyed out even selections for Full load exists. Please advise me how to give selections for delta loads from ODS to ODS loads.
Thanks in advance.
RamOnce you started an ODS as destination in FULL mode from a DS you cannot get back.
So if you want to update from ODS to ODS using Change Log but considering only some data records you could create an Update Routine with a Start Routine that DELETES undesired records (e.g. DELETE DATA_PACKAGE WHERE ...) and then start an Init-Delta Loading.
Hope it helps
GFV -
When trying to update apps from iPad and iPhone a previous one time users email keeps coming up. How do I delete their information?
delete off any apps that are asking for the wrong apple id and download/sync them over from the correct one
-
How to get updated values from the loops while they are running
Hello,
I am having difficulty solving a very basic problem, how to access the updated values from the 'FOR loop' while its running? Basically, the VI I am currently working on calls two sub VIs. Each sub VI has a for loop, and both VIs may or may not run for same number of iterations. My goal is to read the values at each terminal inside the loop of both sub VIs, in the Main VI. I tried to achieve it using Global Variables, but in main VI it displays only the last iteration value from both sub VIs. Could anyone please tell me whrere am I going wrong? Is there any other/better way to achieve this.
I appreciate any input on this issue.
Kudos are (always) welcome for the good post. :-)
Solved!
Go to Solution.Dennis,
In attached VI, I can see the values changing in the sub VI from the main VI with the numeric indicator whose reference is passed on to the sub VI. Now if I wanted to store or use those values how do I do that? I tried to chnge the indicator to control and read from it (in the attached VI) , but the the indicator updates only once. Tried to create a property node and read the Value from it and it didn't work either.
Thanks in Advance!
-Nilesh
Kudos are (always) welcome for the good post. :-)
Attachments:
main-1.vi 8 KB
sub-1.vi 9 KB
Maybe you are looking for
-
Windows 7 pro x64 and palm centro
I'm running windows 7 pro X64 and the software installed just fine, but not the driver. Does Palm have any plans for a solution? Are there any third party drivers that will solve my problem without having to install a bluetooth device on my pc?
-
New Computer locks up then loses some bios settings
I just built a new system with the following pieces 2.40 gigahertz AMD Athlon 64 4000 Board: MS-7025 Bus Clock: 200 megahertz BIOS: Phoenix Technologies, LTD 6.00 PG 02/17/2005 4x 512meg samsung NVIDIA GeForce 6800 GT bfg oc agp Thermaltake Silent P
-
ipad 4 + cell 32 gb i'm using os ver 6.1.2 , apter 12hours stanby , battery drain from 100% down to 60 % , I upgraded to 6.1.3 still nothing changes . My ipad restored and not install any software ! i bought it three month ! . please help me ! if t
-
EP 6.0 SP4 and role bi.business_explorer_showcase
Hi Everybody With the Business Explorer showcas role i can Publish from BW to My potfolio in EP. But wehen I create directly a file under this folder, I get the following System error when saving: class java.lang.NullPointerException Opening the file
-
Grey out / Display fields in BBPIV02 transaction
Hi, What is best option to grey out/display some fields on Invoice BBPIV02 ? Some of fields are from 1. Header level 2. Item overview 3. Item details 4. Search criteria screen etc Any suggestions??? Regards, Rahul Mandale