How to load javabeans help......

hihi i am doing a project that require the use of java bean technology.
i understand that javabean are just java class with a certain set of methods inside it.
i would like to write a program to test out how to load java beans.
let say i got 10 java bean class file in a folder. so how do i load the java beans? can anyone teach me how to load java beans? how to make the program detect java beans?
and also what is beancontext?
Thanks alot

http://java.sun.com/docs/books/tutorial/javabeans/

Similar Messages

  • Can u give clear steps how to load 3 data target at a time by the help of p

    can u give clear steps how to load 3 data target at a time by the help of parllalesim

    hi,
    create the load infopackage type and give the infopack you need to load.
    create 3 similar process types.
    chain should have this flow
    start -> delet index(if cube is the target) -> load target(connect the load process to start process) parallel -> and process -> create index(if cube)/actiavtion of ods(if ods)
    Ramesh

  • . I am new to IPods. I have a Classic 160GB and I can't figure out how to load my music videos to it. I have had no problem loading my music CD's but no go with the music videos I have. Please HELP. Thanks maxsdad

    Hello:
    I am new to IPods. I have a Classic 160GB and I can't figure out how to load Music Videos to iTunes or the IPod. I have had no problem loading my CD's to iTunes and to the IPod, but no go on the Music Videos.
    Please Help
    maxsdad

    B-Rock:
    Ok. Here's the results. I tried all the music videos I wanted to put onto the IPod and the results were:
    I was able to get good results with 2 full length music videos and 2 video singles(only 2 videos on each disk). For a total of 4 videos.
    I was able to encode 5 full length music videos, but the results were distorted (video and audio).
    I was unable to copy 2 full length videos due to error failures. 1 was a "No Title Found" error, the other was a "NAVDAT" error.
    I guess my next question is: Do you know of any other program(s) that I might try, to see if I can get good results with the videos that didn't work with Handbrake?
    Thanks again for all your help.
    maxsdad

  • I  cant open iphoto here, open with a circle turning show loading,how to fix it. help!! i nit to reopen it and keep my precious photo

    i  cant open iphoto here, open with a circle turning show loading,how to fix it. help!! i nit to reopen it and keep my precious photo

    What version of iPhoto?
    If it's 09 or later try
    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Rebuild iPhoto Library Database from automatic backup.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one. .
    Regards
    TD

  • How to load few objects in one sence ?Please help.

    Is there any one know how to load few object into one sence ?
    I have some code , It can load one object one the sence .Please any one know how to change it . Thanks so much .
    -------------------------- model loading --------------
    private void loadModel(String fn)
        /* Load the model from fn into the scene graph using a NCSA
           Portfolio loader. Rotate and scale it to make it easier to see.
           Store the loaded model's scene in the global loadedScene,
           and its branch group in loadedBG.
          FileWriter ofw = null;
          System.out.println( "Loading: " + fn );
          try {
            ModelLoader loader = new ModelLoader();    // the NCSA portfolio loader
            // System.out.println("Loader flags: " + loader.getFlags());
            loadedScene = loader.load(fn);             // the loaded scene
            // Rotate and scale the model
            if(loadedScene != null ) {
              loadedBG = loadedScene.getSceneGroup();    // the model's BG
              Transform3D t3d = new Transform3D();
              t3d.rotX( -Math.PI/2.0 );    // models are often on their face; fix that
              Vector3d scaleVec = calcScaleFactor(loadedBG, fn);   // scale the model
              t3d.setScale( scaleVec );
              TransformGroup tg = new TransformGroup(t3d);
              tg.addChild(loadedBG);
              sceneBG.addChild(tg);   // add (tg->loadedBG) to scene
            else
              System.out.println("Load error with: " + fn);
          catch( IOException ioe )
          { System.err.println("Could not find object file: " + fn); }
        } // end of loadModel()
      private Vector3d calcScaleFactor(BranchGroup loadedBG, String fn)
      // Scale the model based on its original bounding box size
         BoundingBox boundbox = new BoundingBox( loadedBG.getBounds() );
         // System.out.println(boundbox);
         // obtain the upper and lower coordinates of the box
         Point3d lower = new Point3d();
         boundbox.getLower( lower );
         Point3d upper = new Point3d();
         boundbox.getUpper( upper );
         // store the largest X, Y, or Z dimension and calculate a scale factor
         double max = 0.0;
         if( (upper.x - lower.x ) > max )
           max = (upper.x - lower.x );
         if( (upper.y - lower.y ) > max )
           max = (upper.y - lower.y );
         if( (upper.z - lower.z ) > max )
           max = (upper.z - lower.z );
         double scaleFactor = 10.0/max;    // 10 is half the width of the floor
         System.out.println("max dimension: " + df.format(max) +
                            "; scaleFactor: " + df.format(scaleFactor) );
         // limit the scaling so that a big model isn't scaled too much
         if( scaleFactor < 0.0005 )
             scaleFactor = 0.0005;
         return new Vector3d(scaleFactor, scaleFactor, scaleFactor);
      }  // end of calcScaleFactor()

    i mean , how to load few objects in one scene. not sence ..sorry .
    if u knwo how to load few objects in . please please give me some help .......Thanks so much

  • 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 use javabean

    can anyone can have a easy understand explain for how to use javabean?
    for example, if i am going to have a bean named "Dog", which will can speak "blah blah blah". what is the procedure to get it work?
    thanks

    Hi.
    I'm not quite sure what you're asking, but I'll give it a shot at a simple explanation. Let's say you create a Dog bean. A Bean is really just a Class that follows some general rules and naming conventions to make interpreting of the exported interface easier.
    The Java Beans specification says that the Dog bean should be serializable - That is, you can modify the values in the fields of Dog (i.e., you could change it's breed, or it's name, or it's owner, or what ever other fields you have), and write it out to a file, and load it back at a later time, and these fields would still have memory of the changes you made earlier. This is called persistance.
    Further to this, a bean declares properties as fields xxx that have matching methods getXxx and setXxx. Let's say you wish to have several dogs, one that speaks "arf", one that says "ruff", another that says "woof", one that says "yip yip, one that says "bow wow", and finally, one that says "yo quiero Taco Bell". Then, you would have a property called word that would be defined in the following way:
    private String word;
    public void setWord(String word) { this.word = word; }
    public String getWord() { return word; }Then, using your favourite Bean box or design tool, you would create several dogs, and set the word differently for each one.
    The code for speak would be this:
    public void speak() { System.out.println(word); }The benifit provided using the beans conventions of getXxx and setXxx allows the Bean Box to determine that there is a property called word, and that you can set this property to allow you to change the word that is spoken without overwriting the speak method.
    I'll say this again, becuase this is important: Anything that can be done with beans can be done without. The advantage to using beans is that a tool like a bean box, or the Introspector class, can dynamically determine which fields provided by a class are intended for use by another external class, AND which methods are used to set or retrieve the values of those fields.
    For example, you could define the same property with the following code:
    public String word;
    public void changeToNewWord(String word) { this.word = word; }
    public String whatDoesItSay() { return word; }The problem with this code, however, is that an introspector or bean box would have ABSOLUTELY NO IDEA that the changeToNewWord method is the method that should be called to set the property word.
    That's the basic idea. It goes much further than this, as you can then define events, such as the SawAnotherDogEvent that cause the bean to call the method speak. Also, you could create a custom bean info class that would tell the introspector that the changeToNewWord method was the setter method for word. The whole point is to provide extra information about you're class so that it can be recognized by some other coding as certain types of fields.
    To find out more, there is an excellent tutorial for Beans on the java developer website (java.sun.com), and the Beans specification is also there. Hope this helps you out. Good Luck!

  • How to load a selective request from PSA to DSO using DTP?

    Hi Gurus,
    The PSA is having 3 requests, how to load the request number 2 from psa to DSO using DTP?
    Thanks
    SDP
    Edited by: SDPSAP on Nov 15, 2011 7:58 PM

    Let us say that requests are 1,2 and 3. 1 being the first one and 3 is the last one. Now you need to load request 2 in DSO from PSA.
    - create a Delta DTP
    - Tick "Only Get Delta Once"
    - Tick "Get One Request Only"
    - Untick "Reterive Until No More New Data"
    - execute the DTP, it will load request 1 to DSO
    - delete this request from DTP
    - execute DTP again, it will load request 2 to DSO; this is what you need.
    If DSO is write optimized, you do not need to untick "Reterive Until no More New Data"; just execute the DTP, it will create 3 requests in DSO, delete first and last and you will get only 2 in DSO.
    I hope it helps.
    Regards,
    Gaurav

  • How to load the content in Combobox

    Dear All,
       Any one can tell me how to load the combobox dynamically..  i have one combobox in that i defined the value as "Defined New" when i click the DefineNew a new form wil come i wil enter the value in the editext. when i click the combobox the value should display.. i have done  this, its working fine but  the problem is every time when i add the value it wil show the data in the  the form Load.. i want data should come dynamically..
    any one can help me in this regard
    G.shankar

    You can use this "oForm.Refresh()" every time you add a new valid value to the ComboBox.
    I hope this help you.
    Regards.
    Enriquillo Guigni

  • I have a ebook giveaway offering on my site, how can adobe pack help me offer this download

    I have a ebook giveaway offering on my site, how can adobe pack help me offer this download.  I can load the pdf to my website, however, how do people download a copy of their own

    You can do this by uploading the PDF to https://cloud.acrobat.com and then using Send to create an Anonymous link. You can then distribute this link by posting it on your website or sending it out in email or however you would like. Anyone with the link will be able to view and dowload the PDF.
    Hope this helps.

  • How to load a properties from path that is relative to the classpath

    Hello;
    I need to load a set of properties from a propertie file from inside and EJB. I need to do so that I don't set the full absoulte path of the property file. In brief I don't want to be dependent on the file system struture instead I want to read the property file relatively to the package path name.
    Here is my code:
    package packagename.com;
    import packagename.com.*;
    import java.util.*;
    import java.io.*;
    public class PropDemo {
    public static void main(String[] args) {
    public static final String PROP_FILE_NAME
    = "configuration.properties";
    File inputFile = new File(PROP_FILE_NAME);
    Properties prop = new Properties();
    try {
    FileInputStream fis = new FileInputStream(inputFile);
    prop.load(fis);
    } catch (Exception e) {
    Any body have an idea how to so.
    Regards
    mal

    I realize that you are trying to be a pain in the arseNot really. I know that I spent about a day figuring it out and that was after skirting around the issue for a about a year.
    with that reply, but we can look here:
    public void load(InputStream inStream) throws
    IOExceptionReads a property list (key and element pairs) from the
    input stream. The stream is assumed to be using the
    ISO 8859-1 character encoding.
    The original post suggests the author already knows how to load from a file. So this doesn't help at all.
    And possibly GASP cross reference this entry in
    Class:
    public InputStream getResourceAsStream(String name)Finds a resource with a given name. This method
    returns null if no resource with this name is found.
    The rules for searching resources associated with a
    given class are implemented by the defining class
    loader of the class.
    Now you may equivocate that the docs don't
    specifically state that the classpath is where
    resources are searched for, but I would maintain that
    any Java developer worth anything should know this.Really? So where, in the above entry, does it explain the impact of the "/" character at the beginning of the string?
    I know how classes are searched for. I know the impact of the class path. How that impacts a 'resource' is less clear. Particularily since the "/" character has nothing to do with loading classes.
    >
    This should be Java 101. Advanced Topics should be
    something that affect people who have programmed Java
    for years. (This is usually something that first year
    programmers work out). If this is representitive of
    the kinds of questions that qualify as "Advanced" then
    this forum will become basically useless.So an opposing opinion...this is an advanced topic. Nothing in the java docs makes it clear. And it is even less clear the context of a container.

  • How to load a java card applet into a java card

    Dear All,
    I am a novice to java card technology..
    I have done some search on how to load a java card applet into a smart card but haven't found a satisfactory answer. I have read about installer.jar and scriptgen tool but I want to load the applet from a java program and not from command line. It would be of great help if somebody can help me out.
    If somebody can share a sample program which load a javacard applet(.CAP file) into a smart card, I will be very thankful.
    I am able to find some client applications which help us send APDU commands and recieve response APDU's to interact with an applet loaded on to the smart card but not application which actually load the applet.
    I have heard of OCF and GP.. some say that OCF technology is outdated and no longer in use.. can somebosy throw some light on this too..
    cheers,
    ganesh

    hi siavash,
    thanks for the quick response.. i checked out GPShell as suggested, it looked like a tool by which one can load an applet on to card and send some sample apdu commands... but I want to load the applet from the code.
    My application should look something like this.. it will be a swing applicaton where I have a drop down with a list of readers, I select the one desired and then click on "LOAD" after inserting a blank java card, at this point my applet which is stored in my DB should get loaded on to the java card. The next step should be to personalize it where I enter the values for the static variables of my applet and click "PERSONALIZE", at this point all these values should be embedded into APDU commands and sent to the java card for processing.
    For achieving this I am yet to find a comprehensive sample or documentation on the net.
    Please help...
    regards,
    ganesh

  • How to load flat file in existing Architecture.

    Hi everyone!
    There is an existing architecture that I have to upload data into.  There is a cube on top, followed below by an ODS and its update rules to the cube, followed below by an Infosource and its corresponding update rule to the ODS above it, followed below by a datasource (it says PC FILES(PC_FILE)) and its accompanying transfer rules to the infosource....
    There is nothing in the ODS...  No data.  The Datasource says emmulated 3.x Datasource...  (What does this mean?)
    What I want to do is upload data via a flat file...  Good BI Masters, how do I do this?  How do I create a "dummy file" for upload?  What are the specific sequence of steps that I need to do to load this flat file data?
    Thank thank you so much!
    Philips

    emulated DS:
    http://help.sap.com/saphelp_nw04s/helpdata/en/8c/131e3b9f10b904e10000000a114084/frameset.htm
    I'm not sure what you are asking - is it how to load a file all the way to cube in 7.0?
    From the architecture desc you have given, you havent migrated ur dataflow to new 7.0 dataflow, as you still have the update rules and transfer rules. So though ur system is 7.0, ur backend is still on 3.x, so the way you load a file is the same when your system was 3.x(before upgrade)
    Or - are you asking the steps to load the file to a cube - no matter which environment you are in  (3.x or 7.0)? if so, let us know .. and do a search on the forum for steps to load flatfile

  • How to Load a class manually

    Hello Friends,
    I need a help regarding how to load a class manually.
    i have the class name -- TestClass1
    and Path - com.apps.classes
    Thank you

    Thank You------
    I got the result
    String classPath = com.apps.className;
    Object obj = Class.forName(classPath).newInstance();

  • How to load a Hierarchy after a change in the R/3 system?

    Hi All,
    We have a hierarchy in BW hat we extract from R/3. But now they have added two new nodes to the hierarchical structure which is not being reflected in the BW version of the hierarchy. Can you tell me how to load into BW the latest version of the R/3 hierarchy with those two new nodes??
    Thanks Much for any Input,
    Reddy

    Hi Reddy,
    If you have modified just the function module to populate the hierarchy in R/3 then the hierarchies should load fine on BW. However if you have changed the datasource and there is a datasource(active) in the transport request in R/3 then you would need to replicate the datasource in BW and then load the hierarchy. Hope it helps.
    Bye
    Dinesh

Maybe you are looking for

  • Web Service Runtime error

    Hello everyone In our newly built AP0 ( dev, qa & prod ) systems there are many errors of web service and now the systems are being used by Users. Error --> 000 SAPSYS WS 4 Error in techincal configuration Error during the retrieval of the  logon dat

  • Deploying EAR and EJB (ClassLoader Question)

    Hi, Have a few queries. Appreciate any quick answers. (a) To deploy a EAR or EJB jar to WebLogic server, is it necessary to include the jar location specifically in $CLASSPATH? I think not. Am I correct? (b) Is the bean/EAR deployed at module level?

  • AddOn: Prevent from loading more than once

    Good Afternoon Experts: I appreciate you patience as I resurrect this topic since it has become an increasing concern here.  We need a way to restrict our AddOn from "being in" Task.mgr more than once.  We are working with Terminal Services.  A coupl

  • Compare two table columns

    hi all, i am using db10g. my task is to compare two table's data for example table1 is having col1 col2 col3 a b c e f g table2 is col4 col5 col6 a e c e f g so i have to compare col1 first record and col4 first record. in otherwords first table firs

  • An internal error occurred during the authorization check.

    Hi, Need help, While deleting chain in order to create Meta chain.I am getting this Error message. Thanks