BPS Layout formatting looks simple but tricky - Help

Hi ,
Created a layout with the below charaterstics and Month1 give the qty for that month. It works great but
1)  When there is no data i.e no qty for that month , it suppose to be blank but it gives the below out put
Currenlty :
Material     mplant  DType month(qty)
552477     552477     
552477     552477     
552477     552477     
552477     552477     
552477     552477     
552477     552477     
552477     552477     
552477     552477     
552477     552477     
Desired :
Material     mplant  DType month(qty)
2) When there is data i.e qty for that month , it suppose to give two records but it gives the below out put
     i.e values and some more lines with material but no qty . Actually there is data for only 2 rows.
Currently :
Material     mplant  DType month(qty)
552477     552477  A           10
552477     552477  B           20
552477     552477     
552477     552477     
552477     552477     
552477     552477     
552477     552477     
552477     552477     
552477     552477     
Desired :
Material     mplant  DType month(qty)
552477     552477  A           10
552477     552477  B           20
I created a macro to delete the duplicate when the number repeats but that doesnot solve because when ever I want to read the total number of rows in another macro it shows wrong total number of line because of these repeating material numbers .
How can I get the desired output ? is there any simple setting in the layout or XL with out using a complicated macros etc.........
Using sem bw 320
Please help . Thank you inadvance.
Raju
Edited by: venkat bhuaptiraju on Jan 8, 2008 6:01 PM
Edited by: venkat bhuaptiraju on Jan 8, 2008 6:04 PM
Edited by: venkat bhuaptiraju on Jan 8, 2008 6:07 PM

Thank you all for your reply very very useful tips. This is getting some how very interesting and frustating at the same time.
Bindu : I used the similar code that you gave me that works perfect it removes the rows data that I do not need but retains the format for exmple the STYLES that I applied for the data and header data
Arya : The cube has the 2 records and my below msg will clarify that the issue is not with this
Aby : Yes even, I do not understand why the those 2 columns data with no key figure values
Jeoffrey :
- I checked 3- : Layout set to From Transaction data
- I checked 4- restrictions (variables?)  may not be because ...see... my below observations........
- I checked 5- ...may not be because ...see... my below observations........ BUT I am going through they
  are very interesting.
Sappie :
...may not be because even for one material ...see... my below observations........
More Facts :  Sorry I would have given this in the beginning.
- I am running an adhoc package that contains an existing layout  which works perfect
- When I copy layout and remove all the styles and macros still it works great
- BUT when I create a new layout with exactly same setting NO CHANGE and run the SAME adhoc   package I get those material numbers repeating .........
I have both the layouts in my PC and compared but did not see any difference , Can you please look at it if you think there could be something there ? Please send me you email I can email you.
Again thank you for looking in to it, your replies are very logical.
Regards,
Raju

