Cross Tab issue , Need a Help

HI Expery
In BO Webi report  need to show dynamic columns in Report after transposing rows to columns.
Data in Table is  like below:
Col1     Col2     Col3
101     Abc     801
101     Abc     802
101     Abc     803
101     Abc     804
101     Abc     805
102     RNM     2009
102     RNM     2010
102     RNM     2011
103     RYZ     3465
In Report It should be as
Col1     Col2     Col3     Col3     Col3     Col3     Col3
101     Abc     801     802     803     804     805
102     RNM     2009     2010     2011           
103     RYZ     3465                       
We have tried implementing the same using cross tab , but issue is in Cross  col3  grows with all values present for all records. Here, if we use cross tab  we are getting result as below:
Col1     Col2     Col3     Col3     Col3     Col3     Col3     Col3     Col3     Col3     Col3
101     Abc     801     802     803     804     805     2009     2010     2011     3465
102     RNM     801     802     803     804     805     2009     2010     2011     3465
103     RYZ     801     802     803     804     805     2009     2010     2011     3465

Hi Ahmed
You can use the below logic.
col1 & col2 u can keep it as columns in a cross tab. Now keep col3 as row but here you need to do one thing . Click on the formula button for col3 field and then write the following syntax in it.
= col3 IN ([Col1];[col2])
By using this calculation context it will fetch only the data which is related to the first two columns. so the extra data which u were mentioning about will got to the next row.
Regards
Shyam
Edited by: Shyam Rapeti on Jan 25, 2012 3:20 PM

