Creating scenario dimension and loading data

Hi all,
We have two fact tables. The first one is sales that include quantity and subtotal columns. The other one is budget that include quantity and subtotal. We are working with hyperion essbase 9.3. First of all we are creating two model. For sales model we create 7 dimensions (product, chanell, time, company, currency, customer, account) and 3 attribute dimension and for budget model we create 4 dimensions (account,company,customer,product) in metaoutline. And we create 2 application for each metaoutline. We plan to report sales vs budget but we don't know how to join sales and budget data. Everybody recommends scenario dimension. we don't know how to create sceneraio dimension and in which application Essbase integration or Essbase administration services.
thank you.

I agree with Cameron. The best way is to put them into one cube. Since you are using a SQL source you can manulate it to have your budget load to the same time level as your actuals. For example suppose you load actuals daily and Budget is Monthly. for consistancy, you could load the budget data into the 15th day of the month. At the Monthly level where you would compare budget to actual, the numbers will be correct. Loading into dummy members for the dimensions that don't exist for budget is a common practice when trying to sync up data. If you really want to make it easy, you could union a view to make it look like you have a single fact table (based on the combo of budget and actual) and have a single metadata outline to load everything. I prefer having two because of different load requirements, but this is an option.
If you don't want to go this way, the next option is to partition your budget data into the actuals cube. this would keep them seperate but allow you to see them togeter. Between the two option, I prefer the single cube approach better