Similar Messages

  • FB03 problem, looks simple but tricky

    Hi all,
    Go to FB03, click document list, give company code, fiscal year, execute.
    It shows a list of docs.
    Go to change layout and select “reference” from column set and add to displayed columns. Go to “display” tab and select “print out with date, title and page number”.
    Select “user specific” and “default setting” check boxes and save the layout.
    Come out the screen and execute FB03 again and select the lay out which you saved and go to change layout and then to the display tab. There you will find the “print out with date, title and page number” <b>unchecked</b>. (But it was actually checked and saved).
    Please explain why this is happening and suggest me solution.
    Thanks in advance.

    Hi Eric,
    The user says:
    This issue first came up after the upgrade when the date printed stopped appearing on his FB03 reports.  We found the check box on the display tab of the change layout screen and it properly caused the data to appear at the top of the report.  However, when we tried to save that setting with the layout, we were not successful.
    he says when he could do it befor, why not now?
    Please help.

  • How do I save to mixdown in mono, 0 db reduction in volume, in 64 bps mp3? Sounds simple, but none of the support staff has been able to do it.

    How do I save to mixdown in mono, 0 db reduction in volume, (Same volume level as in the files-no -3db reduction) in 64 bps mp3? Sounds simple, but none of the support staff has been able to do it.

    Several solutions to this problem.  I believe we may have discussed this over the support e-mail, but I'll share it again here so that it can help others as well.
    First, as I discussed in the e-mail, Audition defaults to support Pan Law which prevents content mixed to the center of a Stereo field from being louder than the same content panned far left or right.  This provides a -3dB drop to center content by default, but you can disable this completely by entering Preferences > Multitrack and setting the Default Panning Mode to Left/Right Cut (Logarithmic)
    Now, when you create a new Multitrack session, there is an option to specify the Master channelization.  Here, you can select Mono, Stereo, or 5.1 and this will be the default channelization mode for a basic mixdown operation regardless of your clip content, though can be overridden when exporting a session mixdown.
    Next, if you just choose the menu item Multitrack > Mixdown Session to New File... it will always default to the Master channelization.  This command does not write to disk, it is a preview or pre-processing step.  If you wish to export your multitrack session mixdown directly to disk, in your desired channelization and file format, please use the command File > Export > Multitrack Mixdown > Entire Session...  You will then have the complete set of output options, including the option to output at any channelization you like and the format you prefer.
    Here, I've disabled the default 5.1 output and selected a Mono mixdown instead.
    I've now changed the file format settings as well to MP3, 64K.
    With most of these configuration details, you should only need to set them once and these will remain the defaults for any subsequent projects, unless modified again.  The Export Multitrack Mixdown dialog will reset the Mixdown options to match the default output, and the MP3 settings may update to reflect the kBps setting nearest your session sample rate.

  • I am un able to send mail as it gets stuck in my outbox. I am sure the solution is simple but need help?

    I am un able to send mail as it gets stuck in my outbox. This is a recent phenomena. I am sure the solution is simple but need help?

    I looked everywhere for a solution - and I finally figured it out! Deleting my accounts didn't work, but here is what worked. This worked when my Gmail accounts were not sending properly. I'm not sure if it works for other e-mail services.
    1. While in Mac Mail, click "Mail" in the top left corner of the screen
    2. Click "Preferences"
    3. Click "Accounts"
    4. Select your account that isn't sending properly
    5. In "Outgoing Mail Server (SMTP)" there will be two options - Gmail & Gmail (offline)
    Make sure that "Gmail" is selected and NOT "Gmail (offline)"
    If you navigate to another section in Preferences, it will ask you to SAVE - make sure you save your changes!
    It worked for me, hope it works for you!

  • Nano formatted to windows Want to format for Mac but cannot HELP

    My nano (2nd gen) is formatted to windows but I want it to work on my Mac. When I hit the restore button in Itunes it comes up with the message Unable to restore due to an unknown fault ref 1418 Any ideas Please

    Have you had a chance to look at this troubleshooting page? It may be of some help: Error 1415, 1417, 1418, or 1428 when restoring or updating an iPod in iTunes 7 or later

  • Form question. It looks simple, but is it...?

    I have this form:
    The image says it all, how can I move the circled text up to align with the top of the comments box and use multiple lines of text there, instead of at the bottom as it currently is?
    The form.php code is attached.http://www.millcon.nl/Harm/form.php
    The whole page is here: http://ppbm5.com/submission.html

    Ben,
    Thanks again for your help.
    First, some background on myself, so you know you have to take it easy...
    My programming background is from the days of Basic, Fortran, Cobol, RPG and - my favorite - APL. I did program econometric and statistical applications, using adanced techniques like ARIMA (auto-regressive integrated moving average) models similar to Box-Jenkins approaches. I have never progressed from APL to other, more modern languages, like C++, Java and the like. Matt Iverson is still my example of how to create A Programming Language (APL).
    My business (HR consultancy) nor my hobby, videography and video editing, required me to learn these new languages.
    A couple of months ago I started with DW CS4, which I have as part of the MC, because I wanted to create, together with Bill Gehrke, a new website for benchmarking hardware setups, specific for Premiere Pro CS5. See: http://ppbm5.com . Next I did a similar thing for my daughter, see http://poffertjes.ch
    One of the problems we encountered with the way we worked in the past was that people had to submit their data by filling out questions posed in a VB script. Some left out relevant deatils, others made typo's like 10,000 instead of 1,000 for disk capacity, others named their video card 470 Gtx while others named them GTX 470 and so on. This caused us a lot of hard work and time to safeguard consistency in the Excel spreadsheet that we publish on the http://ppbm5.com/Benchmark5.html page.
    With that in mind, I used a form maker to generate the php files to ease the burden a bit. See: PHP Form Mail Maker - A free tool to create ready-to-use web mail forms with customized auto response email | F.A.Q about PHP FormMail Generator
    Now, the info I have given was not complete, in the sense that this form generator gives you three files in a ZIP file:
    1. form.php, which is the layout of the form
    2. form.lib.php which is used for the auto-response mail, and
    3. admin.php for maintenance of the form and downloading CSV data from the forms submitted.
    (I have sent these to you by PM, because of privacy considerations)
    Your suggestions make a lot of sense. However, stupid noob that I am, I don't know where to paste your #php formatting statements. I deleted the OL class line and pasted your formats, but that is obviously not the way to go about is. Second problem I have is that the error correction on required fields no longer shows up correctly. Third issue is that in IE the form looks reasonably OK, the space between the comments box is slightly larger than the rest of the text, but FF leaves no space between them.
    If you ever have a question about Premiere Pro or hardware, I may be able to help you, but here I'm lost.
    PS. An autodidact is someone who had an idiot as a teacher. That applies to me.

  • ARRAY - simple (but tricky?)

    Hi, I have a simple querstion regarding Array intialization.
    I know that JAVA has the functionality to declare and initialize array in one line:
    String stringarray[] = { "string1","string2","string3"};
    Now my question is, why separating this kind of initialization from its declaration is not allowed?
    String stringarray[];
    stringarray = { "string1","string2","string3"};
    Thanks

    Okay, let me try again.
    In order to create an array, the compiler needs to know what type of array to create. If I have code like this:
    Object[] o;
    o = { new Long(1), new Long(2) };The compiler could create either an Object array, a Number array, or a Long array, and the code would run fine. Except that somewhere along the line your code might have expected something different and a class-cast exception would get thrown.
    So, to keep it simple, the rule seems to be that arrays can only be created when it is explicit what type is going to be created - in other words when there is no chance for ambiguity. The following lines don't have any ambiguity:
    // a variable declaration gives the explicit type to use
    Object[] o = { new Long(1), new Long(2) };
    Number[] n;
    // the "new" operator explicitly tells what type to use
    n = new Number[] { new Long(1), new Long(2) };SO, although the following seems pretty obvious to a human viewer:
    Object[] o = { new Long(1), new Long(2) };
    // versus
    Object[] o;
       // some code here ..
    o = { new Long(1), new Long(2) };The second part introduces the possibilty of ambiguity, because the array creation isn't part of a statement that explicitly tells the compiler what type of array to create. Take for example:
    Number[] n = { new Long(0), new Long(1)};
    Object[] o;
    o = n;Which shows how an array of one type can be assigned to another that is part of the heirarchy.
    As I mentioned above, I agree that this should be allowed, but I believe it was left out of the language because of the issues I've mentioned.

  • Concatenate " Simple but tricky question "

    Hey guys
    How are u, this looked like easy problem. However, I tried so many things. I want to add a space in front of character. This is 2-character lengths field.
    When I was executing this command, it is not adding up space.
    If I am something wrong correct me
    Here is the code
    DATA:  i type i ,ONE(1) VALUE ' ',FINAL(2) ,TWO(1).
    i = sTRLEN( t_record-trfgr ). “ first it shows 1 for H
    if i LE '1'.
    concatenate  TWO ONE  '.' into final.
    CLEAR:I.
    i = sTRLEN( final ). “ its still say 1
    Thanks

    Saquib,
      <b>Concatenate   '    '
                    t_record-trfgr
             into
             final.</b>
      Following should also work:
    <b> Concatenate  
             space
             t_record-trfgr
             into
             final.</b>
    Thanks
    Kam
    Note: Allot points for all worthful postings

  • Should be simple but need help!

    Hi there,
    I'm new to AS3, and I'm trying to make a navigation menu. When you roll the mouse over a section, the colour changes to red. I've got this working for the first word, however there are more that need to be added. I have other menu items that I was the exact same thing to happen to, those being tracks_bg, drivers_bg etc. Here's my code that works fine:
    import fl.transitions.Tween;
    import fl.transitions.easing.*;
    about_bg.addEventListener(MouseEvent.MOUSE_OVER, manageMouseOver);
    about_bg.addEventListener(MouseEvent.MOUSE_OUT, manageMouseOut);
    function manageMouseOver(event:MouseEvent):void{
      //your over code here
        var color_transform:ColorTransform=about_bg.transform.colorTransform;
    color_transform.color=0xbf3a3a;
    about_bg.transform.colorTransform=color_transform;
        var fadeIn:Tween = new Tween(about_bg, "alpha", Strong.easeOut,0,1,1,true);
    function manageMouseOut(event:MouseEvent):void{
      //your out code here
        var color_transform:ColorTransform=about_bg.transform.colorTransform;
    color_transform.color=0xffffff;
    about_bg.transform.colorTransform=color_transform;
        var fadeOut:Tween = new Tween(about_bg, "alpha", Strong.easeOut,1,0,1,true);
    I thought it would be okay to add more event listeners below about_bg, then copy the functions the functions and change the about_bg words to tracks_bg etc. This doesn't work
    Here is what I was trying to do:
    import fl.transitions.Tween;
    import fl.transitions.easing.*;
    about_bg.addEventListener(MouseEvent.MOUSE_OVER, manageMouseOver);
    about_bg.addEventListener(MouseEvent.MOUSE_OUT, manageMouseOut);
    tracks_bg.addEventListener(MouseEvent.MOUSE_OVER, manageMouseOver);
    tracks_bg.addEventListener(MouseEvent.MOUSE_OUT, manageMouseOut);
    function manageMouseOver(event:MouseEvent):void{
         var color_transform:ColorTransform=about_bg.transform.colorTransform;
    color_transform.color=0xbf3a3a;
    about_bg.transform.colorTransform=color_transform;
        var fadeIn:Tween = new Tween(about_bg, "alpha", Strong.easeOut,0,1,1,true);
    function manageMouseOut(event:MouseEvent):void{
        var color_transform:ColorTransform=about_bg.transform.colorTransform;
    color_transform.color=0xffffff;
    about_bg.transform.colorTransform=color_transform;
        var fadeOut:Tween = new Tween(about_bg, "alpha", Strong.easeOut,1,0,1,true);
    function manageMouseOver(event:MouseEvent):void{
        var color_transform:ColorTransform=tracks_bg.transform.colorTransform;
    color_transform.color=0xbf3a3a;
    tracks_bg.transform.colorTransform=color_transform;
        var fadeIn:Tween = new Tween(tracks_bg, "alpha", Strong.easeOut,0,1,1,true);
    function manageMouseOut(event:MouseEvent):void{
        var color_transform:ColorTransform=tracks_bg.transform.colorTransform;
    color_transform.color=0xffffff;
    tracks_bg.transform.colorTransform=color_transform;
        var fadeOut:Tween = new Tween(tracks_bg, "alpha", Strong.easeOut,1,0,1,true);
    You get the idea. Its long winded and doesn't work anyway. What do I do here? Thanks in advance for any help...

    Hey,
    Thanks for the answer. I've replaced my code with that and changed it to 'SimpleButton' rather than MovieClip and it works exactly as before. However, I'm still unsure of where to add the buttons. I'm using a master AS layer and not going in them individually.
    Here's what I've got now:
    import fl.transitions.Tween;
    import fl.transitions.easing.*;
    about_bg.addEventListener(MouseEvent.MOUSE_OVER, manageMouseOver);
    about_bg.addEventListener(MouseEvent.MOUSE_OUT, manageMouseOut);
    function manageMouseOver(event:MouseEvent):void
         var btn:SimpleButton = event.target as SimpleButton; //just assume that it is a MovieClip, change to whatever it is i.e. Button
         var color_transform:ColorTransform=btn.transform.colorTransform;
         color_transform.color=0xbf3a3a;
         btn.transform.colorTransform=color_transform;
         var fadeIn:Tween = new Tween(btn, "alpha", Strong.easeOut,0,1,1,true);
    function manageMouseOut(event:MouseEvent):void
         var btn:SimpleButton = event.target as SimpleButton; //just assume that it is a MovieClip, change to whatever it is i.e. Button
         var color_transform:ColorTransform=btn.transform.colorTransform;
         color_transform.color=0xffffff;
         btn.transform.colorTransform=color_transform;
        var fadeOut:Tween = new Tween(btn, "alpha", Strong.easeOut,1,0,1,true);
    I tried adding: tracks_bg.addEventListener(MouseEvent.MOUSE_OVER, manageMouseOver);
                        tracks_bg.addEventListener(MouseEvent.MOUSE_OUT, manageMouseOut);
    ^ Below the about event listener lines and it says its an undefined property. Sorry, I'm a noob with this

  • Probably simple but need help~

    My macbook wont let me log in. A message appears saying disk space full but i cant log on to delete anything. The spinning circle appears, screen goes white, then tells me to re enter my password. I want in on my computer!

    You need to move or delete some stuff. Boot into single user mode to at least get access.
    http://support.apple.com/kb/ht1492

  • Simple But tricky for me

    Hi All
    I have a table like below
    application_id | Page_name | Group_name | Question_name | Data
    123 App1_Fina_1 Lia_Loan1 Type PersonalLoan
    123 App1_Fina_2 Lia_Loan2 Payment 2000
    124 App1_Fina_1 Lia_Loan1 AmmountBorrow 3000
    124 App1_Fina_2 Lia_Loan3 AmmountPaid 1500
    here my each application may have differnet question names and they are aplication based. can I have the extract as below
    appllication_id | Type | Payment | AmmountBorrow | AmmountPaid
    123 PersonalLoan 2000
    124 3000 1500
    can I have this kind of extract in select statement?

    Hi !
    I was typing this .. so i'm posting it ..
    SQL>
    SQL> with tab as (
      2  select 123 application_id, 'App1_Fina_1' Page_name, 'Lia_Loan1' Group_name, 'Type' Question_nam
    e,
      3   'PersonalLoan' Data from dual union all
      4  select 123, 'App1_Fina_2', 'Lia_Loan2', 'Payment', '2000' from dual union all
      5  select 124, 'App1_Fina_1', 'Lia_Loan1', 'AmmountBorrow', '3000' from dual union all
      6  select 124, 'App1_Fina_2', 'Lia_Loan3', 'AmmountPaid', '1500' from dual )
      7  select application_id,
      8         max(decode(question_name,'Type',data)) Type,
      9         max(decode(question_name,'Payment',data)) Payment,
    10         max(decode(question_name,'AmmountBorrow',data)) AmountBorrow,
    11         max(decode(question_name,'AmmountPaid',data)) AmountPaid
    12    from tab
    13   group by application_id
    14  /
    APPLICATION_ID TYPE         PAYMENT      AMOUNTBORROW AMOUNTPAID
               123 PersonalLoan 2000
               124                           3000         1500
    SQL> T

  • Simple but need help

    hw can i display a page r content in the same page by clicking a href link ???
    Thanks in advance

    You can use RequestDispatcher.Include() method,
    Or you can try with the latest scripting tachnique AJAX for this.
    AJAX has the ability to put/modify contents in parts of the page even with out changing the url(that is in the same page itsely)
    Regards......

  • Column in bps layout

    Hi all,
    How can I hide a key figure data column in my BPS layout?
    Thanks
    Gianmarco

    Thanks but this solution isn't OK because when I start the layout there are a column and not keep my hide changes.
    Any suggestion please?
    Gianmarco

  • HOW to Restrict the input Help for 0MATERIAL in the BPS Layout

    Hi,
    I have requirement to Restrict the input Help for 0MATERIAL  in the BPS Layout.
    For Example if the Planning Package is Restricted to SALES ORGANISATION ( 3000 )  then the system shuold  check the 0MAT_SALES  where SALES ORGANISATION IS "3000" )AND PASS THE Material Numbers to the 0material list.
    I have Copied the standard Funtcion group  "UPF_VARIABLE_USER_EXIT"  to Z fucttion and have attached to Z Variabe as User Exit .
    this Variable is  Attached to 0material in the Planning Pakage. So tha now the 0MATERIAL is restricted to the variable which is having the User Exit.
    But how to acces the Values of Planning Package for which the Layout is bein Executed from this Z User Exit ???
    I Know how to restrict the input help, but my only problem is that how to get the values of Planning package through this User Exit.
    Please suggest if it is possible.
    Regards,
    Nilesh Labde

    Hi Nilesh,
    As I understand from your question,you know how to restrict but the issue is to know the value in the package with which you need to restrict.
    There are two tables which can help you finding the value used in package for sales organisation:
    1. UPC_PACKAGE
    2. UPC_OPTIOS
    How to use ?
    From UPC Package you will get one GUID, Hit the second table UPC_OPTIOS with this GUID.
    In field "FIELDNAME" enter the name of the characteristic whose value is req (sales organisation in your case)
    Hope this helps you
    Mann

  • Why is "erase junk mail" de-highlighted in the drop down menus.  I'm not able to delete my junk mail box without doing each one individually.  Simple, but please someone help with an answer.  Thanks.

    why is "erase junk mail" de-highlighted in the drop down menus.  I'm not able to delete my junk mail box without doing each one individually.  Simple, but please someone help with an answer.  Thanks.

    My daughter has had her Razr for about 9 months now.  About two weeks ago she picked up her phone in the morning on her way to school when she noticed two cracks, both starting at the camera lens. One goes completely to the bottom and the other goes sharply to the side. She has never dropped it and me and my husband went over it with a fine tooth comb. We looked under a magnifying glass and could no find any reason for the glass to crack. Not one ding, scratch or bang. Our daughter really takes good care of her stuff, but we still wanted to make sure before we sent it in for repairs. Well we did and we got a reply from Motorola with a picture of the cracks saying this was customer abuse and that it is not covered under warranty. Even though they did not find any physical damage to back it up. Well I e-mailed them back and told them I did a little research and found pages of people having the same problems. Well I did not hear from them until I received a notice from Fed Ex that they were sending the phone back. NOT FIXED!!! I went to look up why and guess what there is no case open any more for the phone. It has been wiped clean. I put in the RMA # it comes back not found, I put in the ID #, the SN# and all comes back not found. Yet a day earlier all the info was there. I know there is a lot more people like me and all of you, but they just don't want to be bothered so they pay to have it fix, just to have it do it again. Unless they have found the problem and only fixing it on a customer pay only set up. I am furious and will not be recommending this phone to anyone. And to think I was considering this phone for my next up grade! NOT!!!!

Maybe you are looking for

  • How do I make content in a text field continue onto a new page?

    I am creating a form and one of the pages contains a text field for an essay. I'd like the responses in this text field to carry onto new pages if they reach the end of the first page. How do I make new pages appear with only the continued text field

  • Problems to show a Vertical JScrollPane with JList

    I have a JList within a JScrollPane, and update the JList with the output from a process. This means that the JList is updated very quickly with a lot of data. The scrollpane policy is set using this : myScrollPane.setVerticalScrollBarPolicy(ScrollPa

  • JBoss/Tomcat outOfMemoryError

    Hey I am working on an existing servlet architecture that my company created, and I am running into a memory problem when I try to view certain servlet pages. I am using JBoss-2.4.11 and Tomcat-4.0.6 (using catalina)for my test/debug environment with

  • Can we configure more values for Status 2

    Hi every one, can we configure  more values  associated with employment status(status 2)i.e Value 0: Employee no longer with the company Value 1: Employee is a part of the company but inactive Value 2: Employee is a part of the company but retiree Va

  • Client Side Error Message in Notification Region

    Hi, Is there any way I can display my client side validation in NOTIFICATION region. My Scenario, In my application, I have dynamic Apex Items (Generating Using APEX_ITEM API). I have added client side validation (Javascript) when users clicks the bu