How to load data from text.txt fiel and tokenize it into JCombo box???

Hi Everyone,
I am new to Java and Netbeans. I am working on the same GUI project and need your Help!!
I have two queries and since i am new,please if possible explain step by step
1.) How can I load the contents of data stored in sometext.txt file when i click the JCombo box]?? Also, if i enter a new string not existing in text, it should display a message and add the new entered data into the sometext.txt file.
2.) How can i input the contents of table.txt file (which has characters seperated by Tab) into a JTable into specific rows and columns??. Again, the txt should add and update the new entered data.
I dont want to use any databse connection!!
Explainations with Examples/Attachments will be greatly and truly appreciated
Please Please Help me ASAP as i have to submit this assignment by next week!!

hi camickr,
I tried to load a file into Jtable. I have used random access file method to read a large text file seperated by tabs. When i tried to run the file, i was unable to load the data from the file. i guess i am missing the link between custom table and the default table. Can you please help me?
The complete code is attached below:.(The reason i am attaching the whole code is ..so that you can check me where i am going wrong, please dont mind!!)
package javaapplication;
import java.io.*;
import java.util.ArrayList;
import javax.swing.table.AbstractTableModel;
public class table extends javax.swing.JFrame {
/** Creates new form table */
public class FileTableModel extends AbstractTableModel {
RandomAccessFile raf;
ArrayList<Long> lineToPos = new ArrayList<Long>();
int columnCount = -1;
public FileTableModel(String fileName) {
try {
raf = new RandomAccessFile(new File(fileName), "C://temp.txt");
lineToPos.add(new Long(0));
String line = null;
while ((line = raf.readLine()) != null) {
if (columnCount == -1)
columnCount = line.split(" ").length;
lineToPos.add(new Long(raf.getFilePointer()));
lineToPos.remove(lineToPos.size()-1);
} catch (Exception e) {
e.printStackTrace();
protected void finalize() throws Throwable {
super.finalize();
raf.close();
public int getColumnCount() {
return columnCount;
public int getRowCount() {
return lineToPos.size();
public Object getValueAt(int rowIndex, int columnIndex) {
try {
raf.seek(lineToPos.get(rowIndex).longValue());
String line = raf.readLine();
String[] strs = line.split(" ");
return strs[columnIndex];
} catch (IOException e) {
e.printStackTrace();
return null;
/** This method is called from within the constructor to
* initialize the form.
* WARNING: Do NOT modify this code. The content of this method is
* always regenerated by the Form Editor.
@SuppressWarnings("unchecked")
// <editor-fold defaultstate="collapsed" desc="Generated Code">
private void initComponents() {
jScrollPane1 = new javax.swing.JScrollPane();
jTable1 = new javax.swing.JTable();
setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
jTable1.setModel(jTable1.getModel());
jScrollPane1.setViewportView(jTable1);
javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
getContentPane().setLayout(layout);
layout.setHorizontalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addContainerGap()
.addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 375, javax.swing.GroupLayout.PREFERRED_SIZE)
.addContainerGap(15, Short.MAX_VALUE))
layout.setVerticalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addContainerGap()
.addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 275, javax.swing.GroupLayout.PREFERRED_SIZE)
.addContainerGap(14, Short.MAX_VALUE))
pack();
}// </editor-fold>
* @param args the command line arguments
public static void main(String args[]) {
java.awt.EventQueue.invokeLater(new Runnable() {
public void run() {
new table().setVisible(true);
// Variables declaration - do not modify
private javax.swing.JScrollPane jScrollPane1;
public javax.swing.JTable jTable1;
// End of variables declaration
}

Similar Messages

  • 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-9963101073

    1.     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 &#61664; 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 &#61664;ZIVY_CUST and
                                                                   i.      Description&#61664; 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 &#61664; InfoObject &#61664; ZIVY_Iarea&#61664;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 &#61664;ZIVY_CITY and
                                                                   i.     
    Description&#61664;
    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 &#61664;ZIVY_STATE and
                                                                   i.     
    Description&#61664;
    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 &#61664;ZIVY_CTRY and
                                                                   i.      Description&#61664; 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 &#61664;ZIVY_DATE and
                                                                   i.      Description&#61664; 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 Structure”1.      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 Structure”1.      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 &#61664;ZIVY_MAT and
                                                                   i.      Description&#61664; 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 &#61664; InfoObject &#61664; ZIVY_Iarea&#61664;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 &#61664;ZIVY_GROUP and
                                                                   i.      Description&#61664; 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 &#61664;ZIVY_COLOR and
                                                                   i.      Description&#61664; 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 don’t 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 Structure”1.      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 Structure”1.      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 &#61664;ZIVY_SPER and
                                                                   i.      Description&#61664; 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 &#61664; InfoObject &#61664; ZIVY_Iarea&#61664;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 &#61664;ZIVY_SREG and
                                                                   i.      Description&#61664; 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 don’t 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 Structure”1.      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 Structure”1.      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 &#61664;ZIVY_AMT and
                                                                   i.      Description&#61664; 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 data from a ODS to CUBE Request ID - by - Request ID?

    <i>How to load data from a ODS to CUBE Request ID - by - Request ID?</i>
    The problem is that... some requests had been eliminated of the cube and the delta control between the ODS and CUBE was lost. The flag "<b>data mart status of request</b>" of all the requests of the ODS had been blank.
    Now it is necessary to load some requests from the ODS for the cube.
    Notes:
    - it is not possible to make a complete load selecting the data to be loaded;
    - the PSA is not being used;
    - considering the data volume it is impracticable to reload the cube completely.
    Thanks in advance,
    Wesley.

    Dear R B,
    Considering the following:
    -> the delta control was lost;
    -> the data already are active in the ODS;
    -> part of the data of the ODS already is in the cube.
    The indicated procedure it only guarantees the load of the data that are in the ODS and that are not in the cube.
    Tks,
    Wesley.

  • How to load data from a  flat file which is there in the application server

    HI All,
              how to load data from a  flat file which is there in the application server..

    Hi,
    Firstly you will need to place the file(s) in the AL11 path. Then in your infopackage in "Extraction" tab you need to select "Application Server" option. Then you need to specify the path as well as the exact file you want to load by using the browsing button.
    If your file name keeps changing on a daily basis i.e. name_ddmmyyyy.csv, then in the Extraction tab you have the option to write an ABAP routine that generates the file name. Here you will need to append sy-datum to "name" and then append ".csv" to generate complete filename.
    Please let me know if this is helpful or if you need any more inputs.
    Thanks & Regards,
    Nishant Tatkar.

  • 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.....

  • I need how to load data from MS Excel(csv format) to NW Excel

    Hi,
    I am doing Migration project from SAP MS to NW Manually.
    I need how to load data from MS excel (csv format) to NW excel .
    For example 2008 budget data.
    Could you please help me in this.
    Thanks and Regards
    Krishna

    Hi,
    You need to create a transformation file and a conversion file if required. First upload the excel (csv) file into BPC using Manage Data and Upload File option.
    Create the transformation file (refer to the sap help  on how to define a transformation file). You need to specify the mapping correctly and include all your application dimensions and map them to appropriate columns of the flat file.
    Before running the import package, do validate the data in the flat file you uploaded into BPC with the transformation file you created.
    Thanks,
    Sreeni

  • How to load data from Quikbooks into PeopleSoft General Ledger module ?

    Folks,
    Hello.
    My client's data is currently stored in Quikbooks.
    After install PeopleSoft FSCM 9.0, I need to load the data from Quickbooks into PeopleSoft General Ledger module. But I don't know how to use PeopleSoft Integration Broker to integrate with Quikbooks.
    Can any folks tell me how to load data from Quikbooks into PeopleSoft General Ledger module ?

    Hi,
    If the data load is one time process, then you can use PL/SQL or datamover to load the data to PeopleSoft application.
    If you want to load the data in real time, then you need to create In-bound and out-bound nodes to perform the transaction.
    Thanks
    Soundappan

  • How to upload data from excel to SAP and options to be used

    How to upload data from excel to SAP and options to be used
    thank you,
    Regards,
    Jagrut Bharatkumar shukla

    Hi Jagrut,
        You can use gui_upload.
    chk the sample program mentioned below.
    REPORT ZFTP .
    DATA: BEGIN OF I_FILE OCCURS 0,
    DATA(2000) TYPE C,
    END OF I_FILE.
    DATA: BEGIN OF I_FILE2 OCCURS 0,
    DATA(2000) TYPE C,
    END OF I_FILE2.
    DATA: W_COUNT TYPE I.
    PARAMETERS: P_FILEN TYPE STRING,
    P_FILE2 TYPE STRING,
    P_NUM(4) TYPE N..
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILEN.
    PERFORM F_FILE_GET USING P_FILEN TEXT-G01.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILE2.
    PERFORM F_FILE_GET USING P_FILE2 TEXT-G01.
    START-OF-SELECTION.
    CALL FUNCTION 'GUI_UPLOAD'
    EXPORTING
    filename = P_FILEN
    FILETYPE = 'ASC'
    HAS_FIELD_SEPARATOR = 'X'
    HEADER_LENGTH = 0
    READ_BY_LINE = 'X'
    DAT_MODE = ' '
    CODEPAGE = ' '
    IGNORE_CERR = ABAP_TRUE
    REPLACEMENT = '#'
    CHECK_BOM = ' '
    VIRUS_SCAN_PROFILE =
    NO_AUTH_CHECK = ' '
    IMPORTING
    FILELENGTH =
    HEADER =
    tables
    data_tab = I_FILE
    IF SY-SUBRC <> 0.
    MESSAGE E024(Z1).
    ENDIF.
    LOOP AT I_FILE.
    W_COUNT = W_COUNT + 1.
    IF NOT W_COUNT > P_NUM.
    MOVE I_FILE TO I_FILE2.
    APPEND I_FILE2.
    ENDIF.
    ENDLOOP.
    CALL FUNCTION 'GUI_DOWNLOAD'
    EXPORTING
    BIN_FILESIZE =
    filename = P_FILE2
    FILETYPE = 'ASC'
    APPEND = ' '
    WRITE_FIELD_SEPARATOR = 'X'
    HEADER = '00'
    TRUNC_TRAILING_BLANKS = ' '
    WRITE_LF = 'X'
    COL_SELECT = ' '
    COL_SELECT_MASK = ' '
    DAT_MODE = ' '
    CONFIRM_OVERWRITE = ' '
    NO_AUTH_CHECK = ' '
    CODEPAGE = ' '
    IGNORE_CERR = ABAP_TRUE
    REPLACEMENT = '#'
    WRITE_BOM = ' '
    TRUNC_TRAILING_BLANKS_EOL = 'X'
    WK1_N_FORMAT = ' '
    WK1_N_SIZE = ' '
    WK1_T_FORMAT = ' '
    WK1_T_SIZE = ' '
    IMPORTING
    FILELENGTH =
    tables
    data_tab = I_FILE2
    FIELDNAMES =
    *& Form F_FILE_GET
    text
    -->P_P_FILEN text
    -->P_TEXT_G01 text
    FORM F_FILE_GET USING L_FILENA L_TEXT.
    CALL FUNCTION 'WS_FILENAME_GET'
    EXPORTING
    DEF_FILENAME = ' '
    DEF_PATH = ' '
    MASK = ',.,*.TXT.'
    MODE = 'O'
    TITLE = L_TEXT
    IMPORTING
    FILENAME = L_FILENA
    rc =
    EXCEPTIONS
    INV_WINSYS = 1
    NO_BATCH = 2
    SELECTION_CANCEL = 3
    SELECTION_ERROR = 4
    OTHERS = 5
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Reward if helpful.
    Regards,
    Harini.S

  • I have a VI and an attched .txt data file. Now I want to read the data from the .txt file and display it as an array in the front panel. But the result is not right. Any help?

    I have a VI and an attched .txt data file. Now I want to read the data from the .txt file and display it as an array in the front panel. But the result is not right. Any help?
    Attachments:
    try2.txt ‏2 KB
    read_array.vi ‏21 KB

    The problem is in the delimiters in your text file. By default, Read From Spreadsheet File.vi expects a tab delimited file. You can specify a delimiter (like a space), but Read From Spreadsheet File.vi has a problem with repeated delimiters: if you specify a single space as a delimiter and Read From Spreadsheet File.vi finds two spaces back-to-back, it stops reading that line. Your file (as I got it from your earlier post) is delimited by 4 spaces.
    Here are some of your choices to fix your problem.
    1. Change the source file to a tab delimited file. Your VI will then run as is.
    2. Change the source file to be delimited by a single space (rather than 4), then wire a string constant containing one space to the delimiter input of Read From Spreadsheet File.vi.
    3. Wire a string constant containing 4 spaces to the delimiter input of Read From Spreadsheet File.vi. Then your text file will run as is.
    Depending on where your text file comes from (see more comments below), I'd vote for choice 1: a tab delimited text file. It's the most common text output of spreadsheet programs.
    Comments for choices 1 and 2: Where does the text file come from? Is it automatically generated or manually generated? Will it be generated multiple times or just once? If it's manually generated or generated just once, you can use any text editor to change 4 spaces to a tab or to a single space. Note: if you want to change it to a tab delimited file, you can't enter a tab directly into a box in the search & replace dialog of many programs like notepad, but you can do a cut and paste. Before you start your search and replace (just in the text window of the editor), press tab. A tab character will be entered. Press Shift-LeftArrow (not Backspace) to highlight the tab character. Press Ctrl-X to cut the tab character. Start your search and replace (Ctrl-H in notepad in Windows 2000). Click into the Find What box. Enter four spaces. Click into the Replace With box. Press Ctrl-V to paste the tab character. And another thing: older versions of notepad don't have search and replace. Use any editor or word processor that does.

  • How to store data from textfile to vector and delete a selected row.

    Can someone teach me how to store data from textfile to vector and delete a selected row. And after deleting, i want to write the changes in my textfile.
    Do someone has an idea? :)

    nemesisjava wrote:
    Can someone teach me how to store data from textfile to vector and delete a selected row. And after deleting, i want to write the changes in my textfile.
    Do someone has an idea? :)What's the problem? What have you done so far? What failed?
    What you described should be pretty easy to do.

  • How to extract data from SAP 4.7 and upload data to SAP ECC 6.0

    Hi,
        How to extract data from SAP 4.7 and upload data to SAP ECC 6.0? Can i use BDC,BAPI,LSMW? Help me please.

    hi
    good
    both works not possible simultaneously.
    If you want to do it in two separate task than you can use the GUI_UPLOAD function module to fulfill your requirement.
    thanks
    mrutyun^

  • How to skip footer details when loading data from a .txt file

    Hello experts,
    i have to import data from a txt file into my database. I have skipped my header info by using SKIP but how can i ignore my footer details.
    Thanks

    Reply on your other thread:
    Processing txt file for a required format

  • How to load data from info object to ODS

    Hello BW Gurus,
    Is their any way to load data from info object to ODS and I am unable to fine the Info source for that particulate info object master data.
    For ex: we have 0PROFITCENTER as info object which is getting loaded everyday. We want same data in ODS too but I don't find any info source related to this info object to create update ruled.
    Please advise me how to proceed with this,
    Thanks,
    Swathi.

    hi Swathi,
    as mentioned, if you just need the master data text or attribute update, then it's sufficient to load 0PROFITCENTER master data. (don't forget to 'apply hierarchy/attribute change' - rsa1->tools)
    if you are going to update attribute in ods with attribute from 0PROFITCENTER, you can choose look up master data attribute method in update rules.
    if the requirement is really need 0PROFITCENTER to assign to update rules, then first you have to 'generate export datasource' for infoobject 0PROFITCENTER, right click the infoobject and 'generate export datasource', then do 'replicate datasource' from bw myself, after that it will available. to display it you may go to rsa1->infosource, and menu settings->display generated objects.
    hope this helps.

  • How to load variables from a .txt file

    Hi.
    I usually make a flash aplication in colaboration with a php
    programmer. But i want to test my swfs without having to wait for
    him. So i want to do that through a text file. I know that flash
    can load variables from text files. The problem is i don't know how
    to format the text file ( example.txt).
    Thank you

    Here's a couple of ideas.
    First you probably want to change what you have...and put
    your 'if (pVar==1' etc inside a separate function and call it from
    the onLoad handler after you have assigned the value to pVar...
    because the onLoad will run at some unknown point in time after
    loading has finished (actually in the test environment this might
    work... but that wouldn't be the same as what happens in a
    production setting).
    To create test files for loadvars... simply create a new as2
    file and put this code on the first frame and test movie:

  • CO-PA load data from text file

    Hello
    At present, in our company, we load data from Excel files to CO-PA. Is there any way to load those data to CO-PA from text files ?
    I will be grateful for any suggestions.

    You can create a structure using KEFA, assign the Value fields in KEFB and then use KEFC to upload data against that structure.
    You have various file format options, but I don't think Excel is one of them... you have have to save the file as txt and upload.
    Play around with those transactions and come back if you need additional help.
    Cheers.

Maybe you are looking for

  • The MuVo V200 beltclip is a joke, Now I have no player. What Can I

    Hello all, I'm very disappointed with the Muvo V200 Beltclip. I have had my Muvo since the 9th Jan 2005 and have been using it all the time and had no problems with it what so ever. But yesterday I had taken my player out with me. I had it connected

  • ITunes 9 not updating tag data when re-importing a CD

    Hello all, With ALL previous versions of iTunes, when you re-import a CD and if you change the information (like the genre, etc.) iTunes would update the existing versions of the songs with this new data (it would also fill in the track x of n inform

  • Calendar not syncing after mountain lion install on iMac

    Installed mountain lion on my imac.  entered calendar event on my iphone and have never had problems with imac and iphone syncing.  now, when i did a hard sync from iphone to imac, calendar event didn't transfer.  I tried to trouble shoot and did the

  • Are there any new printing options?

    Are there any new printing options in iPhoto 6? Such as printing the images with file name and/or comment? Or printing 4 of them on a single sheet of paper and get them in the correct (reading) order?

  • Unwanted iTunes startup

    After the last update, my iTunes starts up when I plug in either my iPhone and iPad. After quitting it, it also starts up again when I REMOVE my iPhone or iPad. I already have "Open itunes when this iPhone/iPad is connected" disabled. How do I stop t