How to Load table from client file in C?
Hi all,
I'm trying to determine how to write a C program to load a client file with the "load table ... using client file..." syntax without calling out to the dbisql program to load the table. I'm probably not seeing the forest for the trees here. I know I can use the bulk api (equivalent of bcp) but would rather use the load table because it is much faster.
jason
There is nothing special to do - you execute the statement from your program just like any other SQL statement. The only thing to be aware of are the privilege/permission issues:
When loading from a file on a client computer:
READ CLIENT FILE privilege is also required for the database user.
Read privileges are required on the directory being read from.
The allow_read_client_file database option must be enabled.
The read_client_file secure feature must be enabled.
Revoking these privileges is also the only way you can prevent a user from executing the statement.
Similar Messages
-
How to load images from css file in JavaFX 8
I have this css file which loads images in JavaFX 8 application:
#pill-left {
-fx-padding: 5;
-fx-border-image-source: url("/com/dx57dc/images/left-btn.png");
-fx-border-image-slice: 4 4 4 4 fill;
-fx-border-image-width: 4 4 4 4;
-fx-border-image-insets: 0;
-fx-border-image-repeat: stretch;
-fx-background-color: null !important;
#pill-left:selected { -fx-border-image-source: url("/com/dx57dc/images/left-btn-selected.png"); }
#pill-left .label {
-fx-text-fill: #d3d3d3;
-fx-effect: dropshadow( one-pass-box , rgba(0,0,0,0.75) , 0, 0.0 , 0 , -1 );
#pill-left:selected .label {
/* -fx-text-fill: black; */
-fx-text-fill: white;
-fx-effect: dropshadow( one-pass-box , white , 0, 0.0 , 0 , 1 );
#pill-center {
-fx-padding: 5;
-fx-border-image-source: url("/com/dx57dc/images/center-btn.png");
-fx-border-image-slice: 4 4 4 4 fill;
-fx-border-image-width: 4 4 4 4;
-fx-border-image-insets: 0;
-fx-border-image-repeat: stretch;
-fx-background-color: null !important;
#pill-center:selected { -fx-border-image-source: url("/com/dx57dc/images/center-btn-selected.png"); }
#pill-center .label {
-fx-text-fill: #d3d3d3;
-fx-effect: dropshadow( one-pass-box , rgba(0,0,0,0.75) , 0, 0.0 , 0 , -1 );
#pill-center:selected .label {
-fx-text-fill: black;
-fx-effect: dropshadow( one-pass-box , white , 0, 0.0 , 0 , 1 );
#pill-right {
-fx-padding: 5;
-fx-border-image-source: url("/com/dx57dc/images/right-btn.png");
-fx-border-image-slice: 4 4 4 4 fill;
-fx-border-image-width: 4 4 4 4;
-fx-border-image-insets: 0;
-fx-border-image-repeat: stretch;
-fx-background-color: null !important;
#pill-right:selected { -fx-border-image-source: url("/com/dx57dc/images/right-btn-selected.png"); }
#pill-right .label {
-fx-text-fill: #d3d3d3;
-fx-effect: dropshadow( one-pass-box , rgba(0,0,0,0.75) , 0, 0.0 , 0 , -1 );
#pill-right:selected .label {
-fx-text-fill: black;
-fx-effect: dropshadow( one-pass-box , white , 0, 0.0 , 0 , 1 );
The images are located at the Java package com.dx57dc.images
In Java 7_25 this code works as expected but in JavaFX 8 b99 I get this error:
ava.lang.NullPointerException
at com.sun.javafx.sg.prism.NGRegion.renderContent(NGRegion.java:1129)
at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:1598)
at com.sun.javafx.sg.prism.NGNode.render(NGNode.java:1520)
at com.sun.javafx.sg.prism.NGGroup.renderChildren(NGGroup.java:233)
at com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:199)
at com.sun.javafx.sg.prism.NGRegion.renderContent(NGRegion.java:1249)
at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:1598)
at com.sun.javafx.sg.prism.NGNode.render(NGNode.java:1520)
at com.sun.javafx.sg.prism.NGGroup.renderChildren(NGGroup.java:233)
at com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:199)
at com.sun.javafx.sg.prism.NGRegion.renderContent(NGRegion.java:1249)
at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:1598)
at com.sun.javafx.sg.prism.NGNode.render(NGNode.java:1520)
at com.sun.javafx.tk.quantum.ViewPainter.doPaint(ViewPainter.java:99)
at com.sun.javafx.tk.quantum.AbstractPainter.paintImpl(AbstractPainter.java:210)
at com.sun.javafx.tk.quantum.PresentingPainter.run(PresentingPainter.java:95)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)
at com.sun.javafx.tk.RenderJob.run(RenderJob.java:58)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:129)
at java.lang.Thread.run(Thread.java:724)
D3D Vram Pool: 13,331,480 used (5.0%), 13,331,480 managed (5.0%), 268,435,456 total
20 total resources being managed
4 permanent resources (20.0%)
1 resources locked (5.0%)
7 resources contain interesting data (35.0%)
0 resources disappeared (0.0%)
D3D Vram Pool: 13,331,480 used (5.0%), 13,331,480 managed (5.0%), 268,435,456 total
20 total resources being managed
4 permanent resources (20.0%)
1 resources locked (5.0%)
7 resources contain interesting data (35.0%)
0 resources disappeared (0.0%)
D3D Vram Pool: 13,331,480 used (5.0%), 13,331,480 managed (5.0%), 268,435,456 total
20 total resources being managed
4 permanent resources (20.0%)
1 resources locked (5.0%)
7 resources contain interesting data (35.0%)
0 resources disappeared (0.0%)
What is the proper way to load images from css in Java 8?
Ref
How to load images from css file in JavaFX 8 - Stack OverflowThere is nothing special to do - you execute the statement from your program just like any other SQL statement. The only thing to be aware of are the privilege/permission issues:
When loading from a file on a client computer:
READ CLIENT FILE privilege is also required for the database user.
Read privileges are required on the directory being read from.
The allow_read_client_file database option must be enabled.
The read_client_file secure feature must be enabled.
Revoking these privileges is also the only way you can prevent a user from executing the statement. -
How to load data from UTL file to database
Hi All,
I am new in this technologies.
I am facing below problem to load data from utl file to database .
below is the script written by me :
CREATE OR REPLACE PROCEDURE load_data AS
v_line VARCHAR2(2000);
v_file UTL_FILE.FILE_TYPE;
v_dir VARCHAR2(250);
v_filename VARCHAR2(50);
v_1st_Comma NUMBER;
v_2nd_Comma NUMBER;
v_deptno NUMBER;
v_dname VARCHAR2(14);
v_loc VARCHAR2(13);
BEGIN
v_dir := ':f/rashi/dataload';
v_filename := 'fake.txt';
v_file := UTL_FILE.FOPEN(v_dir, v_filename, 'r');
LOOP
BEGIN
UTL_FILE.GET_LINE(v_file, v_line);
EXCEPTION
WHEN no_data_found THEN
exit;
END;
v_1st_Comma := INSTR(v_line, ',' ,1 , 1);
v_2nd_Comma := INSTR(v_line, ',' ,1 , 2);
v_deptno := SUBSTR(v_line, 1, v_1st_Comma-1);
v_dname := SUBSTR(v_line, v_1st_Comma+1, v_2nd_Comma-v_1st_Comma-1);
v_loc := SUBSTR(v_line, v_2nd_Comma+1);
DBMS_OUTPUT.PUT_LINE(v_deptno || ' - ' || v_dname || ' - ' || v_loc);
INSERT INTO don
VALUES (v_deptno, UPPER(v_dname), UPPER(v_loc));
END LOOP;
UTL_FILE.FCLOSE(v_file);
COMMIT;
END;
show error
I am getting the below errors:
LINE/COL ERROR
3/8 PL/SQL: Item ignored
3/8 PLS-00201: identifier 'UTL_FILE' must be declared
15/1 PL/SQL: Statement ignored
15/1 PLS-00320: the declaration of the type of this expression is
incomplete or malformed
20/1 PL/SQL: Statement ignored
20/19 PLS-00320: the declaration of the type of this expression is
incomplete or malformed
36/1 PL/SQL: Statement ignored
LINE/COL ERROR
36/17 PLS-00320: the declaration of the type of this expression is
incomplete or malformed
could anyone please advice me on above error.
thanx.First of all, is file located on (or is accessible from) database server? If not - you can't load it neither with UTL_FILE nor with external table. You need to use client side tool like SQL*Loader or write your own client side load. If file is accessible from database server, then, as sb92075 noted, external table (assuming you are not on some ancient Oracle version) is the way to go.
SY. -
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 -
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 -
I'm trying to build a online image resize tool.
problem i face are:
1. I build a button that allow user to browse the file. Once
file is selected, it doesnt show full path.
2. lets say if it shows fullpath, but i try to load it into a
movieclip, and it doesnt work because the swf file is located at
the server and not the client's place.
3. as far as i know, flash can only load images which is
located in the same server or internet.
4. if i use php, asp, cgi.. it can only allow me to 1st
upload the image then resize later, but this is not wat i want.
5. I need to 1st resize then upload later, because if i have
100 and more photos taken from digicam, it's going to be very slow
and heavy.
What i have tested:
1. upload "image3.jpg" into the same directory as the
"viewer.swf", and it works.
2. do not upload the swf to the server, but run locally from
the user's computer and open "image3.jpg" and it works.
3. upload the swf to the server and open "image3.jpg" from
the user's computer and IT DOESN"T WORK!
please help me out.
Thanks~!use this php code.
for flash php image prosses.
flash file
import flash.display.BitmapData;
shaF.onPress = function() {
output();
function output() {
snap = new BitmapData(mc._width, mc._height);
snap.draw(mc);
var pixels:Array = new Array();
var w:Number = snap.width;
var h:Number = snap.height;
for (var a = 0; a<=w; a++) {
for (var b = 0; b<=h; b++) {
var tmp = snap.getPixel(a, b).toString(16);
pixels.push(tmp);
var output:LoadVars = new LoadVars();
output.img = pixels.toString();
output.height = h;
output.width = w;
output.send("show.php", "output", "POST");
stop();
PHP file (show.php)
<?php
$data = explode(",", $_POST['img']);
$width = $_POST['width'];
$height = $_POST['height'];
$image=imagecreatetruecolor( $width ,$height );
$background = imagecolorallocate( $image ,0 , 0 , 0 );
//Copy pixels
$i = 0;
for($x=0; $x<=$width; $x++){
for($y=0; $y<=$height; $y++){
$int = hexdec($data[$i++]);
$color = imagecolorallocate ($image, 0xFF & ($int
>> 0x10), 0xFF & ($int >> 0x8), 0xFF & $int);
imagesetpixel ( $image , $x , $y , $color );
//$font = imageloadfont('arial.ttf');
$font = 'arial.ttf';
// $text_color = imagecolorallocate($image, 233, 14, 91);
$black = imagecolorallocate($image, 0, 0, 0);
//imagestring($image, $font, 5, 5, "A Simple Text String",
$text_color);
imagettftext($image, 12, 0, 10, 20, $black, $font, "A Simple
Text String");
//Output image and clean
//header("Content-Type: image/png");
imagepng($image,"finoy.png");
imagedestroy( $image );
?>
<html>
<body>
<img src="finoy.png" width="159" height="159" />
</body>
</html> -
How to load images from client to oracle server
Hi
I want to load the image in oracle. when i tried to laod the iamge from my client(windows) to oracle server(linux)
it is giving error. i wrotea pl/sql program to store the images in oracle database.
but the server not reconzing the path of image wich is client. how to overcome this probelm. as iam new to oracle
i dont know apex and DAD. can any help me with an example
thak youIn addition to Solomon, please read:
http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:6894565006210, that explains (again) why servers can't see clients and points to an sqlldr example @ http://asktom.oracle.com/pls/asktom/f?p=100:11:2928066747837319::::P11_QUESTION_ID:624423639385 -
How to load properties from csv file directly into a .dll parameter in a test step
Hi,
I would like to take values from a property file and plug them directly into parameter used to invoke dll calls.
I have looked at examples on how to use the property loader to input test limits, but I cannot figure out how to pipe into the params.
I have tried. <step name>.Module.<param name>
step.propertieslist[0].
Any ideas?
Thanks,
m
Solved!
Go to Solution.I agree that it would be nice. The difference between limits and parameters though is that parameters are set dynamically. What I mean by that is you never know how many parameters a step will have until you define the module. Whereas the Limits are always set in stone. The only difference is the MultiNumeric Limit Test which is just an array that get's appended too with the same datatype. And the only acess to a parameters value is through the API unless it is a variable.
The other hard part is that you don't know the datatype of parameters. Any step can have any number of parameters as well as any datatype being passed to each individual parameter.
I think if you are set on NOT creating Locals or FileGlobals then you would need to create custom step types with subproperties that get assigned to the parameters. This could be even more painful though because now you have to maintain and support the custom step types.
The other option would be to create your own property loader step that could call in and set things in the API. HMMM now that would be an interesting project...
jigg
CTA, CLA
teststandhelp.com
~Will work for kudos and/or BBQ~ -
How to load class from jar file dynamically?
After I run my Java applicatoin, I need configuring the classpath of jvm to load some classess inside a jar file into the same jvm.How can I achive that?
I mean, when I run my Java application, I don't know where the jar file is, what the jar file name is. All depends on the user to tell the jvm the details through some UI. I've tried to write: System.setProperty("java.class.path", "c:\myClass.jar");Class.forName("MyClass"); but failed.
Can you tell my why and how?
ThxAfter I run my Java applicatoin, I need configuring
the classpath of jvm to load some classess inside a
jar file into the same jvm.How can I achive that?
I mean, when I run my Java application, I don't know
where the jar file is, what the jar file name is. All
depends on the user to tell the jvm the details
through some UI. I've tried to write:
System.setProperty("java.class.path",
"c:\myClass.jar");Class.forName("MyClass"); but
failed.That won't work. By the time it gets to your code it already has a copy of the original. You can't change it (short of modifying the JVM.)
Can you tell my why and how?The usual way is to use a custom classloader.
You can start by looking at java.net.URLClassLoader. -
How to create table from .ini file
Hi,
The file *.ini generates a Multicolumn Listbox where is indicated a number (variable) of tables with them characteristics (row and column) as in the picture below.
I need to find the way to create automatically, on word file, the tables as indicated in the *.ini file. Do you think that it could be possible? That you know, exist a Macro to do this?
Best regards
Attachments:
Multicolunms .png 8 KBAs Taki said above, to do this you need to use the Report Generation Toolkit. This will allow you to generate tables in a word document. Look for the examples in the LabVIEW Help for a rough idea of how to use the toolkit and if you have any specific questions after that then feel free to post them here.
Certified LabVIEW Architect, Certified TestStand Developer
NI Days (and A&DF): 2010, 2011, 2013, 2014
NI Week: 2012, 2014
Knowledgeable in all things Giant Tetris and WebSockets -
Help - Step by Step Material on How to load Data from flatfile to BI 7.0
Hi BI Experts,
Can any one send the document or a pdf file on how to load data from flat file to BI 7.0 in step by step process.
Thanks in Advance
Regards
Ramakrishna Kamurthy
+91-99631010731. On log on you will be placed in the SAP Easy Access Strategic Management/ Business Analytics
1. You see the screen divided in two segments.
2. Follow the left segment.
3. Click on the Business Information Warehouse.
4. Sub Menu  BW Administration.
5. You find various entries in it.
6. Now double click on UG_BW_RSA1-Administrator Workbench
2. Creation of Info Area
1. Click on InfoObjects.
2. Now in the right hand side screen select the InfoObjects (First item on the top). Right click the mouse and select Create InfoArea.
3. A dialog box pops up.
4. Give the InfoArea as ZIVY_Iarea.
5. Give the Long Description as ZIVY Info Area.
3. Create a Catalog:
1. Select the InfoArea just created ZIVY_Iarea.
2. Right click the mouse pointer and select the option Create InfoObject Catalog
3. A dialog box pops up.
4. Give the InfoObjCat = ZIVY_CHCAT
i. Description = ZIVY Character Catalog
ii. InfoObjectType: Check the Character. ( As we are creating the master data, check the Character)
iii. Now at the bottom of this dialog box you see an icon called CREATE. Click this icon.
1.
1. The next screen in front of you is the Edit InfoObject Catalog.
2. Simply click the activate icon present on the Application Toolbar.
2. Create InfoObject :
1. Go to the UG_BW_RSA1-Administrator Workbench.
2. Click on InfoObjects.
3. Look for the InfoArea you created ZIVY_Iarea.
4. Select the catalog you created ZIVY_CHCAT,which is ZIVY Character Catalog.
5. Right click your mouse pointer, and select Create InfoObject.
6. A dialog box pops up.
7. Give the Character ZIVY_CUST and
i. Description Customer Info Object
ii. Click the TICK mark.
1.
1. The next screen you see is Change Characteristic ZIVY_CUST: Detail.
2. In this screen the following fields have to be modified:
i. In the General Tab
1. DataType: CHAR
2. Length: 10
ii. In the Master Data/ Texts Tab:
1. Check the With Master Data and With Texts.
2. Use suitable formats in the fields.
iii. In the Hierarchy Tab:
1. Uncheck the With Hierarchies.
iv. In the Attributes Tab:
1. We need to create the Attribute InfoObjects. These could be done directly from here or even from the RSA1  InfoObject  ZIVY_IareaZIVY_CHCAT. This will be delt in the forth coming steps (STEP .
1.
1. Now save you work. Click on the SAVE icon on the COMMAND ToolBar.
2. Activate the ZIVY_CUST, by clicking the icon ACTIVATE
2. Creation of InfoObject: ZIVY_CITY
1. Go to the UG_BW_RSA1-Administrator Workbench.
2. Click on InfoObjects.
3. Look for the InfoArea you created ZIVY_Iarea.
4. Select the catalog you created ZIVY_CHCAT,which is ZIVY Character Catalog.
5. Right click your mouse pointer, and select Create InfoObject.
6. A dialog box pops up.
7. Give the Character ZIVY_CITY and
i.
Description
Customer
City Name.
ii. Click the TICK mark.
1.
1. The next screen you see is Change Characteristic ZIVY_CITY: Detail.
2. In this screen the following fields have to be modified:
i. In the General Tab
1. DataType: CHAR
2. Length: 25
ii. In the Master Data/ Texts Tab:
1. Uncheck the With Master Data and With Texts.
iii. In the Hierarchy Tab:
1. Uncheck the With Hierarchies.
1.
1. Now save you work. Click on the SAVE icon on the COMMAND ToolBar.
2. Activate the InfoObject ZIVY_CITY, by clicking the icon ACTIVATE.
2. Creation of InfoObject: ZIVY_STATE
1. Go to the UG_BW_RSA1-Administrator Workbench.
2. Click on InfoObjects.
3. Look for the InfoArea you created ZIVY_Iarea.
4. Select the catalog you created ZIVY_CHCAT,which is ZIVY Character Catalog.
5. Right click your mouse pointer, and select Create InfoObject.
6. A dialog box pops up.
7. Give the Character ZIVY_STATE and
i.
Description
Customer
State Name.
ii. Click the TICK mark.
1.
1. The next screen you see is Change Characteristic ZIVY_STATE: Detail.
2. In this screen the following fields have to be modified:
i. In the General Tab
1. DataType: CHAR
2. Length: 25
ii. In the Master Data/ Texts Tab:
1. Uncheck the With Master Data and With Texts.
iii. In the Hierarchy Tab:
1. Uncheck the With Hierarchies.
1.
1. Now save you work. Click on the SAVE icon on the COMMAND ToolBar.
2. Activate the InfoObject ZIVY_STATE, by clicking the icon ACTIVATE.
2. Creation of InfoObject: ZIVY_CTRY
1. Go to the UG_BW_RSA1-Administrator Workbench.
2. Click on InfoObjects.
3. Look for the InfoArea you created ZIVY_Iarea.
4. Select the catalog you created ZIVY_CHCAT,which is ZIVY Character Catalog.
5. Right click your mouse pointer, and select Create InfoObject.
6. A dialog box pops up.
7. Give the Character ZIVY_CTRY and
i. Description Customer Country Name.
ii. Click the TICK mark.
1.
1. The next screen you see is Change Characteristic ZIVY_CTRY: Detail.
2. In this screen the following fields have to be modified:
i. In the General Tab
1. DataType: CHAR
2. Length: 10
ii. In the Master Data/ Texts Tab:
1. Uncheck the With Master Data
2. Check the With Texts and make suitable Text Table Properties.
iii. In the Hierarchy Tab:
1. Uncheck the With Hierarchies.
1.
1. Now save you work. Click on the SAVE icon on the COMMAND ToolBar.
2. Activate the InfoObject ZIVY_CTRY, by clicking the icon ACTIVATE.
1. Creation of Attributes and InfoObject from the ZIVY_CUST InfoObject:
1. Go to the UG_BW_RSA1-Administrator Workbench.
2. Click on InfoObjects.
3. Look for the InfoArea you created ZIVY_Iarea.
4. Select the catalog you created ZIVY_CHCAT,which is ZIVY Character Catalog.
5. In this ZIVY_CHCAT, you see the InfoObject ZIVY_CUST. Double click the InfoObject ZIVY_CUST.
6. You find the screen Change Characteristic ZIVY_CUST:Detail.
7. Click on the tab Attributes
8. In the Character Attribute Box, type ZIVY_CITY and enter the ENTER KEY.
9. You see the relevant information regarding this being inserted.
10. Similarly, type ZIVY_STATE, ZIVY_CTRY.
11. Now, we will create another InfoObject ZIVY_TEL, from here.
12. So type ZIVY_Tel and enter the ENTER KEY.
13. A dialog box pops up, and request you If you want to Create an InfoObject
14. Select Create Attribute As Characteristic and click the check mark.
15. Another window pops up. Give the following:
i. In the General Tab:
1. Long Description: ZIVY Telephone Number
2. Short Description: ZIVY Telephone Number
3. DataType : NUMC
4. Length : 10
5. Uncheck Attribute Only
ii. In the Master Data/ Texts Tab:
1. Uncheck the With Master Data and With Texts.
iii. In the Hierarchy Tab:
1. Uncheck the With Hierarchies
iv. Now click the TICK MARK
1.
1. Click the ACTIVATE
2. A window pops up.
i. Select activate dependent InfoObjects.
ii. Click the Check Mark.
1. Creation of InfoObject: ZIVY_DATE
1. Go to the UG_BW_RSA1-Administrator Workbench.
2. Click on InfoObjects.
3. Look for the InfoArea you created ZIVY_Iarea.
4. Select the catalog you created ZIVY_CHCAT,which is ZIVY Character Catalog.
5. Right click your mouse pointer, and select Create InfoObject.
6. A dialog box pops up.
7. Give the Character ZIVY_DATE and
i. Description ZIVY Date.
ii. Click the TICK mark.
1.
1. The next screen you see is Change Characteristic ZIVY_DATE: Detail.
2. In this screen the following fields have to be modified:
i. In the General Tab
1. DataType: DATS
2. Length: 8
ii. In the Hierarchy Tab:
1. Uncheck the With Hierarchies.
1.
1. Now save you work. Click on the SAVE icon on the COMMAND ToolBar.
2. Activate the InfoObject ZIVY_CTRY, by clicking the icon ACTIVATE.
2. Create ZIVY Application Component:
1. Go to the UG_BW_RSA1-Administrator Workbench.
2. Click on InfoSource in the left hand segment.
3. In the right hand segment, select InfoSources.
4. Right click the mouse pointer and select the entry Create Application Component
5. A window pops up.
i. Application Component: ZIVY_APPCOMP
ii. Long Description : ZIVY Application Component
iii. Click the check mark.
1. Create InfoSoure:
1. Go to the UG_BW_RSA1-Administrator Workbench.
2. Click on InfoSource in the left hand segment.
3. In the right hand segment, select InfoSources.
4. Select the application component you created ZIVY_APPCOMP alias ZIVY Application Component.
5. Right click the mouse pointer and select the entry Create InfoSource
6. A window pops up:
i. Select the Direct Update of Master Data
ii. InfoObject : ZIVY_CUST
iii. Click the CHECK MARK.
1.
1. Now beneath ZIVY Application Component you see the Customer Info Object.
2. Select the Customer Info Object mentioned above.
3. Right click the mouse pointer, and select the entry Assign DataSource.
4. A window pops up.
i. InfoSource: ZIVY_CUST
ii. Source System: FLATFILE
iii. Check the TICK MARK.
iv. Just click yes for the coming window pop ups.
1.
1. Key thing
i. Click on the tab Transfer Rules
1. Have a look at the data mapping here.
2. First field is ZIVY_CUST,
3. Second field is ZIVY_CITY.
4. And so on.
5. This order is very very important, as we retrieve the data from a CSV file. The same order must be in the CSV file. ii. Click on the tab DataSource/Transport Structure1. This order is very very important, as we retrieve the data from a CSV file. The same order must be in the CSV file.
2. If the order is different, just shuffle the rows.
iii. Click the Activate Button. By clicking the ACTIVATE BUTTON you just activated the ZIVY_CUST MASTER DATA.
iv. Now in DataSource : select the text.
v. Click on the tab Transfer Rules
1. Have a look at the data mapping here.
2. First Field : 0LANGUAGE
3. Second field is ZIVY_CUST,
4. Third field is 0TXTMD.
5. Click the Transfer Rule adjacent to 0LANGUAGE
6. A window pops up.
a. Check the CONSTANT and give the value as EN
b. Click the TICK MARK.
7. This order is very very important, as we retrieve the data from a CSV file. The same order must be in the CSV file. Ignore the first field, as it is a constant. vi. Click on the tab DataSource/Transport Structure1. This order is very very important, as we retrieve the data from a CSV file. The same order must be in the CSV file.
2. If the order is different, just shuffle the rows.
vii. Click the Activate Button. By clicking the ACTIVATE.
1. Create the DATA required for this MASTER DATA
1. Open EXCEL.
2. Type the following data:
1.
1. Save as ZIVY_CUST_MASTER.CSV
2. The file should be saved in COMMA SEPARATED FORMAT.
3. Open EXCEL
4. Type the following data:
5. Save the file *** ZIVY_CUST_TEXT.CSV
1. Create InfoPackage
1. Go to the UG_BW_RSA1-Administrator Workbench.
2. Click on InfoSource in the left hand segment.
3. In the right hand segment, select InfoSources.
4. Select the application component you created ZIVY_APPCOMP alias ZIVY Application Component.
5. Beneath this, you see ZIVY_CUST alias Customer Info Object
6. Beneath this you see a FLAT FILE.
7. Select this FLAT FILE, right click the mouse pointer and select the option Create InfoPackage.
8. A window pops up.
i. InfoPackage Description: Info package for ZIVY_CUST_ATTR.
ii. Select ZIVY_CUST_ATTR
iii. Click the CHECK MARK
1.
1. You see a new screen Scheduler (Maintain InfoPackage).
2. Click the tab External Data
i. Name of file: C:\Personal\SAP\MyWork\MyBW\ZIVY_CUST_MASTER.csv
ii. Check the CSV file.
iii. Click the Preview Button.
iv. A window pops up, click the CHECK MARK.
v. You see the data present in the EXCEL File.
1.
1. Click the tab Update
i. Have a look at the entries.
1.
1. Click the tab: Scheduler:
i. Click the button Start
ii. You now click on MONITOR BUTTON present on the tool bar.
iii. Browse the data.
1. Create InfoPackage
1. Go to the UG_BW_RSA1-Administrator Workbench.
2. Click on InfoSource in the left hand segment.
3. In the right hand segment, select InfoSources.
4. Select the application component you created ZIVY_APPCOMP alias ZIVY Application Component.
5. Beneath this, you see ZIVY_CUST alias Customer Info Object
6. Beneath this you see a FLAT FILE.
7. Select this FLAT FILE, right click the mouse pointer and select the option Create InfoPackage.
8. A window pops up.
i. InfoPackage Description: Info package for ZIVY_CUST_TEXT.
ii. Select ZIVY_CUST_TEXT
iii. Click the CHECK MARK
1.
1. You see a new screen Scheduler (Maintain InfoPackage).
2. Click the tab External Data
i. Name of file: C:\Personal\SAP\MyWork\MyBW\ZIVY_CUST_TEXT.csv
ii. Check the CSV file.
iii. Click the Preview Button.
iv. A window pops up, click the CHECK MARK.
v. You see the data present in the EXCEL File.
1.
1. Click the tab Update
i. Have a look at the entries.
1.
1. Click the tab: Scheduler:
i. Click the button Start
ii. You now click on MONITOR BUTTON present on the tool bar.
iii. Browse the data.
1. Create InfoObject :
1. Go to the UG_BW_RSA1-Administrator Workbench.
2. Click on InfoObjects.
3. Look for the InfoArea you created ZIVY_Iarea.
4. Select the catalog you created ZIVY_CHCAT,which is ZIVY Character Catalog.
5. Right click your mouse pointer, and select Create InfoObject.
6. A dialog box pops up.
7. Give the Character ZIVY_MAT and
i. Description ZIVY Material Info Object
ii. Click the TICK mark.
1.
1. The next screen you see is Change Characteristic ZIVY_MAT: Detail.
2. In this screen the following fields have to be modified:
i. In the General Tab
1. DataType: CHAR
2. Length: 10
ii. In the Master Data/ Texts Tab:
1. Check the With Master Data and With Texts.
2. Use suitable formats in the fields.
iii. In the Hierarchy Tab:
1. Uncheck the With Hierarchies.
iv. In the Attributes Tab:
1. We need to create the Attribute InfoObjects. These could be done directly from here or even from the RSA1  InfoObject  ZIVY_IareaZIVY_CHCAT. This will be delt in the forth coming steps (STEP 17).
1.
1. Now save you work. Click on the SAVE icon on the COMMAND ToolBar.
2. Activate the ZIVY_MAT, by clicking the icon ACTIVATE
2. Creation of InfoObject: ZIVY_GROUP
1. Go to the UG_BW_RSA1-Administrator Workbench.
2. Click on InfoObjects.
3. Look for the InfoArea you created ZIVY_Iarea.
4. Select the catalog you created ZIVY_CHCAT,which is ZIVY Character Catalog.
5. Right click your mouse pointer, and select Create InfoObject.
6. A dialog box pops up.
7. Give the Character ZIVY_GROUP and
i. Description ZIVY Material Group.
ii. Click the TICK mark.
1.
1. The next screen you see is Change Characteristic ZIVY_GROUP: Detail.
2. In this screen the following fields have to be modified:
i. In the General Tab
1. DataType: CHAR
2. Length: 10
ii. In the Master Data/ Texts Tab:
1. Uncheck the With Master Data
2. Check the With Texts and make suitable Text Table Properties.
iii. In the Hierarchy Tab:
1. Uncheck the With Hierarchies.
1.
1. Now save you work. Click on the SAVE icon on the COMMAND ToolBar.
2. Activate the InfoObject ZIVY_GROUP, by clicking the icon ACTIVATE.
2. Creation of InfoObject: ZIVY_COLOR
1. Go to the UG_BW_RSA1-Administrator Workbench.
2. Click on InfoObjects.
3. Look for the InfoArea you created ZIVY_Iarea.
4. Select the catalog you created ZIVY_CHCAT,which is ZIVY Character Catalog.
5. Right click your mouse pointer, and select Create InfoObject.
6. A dialog box pops up.
7. Give the Character ZIVY_COLOR and
i. Description ZIVY Material Color.
ii. Click the TICK mark.
1.
1. The next screen you see is Change Characteristic ZIVY_COLOR: Detail.
2. In this screen the following fields have to be modified:
i. In the General Tab
1. DataType: CHAR
2. Length: 10
ii. In the Master Data/ Texts Tab:
1. Uncheck the With Master Data and With Texts.
iii. In the Hierarchy Tab:
1. Uncheck the With Hierarchies.
1.
1. Now save you work. Click on the SAVE icon on the COMMAND ToolBar.
2. Activate the InfoObject ZIVY_COLOR, by clicking the icon ACTIVATE.
2. Creation of InfoObject from the ZIVY_MAT InfoObject:
1. Go to the UG_BW_RSA1-Administrator Workbench.
2. Click on InfoObjects.
3. Look for the InfoArea you created ZIVY_Iarea.
4. Select the catalog you created ZIVY_CHCAT,which is ZIVY Character Catalog.
5. In this ZIVY_CHCAT, you see the InfoObject ZIVY_MAT. Double click the InfoObject ZIVY_MAT.
6. You find the screen Change Characteristic ZIVY_MAT:Detail.
7. Click on the tab Attributes
8. In the Character Attribute Box, type ZIVY_GROUP and enter the ENTER KEY.
9. You see the relevant information regarding this being inserted.
10. Similarly, type ZIVY_COLOR.
11. Click the ACTIVATE
3. Create InfoSoure:
1. Go to the UG_BW_RSA1-Administrator Workbench.
2. Click on InfoSource in the left hand segment.
3. In the right hand segment, select InfoSources.
4. Select the application component you created ZIVY_APPCOMP alias ZIVY Application Component.
5. Right click the mouse pointer and select the entry Create InfoSource
6. A window pops up:
i. Select the Direct Update of Master Data
ii. InfoObject : ZIVY_MAT
iii. Click the CHECK MARK.
1.
1. Now beneath ZIVY Application Component you see the ZIVY Material Info Object.
2. Select the ZIVY Material Info Object mentioned above.
3. Right click the mouse pointer, and select the entry Assign DataSource.
4. A window pops up.
i. InfoSource: ZIVY_MAT
ii. Source System: FLATFILE
iii. Check the TICK MARK.
iv. Just click yes for the coming window pop ups.
1.
1. Key thing
i. Click on the tab Transfer Rules
1. Have a look at the data mapping here.
2. First field is ZIVY_MAT,
3. Second field is ZIVY_GROUP.
4. Third field is ZIVY_COLOR.
5. Check the mapping. If you dont see the mapping.
6. Click on the empty row in the group Assign InfoObjectField, the box to the right.
7. Type ZIVY_GROUP, ZIVY_COLOR.
8. Check the transfer rules.
9. This order is very very important, as we retrieve the data from a CSV file. The same order must be in the CSV file. ii. Click on the tab DataSource/Transport Structure1. This order is very very important, as we retrieve the data from a CSV file. The same order must be in the CSV file.
2. If the order is different, just shuffle the rows.
iii. Click the Activate Button. By clicking the ACTIVATE BUTTON you just activated the ZIVY_CUST MASTER DATA.
iv. Now in DataSource : select the text.
v. Click on the tab Transfer Rules
1. Have a look at the data mapping here.
2. First Field : 0LANGUAGE
3. Second field is ZIVY_MAT,
4. Third field is 0TXTSH.
5. This order is very very important, as we retrieve the data from a CSV file. The same order must be in the CSV file. Ignore the first field, as it is a constant. vi. Click on the tab DataSource/Transport Structure1. This order is very very important, as we retrieve the data from a CSV file. The same order must be in the CSV file.
2. If the order is different, just shuffle the rows.
vii. Click the Activate Button. By clicking the ACTIVATE.
1. Create the DATA required for this MASTER DATA
1. Open EXCEL.
2. Type the following data:
1.
1. Save as ZIVY_Material_MASTER.CSV
2. The file should be saved in COMMA SEPARATED FORMAT.
3. Open EXCEL
4. Type the following data:
5. Save the file *** ZIVY_Material_TEXT.CSV
1. Create InfoPackage
1. Go to the UG_BW_RSA1-Administrator Workbench.
2. Click on InfoSource in the left hand segment.
3. In the right hand segment, select InfoSources.
4. Select the application component you created ZIVY_APPCOMP alias ZIVY Application Component.
5. Beneath this, you see ZIVY_MAT alias ZIVY Material Info Object
6. Beneath this you see a FLAT FILE.
7. Select this FLAT FILE, right click the mouse pointer and select the option Create InfoPackage.
8. A window pops up.
i. InfoPackage Description: Info package for ZIVY_MAT_ATTR.
ii. Select ZIVY_MAT_ATTR
iii. Click the CHECK MARK
1.
1. You see a new screen Scheduler (Maintain InfoPackage).
2. Click the tab External Data
i. Name of file: C:\Personal\SAP\MyWork\MyBW\ZIVY_Material_MASTER.csv
ii. Check the CSV file.
iii. Click the Preview Button.
iv. A window pops up, click the CHECK MARK.
v. You see the data present in the EXCEL File.
1.
1. Click the tab Update
i. Have a look at the entries.
1.
1. Click the tab: Scheduler:
i. Click the button Start
ii. You now click on MONITOR BUTTON present on the tool bar.
iii. Browse the data.
1. Create InfoPackage
1. Go to the UG_BW_RSA1-Administrator Workbench.
2. Click on InfoSource in the left hand segment.
3. In the right hand segment, select InfoSources.
4. Select the application component you created ZIVY_APPCOMP alias ZIVY Application Component.
5. Beneath this, you see ZIVY_MAT alias ZIVY Material Info Object
6. Beneath this you see a FLAT FILE.
7. Select this FLAT FILE, right click the mouse pointer and select the option Create InfoPackage.
8. A window pops up.
i. InfoPackage Description: Info package for ZIVY_MAT_TEXT.
ii. Select ZIVY_MAT_TEXT
iii. Click the CHECK MARK
1.
1. You see a new screen Scheduler (Maintain InfoPackage).
2. Click the tab External Data
i. Name of file: C:\Personal\SAP\MyWork\MyBW\ZIVY_MATERIAL_TEXT.csv
ii. Check the CSV file.
iii. Click the Preview Button.
iv. A window pops up, click the CHECK MARK.
v. You see the data present in the EXCEL File.
1.
1. Click the tab Update
i. Have a look at the entries.
1.
1. Click the tab: Scheduler:
i. Click the button Start
ii. You now click on MONITOR BUTTON present on the tool bar.
iii. Browse the data.
1. Create InfoObject :
1. Go to the UG_BW_RSA1-Administrator Workbench.
2. Click on InfoObjects.
3. Look for the InfoArea you created ZIVY_Iarea.
4. Select the catalog you created ZIVY_CHCAT,which is ZIVY Character Catalog.
5. Right click your mouse pointer, and select Create InfoObject.
6. A dialog box pops up.
7. Give the Character ZIVY_SPER and
i. Description ZIVY Sales Person Info Object
ii. Click the TICK mark.
1.
1. The next screen you see is Change Characteristic ZIVY_SPER: Detail.
2. In this screen the following fields have to be modified:
i. In the General Tab
1. DataType: CHAR
2. Length: 20
ii. In the Master Data/ Texts Tab:
1. Check the With Master Data and With Texts.
2. Use suitable formats in the fields.
iii. In the Hierarchy Tab:
1. Uncheck the With Hierarchies.
iv. In the Attributes Tab:
1. We need to create the Attribute InfoObjects. These could be done directly from here or even from the RSA1  InfoObject  ZIVY_IareaZIVY_CHCAT. This will be delt in the forth coming steps (STEP 24).
1.
1. Now save you work. Click on the SAVE icon on the COMMAND ToolBar.
2. Activate the ZIVY_SPER, by clicking the icon ACTIVATE
2. Creation of InfoObject: ZIVY_SREG
1. Go to the UG_BW_RSA1-Administrator Workbench.
2. Click on InfoObjects.
3. Look for the InfoArea you created ZIVY_Iarea.
4. Select the catalog you created ZIVY_CHCAT,which is ZIVY Character Catalog.
5. Right click your mouse pointer, and select Create InfoObject.
6. A dialog box pops up.
7. Give the Character ZIVY_SREG and
i. Description ZIVY Sales Region.
ii. Click the TICK mark.
1.
1. The next screen you see is Change Characteristic ZIVY_SREG: Detail.
2. In this screen the following fields have to be modified:
i. In the General Tab
1. DataType: CHAR
2. Length: 20
ii. In the Master Data/ Texts Tab:
1. Check the With Master Data and With Texts.
iii. In the Hierarchy Tab:
1. Uncheck the With Hierarchies.
1.
1. Now save you work. Click on the SAVE icon on the COMMAND ToolBar.
2. Activate the InfoObject ZIVY_SREG, by clicking the icon ACTIVATE.
2. Creation of Attributes from the ZIVY_SPER InfoObject:
1. Go to the UG_BW_RSA1-Administrator Workbench.
2. Click on InfoObjects.
3. Look for the InfoArea you created ZIVY_Iarea.
4. Select the catalog you created ZIVY_CHCAT,which is ZIVY Character Catalog.
5. In this ZIVY_CHCAT, you see the InfoObject ZIVY_SPER. Double click the InfoObject ZIVY_SPER.
6. You find the screen Change Characteristic ZIVY_SPER:Detail.
7. Click on the tab Attributes
8. In the Character Attribute Box, type ZIVY_SREG and enter the ENTER KEY.
9. You see the relevant information regarding this being inserted.
10. Click the ACTIVATE
3. Create InfoSoure:
1. Go to the UG_BW_RSA1-Administrator Workbench.
2. Click on InfoSource in the left hand segment.
3. In the right hand segment, select InfoSources.
4. Select the application component you created ZIVY_APPCOMP alias ZIVY Application Component.
5. Right click the mouse pointer and select the entry Create InfoSource
6. A window pops up:
i. Select the Direct Update of Master Data
ii. InfoObject : ZIVY_SPER
iii. Click the CHECK MARK.
1.
1. Now beneath ZIVY Application Component you see the ZIVY Sales Person Info Object.
2. Select the ZIVY Sales Person Info Object mentioned above.
3. Right click the mouse pointer, and select the entry Assign DataSource.
4. A window pops up.
i. InfoSource: ZIVY_SREP
ii. Source System: FLATFILE
iii. Check the TICK MARK.
iv. Just click yes for the coming window pop ups.
1.
1. Key thing
i. Click on the tab Transfer Rules
1. Have a look at the data mapping here.
2. First field is ZIVY_SPER,
3. Second field is ZIVY_SREG.
4. Check the mapping. If you dont see the mapping.
5. Click on the empty row in the group Assign InfoObjectField, the box to the right.
6. Check the transfer rules.
7. This order is very very important, as we retrieve the data from a CSV file. The same order must be in the CSV file. ii. Click on the tab DataSource/Transport Structure1. This order is very very important, as we retrieve the data from a CSV file. The same order must be in the CSV file.
2. If the order is different, just shuffle the rows.
iii. Click the Activate Button. By clicking the ACTIVATE BUTTON you just activated the ZIVY_SREP MASTER DATA.
iv. Now in DataSource : select the text.
v. Click on the tab Transfer Rules
1. Have a look at the data mapping here.
2. First Field : 0LANGUAGE
3. Second field is ZIVY_SPER,
4. Third field is 0TXTSH.
5. This order is very very important, as we retrieve the data from a CSV file. The same order must be in the CSV file. Ignore the first field, as it is a constant. vi. Click on the tab DataSource/Transport Structure1. This order is very very important, as we retrieve the data from a CSV file. The same order must be in the CSV file.
2. If the order is different, just shuffle the rows.
vii. Click the Activate Button. By clicking the ACTIVATE.
1. Create the DATA required for this MASTER DATA
1. Open EXCEL.
2. Type the following data:
1.
1. Save as ZIVY_SREP_MASTER.CSV
2. The file should be saved in COMMA SEPARATED FORMAT.
3. Open EXCEL
4. Type the following data:
5. Save the file *** ZIVY_SREP_TEXT.CSV
1. Create InfoPackage
1. Go to the UG_BW_RSA1-Administrator Workbench.
2. Click on InfoSource in the left hand segment.
3. In the right hand segment, select InfoSources.
4. Select the application component you created ZIVY_APPCOMP alias ZIVY Application Component.
5. Beneath this, you see ZIVY_SPER alias ZIVY Sales Person Info Object
6. Beneath this you see a FLAT FILE.
7. Select this FLAT FILE, right click the mouse pointer and select the option Create InfoPackage.
8. A window pops up.
i. InfoPackage Description: Info package for ZIVY_SPER_ATTR.
ii. Select ZIVY_SPER_ATTR
iii. Click the CHECK MARK
1.
1. You see a new screen Scheduler (Maintain InfoPackage).
2. Click the tab External Data
i. Name of file: C:\Personal\SAP\MyWork\MyBW\ZIVY_SPER_MASTER.csv
ii. Check the CSV file.
iii. Click the Preview Button.
iv. A window pops up, click the CHECK MARK.
v. You see the data present in the EXCEL File.
1.
1. Click the tab Update
i. Have a look at the entries.
1.
1. Click the tab: Scheduler:
i. Click the button Start
ii. You now click on MONITOR BUTTON present on the tool bar.
iii. Browse the data.
1. Create InfoPackage
1. Go to the UG_BW_RSA1-Administrator Workbench.
2. Click on InfoSource in the left hand segment.
3. In the right hand segment, select InfoSources.
4. Select the application component you created ZIVY_APPCOMP alias ZIVY Application Component.
5. Beneath this, you see ZIVY_SPER alias ZIVY Sales Person Info Object
6. Beneath this you see a FLAT FILE.
7. Select this FLAT FILE, right click the mouse pointer and select the option Create InfoPackage.
8. A window pops up.
i. InfoPackage Description: Info package for ZIVY_SPER_TEXT.
ii. Select ZIVY_SPER_TEXT
iii. Click the CHECK MARK
1.
1. You see a new screen Scheduler (Maintain InfoPackage).
2. Click the tab External Data
i. Name of file: C:\Personal\SAP\MyWork\MyBW\ZIVY_SPER_TEXT.csv
ii. Check the CSV file.
iii. Click the Preview Button.
iv. A window pops up, click the CHECK MARK.
v. You see the data present in the EXCEL File.
1.
1. Click the tab Update
i. Have a look at the entries.
1.
1. Click the tab: Scheduler:
i. Click the button Start
ii. You now click on MONITOR BUTTON present on the tool bar.
iii.
Browse the data.
1. Creation of InfoObject Catalog with Key Figures:
1. Select the InfoArea just created ZIVY_Iarea.
2. Right click the mouse pointer and select the option Create InfoObject Catalog
3. A dialog box pops up.
4. Give the InfoObjCat = ZIVY_KEYCAT
i. Description = ZIVY Key Figures Catalog
ii. InfoObjectType: Check the Key Figures.
iii. Now at the bottom of this dialog box you see an icon called CREATE. Click this icon.
1.
1. The next screen in front of you is the Edit InfoObject Catalog.
2. Simply click the activate icon present on the Application Toolbar.
2. Create InfoObject :
1. Go to the UG_BW_RSA1-Administrator Workbench.
2. Click on InfoObjects.
3. Look for the InfoArea you created ZIVY_Iarea.
4. Select the catalog you created ZIVY_KEYCAT,which is ZIVY Key Figures Catalog.
5. Right click your mouse pointer, and select Create InfoObject.
6. A dialog box pops up.
7. Give the Character ZIVY_AMT and
i. Description ZIVY Amount Info Object
ii. Click the TICK mark.
1.
1. The next screen you see is Create Key Figure ZIVY_AMT: Detail.
2. In this screen the following fields have to be modified:
i. In the Type/ Unit Tab
1. DataType: Amount
2. Unit/ Currency = 0Currency
1.
1. Now save you work. Click on the SAVE icon on the COMMAND ToolBar.
2. Activate the ZIVY_AMT, by clicking the icon ACTIVATE.
2. Create InfoObject :
1. Go to the UG_BW_RSA1-Administrator Workbench.
2. Click on InfoObjects.
3. -
How to Load Hierarchies from flatfile in BI7
Hello Gurus,
How to load Hierarchies from flat file in BI7
As when creating datasource in BI7,
IT GIVES FOLLOWING OPTIONS
TRANSCTION DATA
MASTER DATA TEXTS
MASTER DATA ATTRIBUTES...
ALL THESE WE BRING TO PSA LEVEL BY INFOPACKAGE AND SEND DATATARGET BY DTP...
But how about Hierarchies...
Looking for reply
Regards
GuruLook at the below blog for step by step procedure :
Hierarchy Upload from Flat files
http://help.sap.com/saphelp_nw04/helpdata/en/fa/e92637c2cbf357e10000009b38f936/frameset.htm -
SQL Loader to Load Multiple Tables from Multiple Files
Hi
I wish to create a control file to load multiple tables from multiple files
viz.Emp.dat into emp table and Dept.dat into Dept table and so on
How could I do it?
Can I create a control file like this:
OPTIONS(DIRECT=TRUE,
SKIP_UNUSABLE_INDEXES=TRUE,
SKIP_INDEX_MAINTENANCE=TRUE)
UNRECOVERABLE
LOAD DATA
INFILE 'EMP.dat'
INFILE 'DEPT.dat'
INTO TABLE emp TRUNCATE
FIELDS TERMINATED BY "|" OPTIONALLY ENCLOSED BY '"'
(empno,
ename,
deptno)
INTO TABLE dept TRUNCATE
FIELDS TERMINATED BY "|" OPTIONALLY ENCLOSED BY '"'
(deptno,
dname,
dloc)
Appreciate a Quick Reply
mailto:[email protected]Which operating system? ("Command Prompt" sounds like Windows)
UNIX/Linux: a shell script with multiple calls to sqlldr run in the background with "&" (and possibly nohup)
Windows: A batch file using "start" to launch multiple copies of sqlldr.
http://www.pctools.com/forum/showthread.php?42285-background-a-process-in-batch-%28W2K%29
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/start.mspx?mfr=true
Edited by: Brian Bontrager on May 31, 2013 4:04 PM -
Step by Step details on how to load data from a flat file
hi can anyone explain how to load data from a flat file. Pls giv me step by step details. thnx
hi sonam.
it is very easy to load data from flat file. whn compared with other extrations methods...
here r the step to load transation data from a flat file.......
step:1 create a Flat File.
step:2 log on to sap bw (t.code : rsa1 or rsa13).
and observe the flat file source system icon. i.e pc icon.
step:3 create required info objects.
3.1: create infoarea
(infoObjects Under Modeling > infoObjects (root node)-> context menu -
> create infoarea).
3.2: create char /keyfig infoObject Catalog.(select infoArea ---.context menu --->create infoObject catalog).
3.3: create char.. infoObj and keyFig infoObjects accourding to ur requirement and activate them.
step:4 create infoSource for transaction data and create transfer structure and maintain communication structure...
4.1: first create a application component.(select InfoSources Under modeling-->infosources<root node>>context menu-->create applic...component)
4.2: create infoSource for transation data(select appl..comp--.context menu-->create infosource)
>select O flexible update and give info source name..
>continue..
4.4: *IMp* ASSIGN DATASOURCE..
(EXPAND APPLIC ..COMP..>EXPAND YOUR INFOSOURCE>CONTEXT MENU>ASSIGN DATASOURCE.)
>* DATASOURCE *
>O SOURCE SYSTEM: <BROWSE AND CHOOSE YOUR FLAT FILE SOURCE SYSTEM>.(EX:PC ICON).
>CONTINUE.
4.5: DEFINE DATASOURCE/TRANSFER STRUCTURE FOR IN FOSOURCE..
> SELECT TRANSFER STRUCTURE TAB.
>FILL THE INFOOBJECT FILLED WITH THE NECESSARY INFOOBJ IN THE ORDER OR SEQUENCE OF FLAT FILE STRUCTURE.
4.6: ASSIGN TRANSFER RULES.
---> NOW SELECT TRANSFER RULES TAB. AND SELECT PROPOSE TRANSFER RULES SPINDLE LIKE ICON.
(IF DATA TARGET IS ODS -
INCLUDE 0RECORDMODE IN COMMUNICATION STRUCTURE.)
--->ACTIVATE...
STEP:5 CREATE DATATARGET.(INFOCUBE/ODS OBJECT).
5.1: CREATE INFO CUBE.
-->SELECT YOUR INFOAREA>CONTEXT MENU>CREATE INFOCUBE.
5.2: CREATE INFOCUBE STRUCTURE.
---> FILL THE STRUCTURE PANE WILL REQUIRE INFOOBJECTS...(SELECT INFOSOURCE ICON>FIND UR INFOSOURCE >DOUBLE CLICK > SELECT "YES" FOR INFOOBJECT ASSIGNMENT ).
>MAINTAIN ATLEAST ON TIME CHAR.......(EX; 0CALDAY).
5.3:DEFINE AND ASSIGN DIMENSIONS FOR YOUR CHARACTERISTICS..
>ACTIVATE..
STEP:6 CREATE UPDATE RULES FOR INFOCUDE USING INFOSOURCE .
>SELECT UR INFOCUBE >CONTEXT MENU> CREATE UPDATE RULES.
> DATASOURCE
> O INFOSOURCE : _________(U R INFOSOURCE). AND PRESS ENTER KEY.......
>ACTIVATE.....UR UPDATE RULES....
>>>>SEE THE DATA FLOW <<<<<<<<----
STEP:7 SCHEDULE / LOAD DATA..
7.1 CREATE INFOPACKAGE.
--->SELECT INFOSOURCE UNDER MODELING> EXPAND UR APPLIC.. COMP..> EXPAND UR INFOSOURCE..> SELECT UR DATASOURCE ASSIGN MENT ICON....>CONTEXT MENU> CREAE INFOPACKAGE..
>GIVE INFOPACKAGE DISCREPTION............_________
>SELECT YOUR DATA SOURCE.-------> AND PRESS CONTINUE .....
>SELECT EXTERNAL DATA TAB...
> SELECT *CLIENT WORKSTATION oR APPLI SERVER >GIVE FILE NAME > FILE TYPE> DATA SAPARATER>
>SELECT PROCESSING TAB
> PSA AND THEN INTO DATATARGETS....
>DATATARGET TAB.
>O SELECT DATA TARGETS
[ ] UPDATE DATATARGET CHECK BOX.....
--->UPDATE TAB.
O FULL UPDATE...
>SCHEDULE TAB..
>SELECT O START DATA LOAD IMMEDIATELY...
AND SELECT "START" BUTTON........
>>>>>>>>>>
STEP:8 MONITOR DATA
> CHECK DATA IN PSA
CHECK DATA IN DATA TARGETS.....
>>>>>>>>>>> <<<<<<<<<----
I HOPE THIS LL HELP YOU..... -
How to load hierarchy from file into InfoObject with compounding Attr & LN
Hi,
I have created an InfoObject called YCOSTC0 which has a compounding attribute 0CO_AREA. and Text is Lanugage dependent, hence the key is YCOSTC0, 0CO_AREA and LANGUAGE, now when i load hierarchy from flat file as mentioned below, it creates duplicate blank rows in master data table, becuase the flat file contains only the YCOSTC0 Info Object and this data gets loaded into 0CO_AREA column in master data table which is the first column. how can i load hierarchies from flat file into an InfoObject that has a compounding attribute and Language dependent. please provide me a sample file structure with data.
NodeID InfoObject Node Name Link Name Parent ID Language Short Text Medium Text Long Text
1 0HIER_NODE CC_HIER EN Cost Center Heirarchy Cost Center Heirarchy Cost Center Heirarchy
2 YCOSTC0 C001 1 EN CC 1 Cost Center 1 Cost Center 1
3 YCOSTC0 C002 2 EN CC 2 Cost Center 2 Cost Center 2
4 YCOSTC0 C003 2 EN CC 3 Cost Center 3 Cost Center 3
5 YCOSTC0 C004 3 EN CC 4 Cost Center 4 Cost Center 4
6 YCOSTC0 C005 3 EN CC 7 Cost Center 7 Cost Center 7
7 YCOSTC0 C006 4 EN CC 5 Cost Center 5 Cost Center 5
8 YCOSTC0 C007 4 EN CC 8 Cost Center 8 Cost Center 8
9 YCOSTC0 C008 4 EN CC 10 Cost Center 10 Cost Center 10
10 YCOSTC0 C009 7 EN CC 6 Cost Center 6 Cost Center 6
11 YCOSTC0 C010 6 EN CC 9 Cost Center 9 Cost Center 9
Thanks
Akila RHi -
Check the following link.
Hierarchy Upload from Flat files
Anesh B
Maybe you are looking for
-
Olá a todos, Estou com um problema ao carregar o XML de CTe, após o inicio do processamento da mensagem, obtenho o seguinte erro no payload: "Erro de customizing: n° de identificação fiscal <CNPJ> não atualizado. Aguem tem ideia de onde teria que cus
-
I am having trouble staying connected to air play with Apple TV even though my device is still connected to the internet and playing.
-
How to export pictures from my ipad to my computer
HOW TO EXPORT PHOTOS FROM MY IPAD ?
-
I would like to move from Outlook 2010 (originally on Exchange) to icloud, however I read lots of bad experiences about this. Has anyone developed a good practice procedure for this? I primarily want to sync Outlook 2010 calendar and contacts with
-
Clone Stamp Tool in CS6 Will Not Work on Tiff Files
All of a sudden the Clone Stamp Tool does not work when working on a tif file. Yes I get the Circle with + sign when I press the ALT Key but tool will not clone.