Creating sets to load hierarchy data to BW
Hi,
I was able to create sets using GS01 and change set using GS02, create a Datasource, and load the data as an hierarchy in BW.
My question is creating and changing sets is a manual process using these transactions, so what's the point of doing this instead of entering the data directly in BW to create and maintain the hierarchy? I would think then that the preferrred method would be to write an ABAP program to create a flat file with the hierarchy layout and then upload to BW?
Would some clarify what's the point of using GS01 and GS02 as opposed to maintaining it directly in BW or upload a flat file?
Is there a way to automatically create and change sets?
Thanks,
Will
Hi,
I also have the similer problem for hierarhcy files, I used to get the dump of hierarchy data. all child parent info comes in a single rows. see the example below :
<b>Country state city territory customer</b>
I have developed a Foxpro local program, which will convert above flat data into BW Hierarchy loadable flat file.
Similer you can also do the same. get the flat file from R3 and then convert to BW hierarhcy file using local program and then load to BW.
Sanjiv
Message was edited by:
Sanjiv Kumar
Similar Messages
-
Error when Bulk load hierarchy data
Hi,
While loading P6 Reporting databases following message error appears atthe step in charge of Bulk load hierarchy data into ODS.
<04.29.2011 14:03:59> load [INFO] (Message) - === Bulk load hierarchy data into ODS (ETL_LOADWBSHierarchy.ldr)
<04.29.2011 14:04:26> load [INFO] (Message) - Load completed - logical record count 384102.
<04.29.2011 14:04:26> load [ERROR] (Message) - SqlLoaderSQL LOADER ACTION FAILED. [control=D:\oracle\app\product\11.1.0\db_1\p6rdb\scripts\DATA_WBSHierarchy.csv.ldr] [file=D:\oracle\app\product\11.1.0\db_1\p6rdb\temp\WBSHierarchy\DATA_WBSHierarchy.csv]
<04.29.2011 14:04:26> load [INFO] (Progress) - Step 3/9 Part 5/6 - FAILED (-1) (0 hours, 0 minutes, 28 seconds, 16 milliseconds)
Checking corresponding log error file (see below) I see that effectively some records are rejected. Question is: How could I identify the source of the problem and fix it?
QL*Loader: Release 11.1.0.6.0 - Production on Mon May 2 09:03:22 2011
Copyright (c) 1982, 2007, Oracle. All rights reserved.
Control File: DATA_WBSHierarchy.csv.ldr
Character Set UTF16 specified for all input.
Using character length semantics.
Byteorder little endian specified.
Data File: D:\oracle\app\product\11.1.0\db_1\p6rdb\temp\WBSHierarchy\DATA_WBSHierarchy.csv
Bad File: DATA_WBSHierarchy.bad
Discard File: none specified
+(Allow all discards)+
Number to load: ALL
Number to skip: 0
Errors allowed: 50
Bind array: 64 rows, maximum of 256000 bytes
Continuation: none specified
Path used: Conventional
Table WBSHIERARCHY, loaded from every logical record.
Insert option in effect for this table: APPEND
TRAILING NULLCOLS option in effect
Column Name Position Len Term Encl Datatype
PARENTOBJECTID FIRST * WHT CHARACTER
PARENTPROJECTID NEXT * WHT CHARACTER
PARENTSEQUENCENUMBER NEXT * WHT CHARACTER
PARENTNAME NEXT * WHT CHARACTER
PARENTID NEXT * WHT CHARACTER
CHILDOBJECTID NEXT * WHT CHARACTER
CHILDPROJECTID NEXT * WHT CHARACTER
CHILDSEQUENCENUMBER NEXT * WHT CHARACTER
CHILDNAME NEXT * WHT CHARACTER
CHILDID NEXT * WHT CHARACTER
PARENTLEVELSBELOWROOT NEXT * WHT CHARACTER
CHILDLEVELSBELOWROOT NEXT * WHT CHARACTER
LEVELSBETWEEN NEXT * WHT CHARACTER
CHILDHASCHILDREN NEXT * WHT CHARACTER
FULLPATHNAME NEXT 8000 WHT CHARACTER
SKEY SEQUENCE (MAX, 1)
value used for ROWS parameter changed from 64 to 21
Record 14359: Rejected - Error on table WBSHIERARCHY, column PARENTLEVELSBELOWROOT.
ORA-01400: cannot insert NULL into ("ODSUSER"."WBSHIERARCHY"."PARENTLEVELSBELOWROOT")
Record 14360: Rejected - Error on table WBSHIERARCHY, column PARENTOBJECTID.
ORA-01722: invalid number
Record 14361: Rejected - Error on table WBSHIERARCHY, column PARENTOBJECTID.
ORA-01722: invalid number
Record 27457: Rejected - Error on table WBSHIERARCHY, column PARENTLEVELSBELOWROOT.
ORA-01400: cannot insert NULL into ("ODSUSER"."WBSHIERARCHY"."PARENTLEVELSBELOWROOT")
Record 27458: Rejected - Error on table WBSHIERARCHY, column PARENTOBJECTID.
ORA-01722: invalid number
Record 27459: Rejected - Error on table WBSHIERARCHY, column PARENTOBJECTID.
ORA-01722: invalid number
Record 38775: Rejected - Error on table WBSHIERARCHY, column PARENTLEVELSBELOWROOT.
ORA-01400: cannot insert NULL into ("ODSUSER"."WBSHIERARCHY"."PARENTLEVELSBELOWROOT")
Record 38776: Rejected - Error on table WBSHIERARCHY, column PARENTOBJECTID.
ORA-01722: invalid number
Record 38777: Rejected - Error on table WBSHIERARCHY, column PARENTOBJECTID.
ORA-01722: invalid number
Record 52411: Rejected - Error on table WBSHIERARCHY, column PARENTLEVELSBELOWROOT.
ORA-01400: cannot insert NULL into ("ODSUSER"."WBSHIERARCHY"."PARENTLEVELSBELOWROOT")
Record 52412: Rejected - Error on table WBSHIERARCHY, column PARENTOBJECTID.
ORA-01722: invalid number
Record 52413: Rejected - Error on table WBSHIERARCHY, column PARENTOBJECTID.
ORA-01722: invalid number
Record 114619: Rejected - Error on table WBSHIERARCHY, column PARENTLEVELSBELOWROOT.
ORA-01400: cannot insert NULL into ("ODSUSER"."WBSHIERARCHY"."PARENTLEVELSBELOWROOT")
Record 114620: Rejected - Error on table WBSHIERARCHY, column PARENTOBJECTID.
ORA-01722: invalid number
Record 127921: Rejected - Error on table WBSHIERARCHY, column PARENTLEVELSBELOWROOT.
ORA-01400: cannot insert NULL into ("ODSUSER"."WBSHIERARCHY"."PARENTLEVELSBELOWROOT")
Record 127922: Rejected - Error on table WBSHIERARCHY, column PARENTOBJECTID.
ORA-01722: invalid number
Record 164588: Rejected - Error on table WBSHIERARCHY, column PARENTLEVELSBELOWROOT.
ORA-01400: cannot insert NULL into ("ODSUSER"."WBSHIERARCHY"."PARENTLEVELSBELOWROOT")
Record 164589: Rejected - Error on table WBSHIERARCHY, column PARENTOBJECTID.
ORA-01722: invalid number
Record 171322: Rejected - Error on table WBSHIERARCHY, column PARENTLEVELSBELOWROOT.
ORA-01400: cannot insert NULL into ("ODSUSER"."WBSHIERARCHY"."PARENTLEVELSBELOWROOT")
Record 171323: Rejected - Error on table WBSHIERARCHY, column PARENTOBJECTID.
ORA-01722: invalid number
Record 186779: Rejected - Error on table WBSHIERARCHY, column PARENTLEVELSBELOWROOT.
ORA-01400: cannot insert NULL into ("ODSUSER"."WBSHIERARCHY"."PARENTLEVELSBELOWROOT")
Record 186780: Rejected - Error on table WBSHIERARCHY, column PARENTOBJECTID.
ORA-01722: invalid number
Record 208687: Rejected - Error on table WBSHIERARCHY, column PARENTLEVELSBELOWROOT.
ORA-01400: cannot insert NULL into ("ODSUSER"."WBSHIERARCHY"."PARENTLEVELSBELOWROOT")
Record 208688: Rejected - Error on table WBSHIERARCHY, column PARENTOBJECTID.
ORA-01722: invalid number
Record 221167: Rejected - Error on table WBSHIERARCHY, column PARENTLEVELSBELOWROOT.
ORA-01400: cannot insert NULL into ("ODSUSER"."WBSHIERARCHY"."PARENTLEVELSBELOWROOT")
Record 221168: Rejected - Error on table WBSHIERARCHY, column PARENTOBJECTID.
ORA-01722: invalid number
Record 246951: Rejected - Error on table WBSHIERARCHY, column PARENTLEVELSBELOWROOT.
ORA-01400: cannot insert NULL into ("ODSUSER"."WBSHIERARCHY"."PARENTLEVELSBELOWROOT")
Record 246952: Rejected - Error on table WBSHIERARCHY, column PARENTOBJECTID.
ORA-01722: invalid number
Table WBSHIERARCHY:
+384074 Rows successfully loaded.+
+28 Rows not loaded due to data errors.+
+0 Rows not loaded because all WHEN clauses were failed.+
+0 Rows not loaded because all fields were null.+
Space allocated for bind array: 244377 bytes(21 rows)
Read buffer bytes: 1048576
Total logical records skipped: 0
Total logical records read: 384102
Total logical records rejected: 28
Total logical records discarded: 0
Run began on Mon May 02 09:03:22 2011
Run ended on Mon May 02 09:04:07 2011
Elapsed time was: 00:00:44.99Hi Mandeep,
Thanks for the information.
But still it doesnot seem to work.
Actally, i have Group ID and Group Name as display field in the Hiearchy table.
Group ID i have directly mapped to Group ID.
I have created a Split Hierarchy of Group Name and mapped it.
I have also made all the options configurations as per your suggestions, but it doenot work still.
Can you please help.
Thanks,
Priya. -
DTP error: Lock NOT set for: Loading master data attributes
Hi,
I have a custom datasource from ECC which loads into 0CUST_SALES. I'm using DTP & transformation which has worked for loading data in the past for this infoobject. The infopackage loads with a green status but when i try to load data, the DTP fails with an error message at "Updating attributes for InfoObject 0CUST_SALES Processing Terminated" & the job log says: "Lock NOT set for: Loading master data attributes". I've tried reactivating everything but it didn't help. Does anyone know what this error means? We're on SP7. Thanks in advance!Hello Catherine
I have had this problem in the past (3.0B) --> the reason is that our system was too slow and could not crunch the data fast enough, therefore packets where loacking each other.
The fix: load the data into the PSA only, and then send it in background from the PSA to the info object. By doing this, only a background process will run, therefore locks cannot happen.
Fix#2: by a faster server (by faster, I mean more CPU power)
Now, maybe you have another issue with NW2004s, this was only my 2 cents quick thought
Good luck!
Ioan -
Creating sets using a table data
Hi,
I have a table TVBVK which is for sales and not related to FI data. I am trying to create sets so that the sales office would be the parent node and the sales group would be the child. I am using GS01 and it seems that it would not work because the parent which is the sales office value that is different from the child value that is the sales group.
How would I create an hierarchy using sets by reading from this table? Would it be possible? Could I create sets so that the field names are different?
ThanksHi,
How woull that be? Would you elaborate why?
Thanks
Will -
Lock NOT set for: Loading master data attributes error
Hi experts,
We were encountering this error before when trying to load master data. When we checked the system we could not find any locks at the time, and activation or kicking off the attribute change run failed again. We finally solved the problem running FM RSDDS_AGGR_MOD_CLOSE which sets the close flag to 'X' in table RSDDAGGRMODSTATE. I have read that it is possible this lock error happens when two change runs happen at the same time.
My question are:
1. is it possible to find out what process exactly "caused" the lock? the table RSDDAGGRMODSTATE does not have a reference to any object or job. I am curious as we are trying to find ways to avoid this in the future...
2. in our case, when we could not find any locks, is running this fm the only work around? is this a best practice?
mark
Message was edited by:
Mark Siongco
Message was edited by:
Mark SiongcoHello Catherine
I have had this problem in the past (3.0B) --> the reason is that our system was too slow and could not crunch the data fast enough, therefore packets where loacking each other.
The fix: load the data into the PSA only, and then send it in background from the PSA to the info object. By doing this, only a background process will run, therefore locks cannot happen.
Fix#2: by a faster server (by faster, I mean more CPU power)
Now, maybe you have another issue with NW2004s, this was only my 2 cents quick thought
Good luck!
Ioan -
Error from loading Hierarchy data from BW
I am following the BPC NW online help to load the costcenter master data from BW, The members were successfully loaded, but
when I tried to load the hierarchy, I received the following message"
Task name HIERARCHY DATA SOURCE:
Info: Hierarchy node includes text node or external characteristics
Record count: 50
Task name CONVERT:
No 1 Round:
Record count: 50
Accept count: 50
Reject count: 0
Skip count: 0
Task name HIERARCHY DATA TARGET:
Hierarchy nodes include dimension members that do not exist
Submit count: 0
Application: CONSOLIDATION Package status: ERROR
I am pretty sure that all the dimension members were loaded in this herarchy. Since the hierarchy node I am trying to load only include 2 level, I have only 49 base member and 1 node which I can see from the BPC admin after master data,following is the.tranformation and conversion file:
*OPTIONS
FORMAT = DELIMITED
HEADER = YES
DELIMITER = ,
AMOUNTDECIMALPOINT = .
SKIP = 0
SKIPIF =
VALIDATERECORDS=YES
CREDITPOSITIVE=YES
MAXREJECTCOUNT=
ROUNDAMOUNT=
*MAPPING
NODENAME=NODENAME
HIER_NAME=HIER_NAME
PARENT=PARENT
ORDER=ORDER
IOBJNM=IOBJNM
VERSION=VERSION
*CONVERSION
HIER_NAME=HIER_NAME.xls
NODENAME=HIER_NAME.xls!NODE_NAME
PARENT=HIER_NAME.xls!NODE_NAME
CONVERION TAB:
EXTERNAL INTERNAL FORMULA
CC_Her PARENTH1 where CC_Her is the name of the gerarchy in BI
NODENAME TAB:
EXTERNAL INTERNAL FORMULA
* js:%external%.toString().replace(/\s+/g,"")
Did I miss anything?
Edited by: Jianbai on Jan 18, 2011 9:57 PM
Edited by: Jianbai on Jan 19, 2011 12:29 AMHi Jianbai,
The following link describes the steps to import master data/hierarchies from SAP BW into SAP BPC 7.5 NW..
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c02d0b47-3e54-2d10-0eb7-d722b633b72e?quicklink=index&overridelayout=true
Hope this helps!
Thanks
BSV -
Loading Hierarchy data from a DSO!
Hi SDN,
We have a ZTable containing a custom hierarchy in the SAP ECC system and we bring all its data into a staging DSO in BI via PSA.
So now we have the hierarchy data in two places: PSA and a write-optimized staging DSO.
Any idea how can we load the data from either of the two into a hierarchy? Is there a standard SAP BI function module which can be called by a program to input data and be loaded into the hierarchy tables?
I know we have the option of dumping data into a flat file and then use a standard extractor to load. We prefer doing it the other way, if possible.
Please advise.
Thanks.
SMHello Shahid,
I do ot think you can do this directly. you can use the method Arun mentioned to get what you want.
Another way is that yuo can use flat file to load the hierarchy into Bi if you can export the Ztable to a file.
Regards
Jonas -
Error while creating INFOPACKAGE to load transaction data
Hi,
I am getting the following error while creating infopackage:
"Error in Conversion exit CONVERSION_EXIT_CUNIT_INPUT"
I am getting this error when I click on the Start button under the schedule tab in the screen Administrator Workbench: Modelling.
I clicked on Monitor icon to view the diagnosis. The diagnosis is mentioned below:
the screen is Performance Assistant Window and the diagnosis message appears in italics.
<i>Message No RSAR137
DIAGNOSIS
An error occurred in record 1 during execution of conversion exit CONVERSION_EXIT_CUNIT_INPUT for field UNIT.
Procedure
Check that the record where error occurred has the correct format and correct it accordingly. </i>
Please note that I have succesfully created update rules as I didn't get any error.
Also I would like some one to explain me clearly the differences between transfer rules and update rules with a clear explanation please.
Please help me.
Thank you.
Tristan.Hello Tristan,
I was used to get the same kind of problems before.
I got the problem with the data source type-Flat File (.csv)
One solution that I have done:
1) checked the particular record in which the error message refer to
2) tested the particular unit from the transaction se37
Function Module = CONVERSION_EXIT_CUNIT_INPUT
Press F8 in order to execute
This would be help a bit
3) corrected data from the flat file
another alternative solution was by:
handling the data using routine in the transfer rules
For my case, before executing the InfoPackage, data from flat file could be previewed. At this point, I could check which records caused the problems.
I'm not sure about your case whether data came from which type of data source.
That's all I could share for now.
-WJ- -
Set Selection Load Master Data
Hello
I need to load customer master data from BW but I need to select only the customer wiht attribute Delete Flag is blank.
If I select
Delete Flag =
Is not working. How BPC understand blank?
Message was edited by: Ariane de Souza PintoHello Nagarjuna!
I tried Delete Flag = "" and not worked:
No records are returned from ZBPCSHPTO
And It don't have the option <>. -
Lock NOT set for: Loading master data attributes
Error when running Process chain on a load pls can you advise?
ThanksHi,
Probably some other job is running for the same tables,or activation change run is happening.
Check your monitor to see what other jobs are running or check in SM37. Wait till those jobs finish and then try again.
You can also use tcode SM12 to delete any lock entries as well.
Cheers,
Kedar -
Error in Setting lock for Master Data Load
Hi Team,
I encounter the following error while uploading the Masterdata
"Lock NOT set for: Loading master data attributes
Attributes of characteristic 0BPARTNER are locked by terminated change run 465451241"
I Performed the following steps
1) Checked if any active jobs (change run jobs) running in the system. But no jobs running.
2) RSATTR->infoobject list-> no infoobject found
3)Tried after sometime ,but load continue to fail
Could anyone help to solve the problem
thanks
BalaHi Bala,
Check in SM12 if there are any locks exist with the change run number?
First check if there are any Master data loads running related to it?
Check in the Attribute change run screen if there are any change run steps are running?
Once after checking the above if no locks exist and no master data is running then check the below steps
1. Run RSA1 transaction
2. Tools -> Apply Hierarchy/Attibutes Change(or direct transaction RSATTR)... menu option
3. Click at "Monitor and Start terminated Change Runs" button (at the bottom of the screen)
4. Click "Reset Status" button at Run ID 465451241
NOTE: this is not recommended, to unlock the locks better to wait till the locks get relased.
If still the error message persists then we can use a FM in se37 in serious cases which was not recommended by SAP...
Use RSDDS_AGGR_MOD_CLOSE in se37 and execute--->there give ur failed change run no(465451241) beside I_CNSID and execute...
It releases all the locks by that change run....and continue with your further work/jobs...
Regards
KP -
Where to set lock while loading master data attributes
Hello Experts,
I have two different datasources from ECC which loads into 0CUST_SALES attributes. I'm using two different DTP & transformation which are loading data in the this infoobject attributes.
When i try to load data, the DTP fails with an error message at "Updating attributes for InfoObject 0CUST_SALES Processing Terminated" & the job log says: "Lock NOT set for: Loading master data attributes".
Here what exactly LOCK means?
Thanks in advance.
Zakir Khan.Hi,
The lock means that some program is updating the master data (a table) and at the same time other program can not update that same master data. When the first program completes the updation it will release the lock so that the other program can update this.
In your case you and schedule the DTP one after another.
Thanks -
Hierarchy load -Master Data(No attributes,Text data loaded)
I have been trying to load hierarchy data in the datasource 0BBP_BIGURE_HIER from SRM to my BI system but the monitor shows the req remaining in yellow for hours together.The data comes fine till PSA but doesnt get loaded to the Infoobject 0BBP_BIGURE.The text data has been succesfully loaded for 0BBP_BIGURE.No attributes for the infoobejct to be loaded.
Can someone provide some information abt how to load 0BBP_BIGURE_HIER from SRM and what can be the possible errors.
Regards,
Joy
[email protected]Hi,
I have tried what it says in SAP url(http://help.sap.com/saphelp_nw2004s/helpdata/en/85/14853df3e60968e10000000a114084/frameset.htm). I have reset the timestamp in the table BBP BWTIMESTAMP in Enterprise Buyer but, then, when i tried to upload the hierarchy again as it says, the problem persist. The monitor keeps the yellow status and the hierarchy doesn´t upload.
What have you done to solve it finally?
Thanks a lot. -
Hierarchy data(Profit center Hierarchy,Cost element)
Hi every one,
How can i load the hierachy data from R3 to BW?
Please search the forum
Edited by: Pravender on Jul 13, 2010 6:56 PMHello Prudhvi,
In SAP R/3, Tcode RSA5. Find appropriate Hierarchy Datasource for Profit center, cost center .
Activate the data source. Once activated you can see this datasource in RSA6 (in Source system itself). There in RSA6 you will be able to test run this data source(also you will be able to see the data for this test run). If you want you can also test this data source in RSA3 also.
Now in BW system: Replicate this data source. create mappings(update rules etc) between this Hierarchy data source and the Hierarchy infoobject.
Now you can create InfoPackage for this Datasource and Schedule it to load Hierarchy data in BW
Hope this helps.
Regards,
Pratap Sone -
Error while loading Hierarchy using Idoc
Hi Experts,
I am loading Hierarchy data from r/3 to Bw,
After load , in the monitoring details tab
its like this
Data Package 1 ( Records ) : Everything OK
Transfer rules ( 911 Records ) : No errors
Hierarchies for master data received. Processing being started.
Transfer 911 data records in communication structure
Update ( 0 new / 0 changed ) : No errors
Data saved successfully
Processing end : No errors
Data successfully transferred to the update
Subseq. processing (messages) : No errors
-> Start update of master data hierarchy
<- End update of master data hierarchy
Hierarchy successfully activated
the hierarchy is adding to the infoobject
But in the reporing it showing like not assigned material
I think the hierarchy is not loaded correctly into the target.
because of the Idoc process , i am Unable to debugg..
plz give me any ideaHi Vijay
Here:
NODENAME tab
EXTERNAL INTERNAL FORMULA
* js:%external%.toString().replace(/\s+/g,"")
* js:%external%.toString().replace("#","_")
* js:%external%.toString().replace(",","_")
A006-#???? *skip
Only the first line will work, you have to perform all replacements in on JS line, like:
js:%external%.toString().replace(/\s+/g,"").replace("#","_").replace(",","_")
* in EXTERNAL means ALL
Vadim
Maybe you are looking for
-
HOT Redeployment of EAR fails with Classloader error
App Server: WLS 10.3 OS: Solaris 9 I have installed WLS installed with a domain, admin and a managed server. Everything is working fine. I have WAR and EAR deployed successfully on the Managed Server. HOT deployment of WAR files works perfectly fine.
-
When printing form using Adobe Acrobat X, I get squares over my italic text
Hi, I have created an Adobe Form using Adobe Acrobat XI Pro and just printed it to check whether this works and the following occured: - When printing my 14 page document using adobe reader everything looked great - When printing my 14 page document
-
Hi all, I'm building a website using DWCS3's 'fixed layout with header and footer' The page looks great in DW but when I preview in the IE7 browser, it looks different. In DW, there is a small gap (around 20px) at the top of the sidebar and the main
-
Hi all, I am having a problem with opening downloaded files. I downloaded the windows media player for mac os from the microsoft website. The players icon is on my desktop. How the hec do I run it?? When I doubleclick on it it says script editor cann
-
Nested Repeater and Binding Problem - Please Help
I have nested repeaters and binding seems to work with the outer repeater, but not with the inner repeater. I have boiled it down to a pretty concise case. If someone could offer hints I would be most appreciative! I understand the objects I am using