Help with Aggregation Summation into DSO

Hi, I have a question about Key Figure Aggregation Summation in transformation rules into a DSO from 2LIS_11_VAITM.
Currently had an old order for Order Qty of 600 pcs.  Recent request came in to change it to 400.  After Delta our Order Qty was -200.  The Rule is for Summation and I figure it should work like 600 + -600 +400 = 400, but that is not what happened.  It's almost like the rule considered the original order qty to be 0 and when the -600 and +400 delta came in they get summarized to get the -200.  Does it have anything to do with the change logs only having recent last 30 days available?
Can anyone tell me what is wrong here?

Kennet:
    Could you please provide more details? For example:
- Is the problem (differences on the Key Figure values) at the DSO level or at the Cube level?
- Does your DataSource version have DSO capability? (please refer to SAP Note 440416 - "BW OLTP: Correction report for change of delta process").
- If your DataSource supports "ABR" extraction, Does the Data on the PSA looks ok? (After / Before and Reverse images).
- Have you enhanced the DataSource to include Custom Fields? If so, Does the ABAP Routine uses the SORT command?
- Do you update the DSO with the 2LIS_11_VAITM DataSource only? or Do you use another DataSource to send data to the same DSO?
- Have you considered changing the Rules to "Overwrite" instead of "Summation"?
- What fields are included as part your DSO Key?
- Do you have the ROCANCEL field mapped to 0STORNO / 0RECORDMODE InfoObjects?
Regards,
Francisco Milán.
Edited by: Francisco Milan on Jul 1, 2010 9:13 AM

