I have to load hierarchy from flat file
Hi Guys,
I build a balance sheet Report,which is showing the report based on financial statement item(0glaccext)hierarchy.
But previously client is maintaining some third party system,so client wants to load all the GL accounts in to BW.
When i load the GL accounts in to BW using flat file,in report it is not showing based on hierarchy for the flat file GL accounts.
So i need to load the hierarchy also for those GL accounts,how to load the GL accounts using flat file to maintain the hierarchy based on Assets,liabilities etc...
Abdul,
You might want to take a look here:
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/0403a990-0201-0010-38b3-e1fc442848cb
or else see this weblog:
/people/prakash.bagali/blog/2006/02/07/hierarchy-upload-from-flat-files
assign points if useful
kalyan
Similar Messages
-
Loading Hierarchy from flat file giving dump
Hi gurus,
i am trying to load data from flat file to hierarchy, when i am trying to schedule the infopackage its giving message PLEASE SELECT THE VALID INFOOBJECT and if i proceed even its giving a dump :-ASSIGN LENGTH 0.
i tired using i-doc method...then i am getting records in to BW in red and the same error
InfoObject INFOOBJECT is not available.
i followed the blog
/people/prakash.bagali/blog/2006/02/07/hierarchy-upload-from-flat-files
> points will be assigned for inputs.
Message was edited by:
ravi ahi guys,
my heirarchy is different from the one in the blog. should i mark all the infoobjects in all nodes as hierarchy relavant or only the bottom one? i also brought the 0hier_node from the business content. i dont know what other valid infoobject is missing ......plz help........
the following are more details about the dump
Program error: ASSIGN with length 0 in program "SAPLRRSV".
Error analysis
An ASSIGN statement in the program "SAPLRRSV" contained a field symbol with
length 0. This is not possible.
length 0.
This is not possible -
Error when loading hierarchy from Flat-file
I am trying to get the Fund Group-Fund Fund Center Hierarchy .
Ie : Fund Group
Fund 1
Fund center 1
Fund Center 2
Fund Group 2
I am trying to load it from a flat file.
I got the Flat file structure for the hierarchy.
& I am trying to load it to the Funds Group master data.
I am stuck at IPak.
In the Processing Tab,
Only the option Only PSA is enabled.
My Doubt is :
Why are the other options disabled: could it be because I might have missed something in my previous steps ???
Or
if I load till PSA , I dont know how to load it to the Master data from there -as when I schedule it : I can see it in PSA but then it stays in Yellow & then turns to Red.Hi,
Go to monitor(RSMO)then verify on detail tab for PSA Load. Hope this help you,
Thanks
DST -
Upload hierarchy from flat file to BPC
Hello SAP Guru,
I have download customer / material hierarchy in flat flie from BI/BW and now I want to upload hierarchy from flat file to BPC
Please can any one give me step by step method to load hierarchy from Flat file to SAP - BPC.
Thanks in advance.
With regards,
Anand KumarHi Saida Reddy,
why you resurrect a 5 years old thread? Surely he solved in the meanwhile his issue, see please dr Frankenstein.
Regards
Roberto -
Load hierarchy through flat file
I am trying to load a hierarchy through a flat file and followed the SDN blog mentioned below.
Hierarchy Upload from Flat files
However, I get this runtime error while loading.
Runtime Error ASSIGN_LENGTH_0
Information on where terminated
The termination occurred in the ABAP program "SAPLRRSV" in
"RRSV_INT_CHA_VAL_SPLIT".
The main program was "RSABW_START_NEW ".
The termination occurred in line 42 of the source code of the (Include)
program "LRRSVU10"
of the source code of program "LRRSVU10" (when calling the editor 420).
Source Code Extract
Line SourceCde
12 *" VALUE(E_CHAVL_EXT) TYPE RSD_CHAVL_EXT
13 *" VALUE(E_T_DEP) TYPE RRSV_T_DEP
14 *" EXCEPTIONS
15 *" UNKNOWN_CHANM
16 *" UNKNOWN_INFOCUBE
17 *"----
18
19 DATA: l_s_cob_pro TYPE rsd_s_cob_pro.
20 DATA: l_t_cob_pro_cmp TYPE rsd_t_cob_pro.
21 DATA: l_subrc LIKE sy-subrc.
22 DATA: l_offset TYPE i.
23 DATA: l_s_dep TYPE rrsv_s_dep.
24
25 FIELD-SYMBOLS: <chavl>.
26
27 IF i_very_internal = rs_c_true. "SB
28 i_with_const = rs_c_true. "SB
29 ENDIF. "SB
30
31 PERFORM cob_pro_cmp_get USING i_infocube i_chanm
32 CHANGING l_t_cob_pro_cmp
33 l_subrc.
34 IF NOT l_subrc IS INITIAL.
35 PERFORM raise USING rs_c_false l_subrc i_chanm space.
36 ENDIF.
37
38 l_offset = 0.
39
40 LOOP AT l_t_cob_pro_cmp INTO l_s_cob_pro.
41 IF i_with_const = rs_c_true OR l_s_cob_pro-chaconst IS INITIAL.
>>>>> ASSIGN i_chavl_int+l_offset(l_s_cob_pro-intlen) TO <chavl>.
43 IF l_s_cob_pro-iobjnm = i_chanm.
44 IF <chavl> IS INITIAL
45 OR <chavl> EQ rsd_c_initial.
46 IF i_very_internal = rs_c_true.Hi,
This is Thilak. For loading Data To hierarchy from flat file u should follow the below steps.
1. Create info objects as per ur hierarchy structure. i.e., ZH_CNO( for cno), ZH_SRGN (for region) .
2. find the highest node level info object. i.e., ZH_CNO.
3. go to that info object (highest node level info object) and select "with hierarchy" chk box.
4. click on " MAINTAIN HIERARCHY" button and move the external characteristics info objects to rt. side pannel.i.e., ZH_SRGN.
(Hint : other than first and last node level characteristics)
5. Activate the info object.
6. Create the info source (ZH_IS) of " DIrect Update Type".
7. Assign Hierarchy Data source( ZH_CNO_HIER) to that info source.
8. Schedule the info package to load the hierachy data from flat file.
Note: If u have any doubts regarding flat file format and hierarchy structure plz call to +91 9600015640 or mail to thilak.oggn@gmail. bcz i am unable to draw that hier strtr ana table.
Edited by: thilak. neelam on Oct 24, 2008 1:44 PM
Edited by: thilak. neelam on Oct 24, 2008 1:52 PM -
Loading data from flat file...
Hello,
I am actually experiencing a problem where I cant load data from a flat file into a table. I have actually reverse engineered the flat file into ODI. But the thing is I don't know how to load the data that is reversed into a RDBMS table. Added, I don't know how create this RDBMS table form within ODI to be reflected on the DB. Added, don't know how to load the data from the flat file onto this table without having to add the columns in order to map between the flat file and the table.
In conclusion, I need to know how to create an RDBMS table from within ODI on the database. And how to automatically map the flat file to the DB table and load the data into the DB table.
Regards,
HossamHi Hossam,
We can used ODI procedure to create table in the DB.
Make sure you keep the column name in the table name same as the column name in FLAT FILE so that it can automatically map the column.
and regarding Loading data from FLAT File i.e. our source table is FLAT FILE till ODI 10.1.3.4 we need to manually insert the datastore since the file system cannot be reversed.
Please let me know Hossam if i can assis you further.
Thanks and Regards,
Andy -
Loading data from flat file to ODS
Hi Experts,
I have a developed a report, in which Flat file is the datasource and data target as DSO.
Here I have one requriment to Increatment the counter value in TVARVC table after every load compleate.
Can this be done thru Process chain? I belive this can be done thru process chain by creating variable.
If this can be done thru Process chains can any experts send me sample examples code.
Thanks In Advance.
Sreedhar.MHi sridhar,
We have a similar scenario in which we will load data from flat file to datasource the file name (x_20081010.dat) of such format being fetched from the low value of the TVARVC table ... once successfully executed we had program to increment the value of low which increments by one day adn the next day the file with that will be placed in the application server...
U can create a abap program varaint and attribute for that and u can achieve that.... this is sample code which searches for the string and after some coding i.e once ur file has been loaded successful code u can write similar code to increment or counter values which u are asking for...
search s_tvarvc-low for '20'.
if sy-subrc ne 0.
sy-msgty = 'E'.
sy-msgid = 'ZWM1'.
sy-msgno = '000'.
sy-msgv1 = 'Unable to find DATE to increment'.
raise unable_increment.
else.
w_date = s_tvarvc-low+sy-fdpos(08).
w_nextdate = w_date + 1.
replace w_date with w_nextdate into s_tvarvc-low.
modify tvarvc from s_tvarvc.
endif.
Regards
vamsi -
Loading data from flat file to table
Hi,
I am using OWB 10g R2. I have to develop a map which loads data from flat file to table.
1. I have created a .csv file.
2. Import that into OWB by Module Wizard.
3. I have created one external table, which use the .csv file.
After that what I have to do for successfully loading the data into table.
Regards,
SanjoyHi Sanjoy
You can building a mapping to move the data from somewhere to somewhere else. More specifically;
1. create a mapping
2. add external table to mapping
3. add table to mapping for target (it can be unbound)
4. map from external table ingroup to target table ingroup (all columns will be mapped)
5. if target table was unbound right click on target table and click create and bind
This is a basic mapping you can have for this scenario. There is a post here which does something like this, but it will create a File to Table mapping which will use SQLLoader.
http://blogs.oracle.com/warehousebuilder/2009/01/expert_useful_scripts_from_simple_primitives.html
Cheers
David -
Loading data from flat file into 0EMPLOYEE
Dear,
I want to see the <b>'monthly change of numbers of employees'</b> of my company in a BW report.
i want to do this by loading data from a dummy flat file into 0EMPLOYEE and afterwards into cube 0PAPA_C02.
i've searched the whole 'help and service sap' websites but nowhere, i could find a usefull user guide.
Could you explain me how this job needs to be done, are there certain steps that need to be taken?
here are a few of my questions:
1: what fields and data do i have to fill in my flat file?
2: how does the time-dependency of master data of employee work?
3: why do you only have to map 0calday and 0employee from infosource 0HR_PA_PA_1 to the corresponding fields of cube 0PAPA_C02?
4: how is the key figure 0HDCNT_VC filled automathically?
(the activation of cube 0PAPA_C02 and its flow is already done.)
or maybe you know a user guide which explains the whole picture and could you send me its link?
thanks a lot in advance,
Julie de MeyerHi,
Employee is master data : You need to extarct data every month.Once the extraction is done , you need rto activate to see the results. Otherwise it will display old result.
You can extract data for 0HR_PA_0 and 0HR_PA_1 cubes also. After that you can do the reporting based on this.
You can try some sap standard BI reports .
Headcount is calculated based on employement percentage which is maintained in infotype 0007 (Planned Working Time). If it is 100 then it is considerd as headcount 1.
you can check .
http://help.sap.com/saphelp_nw2004s/helpdata/en/63/351e3c6a2fc036e10000000a114084/frameset.htm
Regards
Nilesh -
Error while loading table from flat file (.csv)
I have a flat file which i am loading into a Target Table in Oracle Warehouse Builder. It uses SQL Loader Internally to load the data from flat file, I am facing an issue. Please find the following error ( This is an extract from the error log generated)
SQL*Loader-500: Unable to open file (D:\MY CURRENT PROJECTS\GEIP-IHSS-Santa Clara\CDI-OWB\Source_Systems\Acquisition.csv)
SQL*Loader-552: insufficient privilege to open file
SQL*Loader-509: System error: The data is invalid.
SQL*Loader-2026: the load was aborted because SQL Loader cannot continue.
I believe that this is related to SQL * Loader error.
ACtually the flat file resides in my system ( D:\MY CURRENT PROJECTS\GEIP-IHSS-Santa Clara\CDI-OWB\Source_Systems\Acquisition.csv). I am connecting to a oracle server.
Please suggest
Is it required that i need to place the flat file in Oracle Server System ??
Regards,
Ashoka BLHi
I am getting an error as well which is similar to that described above except that I get
SQL*Loader-500: Unable to open file (/u21/oracle/owb_staging/WHITEST/source_depot/Durham_Inventory_Labels.csv)
SQL*Loader-553: file not found
SQL*Loader-509: System error: The system cannot find the file specified.
SQL*Loader-2026: the load was aborted because SQL Loader cannot continue.
The difference is that Ashoka was getting
SQL*Loader-552: insufficient privilege to open file
and I get
SQL*Loader-553: file not found
The initial thought is that the file does not exist in the directory specified or I have spelt the filename incorrectly it but this has been checked and double checked. The unix directory also has permission to read and write.
Also in the error message is
Control File: C:\u21\oracle\owb_staging\WHITEST\source_depot\INV_LOAD_LABEL_INVENTORY.ctl
Character Set WE8MSWIN1252 specified for all input.
Data File: /u21/oracle/owb_staging/WHITEST/source_depot/Durham_Inventory_Labels.csv
Bad File: C:\u21\oracle\owb_staging\WHITEST\source_depot\Durham_Inventory_Labels.bad
As can be seen from the above it seems to be trying to create the ctl and bad file on my c drive instead of on the server in the same directory as the .csv file. The location is registered to the server directory /u21/oracle/owb_staging/WHITEST/source_depot
I am at a lost as this works fine in development and I have just promoted all the development work to a systest environment using OMBPlus.
The directory structure in development is the same as systest except that the data file is /u21/oracle/owb_staging/WHITED/source_depot/Durham_Inventory_Labels.csv and everything works fine - .ctl and .bad created in the same directory and the data sucessfully loads into a oracle table.
Have I missed a setting in OWB during the promotion to systest or is there something wrong in the way the repository in the systest database is setup?
The systest and development databases are on the same box.
Any help would be much appreciated
Thanks
Edwin -
Hi All,
Ex: If cube is loaded from Flat file , say with 10 records and during next load only 1 record is changed.
Is it possible to load cube with all 10 records without deleting previous request which should not result in duplicate records in cube?Hi.......
Infocube is always additive...........so there will be Duplicate records.........Only DSO has the overwritten option.......So for this u hav to go for DSO.........
But if u need to load in infocube only..........then u can do one thing..........
Start process
Delete Traget Content(Process : Complete Deletion of Data Target Contents )
Load infocube
Then first content of the cube will get deleted..........then cube will be loaded.........this will solve ur problem......
Hope this helps.....
Regards,
Debjani....... -
Help with loading infocube from flat file
Hi:
I am using SCM 5.1 and the BI 7.0 component that comes with it. I am trying to create an infocube and load it with flat file data but getting errors.
1. First I created the infoobjects and the infocube.
2.a I first tried to create only the data source and activate the datasource. This was not successful.
2.b I then tried to create the application component, infosource etc. (like one does in BW 3.0) but was still not successful.
If you have any pointers, could you please let me know? Thanks.
SatishYou can go through the following Blog for flat file loads.
https://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/60debae1-84dd-2b10-e7bf-bdedf1eabdf9
If you are getting any specific error, then you can post it here.
Regards,
Gaurav -
How to load Material from Flat File and convert to SAP Format
Hi
I am loading 0Material values from Flat File for mapping purpose. The format of Material in Flat File is "7704132". Within the system, i need to compare the value with 0Material values from the incoming data and update corresponding 0Material in records. for this purpose, I created dummy materials taking 0Material as template and trying to load data. I am getting invalid error- Version '7704132' is not valid RSDMD No194. Can anyone please let me know how to over come this issue. Should I include any routine in the data source or rules level. I am in BI 7.0.
Thanks.Hi,
Use the FM CONVERSION_EXIT_ALPHA_INPUT to convert the value into Internal format .Use this FM in the Transformations (field mapping).
Search the forum with CONVERSION_EXIT_ALPHA_INPUT for more information on this.
Regards,
Anil Kumar Sharma .P -
Error in loading data from flat file....
Hi,
While loading the data from flat file , only one column is getting populated in the ODS and after that the sixth column is getting populated with the null values. Also when I save the changes in CSV file .. its not getting saved.
Could you please tell me what could be the probable reason for this.
Also what are the points we should keep in mind while loading from flat files.
Regards,
JeetuHi,
You need to take care of -
1. you flat file structure ( left to right columns) should match with the datasource ( top to down) column to column. if you don't wish to laod some column, leave it as blank column in flat file.
2. your file should not be open when loading data
3. make sure your transfer rules & update rules are defined properly.
4. do the simulation in infopakage first & that will give you fair idea.
5. to start with load data first in PSA Only, check & then take it forward.
hope it helps
regards
Vikash -
LOADING HIERARCHIES FROM FLAT FILE.
Hi,
I'm new to BI, & have been given an assignment of uploading hierarchies from flat files. I'm stuck up in the step of creating infosource. plz help me out, hw to do dis in sap BI 7?
cos m using sap bi 7 & not 3.5
Edited by: user2487 on Aug 27, 2009 9:30 AMHi,
You can have a look at the below document on the same. It is not mandatory to use an InfoSource in the DataFlow.
https://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/60debae1-84dd-2b10-e7bf-bdedf1eabdf9
Regards,
Gaurav
Edited by: Gaurav Kothari on Aug 27, 2009 1:05 PM
Maybe you are looking for
-
Hi, I'm using the class cl_gui_frontend_services to allow the user to copy a file to a specified network drive (using the method file_copy). The user can open the file again, if he double clicks on a row in a ALV table. So far so good, this works alr
-
Problems with LR 3.5? Mac Lion 10.7.3
I have been having problems with LR 3.5, seems to have occured after I installed the latest MAC update, but not sure. I have installed my copy over the original program and updated it. I have even completely removed LR 3.5 and re-installed the prog
-
How to prevent users from saving and emailing intranet documents externally
Someone in our company needs to upload a pdf to our sharepoint intranet site for internal-only use. How can I prevent users from downloading it and emailing it externally? I mean, a user could screenshot it I guess, but I need to give management a du
-
My brushes look pixelated. What's going on?
I started Ps today and when I used the default soft round brush, it looked like this. The other brushes also look similar, like pixelated.
-
New mail messages not appearing in Inbox
Hi there, I IMAP my email at work using Mail. Sometimes, messages don't appear in the inbpx or Smart folder that I have set up. I have rules for most people which moves teh unread message into their respective mail folder on the mail server. Its only