How to Load Text Data whish is depended on Location --Compounding
Hi,
Employee is Compounded on Location
JOB is an attribute of an Employee
Job Description (Text) is Location Dependent...
Ex: Job- ADMIN in One location is describes as Administrator and in another location is describes as Supervisior...
I want to see both Administrator and Supervisior in the report in the respective location
How can i acheve this
Thanks
Hi,
Location and Employee will acts as a primary keys in both P and T tables. You have to Load Location and Employee and job in ur data.
Location Employee Job
India ABC Admin
US ABC Supervisor
In the above example the Location and Employee will be the primary keys. Depending on those same keys the data will gets overwirited.
Khaja
Similar Messages
-
How to load text data in BI 7
Hi Mark.
You can load text like you load the data to Master data attributes.
The flat file format foe text is like 'EN', 'MAT001', 'MATERIAL1'.
Cheers
Sunil -
How to load text data into internal table
I have a text file to load txt data into internal table. So how to read text data with validation and to load all text data into the internal table?
Say this is the text file:
IO_NAME, IO_TYPE, IO_SHTXT, IO_LONGTEXT, DATATYPE, DATA LENGTH
ZIO_TEST1, CHA, IO TEST1, IO TEST 1, CHAR, 20
ZIO_TEST2, CHA, IO TEST2, IO TEST 2, CHAR, 20
Regards,
MauHi,
U can use GUI_UPLOAD for this...
Declare an internal table like
data: begin of itab occurs 0,
string(1200),
end of itab.
check the sample code:
cange as you need
DATA: DATEI_PC TYPE STRING VALUE 'C:\MATNR.TXT'.
DATA: BEGIN OF ITAB occurs 0,
TXT(1024),
END OF ITAB.
CALL METHOD CL_GUI_FRONTEND_SERVICES=>GUI_UPLOAD
EXPORTING
FILENAME = DATEI_PC
FILETYPE = 'ASC'
CHANGING
DATA_TAB = ITAB[]
EXCEPTIONS
FILE_OPEN_ERROR = 1
FILE_READ_ERROR = 2
NO_BATCH = 3
GUI_REFUSE_FILETRANSFER = 4
INVALID_TYPE = 5
NO_AUTHORITY = 6
UNKNOWN_ERROR = 7
BAD_DATA_FORMAT = 8
HEADER_NOT_ALLOWED = 9
SEPARATOR_NOT_ALLOWED = 10
HEADER_TOO_LONG = 11
UNKNOWN_DP_ERROR = 12
ACCESS_DENIED = 13
DP_OUT_OF_MEMORY = 14
DISK_FULL = 15
DP_TIMEOUT = 16
NOT_SUPPORTED_BY_GUI = 17
ERROR_NO_GUI = 18
OTHERS = 19.
IF SY-SUBRC NE 0. WRITE: / 'Error in Uploading'. STOP. ENDIF.
WRITE: / 'UPLOAD:'.
LOOP AT ITAB. WRITE: / ITAB-TXT. ENDLOOP. -
How to load text data from multiple source systems.
Hello Gurus,
I am facing an issue of loading master data text into 0Material. I have loaded attribute data from 2 source systems. But i am not able load text data from the same 2 source systems as i am not able to see 0logsys in transfermation rules of 0MATERIAL.
Please gimme some inputs to proceed.
Thanks in advance
PeterHi,
I dont think that you need the source system info here, texts are mapped to attributs and attributs to source systems.
so try to load simply:
material key, text, lang (optional)
Hope it helps. -
How to load master data texts for (0calmonth)
Hi pro's
i hve a issue.
How to load master data texts for 0calmonth.
any help is appreciated
regards
cheerswithin the admin workbench goto source systems, right click on your source system and click on transfer global settings. There you can choose fiscal year variants and some other options to be loaded to BW.
Regards -
How to load text file data to Oracle Database table?
By using Oracle Forms, how to load text file data to Oracle Database table?
Metalink note 33247.1 explains how to use text_io as suggested by Robin to read the file into a Multi-Row block. However, that article was written for forms 4.5 and uses CREATE_RECORD in a loop. There was another article, 91513.1 describing the more elegant method of 'querying' the file into the block by transactional triggers. Unfortunately this more recent article has disappeared without trace and Oracle deny its existence. I know it existed as I have a printed copy in front of me, and very useful it is too.
-
How exactly can I load TEXT DATA to a Hyperion Planning application?
I have a data file that has TEXT data that I want to load to planning. I do not wish for this text data to be displayed in a Smart List, rather I want to use the new Planning data type "Text"
In chapter 5 of the Planning Admin Guide in the Matrix for Data Load Tools, it says the Planning Outline Load Utility can load Text Data values.
I can't make sense out of the the instructions to load data with this utility. Can someone please help me?
-ChrisHi John,
I like your idea of flipping the Data Load Dimension and the Driver Dimension. Unfortunately Planning won't let me set Period as a Data Load Dimension.
I only get Account, CCCC, Employee, SCCC, and SAU_CAU_Facility (5 of the 11 dimensions in this application).
So that's why I set the Data Load Dimension and the Driver Dimension as I did. It ran but with some kickouts on missing members. So 16 of the 19 records I sent processed and I understand why these three kicked out in the error file:_
[Tue Jul 28 10:33:37 EDT 2009] Error occurred loading data record 1: Job_Description,Wrkforce,ENVIRONMENTAL COORDINATOR,"BegBalance, 71_71_CAU, GAK_SCCC, No_CCCC, Actual, FY09, Final, Emp_7340"
[Tue Jul 28 10:33:37 EDT 2009] com.hyperion.planning.InvalidMemberException: The member Emp_7340 does not exist or you do not have access to it.
[Tue Jul 28 10:33:37 EDT 2009] Error occurred loading data record 2: Job_Description,Wrkforce,EXECUTIVE ASSISTANT,"BegBalance, 71_71_CAU, G02_SCCC, No_CCCC, Actual, FY09, Final, Emp_4435"
[Tue Jul 28 10:33:37 EDT 2009] com.hyperion.planning.InvalidMemberException: The member Emp_4435 does not exist or you do not have access to it.
[Tue Jul 28 10:33:37 EDT 2009] Error occurred loading data record 4: Job_Description,Wrkforce,PRESIDENT & COO-YANKEE ENERGY SYSTEM,"BegBalance, 71_71_CAU, G02_SCCC, No_CCCC, Actual, FY09, Final, Emp_8747"
[Tue Jul 28 10:33:37 EDT 2009] com.hyperion.planning.InvalidMemberException: The member Emp_8747 does not exist or you do not have access to it.
[Tue Jul 28 10:33:38 EDT 2009]Planning Outline data store load process finished with exceptions: exceptions occured, examine the exception file for more information. 19 data records were read, 19 data records were processed, 16 were successfully loaded, 3 were rejected.
The log file that loads tells some good news as well..._
Successfully logged into "Wrkforce" application, Release 11.111, Adapter Interface Version 5, Workforce supported and not enabled, CapEx not supported and not enabled, CSS Version 3
"Account" dimension properties and information:
Account, Parent, Alias: Default, Valid For Consolidations, Data Storage, Two Pass Calculation, Description, Formula, UDA, Smart List, Data Type, Operation, Data Load Cube Name, BegBalance, Point-of-View, Account Type, Time Balance, Skip Value, Exchange Rate Type, Variance Reporting, Source Plan Type, Plan Type (Wrkforce), Aggregation (Wrkforce)
No UDA's defined on "Account"
"Period" dimension properties and information:
Period, Parent, Alias: Default, Data Storage, Two Pass Calculation, Description, Formula, UDA, Smart List, Data Type, Operation, Type, Start Period, End Period, Aggregation (Wrkforce)
No UDA's defined on "Period"
"Years" dimension properties and information:
Years, Parent, Alias: Default, Data Storage, Two Pass Calculation, Description, Formula, UDA, Smart List, Data Type, Operation
No UDA's defined on "Years"
"Scenario" dimension properties and information:
Scenario, Parent, Alias: Default, Valid For Consolidations, Data Storage, Two Pass Calculation, Description, Formula, UDA, Smart List, Data Type, Operation, Start Year, Start Period, End Year, End Period, Exchange Table, Include BegBal, Process Management Enabled, Aggregation (Wrkforce)
No UDA's defined on "Scenario"
"Version" dimension properties and information:
Version, Parent, Alias: Default, Data Storage, Two Pass Calculation, Description, Formula, UDA, Smart List, Data Type, Operation, Version Type, Process Management Enabled, Aggregation (Wrkforce)
No UDA's defined on "Version"
"CCCC" dimension properties and information:
CCCC, Parent, Alias: Default, Valid For Consolidations, Data Storage, Two Pass Calculation, Description, Formula, UDA, Smart List, Data Type, Operation, Plan Type (Wrkforce), Aggregation (Wrkforce), Open_Closed_CCCC
No UDA's defined on "CCCC"
"Open_Closed_CCCC" attribute dimension (on base dimension "CCCC"). Attributes defined on the "Open_Closed_CCCC" dimension: Open_CCCC; Closed_CCCC;
Open_Closed_CCCC, Parent, Alias: Default, Operation
"Employee" dimension properties and information:
Employee, Parent, Alias: Default, Valid For Consolidations, Data Storage, Two Pass Calculation, Description, Formula, UDA, Smart List, Data Type, Operation, Aggregation (Wrkforce)
No UDA's defined on "Employee"
"SCCC" dimension properties and information:
SCCC, Parent, Alias: Default, Valid For Consolidations, Data Storage, Two Pass Calculation, Description, Formula, UDA, Smart List, Data Type, Operation, Aggregation (Wrkforce), Open_Closed_SCCC
No UDA's defined on "SCCC"
"Open_Closed_SCCC" attribute dimension (on base dimension "SCCC"). Attributes defined on the "Open_Closed_SCCC" dimension: Open_SCCC; Closed_SCCC;
Open_Closed_SCCC, Parent, Alias: Default, Operation
"SAU_CAU_Facility" dimension properties and information:
SAU_CAU_Facility, Parent, Alias: Default, Valid For Consolidations, Data Storage, Two Pass Calculation, Description, Formula, UDA, Smart List, Data Type, Operation, Aggregation (Wrkforce), Open_Closed_SCF
No UDA's defined on "SAU_CAU_Facility"
"Open_Closed_SCF" attribute dimension (on base dimension "SAU_CAU_Facility"). Attributes defined on the "Open_Closed_SCF" dimension: Open_SCF; Closed_SCF;
Open_Closed_SCF, Parent, Alias: Default, Operation
Exchange Rates properties:
Table, Description, To Currency, From Currency, Operation, Method, Historical, Beg Balance, Year, Period, Average, Ending
UDA properties:
Dimension, UDA, Operation
Translation input file fields:
Value, Driver Member, Point-of-View, Data Load Cube Name
[Tue Jul 28 10:33:35 EDT 2009]Successfully located and opened input file "D:\Hyperion\products\Planning\bin\testload.csv".
[Tue Jul 28 10:33:35 EDT 2009]Header record fields: Account, Data Load Cube Name, BegBalance, Point-of-View
[Tue Jul 28 10:33:35 EDT 2009]Located and using "Account" dimension for loading data in "Wrkforce" application.
[Tue Jul 28 10:33:38 EDT 2009]Load dimension "Account" has been unlocked successfully.
[Tue Jul 28 10:33:38 EDT 2009]A cube refresh operation will not be performed.
[Tue Jul 28 10:33:38 EDT 2009]Create security filters operation will not be performed.
[Tue Jul 28 10:33:38 EDT 2009]Examine the Essbase log files for status if Essbase data was loaded.
[Tue Jul 28 10:33:38 EDT 2009]Planning Outline data store load process finished with exceptions: exceptions occured, examine the exception file for more information. 19 data records were read, 19 data records were processed, 16 were successfully loaded, 3 were rejected. -
plz tell me .. how to load and compare two text files using file popup's . example file i have attached..
Attachments:
testW_FF.txt 2 KBI don't understand whether your question is on how to load text files or how to show them on a panel or how to compare them... or all aspects together!
The first operation (loading the file) can be accomplished with functions included in the Formatting and I/O Library like OpenFile, ReadFile and so on; with a file like yours even FileToArray could be an option.
How to show the data on screen is heavily dependent on what you intend to do with them: data can be shown in textboxes, listboxes, tables or graphs so... what do you want to do?
The same applies with comparison: without additional details is difficult to give you the proper hint.
Proud to use LW/CVI from 3.1 on.
My contributions to the Developer Zone Community
If I have helped you, why not giving me a kudos? -
How to load the data from excel file into temprory table in Forms 11g?
Hi
How to Load the data from excel file(Extension is .CSV) into the temporary table of oracle in Forms11g.
My Forms Version is - Forms [64 Bit] Version 11.1.2.0.0 (Production)
Kindly Suggest the Solution.
Regards,
SachinDeclare
v_full_filename varchar2(500);
v_server_path varchar2(2000);
v_separator VARCHAR2(1);
v_filename VARCHAR2(400);
filename VARCHAR2 (100);
v_stop_load varchar2 (2000);
v_rec_error_log varchar2(4000);
v_error_log varchar2(4000);
ctr NUMBER (12);
cols NUMBER (2);
btn number;
RES BOOLEAN;
application ole2.obj_type;
workbooks ole2.obj_type;
workbook ole2.obj_type;
worksheets ole2.obj_type;
worksheet ole2.obj_type;
cell ole2.obj_type;
cellType ole2.OBJ_TYPE;
args ole2.obj_type;
PROCEDURE olearg
IS
args ole2.obj_type;
BEGIN
args := ole2.create_arglist;
ole2.add_arg (args, ctr);
ole2.add_arg (args, cols);
cell := ole2.get_obj_property (worksheet, 'Cells', args);
ole2.destroy_arglist (args);
END;
BEGIN
v_full_filename := client_get_file_name(directory_name => null
,file_name => null
,file_filter => 'Excel files (*.xls)|*.xls|'
||'Excel files (*.xlsx)|*.xlsx|'
,message => 'Choose Excel file'
,dialog_type => null
,select_file => null
If v_full_filename is not null Then
v_separator := WEBUTIL_CLIENTINFO.Get_file_Separator ;
v_filename := v_separator||v_full_filename ;
:LOAD_FILE_NAME := substr(v_filename,instr(v_filename,v_separator,-1) + 1);
RES := Webutil_File_Transfer.Client_To_AS(v_full_filename,"server_path"||substr(v_filename,instr(v_filename,v_separator,-1) + 1));
--Begin load data from EXCEL
BEGIN
filename := v_server_path||substr(v_filename,instr(v_filename,v_separator,-1) + 1); -- to pick the file
application := ole2.create_obj ('Excel.Application');
ole2.set_property (application, 'Visible', 'false');
workbooks := ole2.get_obj_property (application, 'Workbooks');
args := ole2.create_arglist;
ole2.add_arg (args, filename); -- file path and name
workbook := ole2.get_obj_property(workbooks,'Open',args);
ole2.destroy_arglist (args);
args := ole2.create_arglist;
ole2.add_arg (args, 'Sheet1');
worksheet := ole2.get_obj_property (workbook, 'Worksheets', args);
ole2.destroy_arglist (args);
ctr := 2; --row number
cols := 1; -- column number
go_block('xxx');
FIRST_RECORD;
LOOP
--Column 1 VALUE --------------------------------------------------------------------
olearg;
v_stop_load := ole2.get_char_property (cell, 'Text'); --cell value of the argument
:item1 := v_stop_load;
cols := cols + 1;
--Column 2 VALUE --------------------------------------------------------------------
olearg;
:item2 := ole2.get_char_property (cell, 'Text'); --cell value of the argument
cols := cols + 1;
--<and so on>
ole2.invoke (application, 'Quit');
ole2.RELEASE_OBJ (cell);
ole2.RELEASE_OBJ (worksheet);
ole2.RELEASE_OBJ (worksheets);
ole2.RELEASE_OBJ (workbook);
ole2.RELEASE_OBJ (workbooks);
ole2.RELEASE_OBJ (application);
END;
--End load data from EXCELPlease mark it as answered if you helped. -
Step- by- Step on How to Load Excel data into Crystal Reports?
Hi Friends,
Can anyone send me a Step- by- Step on How to Load Excel data into Crystal Reports? Pls help me. Thanks in Advance.
VijayIt's also important to 'prep' the excel file prior to connecting to it.
Give the data tab a meaningful name
Make sure the column headers are unique and that every column has a header
Delete any blank tabs
If you have trouble with Excel changing the data type of a field (say, a social security number you want to be a string value rather than a number so you don't lose leading zero) an alternative would be to save the spreadsheet file as a CSV, create a schema.ini to specify the data types for each column (example below) and use the same steps to connect except instead of choosing Excel 8.0, scroll to the bottom and choose Text. You have to make sure the CSV file is in the same folder as the schema.ini file that defines the columns.
Schema.ini example:
200912PUSD.csv
ColNameHeader=True
Format=CSVDelimited
MaxScanRows=25
CharacterSet=OEM
Col1=SSN Char Width 9
Col2=LAST_NM Char Width 25
Col3=FIRST_NM Char Width 25
Col4=DOB Date
Col5=STDNT_ID Char Width 10
Col6=SORTKEY Char Width 10
Col7=SCHOOL_NM Char Width 30
Col8=OTHER_ID Integer
Col9=GRADE Char Width 2
The filename in the first line needs to have the [] brackets around it, but I couldn't get it to display in this forum correctly.
Edited by: Eric Petersen on Jan 27, 2010 9:40 AM -
How to load master data and hierarchies from R/3 systems
HI all,
how to load master data and hierarchies from R/3 systems.
Please explain the steps.
Thanks,
cheta.HI,
Its normally done following: Transferring the master datasources in RSA5 to RSA6 and then replicating the DS into BW and assignment of DS to Infosource and cretaion of Infopackage and load it into the master tables.
Generally, the control parameters for data transfer from a source system are maintained in extractor
customizing. In extractor customizing, you can access the corresponding source system in the source
system tree of the SAP BW Administrator Workbench by using the context menu.
To display or change the settings for data transfer at source system level, choose Business
Information Warehouse → General Settings → Maintaining Control Parameters for Data Transfer.
Note: The values for the data transfer are not hard limitations. It depends on the DataSource if these
limits can be followed.
In the SAP BW Scheduler, you can determine the control parameters for data transfer for individual
DataSources. You can determine the size of the data packet, the number of parallel processes for
data transfer and the frequency with which the status IDocs are sent, for every possible update
method for a DataSource.
To do so, choose Scheduler → DataSource → Default Settings for Data transfer.
In this way you can, for example, update transaction data in larger data packets in the PSA. If you
want to update master data in dialog mode, smaller packets ensure faster processing.
Hope this info helps.
Thanks,Ramoji. -
Loading Text data into internal table
I have a text file to load txt data into internal table. So how to read text data with validation and to load all text data into the internal table?
Say this is the text file:
IO_NAME, IO_TYPE, IO_SHTXT, IO_LONGTEXT, DATATYPE, DATA LENGTH
ZIO_TEST1, CHA, IO TEST1, IO TEST 1, CHAR, 20
ZIO_TEST2, CHA, IO TEST2, IO TEST 2, CHAR, 20
Regards,
Mauhi Mau,
look this code, maybe it's help u.
<b>REPORT ZTXTTOTABLE.</b>
DATA: p_file TYPE string value 'C:\teste.txt',
BEGIN OF TI_table OCCURS 0,
COD(5) TYPE C,
NAME(40),
END OF TI_table,
a(2).
PARAMETERS: sel_file(128) TYPE c
default 'C:\teste.txt' OBLIGATORY LOWER CASE.
p_file = sel_file.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = p_file
TABLES
data_tab = ti_table[].
format color COL_TOTAL INTENSIFIED ON.
loop at ti_table.
write: / sy-vline, ti_table-cod, at 10 sy-vline, ti_table-name,
at 60 sy-vline.
endloop.
write: / sy-uline(60).
AT SELECTION-SCREEN ON VALUE-REQUEST FOR sel_file.
CALL FUNCTION 'WS_FILENAME_GET'
EXPORTING
def_filename = ''
def_path = 'C:\'
mask = ',Documentos de texto (*.txt), *.txt.'
mode = ''
IMPORTING
filename = p_file
EXCEPTIONS
inv_winsys = 1
no_batch = 2
selection_cancel = 3
selection_error = 4
OTHERS = 5.
find '.txt' IN p_file.
if sy-subrc <> 0.
concatenate p_file '.txt' into sel_file.
else.
sel_file = p_file.
endif.
top-of-page.
format color COL_HEADING INTENSIFIED ON.
uline (60).
write: / sy-vline, 'COD', at 10 sy-vline, 'NAME', at 60 sy-vline.
write: / sy-uline(60).
good luck!
Regards
Allan Cristian -
Can u give clear steps how to load 3 data target at a time by the help of p
can u give clear steps how to load 3 data target at a time by the help of parllalesim
hi,
create the load infopackage type and give the infopack you need to load.
create 3 similar process types.
chain should have this flow
start -> delet index(if cube is the target) -> load target(connect the load process to start process) parallel -> and process -> create index(if cube)/actiavtion of ods(if ods)
Ramesh -
How to Load the data from excel file(Extension is .CSV) into the temp.table
Hi
How to Load the data from excel file(Extension is .CSV) into the temporary table of oracle in Forms11g.
My Forms Version is - Forms [64 Bit] Version 11.1.2.0.0 (Production)
Kindly Suggest the Solution.
Regards,
SachinHello Sachin,
You can use the following metalink note:How to Read Data from an EXCEL Spreadsheet into a Form Using Webutil Client_OLE2 (Doc ID 813535.1) and modify it a little bit.
Instead of copy values into forms you can save them in your temporary table.
Kind regards,
Alex
If someone's helpful or correct please mark it accordingly. -
How to load the data from .csv file to oracle table???
Hi,
I am using oracle 10g , plsql developer. Can anyone help me in how to load the data from .csv file to oracle table. The table is already created with the required columns. The .csv file is having about 10lakh records. Is it possible to load 10lakh records. can any one please tell me how to proceed.
Thanks in advance981145 wrote:
Can you tell more about sql * loader??? how to know that utility is available for me or not??? I am using oracle 10g database and plsql developer???SQL*Loader is part of the Oracle client. If you have a developer installation you should normally have it on your client.
the command is
sqlldrType it and see if you have it installed.
Have a look also at the FAQ link posted by Marwin.
There are plenty of examples also on the web.
Regards.
Al
Maybe you are looking for
-
Computer will not start after update. Won't boot. Security Update. Grey.
This is a fix that worked for me. 2 times in the past Automatic Software update has corrupted my hard drive. When installing using SOFTWARE UPDATE the installer for the security update fails, says it has been moved to trash and to try again. Well if
-
Networking on Ubuntu VM stopped functioning after latest VMWare tools upgrade
when configuring the latest VMWare tools, I receive the following error: "The vmxnet driver is no longer supported on kernels 3.3 and greater. Please upgrade to a newer virtual NIC. (e.g., vmxnet3 or e1000e)" I have followed instructions on a few di
-
New iMac - Apple Remote Still Attaches?
With these new aluminium iMacs, can you still attach the Apple Remote to the side of them magnetically? In all of the Apple press images, the attached Apple Remote is mysteriously absent. Have they phased that idea out?
-
Pops a Window everytime I update or Restor my Ipod Nano!!!
[IMG]http://i77.photobucket.com/albums/j43/juenopia/untitled.jpg[/IMG] This window pops up everytime. one time when about 10-15% of the total update file is almost done. this window pops up. what will i do?!? help me please!!! LENOVO-350D6F19 Windo
-
Create a zig zag effect in array
I have a one dimensional array that holds the pixels values for the image. I currently go through it like so: for (int y = 0; y < height-1; y++) { offset =y*width; for (int x=0; x < width-1; x++) { pos = offset + x; oldP