Similar Messages

  • Creating the outline and Loading data for TBC in 11.1.2.2

    Hi all, feelin kinda dumb here because this task really should not be as difficult as it seems.
    I am trying to Load the TBC application in 11.1.2.2 Essbase. I have followed the documentation to
    1. Install EIS
    2. create the metadata repository and load the xml file provided
    I now need to create the essbase cube from this metadata repository, I cannot seem to find any real steps as to how to do this, everything I found was pertaining to creating the repository. Can anyone help define what needs to be done and what steps I need to take, I am new to EIS and Studio so the simpler the better :)
    thanx

    thanx, this did give me a better understanding of essbase studio, thank you. It did not help so much as getting the structure and data from the repository into essbase. For that from what I understand I can import models from EIS (where I loaded the TBC) one. In doing this I get an error saying that it cannot find any models (which I know are there because I can look at them in EIS. Unfortunately, looking over other posts, I installed Studio on a 64 bit server, which may be the issue I am facing (I hope)
    I am going to try and reinstall studio on a 32 bit platform and try the import again.

  • Create a table and upload data in MS ACCESS from SAP ABAP programming?

    Hi All,
    How to create a table in MS ACCESS database and Upload SAP database table data into MS ACCESS table using ABAP programming?
    Explain: My client requirement is " If he/she runs a ABAP Program, that will create a table and upload data into MS ACCESS Database table in background. "
    Could you please give the solution or code? I know the program RIACCESS and I went through the SAP Note 583698.
    Is this only solution for this?  Or Any other possibilities?
    Please give me solution.
    Thanks in advance.

    Hi,
    It is not possible to create tables in a non SAP schema from inside SAP.
    The SAP-Oracle license also does not allow you to create the table (see note 581312):
    the following actions, among other things, are therefore forbidden at database level:
    Creating database users
    Creating database segments
    Querying/changing/creating data in the database
    Using ODBC or other SAP external access methods
    Please refer following link,
    [Ckick Here|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes.do]
    You can also do it by LSMW,
    If you are using Access 97, you can download directly into an access
    database from SAP. See program RIACCESS for details. You have to establish
    an RFC destination PS_ACCESS_1 and 2.
    There are then a couple of function modules. Go to SE37 and put in
    msaccess and hit PF4.
    The following is from the readme file: sapgui/ps/readme.sap
    For the MS-Access interface SAP delivers 4 files:
    WDPSASTR.EXE This is an RFC server program that is called by SAP R/3
    (PS module). This program creates a MS Access database. The structure
    information of the tables is transferred from R/3. In addition to
    these tables a table named DDIC is created. This table contains the
    structure information and should in no case be modified or deleted.
    WDPSATAB.EXE This is an RFC server program that is called by SAP R/3
    after WDPSASTR. This program filles the tables of the database with data.
    There must not be made any changes of the structure of
    the tables between the calls of WDPSASTR and WDPSATAB.
    WDPSAZET.EXE This is an RFC client program that triggers work/time
    confirmations in the PS module of SAP R/3 (like transaction CN27 Collectiv
    confirm).
    WDPSAMAT.EXE This is an RFC client program that triggers material
    confirmations in the PS module of SAP R/3 (like transaction MB1A - Goods
    Please also refer following links,
    [Click here|Upload data from MS Access tables, to SAP tables.;
    Before using the program "RIACCESS", you need to install the PS utilities, which are part of SAPGUI install CD.
    It is available in the "SAPGUIPS directory".
    Then do the followings :
    1. Select transaction code SALE -> Systems in network-> Define RFC Destination.
    2. You will need two RFC destinations (TCP/IP connections for the front-end workstation).
    Setup the two RFC destinations PS_ACCESS_1 and PS_ACCESS_2 and you'll have to get them to point to
    wdpsastr.exe and wdpsatab.exe respectively.
    3. Then execute RIACCESS and choose PS_ACCESS_1 to generate access tables.
    The system must also be able to access the RFC-DLL files (librfc2.dll, librfc3.dll, librfc4.dll, librfc5.dll, librfc6.dll, vrfc.dll).
    Please note that Access only supports tables with up to 255 fields.

  • Slow creating ReportDocument object and loading report

    Hi all,
    I realise this question has come up several times before, I've been searching the internet and have found similar problems but non that match my own. Sorry this is a little long winded but I would like to give as much detail as possible.
    I use CR 2008 and VS2010 on my development machine. And I have installed CR 2008 Redist SP3 on the production server.
    My application is a simple console application accepting parameters such as report name, print or export, and of course the report parameters.
    CrystalDecisions.CrystalReports.Engine.ReportDocument rptDoc = new CrystalDecisions.CrystalReports.Engine.ReportDocument();
    rptDoc.Load(sParamDOC); //sParamDOC being the report name passed in via command line
    It has to be like this because it integrates into an old system in the background. Of course it being like this means I can not pre-load dll's on application startup (as I've seen suggested several times).
    All of this is in house, I'm an OU administrator and an administrator on the server. The server is only accessed via remote desktop and the OS is windows server 2003. I installed all of the neccesary software to make this work.
    What is really puzzling me though is that when I use this program via command prompt, logged in as me, it creates the object and loads the report in a matter of seconds. Yet if anybody else runs it (even other administrators of the server) the program can take 30-60 seconds to create the ReportDocument object and the same again to load the report.
    I initially only noticed this for the standard users, which was why I created another admin to test. I don't think it's a problem with the report design because it works quick for me. I read an article about this happening with reports created in Crystal version 9. So I tested with a report made from scratch in 2008 and still get the same result. I also read another article about default printers, 'dissociate printer' option is selected and locally the default printers are set to the same printer also.
    Does anybody have any suggestions as to where I could look next?
    I saw in another article some registry keys you can use to turn on logging for crystal reports, I want to do this but where does it put the log files?
    Oh, one more thing the server orginally had redist 2.3 on when I noticed this issue, updating to SP3 (redist 3.3) if anything made it slower, and a little more inconsistant of load times.
    Thanks
    Gavin

    I figured out what this was. I thought I would come back and post incase anyone else has the same issue... the reason it was slow for the other users is because they could not access the internet. My program doesn't use the internet but the operating system is automatically trying to verify the dll's publishers. you can disable this see the following blog:
    [http://blogs.msdn.com/b/amolravande/archive/2008/07/20/startup-performance-disable-the-generatepublisherevidence-property.aspx|http://blogs.msdn.com/b/amolravande/archive/2008/07/20/startup-performance-disable-the-generatepublisherevidence-property.aspx]
    Regards
    Gav

  • I am confused by the layout of the I tunes Store...recently the entire graphics on the i tunes store pages are a complete mess, not downloading, creating odd layover and jumbled data and making it virtually impossible to access or read. Help!?

    I am confused by the layout of the I tunes Store...Ive had no problems or troubel for YEARS with the I Tunes store, but recently the entire graphics on the i tunes store pages are a complete mess, not downloading, creating odd layover and jumbled data and making it virtually impossible to access or read. I am looking for information or guidance on how to re-boot or fix this - Help?!

        I can see that this issue has been quite extensive, and frustrating, and I am so sorry for all that has happened societygirl! I would like to help you work this issue out. Please follow & send me a Direct Message, so I can get your account specifics and help finally bring this to a resolution.
    Thank you,
    MichelleH_VZW
    Follow us on Twitter @VZWSupport

  • How to create XML data source/ and load data from a web service to BI

    All,
    I m trying to find a 'how to' document (or any document) that shows how to create an XML data source to load data directly from a web service or from an XML file.
    I appreciate any help.

    Hi Mike,
    Two more for you:----
    /thread/111488 [original link is broken]
    http://help.sap.com/saphelp_nw70/helpdata/en/e6/1dd53bb90cbb1ae10000000a11402f/content.htm
    Regards,
    Suman

  • How to Create an R/3 source system and load data from there

    Hello All,
    Till now I have only worked with Flat files. I want to create an R/3 source system and extract data from there on to my Info Providers.
    Does anyone has detailed steps for that. I am using BW 3.5 system
    Thanks n Regards,
    Abhishek

    1. Type Transaction WE30. Check iDoc types
    2. Type Transaction SM59. Maintain RFC destinations
    a.) Open the RFC Destinations. b.) Find your Source System and double click on it. c.) Technical setting should contain information regarding yoursource system d.) Logon Information should contain source system client and name & password for you remote logon. We use RFC_SAB for BW logon to R/3 and RFC_AAE for R/3 logon to BW. Password for both is always xxxxxxx. e.) Execute your 'Test Connection' & 'Remote Logon'. You should NOT be prompted for a password, if you are then the logon info is incorrect. f.) Repeat above to verify RFCs for other systems (CRM etc)
    3. Type Transaction WE21. iDoc Processing Ports.
    a.) Select 'Ports' and then 'Transactional RFC'. b.) Click on the Port # for you source system. c.) Verify description & SAP R/3 version.(BW 2.1C should be release 4.x) d.) RFC Destination should be one created in SM59. If non-existent then create one
    4. Type Transaction SE16. Data browser (for R/3  BW Connections)
    5. Type Transaction SM30. Msg Types & Assignment to iDocs
    Enter 'EDIMSG' in the Table/View field. Click on the 'Enter Conditions' option for Restrict Data Range. Click 'Maintain'. Select Message Type. Then enter 'RSSEND' in "From' field. Verify that the Basic Type matches what is in your RSBASIDOCtable for each of your connections. If any are missing any entries you must create them as follows: Create another session and type Transaction WE30. Enter IDoc Type (ZSBAXXX) in Obj. Name field (Suggestion: Start new type with 'ZS' + Transfer Structure Prefix + (3)#'s) Select Create. Select "Create from Copy'. Enter 'RSSEND" in 'Copy From' field Enter Description (i.e. IDoc Type for BW Development) Execute (Green Check). Repeat for other missingentries.
    6. Go to the SM30 main screen. Clients Overview
    Enter 'T000' in the Table/View field. Click 'Maintain'. Verify correct Client and Description. If incorrect enter.
    8. On BW Type Transaction WE20. Partner Profiles
    9. On R/3 Type Transaction WE20. Partner Profiles
    10. Check all is correct

  • How to add a new field in the cube and load data

    Hi,
    The requirement is
    We have  ZLOGISTICS cube , the data souce of this filed has REFDCONR-reference dcument number filed . We have to create a new field in cube load data and get this new filed into the report also.
    Please any one can help me with the step by step process of how to do?
    How to get the data into BW and into the report.

    Hi,
    So you need that this new field have data in old records?
    1.- If you are in BI 7.0 and the logic or data for that New field are in the same Dimension, you can use a Remodeling to fill it. I mean if you want if you want to load from a Master Data from other InfoObject in the same Dim.
    2.- If condition "1" is not yours.
    First add the new field, then create a Backup Cube (both cubes with the new field) and make a full update with all information in the original Cube. The new field willl be empty in both cubes.
    Create an UR from BackUp_Cube to Original_Cube with all direct mapping and create a logic in the Start Routine of the UR (modiying the data_package) you can look for the data in the DSO that you often use to load.
    To do that both cubes have to be Datasources ( right click on Cube-> aditional function-> and I think is "Extract Datasource")
    Hope it helps. Regards, Federico

  • Creating Time dimension in BW data model. - like seen in logical data model

    Hello all,
    I have been struggling with this thing and I am looking for some help from anyone on this forum.
    We are trying to create a logical data model of our bw system. We are going live next month with Student module for universities. We have multiple Infocubes and DSO and since there is so much crossing over in between them most of the reporting is done on infosets.
    One of the thing we were thinking; is it possible to create something like a common time dimension table for every infoprovider. Basically when we are providing the reports to the end user can we give them a drop down menu which gives a time frame for reporting rather than selecting.
    Example: Like can we create something which looks in the drop down like current month data, last months data, three months ago, four months ago, five months ago, one year ago, two years ago. Can we make like these data slices in our cube and deliver it to the end user?
    We have in our cube a few date infoobjects, like receipt date, decision date, cancellation date and like wise.
    Please let me know if any one has done any similar thing, it will be very helpful.
    Thank you so much in advance.

    if you add your common time dimension to your data model, first identify for each infoprovider the time against which 'current month' and other frames should be applied and map them to your dimension.
    just a question... are you not using time dimension in cubes ? ideally this should be your time dimension llinking all.
    when you use time dimension which uses 'current month' , 'current year' , you will have to address their historisation as well. (because current month now will not be so current after 2 months).
    so in data load procedure every day these values need to change (meaning drop and reload).
    and routines to populate these values based on reporting date.
    Edited by: hemant vyas on May 6, 2009 1:56 PM

  • Delivery date and loading date is same

    Hello ,
    Issue decription:
    The system calculating delivery=loading date , though the route is maintained for 9 days trasit days.
    This problem is with only one routeA.
    When i have created SO for material M123 with route "B" shipping Point 0001, the system consider transit duration of the route.But when Sales order (SO )is placed for materail M123, shipping Point 0001, and route A, system is not considering the transit duration.
    Kindly let me know any config change is required with respect to route or forwarding agent.

    Hi,
    Check for the route A what's the transit duration time has maintained.The system uses the transit time from delivery scheduling as well as other time estimates (for example, the loading time) to determine the dates by which the goods must be available for picking, packing, and loading.Finally check the factory calendar if forwarding agent facory calendar has not maintaained it will consider the shipping point calendar.
    Regards,
    Hari Challa.

  • How to save data and load data from an arrayList ??

    i got a run time problem .....when i try to save my data to a file and load a data from a file....i got some kind of error like that
    Please enter your CD`s title : ivan
    Please enter your CD`s Artist/GroupName : diw
    Please enter your CD`s year of release : wid
    InputMismatchException error occurred (the next token does not match the Integer regular expression, or is out of range) java.util.InputMismatchException
    Invaild value....Please enter the value between 1000 & 9999
    Please enter your CD`s MusicGenre(e.g.: Jazz, Blues, Funk, Classical, Rock, etc...) : w
    Please enter your CD`s comment : w
    Do you have another Cd ? (Y/N) : n
    Saving to file
    java.io.EOFException
         at java.io.ObjectInputStream$BlockDataInputStream.peekByte(Unknown Source)
         at java.io.ObjectInputStream.readObject0(Unknown Source)
         at java.io.ObjectInputStream.readObject(Unknown Source)
         at Demo.loadDate(Demo.java:49)
         at Demo.readDataFromConsole(Demo.java:103)
         at Demo.main(Demo.java:173)
    Exit code: 0
    import java.util.ArrayList;
    import java.io.*;
    public class Demo{
         readOperation theRo = new readOperation();
         errorCheckingOperation theEco = new errorCheckingOperation();
         ArrayList<MusicCd> MusicCdList;
         public Demo()
         private void heading()
              System.out.println("\tTesting read data from console, save to file, reopen that file\t");
         private void saveDate()
              MusicCdList = new ArrayList<MusicCd>( ); 
              try
                   File f = new File("jessica.txt");
                   FileOutputStream fos = new FileOutputStream(f);
                   ObjectOutputStream oos = new ObjectOutputStream(fos);
                   for( MusicCd s : MusicCdList)
                   oos.writeObject(s);
                   oos.close();
              catch (IOException ioe)
                   ioe.printStackTrace();
         private void loadDate()
              MusicCdList = new ArrayList<MusicCd>( );  
              try
                   File g = new File("jessica.txt");
                   FileInputStream fis = new FileInputStream(g);
                   ObjectInputStream ois = new ObjectInputStream(fis);
                   ArrayList<String> stuff = (ArrayList<String>)ois.readObject();
                   for( String s : stuff ) System.out.println(s);
                   ois.close();
              } catch (Exception ioe)
                   ioe.printStackTrace();
         private void readDataFromConsole()
         //private void insertCd()
           ArrayList<MusicCd> MusicCdList = new ArrayList<MusicCd>( ); 
            readOperation theRo = new readOperation();
            errorCheckingOperation theEco = new errorCheckingOperation();
            MusicCd theCd;
            String muiseCdsTitle;
            String muiseCdsArtistOrGroupName;
            int muiseCdsYearOfRelease;
            int validMuiseCdsYearOfRelease;
            String muiseCdsMusicGenre;
            String muiseCdsAComment;
              while(true)
                    String continueInsertCd = "Y";
                   do
                        muiseCdsTitle = theRo.readString("Please enter your CD`s title : ");
                        muiseCdsArtistOrGroupName = theRo.readString("Please enter your CD`s Artist/GroupName : ");
                        muiseCdsYearOfRelease = theRo.readInt("Please enter your CD`s year of release : ");
                        validMuiseCdsYearOfRelease = theEco.errorCheckingInteger(muiseCdsYearOfRelease, 1000, 9999);
                        muiseCdsMusicGenre = theRo.readString("Please enter your CD`s MusicGenre(e.g.: Jazz, Blues, Funk, Classical, Rock, etc...) : ");
                        muiseCdsAComment  = theRo.readString("Please enter your CD`s comment : ");
                        MusicCdList.add(new MusicCd(muiseCdsTitle, muiseCdsArtistOrGroupName, validMuiseCdsYearOfRelease ,
                        muiseCdsMusicGenre, muiseCdsAComment));
                        MusicCdList.trimToSize();
                        //saveToFile(MusicCdList);
                        continueInsertCd = theRo.readString("Do you have another Cd ? (Y/N) : ");
                   }while(continueInsertCd.equals("Y") || continueInsertCd.equals("y") );
                   if(continueInsertCd.equals("N") || continueInsertCd.equals("n"));
                                        System.out.println("Saving to file ");
                                                    //MusicCdList.add(new MusicCd(muiseCdsTitle, muiseCdsYearOfRelease));     
                                                    saveDate();
                                        loadDate();
                                  break;
         public static void main(String[] args)
              Demo one = new Demo();
              one.readDataFromConsole();
              how should i fix it if i want to reach the save to a file and load from a file purpose??
    thx all
    for much more understand of this program
    import java.io.Serializable;
    public class MusicCd implements Serializable
         private String musicCdsTitle;
         private String artistOrGroupName;
            private int yearOfRelease;
         private String musicGenre;
         private String aComment;
         public MusicCd()
              musicCdsTitle = "";
              artistOrGroupName = "";
              yearOfRelease = 1000;
              musicGenre = "";
              aComment = "";
         public MusicCd(String newMusicCdsTitle, String newArtistOrGroupName, int newYearOfRelease,
         String newMusicGenre, String aNewComment)
              musicCdsTitle = newMusicCdsTitle;
              artistOrGroupName = newArtistOrGroupName;
              yearOfRelease = newYearOfRelease;
              musicGenre = newMusicGenre;
              aComment = aNewComment;
         public String getTitle()
              return musicCdsTitle;
         public String getArtistOrGroupName()
              return artistOrGroupName;
         public int getYearOfRelease()
              return yearOfRelease;
         public String getMusicGenre()
              return musicGenre;
         public String getAComment()
              return aComment;
         public void setTitle(String newMusicCdsTitle)
              musicCdsTitle = newMusicCdsTitle;
         public void setArtistOrGroupName(String newArtistOrGroupName)
              artistOrGroupName = newArtistOrGroupName;
         public void setYearOfRelease(int newYearOfRelease)
              yearOfRelease = newYearOfRelease;
         public void setMusicGenre(String newMusicGenre)
              musicGenre = newMusicGenre;
         public void setAComment(String aNewComment)
               aComment = aNewComment;
         public boolean equalsName(MusicCd otherCd)
              if(otherCd == null)
                   return false;
              else
                   return (musicCdsTitle.equals(otherCd.musicCdsTitle));
         public String toString()
              return("Title: " + musicCdsTitle + "\t"
              + "Artist/GroupName: " + artistOrGroupName + "\t"
              + "Year of release: " + yearOfRelease + "\t"
              + "Music Genre: " + musicGenre + "\t"
              + "Comment: " + aComment + "\t" );
    }import java.util.*;
    public class readOperation{
         public String readString(String userInstruction)
              String aString = null;
              try
         Scanner scan = new Scanner(System.in);
                   System.out.print(userInstruction);
                   aString = scan.nextLine();
              catch (NoSuchElementException e)
                   //if no line was found
                   System.out.println("\nNoSuchElementException error occurred (no line was found) " + e);
              catch (IllegalStateException e)
                   // if this scanner is closed
                   System.out.println("\nIllegalStateException error occurred (scanner is closed)" + e);
              return aString;
         public char readTheFirstChar(String userInstruction)
              char aChar = ' ';
              String strSelection = null;
              try
                   //char charSelection;
         Scanner scan = new Scanner(System.in);
                   System.out.print(userInstruction);
                   strSelection = scan.next();
                   aChar = strSelection.charAt(0);
              catch (NoSuchElementException e)
                   //if no line was found
                   System.out.println("\nNoSuchElementException error occurred (no line was found) " + e);
              catch (IllegalStateException e)
                   // if this scanner is closed
                   System.out.println("\nIllegalStateException error occurred (scanner is closed)" + e);
              return aChar;
         public int readInt(String userInstruction) {
              int aInt = 0;
              try {
                   Scanner scan = new Scanner(System.in);
                   System.out.print(userInstruction);
                   aInt = scan.nextInt();
              } catch (InputMismatchException e) {
                   System.out.println("\nInputMismatchException error occurred (the next token does not match the Integer regular expression, or is out of range) " + e);
              } catch (NoSuchElementException e) {
                   System.out.println("\nNoSuchElementException error occurred (input is exhausted)" + e);
              } catch (IllegalStateException e) {
                   System.out.println("\nIllegalStateException error occurred (scanner is closed)" + e);
              return aInt;
    import java.util.Scanner;
    import java.util.InputMismatchException;
    import java.util.NoSuchElementException;
    public class errorCheckingOperation
         public int errorCheckingInteger(int checkThing, int lowerBound, int upperBound)
               int aInt = checkThing;
               try
                    while((checkThing < lowerBound ) || (checkThing > upperBound) )
                         throw new Exception("Invaild value....Please enter the value between  " +  lowerBound + " & " +  upperBound );
               catch (Exception e)
                 String message = e.getMessage();
                 System.out.println(message);
               return aInt;
           public int errorCheckingSelectionValue(String userInstruction)
                int validSelectionValue = 0;
                try
                     int selectionValue;
                     Scanner scan = new Scanner(System.in);
                     System.out.print(userInstruction);
                     selectionValue = scan.nextInt();
                     validSelectionValue = errorCheckingInteger(selectionValue , 1, 5);
               catch (NoSuchElementException e)
                   //if no line was found
                   System.out.println("\nNoSuchElementException error occurred (no line was found) " + e);
              catch (IllegalStateException e)
                   // if this scanner is closed
                   System.out.println("\nIllegalStateException error occurred (scanner is closed)" + e);
              return validSelectionValue;
    }Message was edited by:
    Ivan1238
    Message was edited by:
    Ivan1238

    You should thoroughly check you code. It's full of problems.
    For example in saveDate():
    You create a new empty ArrayList and then want so save it's contents. I guess, the file size is always 0.
    For example in loadDate():
    Since you read from an empty file you get an EOFException. This is ok and you should catch and treat the exception properly.
    You try to read the ArrayList instead of single MusicCd objects, although in saveDate you saved the single MusicCD objects. You can only read from the file what to saved in it before.
    I suggest to write the size of the ArrayList as first object in the file. Then you know how much you can expect to read when loading from the file.
    private void saveDate()
              try
                   File f = new File("jessica.txt");
                   FileOutputStream fos = new FileOutputStream(f);
                   ObjectOutputStream oos = new ObjectOutputStream(fos);
                            oos.writeObject(new Integer(MusicCdList.size()));
                   for( MusicCd s : MusicCdList)
                   oos.writeObject(s);
                   oos.close();
              catch (IOException ioe)
                   ioe.printStackTrace();
         }

  • Planning Good Issue date and loading date

    Hi All,
    How I can get the planning Good issue date? I found that the loading date is the same as the planned Good issue date, what's the loading time?
    As what I understanding, loading date + loading time = Good issue date,  But I am not sure how to calculate the planned Good issue date.
    thanks,

    Hello Friend,
    It is determined in Shipping Point configuration.The path is as follows SPRO--> Enterprise Structure >Definition>Logistics Execution-->Define, copy, delete, check shipping point and go in detail the concerned shipping point.

  • Look up two ODS and load data to the cube

    Hi ,
    I am trying to load data to the Billing Item Cube.The cube contains some fileds which are loaded from the Billing Item ODS which is loaded from 2LIS_13_VDITM directly from the datasource, and there are some fields which needs to be looked up in the Service Order ODS and some fields in the Service Orders Operations ODS.I have written a Start Routine in the Cube update rules.Using the select statement from both the ODS i am fetching the required fields from the both ODS and i am loading them to the internal tables and in the Update rules i am writing the Update routine for the fields using Read statement.
    I am getting an error when it is reading the second select statement(from second ODS).
    The error message is
    You wanted to add an entry to table
      "\PROGRAM=GPAZ1GI2DIUZLBD1DKBSTKG94I3\DATA=V_ZCSOD0100[]", which you declared
    with a UNIQUE KEY. However, there was already an entry with the
    same key.
    The error message says that there is an Unique Key in the select statement which is already an entry.
    Can any one please help me in providing the solution for this requirement.I would appreciate your help if any one can send me the code if they have written.
    Thanks in Advance.
    Bobby

    Hi,
    Can you post the select statements what you have written in Start routine.
    regards,
    raju

  • How to create web part and retrieve data from a scheduled task?

    Hi,
    I am new to SP, so I think you can guide me. I have  a scheduled task which gets currency data. I wonder if there is  way to show them on a web part. There will be currnecy names, buy and sell data on this web part. I would be glad if you can show
    me step by step how to create this web part on SP.
    Thanks in advance.
    Best Regards.

    Hi,
    thanks for the reply so I advice on that case to write code in the task schedule to write the data into a SharePoint list, if the scheduled task is on the same server as SharePoint then use Object model if it on another server then use client object model
    to write data to a list
    then on SharePoint site you will just add out of the box web part to display the list where you stored the data
    to save data using Object model:
    http://msdn.microsoft.com/en-us/library/office/ms467435(v=office.14).aspx
    http://www.go4sharepoint.com/Code/insert-list-item-sharepoint-object-286.aspx
    to save data using client object model
    http://www.codeproject.com/Articles/268196/SharePoint-Client-Object-Model
    Kind Regards,
    John Naguib
    Technical Consultant/Architect
    MCITP, MCPD, MCTS, MCT, TOGAF 9 Foundation
    Please remember to mark your question as answered if this solves your problem

  • Need to DELETE and LOAD data of the Last month to

    Hi Experts,
    I need to delete the last month data from cube because One material is not updated with a Required value. We have made some changes in Update routine for a Value. The Same change must be reflected from last month of data ,
    So I need to delate the data based on selection. And reload  the data again. And the data flows from
                                               2LIS_13_VDITM (Info Source ) to ZSD_C03 (Info Cube). 
    I read many SDN threads, but I am getting confused.
    How can I proceed for these  ?
    Thanks,
    Utpal.

    Hi Srikanth,
    Thank you for responding.
    I had a problem on one material. So deleted the request and Reload it from PSA. That issue got solved.
    And Now the problem is , Now my senior is saying Delete the data from April-09 till date and Reload it. The issue is My CUBE ( ZSD_C03 ) is updated with 4 data sources. 2LIS_11_V_ITM   ,  2LIS_13_VDITM   ,  2LIS_12_VCHDR  , 2LIS_11_VAITM .
    And I need to delete data from 2LIS_13_VDITM  data source . How Can I proceed for the current issue   ?
    Please suggest   ...
    Thank you ,
    Utpal

Maybe you are looking for