Similar Messages

  • WSRM Configuration Issues-Need Urgent Help

    Dear Experts,
    we are configuring WSRM between TM 9.0 and ERP 606 systems. we have followed the document from the SAP note 1043195. we have completed the technical configuration. we are facing issues in application configurations.
    1.       When we have tried to create central business scenario configuration connection, the input help pop-up window is showing correct values in the fields (Consumer System is ERP , Provider System is TM) but when we click on create both consumer and provider systems become ERP  system)
    2.For the service group TM_ERP_ORDINT, both consumer and provider system showing ERP systems and provider interface is mismatching with guide provided interfaces.
    As per the guide, consumer proxy should be mapped to below respective service interfaces but system showing wrong service interfaces.(We saved the above selected entries)
    how to resolve the issues?
    Please help us..
    Thanks and regards,
    Pradeep

    Bdrom probably dead. Can buy a replacement one off eBay easy enough. Replacement normally only one or two screws.
    Personally I would go for seagate drive but western digital will be fine so long as you have the recovery media.
    Disassembly of laptops can be tricky if you are new to it. Too long to explain here but Google for a service manual for your unit or a YouTube video. With patience and a good screwdriver it's not too much trouble.
    Depending on what's wrong with the fan (man be just clogged with dust) you may need a replacement. Look for spares on ebay or spares supplier.
    Ram should be easy to find out, Google the part number or check the bios. You can check the manual for compatible ram or try Kingston/crucial ram checker database (not guaranteed but rarely wrong)

  • Cross-tab report: need to SUM field and present as HH:MM:SS format

    I am creating a cross-tab report and several of the selected data fields I need to summarize are time-based fields, which are stored as seconds in the database.  When I create a standard report, the formula to convert the seconds to HH:MM:SS and SUM works just fine, but when I try to bring that formula field into the cross-tab report, it does a COUNT on it rather than a SUM.
    How can I get it to SUM that data and present it in an HH:MM:SS format in the cross-tab report?
    Here is the formula I'm using in the Standard Report to convert from seconds to HH:MM:SS and SUM the data.
    totext(abs((Sum ({wagent.acwtime})) / 3600),"00") & ":" &
    totext(abs(remainder((Sum ({wagent.acwtime})),3600) / 60),"00") & ":" &
    totext(abs(remainder(remainder((Sum ({wagent.acwtime})),3600),60)),"00");

    In the cross tab, do the sum on {wagent.acwtime}.  In the cross tab on the page, right click on the field for the sum, select Format, press the X-2 next to Display String, and enter your three line formula, replacing {wagent.acwtime} with CurrentFieldValue.
    HTH,
    Carl

  • CRM - IPC issues - need some help desperately -Thank you

    Issue: Create Quotation with a product results in a error: "no connection could be made to IPC".
    Also, choosing 'Conditions' Tab results gray/empty tab with "Pricing doc. does not exist" message in the status bar.
    Landscape:  Single host Win2k, CRM 4.0 sp03 IDES with IPC SP08.  No issues on CRM side other than the above mentioned.  So far we did:
    1) Installed IPC. 
    'dispatcher.properties' file contents:
    rfcEnabled=true
    rfcDispatcherProgId=IPC_RFC_DISPATCHER
    rfcServerCount=1
    rfcServerProgIdPrefix=IPC_RFC_SERVER_
    rfcGateways=ALPHA:sapgw00
    <end>
    2) Added "ipcuser" and gave system roles according to note:412309
    3) Maintained RFC settings for IPC_RFC_DISPATCHER and IPC_RFC_SERVER_1.  Both as (host:alpha), (Gateway:sapgw00)
    Started IPC dispatcher, server.  IPC logs look good. 
    ~ IPC Admin utility was able to login with "ipcuser" and client 800. 
    ~ monitor pulls up server on port 9163.  Test create document works fine and IPC reports Operational.
    4) RFC Testing (SM59) connections
            IPC_RFC_DISPATCHER  and  IPC_RFC_SERVER_1  tested ok and reported time.
    >>>>  However, using (SE37)
    5) IPC_COM_SESSION_BEGIN executes to a error screen of:
    Test for function group  |   COM_SCE_SV
    Function module              |  COM_IPC_SESSION_BEGIN
    Runtime:       | 2.262.764 Microseconds
    Exception:     | DISPATCHER_SYSTEM_ERROR  <<<<<
    Import Parameters |      Value
      |     -
    IV_CLIENT           |    800
    IV_USER_NAME         |   IPCUSER
    IV_USER_LOCATION |       ANYTEXT
    IV_SESSION_TYPE       |      CRM
    IV_NULL                |     *
    IV_MODULE           |    IPC
    Export Parameters    |   Value
        |   -
    EV_DESTINATION          
    EV_HOST
    EV_PORT  |               00000
    EV_SESSION_ID     
    EV_SESSION_ID_IPC
    EV_RFC_SCENARIO   |      RFC
    So, digging further,
    6) IPC_COM_SHOW_SERVERS executes to a error:
    ET_DISPATCHER_LIST : 2 Entries   <<<<<
    <details>
    IPC_V_RFC_DISPATCHER - communication failure   <<<<<<
                           hostname 'iwyf7yta' unknown / CPIC-C error CM_PARAMETER_ERROR.
    Here are my questions:
    a)  Do you find anything wrong with my configuration?
    b)  why is the need for IPC_V_RFC_DISPATCHER?
    C)  Does this mean that I need to run more dispatchers and servers??
        (i.e. each for IPC_RFC_DISPATCHER/server, IPC_V_RFC_DISPATCHER/server and IPC_WOV_RFC_DISPATCHER/server) - because these destinations are defined in RFC DESTINATIONS under TCP/IP connections... and they don't have program ids registered... so their test connections fail...
    and more importantly, am I even on the right track in solving my pricing issue???
    Any help would be greatly appreciated.

    John,
    The configuration you have done is correct as per the IPC documentation. But the RFC destination to be used for IPC connection is defined in the table COMM_IPC_DEST field DEST_OUT. When you run the IPC test with the FM COM_IPC_SESSION_BEGIN, this destination is used to connect to the IPC dispatcher. BTB while you do not need more than one dispatcher you may choose to run more than one server.
    There are more than one ways to resolve this problem.
    The simplest is to maintain the RFC destination IPC_V_RFC_DISPATCHER with the program ID (in this case IPC_RFC_DISPATCHER) configured in your IPC's dispatcher.properties file.
    Once the IPC connectivity is established your pricing problems should get resolved. Let me know if it works.

  • HP Envy 17 3D 1201tx issues, need urgent help

    I had purchased HP Envy 17 3D 1201tx notebook back in March 2011, but could hardly use it due to some personal problems at my end. However, after 8 months of the purchase, when i used it, I found the BDROM drive was not working, and later on the internal cooling fan also stopped working. As, I said, due to personal problems I could not contact HP, and the laptop was not again in use for many months.
    I had just about six months back started gettings SMART failure of HDD, and the hard drive gave way as well (sic).
    I've contacted HP just few months back to get a paid service, but rather giving service, they misbehaved. I'm now seeking help on HP support forum, please help me getting past the issues with this expensive laptop.
    issues:
    1. BDROM drive would not recognize/read any writable or re-writable CD/DVD and it only recognizes read-only CDs. 
    My query is "is the optical drive dead or service able?"
    2. Internal cooling fan is not working. Is it service able, can you guide me "how to open the laptop", so I can service or replace the cooling fan with a new one myself?
    3. Internal 640 GB Toshiba HDD that came with the laptop is dead now. I have selected the following two, can you advise, which is the best between the two:
    a. WD 1 TB LaptopInternal Hard Drive(WD10JPVT/WD10JPVX)
    b. Seagate Solid State Hybrid Drive 9.5 mm thickness 1 TB Laptop Internal Hard Drive (ST1000LM014)
    4. I also want to upgrade the RAM from factory installed 4 GB to 8 GB. Can you please advise me the dual channel RAM modules (i.e. 4x4 GB)  compatible with Envy 17 3D 1201tx.
    May, I request the experts here, to please suggest me the best of the compatible RAM for my laptop, so I get the maximum performance from my laptop. And, also the technical details of the factory installed RAM.
    I'm live in Delhi, India.
    Thanks in advance.

    Bdrom probably dead. Can buy a replacement one off eBay easy enough. Replacement normally only one or two screws.
    Personally I would go for seagate drive but western digital will be fine so long as you have the recovery media.
    Disassembly of laptops can be tricky if you are new to it. Too long to explain here but Google for a service manual for your unit or a YouTube video. With patience and a good screwdriver it's not too much trouble.
    Depending on what's wrong with the fan (man be just clogged with dust) you may need a replacement. Look for spares on ebay or spares supplier.
    Ram should be easy to find out, Google the part number or check the bios. You can check the manual for compatible ram or try Kingston/crucial ram checker database (not guaranteed but rarely wrong)

  • Java and Batch File Issue - need urgent help

    I have a java program which calls a batch file. This batch file calls another java program. I want an option so that I can close this java program from main program.
    If i try process.destroy then it will call batch file and not java program.
    I can't go away with batch file.
    I will appreciate if someone can help me.

    khannap wrote:
    Hi, Thanks for the help but this doesn't seem solving my problem completely. I will appreciate if you can help more.
    I will explain you the scenario -
    1. There is java program provided as an external program to me.Only changes things slightly.
    2. This java program is called using batch file. When batch file is started this java program starts and listens on a socket for incoming data.I would want to wrap the launch of this java program in another JVM so we can use process.destroy().
    3. I am writing a program to check performance of the above java program. I want to call this java program from my program in a loop having some varying config data. When I run the loop first time I create a batch file at run time which executes the batch file provided by vendor. This batch file starts the socket. Once my message list is over then my loop goes to executing the batch file again with different config parameters. But this time I run into issue because my previous java program is not killed after message sending was over.Would it be acceptable to mung the 3rd party batch file to insert a wrapper JVM?
    Even if i use threads I don't think I can get rid of batch file.I did not suggest getting rid of batch files.
    So, I need to find a way so that when any iteration of loop is over then this socket program is killed. These 3rd party java programs - do they not have a "terminate" command you can put at the end of your message list?
    Even if i closed the socket from my client program that doesn't help because server is still listening and waiting for new client.
    I need to kill server which was started by batch file.On Linux it would be fairly simple to modify your batch file to determine what the process id is and send the process a signal to terminate it.
    Not sure what you can do on Windows.

  • Big gravity issue, need much help please.

    Hey there, so my game is a platformer. I have gravity working fine, but the only issue is, is that when I just and land on the ground my character goes through the ground a little and if the platform is thin enough, or Im falling fast enough, I go right through the platform, with obviousness, this is a huge problem, but I cannot solve the problem, even when I set the gravity to 0 once the floor is hit.
    Who ever wants to help I am going to place the 3 as files that associate with the ground and the gravity, along with the hit testings below.
    MAIN FILE
    package
              import flash.display.*;
              import flash.text.*;
              import flash.events.*;
              import flash.events.KeyboardEvent;
              import flash.ui.*;
              import flash.utils.*;
              import flash.geom.*;
              import flash.net.*;
              import flash.media.Sound;
              import flash.media.SoundTransform;
              import flash.media.SoundChannel;
              import flash.net.URLRequest;
              import flash.display.Bitmap;
              import flash.display.Sprite;
              import flash.events.Event;
              import flash.utils.Timer;
              import flash.events.TimerEvent;
              public class Main extends Sprite
                        var Hero = new Character();
                        var platforms = new Platforms();
                        var BackGround = new Background();
                        var Keys1 = new Keys();
                        var nDir:int;
                        var nDirUpDown:int;
                        var tmrHitTest:Timer = new Timer(35);
                        var tmrCurrentStage:Timer = new Timer(35);
                        var kYmove:int=150;
                        var kXmove:int=400;
                        var i:int=0;
                        public function Main()
                                  addChild(BackGround);
                                  addChild(Hero);
                                  addChild(platforms);
                                  addChild(Keys1);
                                  BackGround.y+=kYmove;
                                  BackGround.x+=kXmove;
                                  Hero.y+=kYmove;
                                  Hero.x+=kXmove;
                                  platforms.y+=kYmove;
                                  platforms.x+=kXmove;
                                  Keys1.y+=kYmove;
                                  Keys1.x+=kXmove;
                                  //Checks if the left key has been released;
                                  stage.addEventListener(KeyboardEvent.KEY_UP,keyUpHandlerLeft);
                                  //Checks if the right key has been released;
                                  stage.addEventListener(KeyboardEvent.KEY_UP,keyUpHandlerRight);
                                  stage.addEventListener(KeyboardEvent.KEY_DOWN,mover);
                                  stage.addEventListener(KeyboardEvent.KEY_DOWN,moverUpDown);
                                  stage.addEventListener(MouseEvent.CLICK,Clicking);
                                  tmrHitTest.addEventListener("timer",timerHitTest);
                                  tmrHitTest.start();
                                  tmrCurrentStage.addEventListener("timer",timerCurrentStage);
                                  tmrCurrentStage.start();
                                  // constructor code
                        public function Clicking(e:MouseEvent):void
                                  platforms.bClicked = true;
                                  //trace(mouseX);
                                  //trace(mouseY);
                        public function mover(event:KeyboardEvent)
                                  nDir = event.keyCode;
                                  if (nDir==37||nDir==37&&nDirUpDown==32)
                                  {// left
                                            Hero.bLeftKeyDown = true;
                                  else if (nDir==39||nDir==39&&nDirUpDown==32)
                                  {// right
                                            Hero.bRightKeyDown = true;
                        function timerCurrentStage(eventArgs:TimerEvent)
                                  if (platforms.LevelOne.CurrentStage == platforms.LevelOne.iStage)
                                            if(platforms.LevelOne.bRemoveStage == true)
                                                      while(platforms.LevelOne.arFloor.length > 0){
                                                                platforms.LevelOne.removeChild(platforms.LevelOne.arFloor.p op());
                                                      Hero.StandRight.x=-320;
                                                      Hero.StandRight.y=400;
                                                      //platforms.LevelOne.arFloor.length = 0;
                                                      platforms.LevelOne.bRemoveStage = false;
                                  if(platforms.LevelOne.CurrentStage == 1){
                                  }else if(platforms.LevelOne.CurrentStage == 2){
                                            platforms.LevelOne.GenerateLevel2();
                                  }else if(platforms.LevelOne.CurrentStage == 3){
                                            platforms.LevelOne.GenerateLevel3();
                                  }else if(platforms.LevelOne.CurrentStage == 4){
                                            platforms.LevelOne.GenerateLevel4();
                                  }else if(platforms.LevelOne.CurrentStage == 5){
                                            platforms.LevelOne.GenerateLevel5();
                                  }else if(platforms.LevelOne.CurrentStage == 6){
                                            platforms.LevelOne.GenerateLevel6();
                                  }else if(platforms.LevelOne.CurrentStage == 7){
                                            platforms.LevelOne.GenerateLevel7();
                                  }else if(platforms.LevelOne.CurrentStage == 8){
                                            platforms.LevelOne.GenerateLevel8();
                                  }else if(platforms.LevelOne.CurrentStage == 9){
                                            platforms.LevelOne.GenerateLevel9();
                                  }else{
                                            platforms.LevelOne.GenerateLevel10();
                        function timerHitTest(eventArgs:TimerEvent)
                                  if(Hero.StandRight.hitTestObject(Keys1.key1)){
                                            //if(bKeyFound==true){
                                            //Keys1.removeChild(Keys1.key1);
                                            //platforms.LevelOne.removeChild(platforms.LevelOne.arFloor[8]);
                                            //bKeyFound=false;
                                  if (platforms.LevelOne.TouchingGround(Hero.HeroGroundTouch))
                                            Hero.bTouchingGround = true;
                                            Hero.vy = 0;
                                  else if (platforms.LevelOne.TouchingRoof(Hero.HeroRoofTouch))
                                            Hero.vy = 0;
                                            Hero.StandRight.y +=  4;
                                  else
                                            Hero.bTouchingGround = false;
                                   if (platforms.LevelOne.TouchingLeft(Hero.HeroLeftTouch))
                                            //Hero.bTouchingLeft = true;
                                            //Hero.vx = 0;
                                            //Hero.ax = 0;
                                  else if (platforms.LevelOne.TouchingRight(Hero.HeroRightTouch))
                                            //Hero.bTouchingRight = true;
                                            //Hero.vx = 0;
                                            //Hero.ax = 0;
                                  }else{
                                            Hero.bTouchingLeft = false;
                                            Hero.bTouchingRight = false;
                        function keyUpHandlerLeft(event:KeyboardEvent)
                                  if (event.keyCode == 37)
                                            Hero.bLeftKeyDown = false;
                        function keyUpHandlerRight(event:KeyboardEvent)
                                  if (event.keyCode == 39)
                                            Hero.bRightKeyDown = false;
                        private function moverUpDown(event:KeyboardEvent)
                                  nDirUpDown = event.keyCode;
                                  if (nDirUpDown==32)
                                  {// Jump
                                            Hero.GroundSnapped = false;
                                            if (Hero.bDownKeyDown == false)
                                                      if (Hero.bTouchingGround == true)
                                                                // trace("Jump");
                                                                Hero.aGravity=1;
                                                                Hero.vy = -20;
                                                                Hero.bTouchingGround = false;
                        function keyUpHandlerDown(event:KeyboardEvent)
                                  if (event.keyCode == 40)
                                            Hero.bDownKeyDown = false;
    CHARACTER FILE/PHYSICS
    package
              import flash.display.*;
              import flash.text.*;
              import flash.events.*;
              import flash.events.KeyboardEvent;
              import flash.ui.*;
              import flash.utils.*;
              import flash.geom.*;
              import flash.net.*;
              import flash.media.Sound;
              import flash.media.SoundTransform;
              import flash.media.SoundChannel;
              import flash.net.URLRequest;
              import flash.display.Bitmap;
              import flash.display.Sprite;
              import flash.events.Event;
              import flash.utils.Timer;
              import flash.events.TimerEvent;
              public class Character extends Sprite
                        var tmrMove:Timer = new Timer(35);
                        var tmrCoordinateMaintain:Timer = new Timer(35);
                        var bLeftKeyDown:Boolean = false;
                        var bRightKeyDown:Boolean = false;
                        var bTouchingGround:Boolean = false;
                        var bTouchingLeft:Boolean = false;
                        var bTouchingRight:Boolean = false;
                        var bDownKeyDown:Boolean;
                        var StandLeft = new standLeft  ;
                        var StandRight = new standRight  ;
                        var jumpRight = new JumpRight  ;
                        var jumpLeft = new JumpLeft  ;
                        var RunRight = new runRight  ;
                        var RunLeft = new runLeft  ;
                        var HeroGroundTouch = new heroGroundTouch  ;
                        var HeroRoofTouch = new HeroTouchRoof  ;
                        var HeroRightTouch = new HeroTouchRight  ;
                        var HeroLeftTouch = new HeroTouchLeft  ;
                        var GroundSnap:int = 0;
                        var GroundSnapped:Boolean = false;
                        var i:int = 0;
                        var ax:int = 0;
                        var vx:int = 0;
                        var vy:int = 0;
                        var Stance:int = 2;
                        var maxVelocity:int = 18;
                        var minVelocity:int = -18;
                        var maxGravity:int = 20;
                        var minGravity:int = -20;
                        var aGravity:int = 1;
                        var HeroSize:Number = 1;
                        public function Character()
                                  StandRight.x = -320;
                                  StandRight.y = 400;
                                  StandRight.scaleX = HeroSize;
                                  StandRight.scaleY = HeroSize;
                                  StandLeft.scaleX = HeroSize;
                                  StandLeft.scaleY = HeroSize;
                                  RunRight.scaleX = HeroSize;
                                  RunRight.scaleY = HeroSize;
                                  RunLeft.scaleX = HeroSize;
                                  RunLeft.scaleY = HeroSize;
                                  jumpLeft.scaleX = HeroSize;
                                  jumpLeft.scaleY = HeroSize;
                                  jumpRight.scaleX = HeroSize;
                                  jumpRight.scaleY = HeroSize;
                                  addChild(StandRight);
                                  addChild(StandLeft);
                                  addChild(RunRight);
                                  addChild(RunLeft);
                                  addChild(jumpLeft);
                                  addChild(jumpRight);
                                  addChild(HeroGroundTouch);
                                  addChild(HeroRoofTouch);
                                  addChild(HeroRightTouch);
                                  addChild(HeroLeftTouch);
                                  StandLeft.visible = false;
                                  RunLeft.visible = false;
                                  RunRight.visible = false;
                                  jumpLeft.visible = false;
                                  jumpRight.visible = false;
                                  HeroGroundTouch.visible = false;
                                  HeroRoofTouch.visible = false;
                                  HeroLeftTouch.visible = false;
                                  HeroRightTouch.visible = false;
                                  // constructor code
                                  tmrMove.addEventListener("timer",timerMove);
                                  tmrMove.start();
                                  tmrCoordinateMaintain.addEventListener("timer",timerCoordinateMaintain);
                                  tmrCoordinateMaintain.start();
                        function timerMove(eventArgs:TimerEvent)
                                  //trace(StandRight.y);
                                  if (((bLeftKeyDown == true) && bRightKeyDown == true))
                                            //if both are pressed then do nothing
                                  else if ((bLeftKeyDown == true))
                                            if ((bTouchingGround != false))
                                                      Stance = 1;
                                                      jumpRight.visible = false;
                                                      jumpLeft.visible = false;
                                                      StandRight.visible = false;
                                                      RunRight.visible = false;
                                                      StandLeft.visible = false;
                                                      RunLeft.visible = true;
                                                      ax = -1;
                                            else
                                                      Stance = 1;
                                                      jumpRight.visible = false;
                                                      jumpLeft.visible = true;
                                                      StandRight.visible = false;
                                                      RunRight.visible = false;
                                                      StandLeft.visible = false;
                                                      RunLeft.visible = false;
                                                      ax = -1;
                                  else if ((bRightKeyDown == true))
                                            if ((bTouchingGround != false))
                                                      Stance = 2;
                                                      jumpRight.visible = false;
                                                      jumpLeft.visible = false;
                                                      StandRight.visible = false;
                                                      RunRight.visible = true;
                                                      StandLeft.visible = false;
                                                      RunLeft.visible = false;
                                                      ax = 1;
                                            else
                                                      Stance = 1;
                                                      jumpRight.visible = true;
                                                      jumpLeft.visible = false;
                                                      StandRight.visible = false;
                                                      RunRight.visible = false;
                                                      StandLeft.visible = false;
                                                      RunLeft.visible = false;
                                                      ax = 1;
                                  else
                                            ax = 0;
                                            if ((vx > 0))
                                            {//slows down veloctiies when no keys are pressed
                                                      vx -=  1 / 3;
                                            else if ((vx < 0))
                                            {//returns velocities to zero when keys are released
                                                      vx +=  1 / 3;
                                            else
                                                      vx = 0;
                                                      if ((Stance == 1))
                                                      {//Left Stance
                                                                if ((bTouchingGround != false))
                                                                          StandRight.visible = false;
                                                                          RunRight.visible = false;
                                                                          StandLeft.visible = true;
                                                                          RunLeft.visible = false;
                                                                          jumpLeft.visible = false;
                                                                          jumpRight.visible = false;
                                                                else
                                                                          StandRight.visible = false;
                                                                          RunRight.visible = false;
                                                                          StandLeft.visible = false;
                                                                          RunLeft.visible = false;
                                                                          jumpLeft.visible = true;
                                                                          jumpRight.visible = false;
                                                      else if ((Stance == 2))
                                                      {//Right Stance
                                                                if ((bTouchingGround != false))
                                                                          StandRight.visible = true;
                                                                          RunRight.visible = false;
                                                                          StandLeft.visible = false;
                                                                          RunLeft.visible = false;
                                                                          jumpLeft.visible = false;
                                                                          jumpRight.visible = false;
                                                                else
                                                                          StandRight.visible = false;
                                                                          RunRight.visible = false;
                                                                          StandLeft.visible = false;
                                                                          RunLeft.visible = false;
                                                                          jumpLeft.visible = false;
                                                                          jumpRight.visible = true;
                                  }//if velocity is a
                                  if ((vx > maxVelocity))
                                            vx = maxVelocity;//stop too high velocities
                                  if ((vx < minVelocity))
                                            vx = minVelocity;
                                  if ((vy < minGravity))
                                            vy = minGravity;
                                  if ((vy > maxGravity))
                                            vy = maxGravity;
                                  vx +=  ax;
                                  vy +=  aGravity;
                                  if ((((vx < 0) && bTouchingLeft == false) || vx > 0 && bTouchingRight == false))
                                            StandRight.x +=  vx / 2.2;
                                  if (((bTouchingGround == false) && vy != 0))
                                            StandRight.y +=  vy;
                                  else
                                            //aGravity=0;
                                            vy = 0;
                                            //aGravity=1;
                                  //trace(StandRight.x);
                                  //trace(vy+" is the Gravity");
                        function timerCoordinateMaintain(eventArgs:TimerEvent)
                                  //trace(  "HERO.X = "+StandRight.x + "HERO.Y =" + StandRight.y);
                                  //trace( vy + " Velocity");
                                  StandLeft.x = StandRight.x;
                                  StandLeft.y = StandRight.y;
                                  RunRight.x = StandRight.x;
                                  RunRight.y = StandRight.y;
                                  RunLeft.x = StandRight.x;
                                  RunLeft.y = StandRight.y;
                                  HeroGroundTouch.x = StandRight.x;
                                  HeroGroundTouch.y = StandRight.y;
                                  HeroRoofTouch.x = StandRight.x;
                                  HeroRoofTouch.y = StandRight.y;
                                  HeroRightTouch.x = StandRight.x;
                                  HeroRightTouch.y = StandRight.y;
                                  HeroLeftTouch.x = StandRight.x;
                                  HeroLeftTouch.y = StandRight.y;
                                  jumpLeft.x = StandRight.x;
                                  jumpLeft.y = StandRight.y;
                                  jumpRight.x = StandRight.x;
                                  jumpRight.y = StandRight.y;
    PLATFORMS/HITTESTINGS
    package
              import flash.display.*;
              import flash.text.*;
              import flash.events.MouseEvent;
              import flash.events.KeyboardEvent;
              import flash.ui.*;
              import flash.utils.*;
              import flash.geom.*;
              import flash.net.*;
              import flash.media.Sound;
              import flash.media.SoundTransform;
              import flash.media.SoundChannel;
              import flash.net.URLRequest;
              import flash.display.Bitmap;
              import flash.display.Sprite;
              import flash.events.Event;
              import flash.utils.Timer;
              import flash.events.TimerEvent;
              public class Level1 extends Sprite
                        var i:int = 0;
                        var ExFloor=new exFloor();
                        var tFloor:exFloor = new exFloor  ;
                        var arFloor = new Array();
                        var GroundSnapped:Boolean = false;
                        var bRemoveStage:Boolean = false;
                        var CurrentStage:int = 1;
                        var iStage:int = 1;
                        public function Level1()
                                  GenerateLevel1();
                        public function PlaceFloor(nx:int,ny:int,nWidth:int,nHeight:int):void
                                  tFloor = new exFloor  ;
                                  addChild(tFloor);
                                  arFloor.push(tFloor);
                                  tFloor.x = nx;
                                  tFloor.y = ny;
                                  tFloor.width = nWidth;
                                  tFloor.height = nHeight;
                        public function TouchingGround(HeroGroundTouch:Sprite):Boolean
                                  for (i=0; i<arFloor.length; i++)
                                            if (HeroGroundTouch.hitTestObject(arFloor[i]))
                                                      GroundSnapped = true;
                                                      return true;
                                            if (HeroGroundTouch.hitTestObject(arFloor[1]))
                                                      bRemoveStage = true;
                                                      CurrentStage+=1;
                                                      iStage+=1;
                                                      //return false;
                                  return false;
                        public function TouchingRoof(HeroRoofTouch:Sprite):Boolean
                                  for (i=0; i<arFloor.length; i++)
                                            if (HeroRoofTouch.hitTestObject(arFloor[i]))
                                                      return true;
                                  return false;
                        public function TouchingLeft(HeroLeftTouch:Sprite):Boolean
                                  for (i=0; i<arFloor.length; i++)
                                            if (HeroLeftTouch.hitTestObject(arFloor[i]))
                                                      return true;
                                  return false;
                        public function TouchingRight(HeroRightTouch:Sprite):Boolean
                                  for (i=0; i<arFloor.length; i++)
                                            if (HeroRightTouch.hitTestObject(arFloor[i]))
                                                      return true;
                                  return false;
                        function GenerateLevel1():void
                                  PlaceFloor(435,7,519,36);
                                  PlaceFloor(1055,522,100,19);//NextLevelPlatform
                                  PlaceFloor(105,178,275,32);
                                  PlaceFloor(-160,368,875,22);
                                  PlaceFloor(-405,521,1360,18);// Ground
                                  PlaceFloor(-405,8,480,35);//
                                  PlaceFloor(-405,-140,12,679);//
                                  PlaceFloor(943,-139,12,491);//
                                  PlaceFloor(943,353,12,166);//  Door
                                  PlaceFloor(-393,-139,1339,6);//
                                  PlaceFloor(957,522,95,19);
                        function GenerateLevel2():void
                                  PlaceFloor(-398,507,1345,20);//Ground
                                  PlaceFloor(978,509,189,15);
                                  PlaceFloor(-397,190,363,17);
                                  PlaceFloor(542,190,404,18);
                                  PlaceFloor(151,314,218,11);
                                  PlaceFloor(-49,8,16,199);
                PlaceFloor(-34,153,135,13);
                                  PlaceFloor(541,6,18,202);
                PlaceFloor(211,38,98,9);
                PlaceFloor(372,153,171,11);
                PlaceFloor(-398,78,106,8);
                PlaceFloor(-157,11,121,11);
                PlaceFloor(558,7,98,13);
                PlaceFloor(842,87,104,11);
           

    make your ground larger so it's easier to detect contact between your character and the ground.  ie, increase its height. 
    because you probably don't want to change the ground that the user sees, add an alpha=0 shape to your ground.  it will look the same but contact will be detected with the current shapes that make up your ground and the alpha=0 shape.
    then fix the glitch where it appears the character is falling below the top of the ground.  do that by moving the character as soon as contact is detected.

  • Calling the BIG DAWGS: Sleeping Issues NEED MAJOR HELP

    Hey gang.
    I still have a major issue.
    G5 iMac PPC Leopard 10.5.5, 2.1 GHz, 1.5 GB DDR2 SDRAM (dont hate b/c still w/ a PPC, haha)
    Anyways, problem:
    I've talked to 3 apple protection people, 1 tech and have been to the apple store twice.
    My computer has decided that it wants to go to sleep when it wants to.
    I think it's b/c it's getting hot...too hot, how? I dunno.
    I was just running Firefox, iTunes, and VLC was only open-not playing. And IT just goes to sleep.
    Apple store, replaced logic board first time, did some diagnostic tests.
    2Second time, tests and stress tests, etc. Didnt find a thing, never went to sleep on them.
    HMMMMMM??????
    Like I said earlier, I think it's getting tooo hot, but how do you control that? Would that be a problem?
    Im a huge and devout MAC user, not religiously devout to mac, you get the picture.
    ANY help would be greatly appreciated. I'd love to solve this issue!
    Please contact me by either a reply or email, [email protected]
    Thank you for your time.

    Hi--
    A couple of things: first, look in the logs to see if there's anything about temperatures just before it goes to sleep. Use the Console application from your Utilities folder and look at both the Console messages and system.log. If you're getting overheating messages, they ought to show up in there. I don't know what the messages will look like for sure in Leopard: my G5 iMac was running Tiger when it had its overheating problem.
    As for why it's overheating, it could be a defective logic board (mine was). Other people have reported a problem where the vents at the bottom of the screen get clogged with pet hair or dust and restrict the air flow.
    Also, make sure the back is on correctly. If there's any air leakage around the back, it interferes with the proper air flow through the iMac. I had this happen when I removed the back to replace a bad stick of RAM and got the back on crooked. The computer didn't go to sleep, but the fans definitely got cranked up.
    Finally, look at the physical location of your iMac. Cool air comes in the bottom and gets pulled up through the case and gets vented out the top in the back. Make sure nothing's restricting the air flow into the bottom or out the top. Also, make sure that the hot air coming out the top isn't getting pulled back in the bottom, like it would if the iMac was enclosed in a cabinet of some kind.
    charlie

  • SSAS Cube Processing Issue,Need Urgent Help...

    Hi Friends,
    Good Afternoon.
    I am processing the SSAs cube as it is failing with below error message.
    I have tried processing the cube by using XMLA script,Direct processing.
    <return xmlns="urn:schemas-microsoft-com:xml-analysis">
      <results xmlns="http://schemas.microsoft.com/analysisservices/2003/xmla-multipleresults">
        <root xmlns="urn:schemas-microsoft-com:xml-analysis:empty">
          <Exception xmlns="urn:schemas-microsoft-com:xml-analysis:exception" />
          <Messages xmlns="urn:schemas-microsoft-com:xml-analysis:exception">
            <Error ErrorCode="3238395904" Description="OLE DB error: OLE DB or ODBC error: Cannot execute the query &quot;SELECT     &#xA;
    CASE &#xA; WHEN charindex('.', [Name]) &gt; 0 THEN upper(substring([Name], 0, charindex('.', [Name]))) &#xA;
    ELSE Name &#xA; END COLLATE DATABASE_DEFAULT AS  PackageDownloadSourceName&#xA;
    , 'Notification Server' COLLATE DATABASE_DEFAULT AS PackageDownloadSourceType&#xA;
    FROM &#xA; vNotificationServerSource as vNotificationServerSource WITH (NOLOCK)&#xA;&#xA;
    UNION&#xA;&#xA; SELECT &#xA;
    DISTINCT &#xA; vc.Name COLLATE DATABASE_DEFAULT AS  PackageDownloadSourceName&#xA;
    , 'Package Server' COLLATE DATABASE_DEFAULT AS  PackageDownloadSourceType&#xA;
    FROM&#xA; vComputer AS vc WITH (NOLOCK)&#xA;
    INNER JOIN SWDPackageServer WITH (NOLOCK) ON vc.Guid = SWDPackageServer.PkgSvrId&#xA;&#xA;
    UNION&#xA;&#xA; SELECT     &#xA;
    PackageDownloadSourceName COLLATE DATABASE_DEFAULT AS PackageDownloadSourceName&#xA;
    , 'Non-Altiris Server' COLLATE DATABASE_DEFAULT AS PackageDownloadSourceType&#xA;
    FROM         &#xA;
    (SELECT &#xA; DISTINCT &#xA;
    CASE &#xA;
    WHEN charindex('//', [URL]) &gt; 0 THEN upper(substring(substring([URL], charindex('//', [URL]) + 2, len([URL]) - charindex('//', [URL]) - 1), 0, charindex('/', replace(substring([URL], charindex('//', [URL]) + 2, len([URL]) - charindex('//',
    [URL]) - 1), '.', '/')))) &#xA; WHEN charindex('\\', [URL]) &gt; 0 THEN upper(substring(substring([URL], charindex('\\', [URL]) + 2, len([URL]) - charindex('\\', [URL]) - 1), 0, charindex('\', replace(substring([URL],
    charindex('\\', [URL]) + 2, len([URL]) - charindex('\\', [URL]) - 1), '.', '\')))) &#xA;
    WHEN charindex('Multicast download complete. Master: ', [URL]) &gt; 0 THEN upper(substring([URL], charindex('Multicast download complete. Master: ', [URL]) + 37, len([URL]) - charindex('Multicast download complete. Master: ', [URL]) - 36)) &#xA;
    ELSE NULL &#xA; END COLLATE DATABASE_DEFAULT AS PackageDownloadSourceName&#xA;
    , 'Non-Altiris Server' COLLATE DATABASE_DEFAULT AS PackageDownloadSource...; 42000; The OLE DB provider &quot;SQLNCLI11&quot; for linked server &quot;ITANALYTICS_CMDB_SYMANTEC_CMDB_725_CZCHOWV319\SQL02_SYMANTEC_CMDB_3741&quot; reported
    an error. Execution terminated by the provider because a resource limit was reached.; 42000; OLE DB provider &quot;SQLNCLI11&quot; for linked server &quot;ITANALYTICS_CMDB_SYMANTEC_CMDB_725_CZCHOWV319\SQL02_SYMANTEC_CMDB_3741&quot; returned
    message &quot;Query timeout expired&quot;.; 01000." Source="Microsoft SQL Server 2012 Analysis Services" HelpFile="" />
            <Error ErrorCode="3240034316" Description="Errors in the OLAP storage engine: An error occurred while the dimension, with the ID of 'Package Download Source', Name of 'Package Download Source' was being processed."
    Source="Microsoft SQL Server 2012 Analysis Services" HelpFile="" />
            <Error ErrorCode="3240034317" Description="Errors in the OLAP storage engine: An error occurred while the 'Package Download Source Type' attribute of the 'Package Download Source' dimension from the 'IT Analytics'
    database was being processed." Source="Microsoft SQL Server 2012 Analysis Services" HelpFile="" />
            <Error ErrorCode="3238002695" Description="Internal error: The operation terminated unsuccessfully." Source="Microsoft SQL Server 2012 Analysis Services" HelpFile="" />
            <Error ErrorCode="3239837702" Description="Server: The current operation was cancelled because another operation in the transaction failed." Source="Microsoft SQL Server 2012 Analysis Services" HelpFile=""
    />
          </Messages>
        </root>
      </results>
    </return>
    Thank you very much for your Help.
    Regards,
    Reddeppa G

    Hi ReddeppaG2580,
    According to your description, you get the above error when processing a cube. Right?
    Based on the error message, the issue occurs on the dimension 'Package Download Source'. So check the involved tables and the query for this dimension. Check the attribute 'Package Download Source' in the dimension. If you still can't find some issue, try
    to recreate that dimension. Please refer to link below:
    Create a Dimension by Using an Existing Table
    If you have any question, please feel free to ask.
    Simon Hou
    TechNet Community Support

  • Hi support team, I'm using iphone4, After i upgraded my ios7 i'm facing issues.Need ur help

    Hi support team, I'm using iphone4, After i upgraded my ios7.0.2 i'm facing issues.
    - Unable to view the incoming calls.
    - mobile hanging

    This is not the "support team".  These are user to user forums.  You are not addresssing Apple's "support team" by posting here.
    Which of the troubhleshooting steps listed in the iOS 7 user guide have you tried?  Have you tried a reset?

  • SYSDATE Variable Issues - Need your help!

    Hello,
    I have reviewed as many of the threads related to date formats, variables and error codes that I could find and I'm still stuck. Your assistance is greatly appreciated. I created a StartTime variable and refresh it using 'select sysdate from dual'. It is an alphanumeric variable, Action = Historize and Default = '01-Oct-2009'. When I check the History Tab the Value =      2009-12-29 00:19:37.0. In the package, I declare the StartTime and LastUpdate variables, then refresh the StartTime variable, then execute the GL_JE_BATCHES interface, then set the LastUpdate variable. The value in the History tab shows this: 2009-12-29 00:19:37.0     .
    In my Interface, the filter looks like this: GL_JE_BATCHES.LAST_UPDATE_DATE>='#LastUpdate'. The LAST_UPDATE_DATE field is a DATE datatype. When I view the LAST_UPDATE_DATE field in the source table it appears like this -- 3/27/2001 2:28:40 AM. The default nls date format = 'DD-Mon-YY'.
    Trying to execute as it appears above, I am receiving the following error message: java.sql.SQLException: ORA-01861: literal does not match format string. I have tried all kinds of TO_DATE formatting and receive all different error messages.
    I must be missing something very, very basic because everyone else can apparently make this work. Again, many thanks in advance!

    Hi..I am not sure whether I got you correctly, but this is what I have done
    create a variable(date_var) as text and in refresh select to_char(sysdate,'mm/dd/yy') from dual and used the same in the interface with exp_date<TO_DATE('#date_var','mm/dd/yy') . It worked for me, hope it works

  • Production Issue Need urgent help

    We just added new disk on our db box. its sun 890 box after that the DB is running very slow and the cpu is showing 100% is there any way we can find out the cause of the issue.
    Any assistance will be highly appreciated.

    Check with the OS monitoring tools. You should provide the OS and DB versions in your thread so a more proper direction on the recommended tools can be provided.
    If you are on 10g you could use the performance monitor from the EM DB Console and you could see if Oracle is responsible for this high CPU consumption.
    By the way. I kindly suggest you to use a more descriptive thread title, 'Urgent' and 'Production Issue' doesn't let any body figure out what you are talking about. On the other hand, labeling urgent won't make all posters go running to solve this issue, all threads are treated equally on a first come first served basis and it depends on posters availability.
    ~ Madrid

  • Tseng - Font Issues need your help

    Tseng, I am calling upon your knowledge of font issues. I read some previous threads regarding font issues relating to a validation error of the follow:
    'FOND' Font Association usability
    I am attempting to install the Frutiger font which is, according to OS X ver. 10.5.6, a Post Script Type 1 Outline font.
    I understand that Leopard has some issues dealing with bitmap-only type fonts, however if this is recognized as a Post Script Type 1 Outline font then where lies the issue?
    Also, even stranger, is that despite the errors from validating the font in fontbook, the font works on almost every computer in my office except one... how strange is that. PS. I also did all software updates just to be sure.
    If you have any suggestions or information I would be ever so thankful!

    Yes they are all present.
    I compared my computer (where the font works) to the computer that the font doesn't work and the files are the exact same.
    It is an odd situation.
    Even on my computer where the fonts work, if I go into Font Book and validate the font it still shows errors, but it works.

  • Transparent Partition issue-Need urgent Help

    Hi All,
    We have a application called( Eg: ABC) which is having a transparent partition
    There are 4 transparent partitioned cubes out of which 2 ASO & 2 BSO
    the daily load process for this is
    if we have a cubes called XYZ and XYZ_B
    First it will drops the XYZ_B cube and then creates a copy of XYZ cube called XYZ_C(which copies the partition file also) after that the data is got loaded to the copy cube (XYZ_C cube) once data load is done it will renames the original cube (XYZ) to XYZ_B & XYZ_C to XYZ cube.
    At the End we have only XYZ & XYZ_B
    In this process it is creating an orphan partitions in this it is showing the source as (XYZ_C cube).
    Please help me how can we resolve this .
    Regards,
    Ravi

    First it will drops the XYZ_B cube and then creates a copy of XYZ cube called XYZ_C(which copies the partition file also) after that the data is got loaded to the >>copy cube (XYZ_C cube) once data load is done it will renames the original cube (XYZ) to XYZ_B & XYZ_C to XYZ cube.I assume you are doing the above operations with partition in tact.
    First drop the transperent partition.
    Do the operations on the cube.
    Create transperent partitrion after.

  • Major Ipod Issue - Need Urgent Help

    A buddy of mine was playing his iPod in his Bose dock during a lightning storm (not the best idea....) and apparently his Ipod got busted. When he first described it I thoguht it had gotten fried, but after taking a look at it, I think it may still work. When attempting to plug it in via USB, it shows either a funky battery icon or the Apple icon. Seeiing this, I figured there may still be a way to save it. Attempting to use it with iTunes or iPod setup comes up with it not being recognized. So might anyone have some suggestions on how I may be able to fix this? Or perhaps my buddy can send his iPod into Apple in hopes that they may be able to salvage it? Thanks for any help.

    Does it play on the charger? Currently I have a 3rd Gen iPod thats been suffering battery problems but works fine if it its being charged. I have a sound dock as well and may have played it through a lightning storm without thinking about it. I decided to purchase a do-it-yourself battery replacement kit for $10 and am still waiting for it to arrive. If it's a battery problem, the $10 kit is a much cheaper solution than the $70 Apple repair, if he doesnt have apple care.

Maybe you are looking for