Similar Messages

  • Help with importing items into flash

    OK, I have modified a flash site to accomplish everything I
    would like except one item and this has me stumped. I have several
    "more" buttons on my site that all go to the same frame, but insert
    differnent text dependent on which "more" button is clicked
    (reference
    www.tlcbuildersllc.com).
    Everything is imported from xml functions and files.
    Here is the xml function script from one file
    (xmlFunctions.as) for the "more" buttons
    function more_click_func(number) {
    num=_root.pagesReadMoreFrame;
    currentPage=_root.link-_root.firstPageFrame;
    if(_root.link<>num and _root.animation==1) {
    _root.animation=0;
    _root.link_prev=_root.link;
    _root.menu["item" +
    getMenuPreviousLink(_root.link)].gotoAndPlay("s2");
    _root.menu2["item" +
    getMenuPreviousLink(_root.link)].gotoAndPlay("s2");
    if (number==999999) {
    sectionNum=getXmlSection(mainObj, "section",
    "privacyPolicy");
    titleNum=getXmlSection(mainObj.section[sectionNum], "item",
    "pageTitle");
    textNum=getXmlSection(mainObj.section[sectionNum], "item",
    "pageText");
    _root.readMoreTitle=mainObj.section[sectionNum]["item"][titleNum].value;
    _root.readMoreText=mainObj.section[sectionNum]["item"][textNum].value;
    else {
    sectionNum=getXmlSection(mainObj, "section", "pages");
    linkCount=checkLinkType("readMoreLink", number);
    i=0;
    linkTitleNum=getXmlSection(mainObj["section"][sectionNum]["page"][currentPage]["link"][li nkCount],
    "item", "title");
    linkTextNum=getXmlSection(mainObj["section"][sectionNum]["page"][currentPage]["link"][lin kCount],
    "item", "linkText");
    _root.readMoreTitle=mainObj["section"][sectionNum]["page"][currentPage]["link"][linkCount ]["item"][linkTitleNum].value;
    _root.readMoreText=mainObj["section"][sectionNum]["page"][currentPage]["link"][linkCount] ["item"][linkTextNum].value;
    _root.link=num;
    _root.play();
    which calls items out of another file (tfile_main.xml) with
    script like this
    <pageText><![CDATA[
    LATEST PROJECTS?
    ]]></pageText>
    <pageText><![CDATA[
    <font color="#FFFFFF">12.15.2007</font>
    text omitted to shorten post <u><font
    color="#FFFFFF"><a
    href="asfunction:_root.more_click_func,0">more</a></font></u>
    <link linkType="readMoreLink">
    <item name="title"><![CDATA[
    Latest Project
    ]]></item>
    <item name="linkText"><![CDATA[
    text omitted to shorten post]]></item>
    </link>
    Then, in the flash file (main.fla), on a layer of the read
    more frame, I have this script
    thisTitle.htmlText=_root.readMoreTitle;
    thisText.htmlText=_root.readMoreText;
    _root.textSelectable(thisText);
    _root.textSelectable(thisTitle);
    Now I know the above script is for text boxes, but I figure a
    similar layer or MC script will be needed to add unique avi files
    and pics for each individual "more" button that is selected. Any
    help would be appreciated, I have tried many different things and
    have not been able to accomplish this task.

    Hi Andy,
    Please put this posting into the appropriate SAP Netweaver group.
    SAP TM is about transportation of physical goods from one location to another.
    Regards, Thomas

  • Need help with moving files into Itunes and syncing

    Please help.
    I have an external hard drive with my music on it.  I created a new playlist in Itunes and did a drag and drop from my external hard drive into my newly created playlist. 
    Now that I go back and play the items I brought over, I get an error that says "original files not found" and it won't play and therefore does not seem to be syncing to the Ipod to be able to play.
    Can you please give me guidance as to what I can do without recreating all the work I had already done?
    Thanks,
    Michelle

    Is the external drive connected?
    Has the drive letter possibly changed due to being disconnected and reconnected?

  • Need Your Help with Loading SWF into another Flash Movie!

    Hello,
    I have created TWO Flash movies. They work just fine
    individually, but I get problem when I put one into another one!
    The main Flash is a Menu and the second one if a Photo Album.
    The Menu is series of animation (Moving Objects) which finally
    comes into rest and create the menu. The photo album is another SWF
    file which is called with in the first Flash Movie (The Menu). The
    SWF file is loaded as follow into the Main Flash.
    MovieClip.prototype.drawRect = function(x, y, w, h) {
    this.beginFill(0xFF0000, 100);
    this.moveTo(0, 0);
    this.lineTo(0+w, 0);
    this.lineTo(0+w, 0+h);
    this.lineTo(0, 0+h);
    this.lineTo(0, 0);
    this.endFill();
    this._x = x;
    this._y = y;
    this.createEmptyMovieClip("mc6", 6);
    mc6.lineStyle (3, 0x000000, 100);
    mc6.drawRect(-77, -17, 20, 20);
    mc6._xscale = 100;
    mc6._yscale = 100;
    loadMovie("photoAlbum.swf", mc6);
    Problem arises when I click on the Play Button of the
    photoAlbum.swf (Photo Album) since the execution of the play button
    causes the Flash starts once again from the beginning of the entire
    Flash Movie (Beginning of the animation creating the menu) and it
    simply jumps into the Firm One of my Flash Movie.
    Could you tell me how I can isulate what is in layer 6 (Where
    the photoAlbum is loaded to) from the rest of my Flash Movie?
    I hope I managed to explain my problem. I would like to take
    this opportunity to thank you in advance for your help.
    Cheers,
    Babak

    Hello Anya,
    I have realized the problem arises from the Wait Function
    which causes the Photo Album to pause for a period of time (Two
    Seconds) once a Photo is fully displayed (I have Fade in/out Photo
    Album). I realized everything works OK once I remove the function
    and rather left the Photos to be flipped without any pausing (This
    is an Auto-loading Album which simply Flips the photos!).
    Here is the Wait Function which is causing all the trouble.
    function wait()
    stop();
    var myInterval = setInterval(function ()
    play();
    clearInterval(myInterval);
    }, 2000);
    Thank you so much for your help.
    Cheers,
    Babak

  • Help with importing mp3s into iTunes

    Hi, I'm running the newest version of iTunes and having problems loading mp3s into the library in correct order. I'm not sure how the mp3s i want to import are tagged, but when i import them, iTunes arranges them automatically by song name (alphabetically) and loses the track order.
    1) how do i import them keeping the same track order (in future)?
    2) how can i re-order the existing ones i've imported into the library already as efficiently as possible (without going into the 'get info' option and adding track numbers for each of the separate tracks (i have several thousand like this - they are mainly live concerts)?
    Many thanks for any help, its much appreciated!

    You don’t say quite enough to be sure if I am being helpful or how much you know, but …
    Start in the library window with browse on and select an album. (Click on the little eye, upper right of screen if you don’t see the browser).
    You can then use “Get info” to inspect some of your imported tracks for that album. If you click on the info tab, you should see a field for track number. If you have a correct track number in this field, you should be able to sort by track number.
    If you don’t see a Track # column to sort on, you and bring it into view by right clicking on the header row (Name, Artist, Album etc) and then checking Track number.
    You can sort on any column by clicking the header.
    I ripped all my CDs with Free Realplayer and imported the tracks into iTunes when I got an iPod – all the track numbers were already correct.

  • Help with getting Events into a Project please

    I apologize if this topics been covered here or somewhere else on the Apple website(s), but I cannot get my Events into a Project in iMovie. I've read the directions, watched the videos, and looked at these pages but can't seem to find an answer. At this point, all I want to do is download video from my camcorder to save it and edit later (when I have more time). I managed to download video from several events from the flash drive on my Canon Vixia HF11 and it appears in the Events library. I can play it and select clips without difficulty. I tried to select all the Events (all together and separately) to move to a project (after opening a new project), but the cursor bounces back. It will allow me to select clips but this is very cumbersome and time consuming and I don't want to edit now - I want to save all the video. The "add to project" button doesn't work. Am I missing something? There must be some way to select ALL the video in all the Events I've downloaded to put into one project. BTW, we're only talking about 40 minutes of video. If possible, please post screen shots so that I can see exactly what to do. Any help is much appreciated.

    DocRock54 wrote:
    .. to select ALL the video in all the Events I've downloaded to put into one project. ..
    no, not avail.
    and 'off'-concept of that tiny edit-app:
    when you import, you create a Library of all footage.
    iM will split these videos (by date) into seperate 'Folders' = Events.
    the idea of iM is, to offer you this Library to create a SELECTION of it for any given Project. there are very rare cases I can imagine, you add ALL material of one Event into one Project (in the Event Window hit apple-a), even a Lecture allows to edit here&there.
    but adding all material from any imports into one Project? no. no need = no feature.

  • Help with copying files into the the Start Menu

    I am trying to copy my application which tracks system usage, such as reboots, temps, etc, I want it when it first runs, to copy it self into the the programs folder and the start up folder. However I get the error ""FileCopy: destination file is unwriteable: ""......Anyone have an idea why I get this error? Is there away around it? Thanks for any and all help
    *Copying on a Mac works fine
    *I am currently Testing it on a copy of Windows Xp
    *I havenot Tested Vista or 7 Yet.
    Hers the class which I call to copy my program
    class FileCopy {
         String OS="";
         String username;
         String dir;
         String name="Test.jar";
         String MAC="Mac OS X";
         String WinXp="Windows XP";
         String WinVista="Windows Vista";
         String Win7="Windows 7";
         JFrame errorWin;
         FileCopy(){
              System.out.println("Enter Copy");
              OS= ManagementFactory.getOperatingSystemMXBean().getName();
              username = System.getProperty("user.name"); 
              if(MAC.compareTo(OS)==0){
                   copyMac();
              else if(WinXp.compareTo(OS)==0){
                   copyWinXp();
              else if(WinVista.compareTo(OS)==0){
                   copyWinVista();
              else if(Win7.compareTo(OS)==0){
                   copyWin7();
              else
                   return;
         private void copyMac(){          
              System.out.println("Enter Mac Copy");
              System.out.println("OS:"+OS);
              String s="/Applications/Solitaire.Jar";
              try {
                   copy(name, s);
              } catch (IOException e) {
                   System.out.println("Failed at Mac Copy new");
                   errorWin=new JFrame("Error: Failed at Mac Copy new ");
                   e.printStackTrace();
              } //Moves Jar File to Application Folder
         private void copyWin7(){
              String dir1="C:\\Documents and Settings\\All Users\\Start Menu\\Programs\\SolitaireWin7.Jar";
              String dir2="C:\\Documents and Settings\\All Users\\Start Menu\\Programs\\Startup\\SolitaireWin7.Jar";
              try {
                   copy(name, dir1);
              } catch (IOException e) {
                   System.out.println("Failed at Win7 Copy 1");
                   errorWin=new JFrame("Failed at Win7 Copy 1");
                   e.printStackTrace();
              } //Moves Jar File to Application Folder
              try {
                   copy(name, dir2);
              } catch (IOException e) {
                   System.out.println("Failed at Win7 Copy 2");
                   errorWin=new JFrame("Failed at Win7 Copy 2");
                   e.printStackTrace();
              } //Moves Jar File to Application Folder     
         private void copyWinVista(){
              String dir1="C:\\Documents and Settings\\All Users\\Start Menu\\Programs\\SolitaireVista.Jar";
              String dir2="C:\\Documents and Settings\\All Users\\Start Menu\\Programs\\Startup\\SolitaireVista.Jar";
              try {
                   copy(name, dir1);
              } catch (IOException e) {
                   errorWin=new JFrame("Failed at Winista Copy 1");
                   System.out.println("Failed at WinVista Copy 1");
                   e.printStackTrace();
              } //Moves Jar File to Application Folder
              try {
                   copy(name, dir2);
              } catch (IOException e) {
                   errorWin=new JFrame("Failed at WinVista Copy 2");
                   System.out.println("Failed at WinVista Copy 2");
                   e.printStackTrace();
              } //Moves Jar File to Application Folder     
         private void copyWinXp(){
              String dir1="C:\\Documents and Settings\\"+username+"\\Start Menu\\Programs\\Solitaire.Jar";
              String dir2="C:\\Documents and Settings\\"+username+"\\Start Menu\\Programs\\Startup\\Solitaire.Jar";
              try {
                   copy(name, dir1);
              } catch (IOException e) {
                   errorWin=new JFrame("Failed at WinXp Copy 1");
                   errorWin.setVisible(true);
                   errorWin.repaint();
                   System.out.println("Failed at WinXP Copy 1");
                   e.printStackTrace();
              } //Moves Jar File to Application Folder
              try {
                   copy(name, dir2);
              } catch (IOException e) {
                   errorWin=new JFrame("Failed at WinXp Copy 2");
                   errorWin.setVisible(true);
                   errorWin.repaint();
                   System.out.println("Failed at WinXP Copy 2");
                   e.printStackTrace();
              } //Moves Jar File to Application Folder     
         public void copy(String fromFileName, String toFileName) throws IOException {
           File fromFile = new File(fromFileName);
           File toFile = new File(toFileName);
           if (!fromFile.exists()){
                errorWin=new JFrame("FileCopy: " + "no such source file: "  + fromFileName);
                   errorWin.setVisible(true);
                   errorWin.repaint();
             throw new IOException("FileCopy: " + "no such source file: "  + fromFileName);
           if (!fromFile.isFile()){
                errorWin=new JFrame("FileCopy: " + "can't copy directory: "
                           + fromFileName);
                   errorWin.setVisible(true);
                   errorWin.repaint();
             throw new IOException("FileCopy: " + "can't copy directory: "
                 + fromFileName);
           if (!fromFile.canRead()){
                errorWin=new JFrame("FileCopy: " + "source file is unreadable: "
                           + fromFileName);
                   errorWin.setVisible(true);
                   errorWin.repaint();
             throw new IOException("FileCopy: " + "source file is unreadable: "
                 + fromFileName);
           if (toFile.isDirectory())
             toFile = new File(toFile, fromFile.getName());
           if (toFile.exists()) {
             if (!toFile.canWrite()){
                  errorWin=new JFrame("FileCopy: destination file is unwriteable: " + toFileName);
                   errorWin.setVisible(true);
                   errorWin.repaint();
               throw new IOException("FileCopy: destination file is unwriteable: " + toFileName);
             System.out.print("Overwrite existing file " + toFile.getName()
                 + "? (Y/N): ");
             System.out.flush();
             BufferedReader in = new BufferedReader(new InputStreamReader(
                 System.in));
             String response = in.readLine();
             if (!response.equals("Y") && !response.equals("y")){
                  errorWin=new JFrame("FileCopy: existing file was not overwritten.");
                   errorWin.setVisible(true);
                   errorWin.repaint();
                  throw new IOException("FileCopy: existing file was not overwritten.");
           } else {
             String parent = toFile.getParent();
             if (parent == null)
               parent = System.getProperty("user.dir");
             File dir = new File(parent);
             if (!dir.exists()){
                  errorWin=new JFrame("FileCopy: destination directory doesn't exist: " + parent);
                   errorWin.setVisible(true);
                   errorWin.repaint();
               throw new IOException("FileCopy: destination directory doesn't exist: " + parent);
             if (dir.isFile()){
                  errorWin=new JFrame("FileCopy: destination is not a directory: " + parent);
                   errorWin.setVisible(true);
                   errorWin.repaint();
               throw new IOException("FileCopy: destination is not a directory: " + parent);
             if (!dir.canWrite()){
                  errorWin=new JFrame("FileCopy: destination directory is unwriteable: " + parent);
                   errorWin.setVisible(true);
                   errorWin.repaint();
               throw new IOException("FileCopy: destination directory is unwriteable: " + parent);
           FileInputStream from = null;
           FileOutputStream to = null;
           try {
             from = new FileInputStream(fromFile);
             to = new FileOutputStream(toFile);
             byte[] buffer = new byte[4096];
             int bytesRead;
             while ((bytesRead = from.read(buffer)) != -1)
               to.write(buffer, 0, bytesRead); // write
           } finally {
             if (from != null)
               try {
                 from.close();
               } catch (IOException e) {
             if (to != null)
               try {
                 to.close();
               } catch (IOException e) {
    }

    That's clearly a security restriction then. You need to assign the JVM's user account enough rights to do so, or to configure any firewall/virusscanner which has possibly blocked it.
    Apart from this, are you aware of the fact that the OS root disk is not per se labeled "C:", that the location of documents is not per se "Documents and Settings", that there exist System#getenv() and System#getProperty() methods to find default system and environment variables and that there is the java.util.prefs API to access the registry? Your application is likely not going to run on any environment.

  • I need help with Importing songs into Creative organizer please help!

    OK now i have a bunch of music files in my documents that all have MPEG4 with the itunes music symbol next to them. My problem is when i try to add them to my Windows media player nothing happens also when i search for the files in the Creative Import Wizard nothing shows up! Do i first need to put all the music i want on my ZVM im Windows Media Player first then add it's or is it something else? do i need to get rid of itunes entirely and just have the music files in my documents? Im really really confused please help!!!!!! Also No tracks show up when i try to add them to Windows Media Player or Creative MediaSource5 even though when i know i put them there
    P.S. What do u guys do ( I mean people with Zen Vison M's) Any know of any guides too? that would be great!Message Edited by Chrismic3 on 03-9-200705:54 PM
    Message Edited by Chrismic3 on 03-9-200706:00 PM

    bump

  • Help with jquery code into iweb

    Hello,
    I am new to inserting code into iweb and was wondering if it was possible to use code such as the jquery plugins into an iweb html snippet? i would like to create a simple image gallery such as the following link:
    http://malsup.com/jquery/cycle/lite/
    interested in the click transitions (fade in out), but instead of using the prev / next as the click triggers if it was possible to use "+" and signs
    i appreciate any help you guys may provide,
    grodr

    Yes, you can use JavaScript in the HTML Snippet. But it requires knowledge of HTML/CSS/JavaScript and how iWeb works.
    Anything you paste in the HTML Snippet is your responsibility. iWeb does not care whether it works or not. It happily publishes the stuff you paste.
    Read this article : [Using the iWeb HTML Snippet|http://www.wyodor.net/blog/archives/2009/07/entry_213.html]
    Follow the link in the article and read this sentence very very carefully:
    *Publish the page on the server and test it. Make sure it works. And test it again. And again. And again. No excuse.*
    And this : [How to display a remote picture in your iWeb page|http://www.wyodor.net/Tutorials/ImageWidget/ImageWidget.html]
    This pages uses it in the two slideshows :
    http://www.wyodor.net/_Demo/MyHouse/Huis.html
    And here it is explained how to create such slideshow :
    http://www.wyodor.net/iWebBlogTest/Wyodor_1/WebBanner.html
    And this topic :
    http://discussions.apple.com/thread.jspa?threadID=2351764&tstart=0

  • Help with SQL query into Crystal

    Afternoon all,
    I am trying to convert the following SQL query into Crystal by using the tables given in the query however the relationship given in the query is bit awkward, in a sense that I cannot create a relationship under Crystal desgin.
    Here is the query
    select count(order_progressed.order_no),reason_code
    from order_progressed,lab_reasons, rework_groups
    where
    order_progressed.date_created=Today
    and (order_progressed.order_status=from_gate
    and lab_reasons.reason_code between from_reason and to_reason)
    group by lab_reasons.reason_code
    order by 2
    We have three tables
    1: Order_Progressed
    2: Lab Reasons
    3: Rework_Groups
    Order_progressed can be linked with rework_group by Status (if you see the line order_progressed.order_status=from_gate)
    However how to link the following line?
    lab_reasons.reason_code between from_reason and to_reason
    I mean when I try to link it by Lab Reasons.Reason Code to From_reason, to reason, it doesn't seem to work.
    The report is grouped by Lab Reasons. Reason Code, so I really have to some how create a relationship between Lab Reasons table and Rework_Group table.
    This is what I get when I run the same query into Crystal using the relationship
    SELECT lab_reasons.reason_code, order_progressed.date_created, order_progressed.order_no
    FROM   maxmast.lab_reasons lab_reasons, kevin.order_progressed order_progressed,
    roger.rework_groups rework_groups
    WHERE  (order_progressed.order_status=rework_groups.from_gate) AND
    ((lab_reasons.reason_code=rework_groups.from_reason) AND
    (lab_reasons.reason_code=rework_groups.to_reason)) AND (order_progressed.date_created>={ts
    '2008-01-01 00:00:00'} AND order_progressed.date_created<={ts '2008-12-17 00:00:00'})
    Any ideas?
    Many thanks
    Kind Regards
    Jehanzeb

    Sastry I didn't understand why did you use Lab_reasons.reason_code twice in your SQL.
    What I have done since I posted this thread,
    I created a command like this
    Select *
    from rework_groups,lab_reasons
    where
    lab_reasons.reason_code between from_reason and to_reason
    Then I took out the lab_reasons table and rework_groups table, then I linked the order_status from Order_progressed table to From_gate of the newly created table (I called it Reason_Code).
    This made the report running but it is crunching quite allot of numbers. I wonder if I made a mistake somewhere?
    Oh and please note, I'd like to create an SQL (if need be) without the date entry which was done in the original SQL because I'd like to setup my own date range within Crystal Reports instead of getting passed by SQL itself.
    This is how it looks like in Crystal now.
    sae1_live
    SELECT order_progressed.date_created, order_progressed.order_no, order_progressed.order_status
    FROM   kevin.order_progressed order_progressed
    WHERE  (order_progressed.date_created>={ts '2008-01-01 00:00:00'} AND
    order_progressed.date_created<={ts '2008-12-17 00:00:00'})
    EXTERNAL JOIN order_progressed.order_status={?sae1_live: Reason_Code.from_gate}
    sae1_live
    Select *
    from rework_groups, lab_reasons
    where lab_reasons.reason_code between from_reason and to_reason
    EXTERNAL JOIN Reason_Code.from_gate={?sae1_live: order_progressed.order_status}
    Regards
    Jehanzeb

  • Need help with inserting element into a grid

    Hi,
    I'm trying to add an element in a 11x11 grid, but the program stop and give me 2 error (identified in the code) and I have no idea on what is wrong with those line. If anyone have any idea, suggestion or an other way to do this, I could use some help.
    Thx
              for (int i = 0; i != NUMBER; ++i) {
                      int row = 2 + (int)(Math.random() * 10);
                   int col = 2 + (int)(Math.random() * 10);
                   int nb = 0 + (int)(Math.random() * 2);
                   boolean horizontal = true;
                   if (nb == 1)
                        horizontal = false;
                   if (horizontal) {
                        if (row <= element.getDimension()) {  // error at this line
                             for (int j = 0; j != element[i].getDimension(); j++) {
                                  grid[row + j][col]     = "X";
                        else {
                             for (int j = 0; j != element[i].getDimension(); j++) {
                                  grid[row - j][col]     = "X";
                   if (! horizontal) {
                        if (col <= element[i].getDimension()) { // error at this line
                             for (int j = 0; j != element[i].getDimension(); j++) {
                                  grid[row][col + j]     = "X";
                        else {
                             for (int j = 0; j != element[i].getDimension(); j++) {
                                  grid[row][col - j]     = "X";

    My error is : Exception in thread "main" java.lang.NullPointerException
    at Grid.<init><Grid.java:67>
    at PrincTp1.main<PrincTp1.java:24>
    That's my class element
    public class Element {
    // Attributs
         private int dimension;
         private boolean horizontal;
         private String name;
         private int row;
         private int col;
    // Constructor
         public Element(int dimension_, String name_) {
              dimension = dimension_;
              name = name_;
         public Element() {
    // getter/setter
         public void setDimension(int dimension_) {
              dimension = dimension_;
         public int getDimension() {
              return dimension;
         public void setHorizontal(boolean horizontal_) {
              horizontal = horizontal_;
         public boolean getHorizontal() {
              return horizontal;
         public void setNom(String name_) {
              name = name_;
         public String getName() {
              return name;
         public void setLigne(int row_) {
              row = row_;
         public int getRow() {
              return row;
         public void setCol(int col_) {
              col = col_;
         public int getCol() {
              return col;
         }

  • Help with Grouping tracks into albums

    Hey guys,
    I have a problem where songs imported into itunes from the same artist & album are not showing up as being part of the same album (ie when I sync them to my ipod, I get two "albums" each with half the songs on it!!!) Does anyone know how to tell itunes it's the same album? I have tried manually editing the song info, and am sure the artis and album names are entereed exactly the same!
    Cheers,

    I believe this page should answer your question:
    http://docs.info.apple.com/article.html?artnum=304389

  • Need help with integrating chat into Gui

    Hello Guys,
    I'm fairly new to Java and I have a quick question regarding a simple chat program in java. My problem is that I have a simple chat program that runs from its own JFrame etc. Most of you are probably familiar with the code below, i got it from one of my java books. In any case, what I'm attempting to do is integrate this chat pane into a gui that i have created. I attempted to call an instace of the Client class from my gui program so that I can use the textfield and textarea contained in my app, but it will not allow me to do it. Would I need to integrate this code into the code for my Gui class. I have a simple program that contains chat and a game. The code for the Client is listed below.
    import java.awt.*;
    import java.awt.event.*;
    import java.io.*;
    import java.net.*;
    import javax.swing.*;
    public class Client
    extends JPanel {
    public static void main(String[] args) throws IOException {
    String name = args[0];
    String host = args[1];
    int port = Integer.parseInt(args[2]);
    final Socket s = new Socket(host, port);
    final Client c = new Client(name, s);
    JFrame f = new JFrame("Client : " + name);
    f.addWindowListener(new WindowAdapter() { 
    public void windowClosing(WindowEvent we) { 
    c.shutDown();
    System.exit(0);
    f.setSize(300, 300);
    f.setLocation(100, 100);
    f.setContentPane(c);
    f.setVisible(true);
    private String mName;
    private JTextArea mOutputArea;
    private JTextField mInputField;
    private PrintWriter mOut;
    public Client(final String name, Socket s)
    throws IOException {
    mName = name;
    createUI();
    wireNetwork(s);
    wireEvents();
    public void shutDown() {
    mOut.println("");
    mOut.close();
    protected void createUI() {
    setLayout(new BorderLayout());
    mOutputArea = new JTextArea();
    mOutputArea.setLineWrap(true);
    mOutputArea.setEditable(false);
    add(new JScrollPane(mOutputArea), BorderLayout.CENTER);
    mInputField = new JTextField(20);
    JPanel controls = new JPanel();
    controls.add(mInputField);
    add(controls, BorderLayout.SOUTH);
    mInputField.requestFocus();
    protected void wireNetwork(Socket s) throws IOException {
    mOut = new PrintWriter(s.getOutputStream(), true);
    final String eol = System.getProperty("line.separator");
    new Listener(s.getInputStream()) {
    public void processLine(String line) {
    mOutputArea.append(line + eol);
    mOutputArea.setCaretPosition(
    mOutputArea.getDocument().getLength());
    protected void wireEvents() {
    mInputField.addActionListener(new ActionListener() {
    public void actionPerformed(ActionEvent ae) {
    String line = mInputField.getText();
    if (line.length() == 0) return;
    mOut.println(mName + " : " + line);
    mInputField.setText("");

    I think the easiest way to do it would be to cut an paste most of that code into your program. Then all you have to do is change some names so that it uses your textfield and textarea.

  • Help with Aggregation

    Hi, I have a report where the calculations need to be by Material/Month. 
    MATERIAL MONTH   PRICE PERCENT
    MAT001   08/2009 20.59 90%  = 18.53
    MAT002   09/2009 15.67 80%  = 12.54
                                  31.07
    The CKF's have Exception Aggregation "Total" with Reference Characteristic as 0MATERIAL.  This works great when I report by Material Family or Material by Month.   When I remove months to get a total report the end result is all wrong.  Is there anyway for me to get just a total report when my CKF's are aggregated like this?

    Hi, Thanks for the response.  I ended up writing a Fox Formual to calculate the values at Material/Period Level.  Using the calculated value if would not matter how my report was structured I would have the correct aggregated value.
    Thanks

  • Help with inserting pages into a PDF form

    Hi everyone,
    I used LiveCycle Designer ES for the first time to make a fillable PDF form.  The form works splendidly, but the users wish to insert PDF pages to the end of the form before submitting (using Acrobat).
    I can't figure out how to allow this to happen.
    I open the form I made in Acrobat 9.0 and the Insert Pages tab is greyed out.
    I went back to LC and set form options to "Allow all changs except extract" and this seems to have done nothing.
    When I look at the security settings in Adobe and click on Permissions Details, I see two different things.  In Docmuent Security, the security method is set as Password Security and if I open Show Details It says changing the Document is allowed.
    But in the Document Restrictions Summary, changing the Document is set at Not allowed.
    Probably a newbie question, but I am stumped.
    Thanks,
    Becky

    Hey there,
    If you've created a dynamic form, then the PDF document is no loger an acroform, it's an XFA form. I might be wrong, but I'm fairly certain that XFA forms can't have their pages extracted or have pages added via Acrobat.
    If that is the case (I'm fairly certain it is) then you have a few options:
    1) Redesign the form in Acrobat, losing the dynamic functionality.
    2) Create the form in Livecycle, and include the hidden subform that is shown on submit or button press (this would require you to know what the users want added, it would also require that the thing they're adding is always the same)
    3) Install a virtual printer, get them to fill out the dynamic form, then 'print' the via the dynamic printer.
    Personally, I'd go with option 3. A virtual printer is a program that prints the current document to a file, instead of an actual printer. 'Cute PDF Writer' is a virtual printer that is able to 'print' any document to a new pdf document. The new form will not be dynamic, and the fields are made read-only (hense why they should fill it out before printing it), but you will be able to insert pages.
    If you would like feel free to send me a message with any questions regarding cutepdf writer.
    - Scott
    P.S. CutePDF Writer also has the advantage of being free, well-supported, and just plain awesome. =P I would suggest getting it, even if you don't need it to resolve this issue. I use it all the time.

Maybe you are looking for