How to manipulate Webi column headings?

I am achieving the webi output result as shown in First picture in attachment
Fiscal Quarter  Sales Doc  Item   Total revenue  revenue1  revenue2  revenue3  revenue4
2010-Q1         75465476    12         5000       1000      1000       1500    1500
2010-Q1         76545765    22         8000       3000      2000       1500    1500
2010-Q1         78344644    17         9000       2500      1500       4000    1000
2010-Q2         97656744    20         7000       2000      2000       1500    1500
2010-Q2         86467453    19         6000       1500      1500       1500    1500
2010-Q3         84545633    18         4000       1000      1000       1000    1000
2010-Q3         97664333    14         6000       2000      1000       1500    1500
2010-Q4         97865080    25         5000       1000      1000       1500    1500
2010-Q4         95786785    29         8000       2000      2000       2500    1500
2010-Q4         86785446    28         8000       1500      1500       2500    2500
2010-Q4         97789675    10         9000       1000      1000       1500    5500
The column Headings are
Fiscal Quarter; Sales Document; Item; Total revenue; revenue1; revenue2; revenue3; revenue4
Now I am placing 'Prompt Variable' for Fiscal quarter.
So when I enter 2010-Q1 in the prompt,the row with Fiscal quarter 2010-Q1 will be filtered and also I should be able to change the heading of columns (revenue1; revenue2; revenue3; revenue4) as 2010-Q1;2010-Q2, 2010-Q3; 2010-Q4 respectively.
The revenue1 column should contain the prompt value entered and the subsequent columns revenue2; revenue3; revenue4 should increase by a quarter each.
Fiscal Quarter  Sales Doc  Item   Total revenue  2010-Q1   2010-Q2   2010-Q3   2010-Q4
2010-Q1         75465476    12         5000       1000      1000       1500    1500
2010-Q1         76545765    22         8000       3000      2000       1500    1500
2010-Q1         78344644    17         9000       2500      1500       4000    1000
Similarly when I enter 2010-Q3 in the prompt,the row with Fiscal quarter 2010-Q3 will be filtered and also I should be able to change the heading of columns (revenue1; revenue2; revenue3; revenue4) as 2010-Q3;2010-Q4, 2011-Q1; 2011-Q2 respectively.
Fiscal Quarter  Sales Doc  Item   Total revenue  2010-Q3  2010-Q4    2011-Q1   2011-Q2
2010-Q3         84545633    18         4000       1000      1000       1000    1000
2010-Q3         97664333    14         6000       2000      1000       1500    1500
How can the desired results be achieved?

For the first quarter column create a formula for column heading
=UserResponse("Enter Fiscal Quarter:")
Next-> create a variable for this formula suppose var1 and use this as input formula for second column which is as follows
=If(ToNumber(Substr([Var1];7;1))+1)=5 Then (FormatNumber((ToNumber(Substr([Var1];1;4))+1);"####")+"-Q"+"1") Else ((FormatNumber(ToNumber(Substr([Var1];1;4));"####"))
now again create variable from this craeted formula as var2 and use this varible in the input for formula for third column
=If(ToNumber(Substr([Var2];7;1))+1)=5 Then (FormatNumber((ToNumber(Substr([Var2];1;4))+1);"####")+"-Q"+"1") Else ((FormatNumber(ToNumber(Substr([Var2];1;4));"####"))+"-Q"+(ToNumber(Substr([Var2];7;1))+1))
and so on..
there is no need to display variables as columns. Since only the headings of the columns are manipulated, there is not performance issue.

Similar Messages

  • How do I restore column headings in Response table after accidently deleting them? Undo doesn't work.

    How do I restore column headings in Response table after accidently deleting them? Undo doesn't work (only seems to go back one level). I also have so many headings I won't be able to type them in manually!

    With the help of information from user, ptressel, in [https://support.mozilla.org/en-US/questions/1032154#answer-673322 a post here about the existence of sessionstore.js when version 33 was released], I was able to easily recover my tabs and tab groups as follows:
    # close Firefox and, perhaps, allow a few seconds (30s?) for any final closing of files;
    # check to see if you have a sessionstore.js file in your profile folder, named like the one I documented in my original post above;
    # if it is not timestamped prior to the discovery of your problem, open the sessionstore-backups folder;
    # check if the recovery.js file is suitably timestamped and, if not, the recovery.bak.
    # At this point, you are likely to find that none of them are prior to your problem occuring. If so, open your backups of this folder and go through steps 2-4 to find a file prior to your problem occuring.
    # When you find a file, copy it to the root of your current profile folder and name it, "sessionstore.js"
    # Open Firefox. Mine opened up as desired.
    This is a Windows solution. Sorry I can't comment on other platforms, but I'd bet that as this is just a file copy and renaming, it is likely the same.
    For Windows users, you may find you need to sign out and login as an administrator in order to access the backups. You need not logoff your standard account, but do have Firefox closed as described above.
    Hope that helps.

  • How to display the column headings in Script

    Hi Experts,
    I am getting the script output like as follows.
    000001       aaaaaaa
    000002       bbbbbbb
    but I want to maintain the column headings for these like
    Material      description
    000001       aaaaaaa
    000002       bbbbbbb
    Please tell me how to maintain the headings for script ouput.
    Thanks & Regards,
    Nagaraju C.

    In the main window,
    /E    Item Header
    HD  Material,, Description
    /E   Item Line
    HD  &ITAB-MATNR&,, &ITAB-MAKTX&
    HD is the paragraph format for which you have to maintain the tabs, margins etc.,
    Thanks,
    Srinivas

  • How to preserve the column headings from my playlist when I transfer the list as WAV files to a flash drive?

    I have digitized several old vinyls as WAV files and have them in my MacBook Pro in an iTunes playlist. I have arranged the list under the column headings of "Grouping", "Name", "Time", "Artist", "Album" and "Genre". When I copy the files to a flash drive by drag-and-drop, none of the headings except "Name" show up. How to preserve all of the column headings when copying the file to an external device?  Thanks - RC@gnv.

    I have the same issue when trying to sync from iTunes 11 on my MacBook to my iPhone 4 iOS6.1. I blindly did the iOS upgrade to 6.1 (more fool me) and since then have not been able to use my phone as an iPod.
    I have tried restoreing it, I ve tried restoring it to a new phone but it hasn't worked for me.
    The sync starts and the capacity bar in iTunes shows capacity including and music or films etc that are to be included in the sync and then iTunes stops the sync and nothing has been transfered. As with your experience the music is shown in iTunes under Music, under Devices as greyed out with the syncing icon (dotted circle) to the left of it.
    When I try to include photos in the sync, I also get an error msg stating the connection to the iPhone has been lost. I am trying to do the sync vis USB, so I dont why I get this error.
    I can of course download any music I've bought from Apple from my iCloud to my phone but I want to be able to put any music I want on to it like I could before on iOS5.

  • How do I add column headings to an output file?

    Hi,
    I have an internal table that is created in my program and I send that table out as a data file attachment on an email.
    I have a request to include column heading on the data file going out. 
    Does anyone have any ideas as to how I can include a heading line as the first line of the output file?
    I'm an ABAP newbie and I don't know the best way to accomplish this?
    Thanks for your help!
    Andy

    Hi,
    While Building the attachement just add the field description refer following code
    Append header line to download data
      CONCATENATE 'Company Code'(004)
                  'State'(007)
                  'Store'(010)
                  'Tax Type'(013)
                  'Purchase'(015)
                  'Tax Rate'(017)
                  'Gross Tax Due'(021)
                  'Discount'(023)
                  'Net Tax Due'(025)
                  INTO ls_download-data
                  SEPARATED BY lc_tab.
      APPEND ls_download TO gt_download.
      CLEAR : ls_download.
    LOOP AT gt_error_log INTO ls_error_log.
        CONCATENATE ls_error_log-bukrs
                    ls_error_log-budat
                    ls_error_log-monat
                    ls_error_log-gjahr
                    ls_error_log-xblnr
                    ls_error_log-bschl
                    ls_error_log-waers
                    ls_error_log-hkont
                    ls_error_log-wrbtr
                    ls_error_log-prctr
                    ls_error_log-kostl
                    ls_error_log-message
                    INTO ls_attach-line SEPARATED BY lc_tab.
        CONCATENATE lc_cret ls_attach-line  INTO ls_attach-line.
      Append Error log data to attachment Table
        APPEND ls_attach TO lt_objbin.
      ENDLOOP.
    Call the function module to convert the data into Hex
      CALL FUNCTION 'SO_RAW_TO_RTF'
        TABLES
          objcont_old = lt_objbin
          objcont_new = lt_objbin.
    Append converted hex data to attachment table
      LOOP AT lt_objbin INTO lv_line.
        ls_conv = cl_abap_conv_out_ce=>create( encoding = 'UTF-8' endian = 'B').
      Call lmethod to add the data to the output buffer sequentially.
        CALL METHOD ls_conv->write( data = lv_line ).
        lv_buffer = ls_conv->get_buffer( ).
        MOVE lv_buffer TO lv_hexa.
        MOVE lv_hexa TO ls_hex-line.
      Append converted hex data to attachment table
        APPEND ls_hex TO gt_attach.
      ENDLOOP.
    Regards,
    Prashant

  • Column Headings in the REPORT WRITER....

    Hi friends,
    if any body knows about the report writer and worked on that, could you please guide me how to get the column headings of the output in the report writer.
    Please, its urgent.
    Thanx and regards,
    ram.

    Hi,
    you can get this done in 2 ways:
    1 - Change the query to add another column and the re-generate the report
    2 - If changing query is not possible, you can change the report it self for adding extra field. If you look at the code, it will be more like normal ABAP code. you can easily modify it (If you are ABAPer) for your additional requirements.
    thnx,
    ags.
    Edited by: Agasti Kale on Jun 12, 2008 6:26 PM

  • Column headings missing in the ouput

    Hi All,
    the report is displaying more than 255 line size for that i have given in the program as shown below
    Report XXXXX LINE-SIZE 323.
    Actually i had ran the report in the background there i have selected print settings as shown below
    format :Z_65_1023 Expanding the spool size for more than columns 255
    but iam not getting column headings after 255 line size.
    Please help me to resolve this issue.
    Regards
    Suni

    Hi shiva,
    Thanks for your reply...
    iam executed the report in background and selected as z_65_1023 format but in the ouput three columns are not getting which is after >255 characters .kindly help me how to get the column headings,data is coming >255 characters but column headings is not coming .
    Regards
    Suni

  • Fixed column headings in classical report

    Hi,
    In classical report , how to make fixed column headings .
    I mean while scrolling down the header should not get scrolled .
    Regards
    Nancy

    Hi Nancy,
    Try creating your header under TOP-OF-PAGE, as bellow so whenever a new page is called this top-of-page will be executed satisfying your requirement.
    TOP-OF-PAGE.
      PERFORM print-report_title.
      PERFORM print-column_heading.
    Hope it helps you,
    Regards,
    Abhijit G. Borkar

  • How to implement fixed column headers

    Hi Gurus,
    I got a requirement to show a fixed column header in a sql reports. That means no matter how many rows the report returns, when scrolling down, the column headers are fixed and appear on the top.
    Anybody has any comments on this? If I'm not making sense, let me know and I can explain further.
    Thanks in advance.

    Hello Carl,
    Thanks for responding!
    I just realized that I did not include my name in my prior post, its Kyle, sorry about that. I also do not necessarily have an example code to show you, let me explain:
    I am very much a newbie to the HTML environment. Amazingly, I was able to apply a code that would facilitate a scroll bar in my report. This code was applied to the template called Reports Region in the section entitled Definition, it basically looks like this:
    <style>
    .RegionScroll
    width:950px;
    height:225px;
    overflow:auto;
    border:solid 0px;
    </style>
    My next feat was to figure out how to fix the column headings, here is were….. well basically I guessed. First; I looked at the website describing how to implement this in three steps, to be functional in both IE and Fire Fox. I was not sure exactly were to apply the script provided, so I made a logical guess and dropped it in to the same area as my previous code. When I went to view the page the code line:
    onload="MakeStaticHeader('TableId','150px')"
    showed up at the top of the page (no Java script error presented itself). I concluded that I either have the wrong programming syntax, its in the wrong template and or template section. To complicate matters I have no idea of how to identify the correct TableId. I did look to view the HTML source code of the page, but found several candidates with the prefix "ID=".
    Quite honestly, without a good formal understanding of HTML or CSS programming techniques, I may be biting more off than I can chew. If this is the case then would you be kind enough to point me in some direction that might help me get over this hurdle.
    Thanks again for the response.
    Kyle

  • How to make Row and Column headings bold in 2004s Web template

    Hi!
    I have created a web template which has 3 queries.
    I would like to achieve the following
    1> Bold the column heading and row headings.
    2> Delete the space between the three reports(right now there is some space)
    3> Align the columns on top of each other so that it looks like a continuous report.
    (I know how to suppress the column headers on the 2 reports which are at the bottom)
    Is this possible in 2004s???
    With Table interface class gone in 2004s--is stylesheet modification the only way to go????
    Please provide me with steps to achieve the above.
    Helpers will be rewarded.

    Hi Zhu,
    Thanks for the link.This really helps.
    However I was only able to see the modules for Column Width, Negative number and Document Content.
    Is there any other module as well to change Column heading ?Its not mentioned in the documentation.
    Can you please let me know.
    Thanks,
    Vivek

  • How to haveour own titles/captions in selection screen & in column headings

    we have SAP B1 2005 A, MS SQL 2005
    though i am new to MSSQL/T-SQL programming, purely through lot of trials & errors i have learnt & managed to develop many reports/queries !
    but, i am facing some problems : how to have our own captions/title for the options in selection screen & aso in reports/queries column headings.
    e.g. :
    for Customer Aging analysis, i would like to accept a set of 3 parameters (aging days) from the user. where the user may enter the values 30, 60 & 90 OR any other values.
    i have the following codes for this purpose (considering my question's (over) size, only small portions of my program are given below)
    declare @mdue1 int,
               @mdue2 int,
                @mdue3 int
    set @mdue1 = [%1]
    set @mdue2 = [%2]
    set @mdue3 = [%3]
    but, in the selection screen, the system displays "%1 Debit Amount   Greater than" as the caption & 0.00 as the default value. the same is the case for the other two parameters [%2] & [%3] also.
    i tried defining the variable @mdue1 as smallint & also tinyint, but the result is the same.
    how to have our own captions/title for the options in selection screen instead of the ones displayed by t-sql based on our SELECT statement.
    how to have our own column headings, dynamically defined/coined using variables instead of hard coded columns headings (within quotes).
    e.g. in the select statement, instead of defining a column as '<= 30 Days' = T0.due_1
    i would like to get the number of days from the user, who may enter 30 or 40 or whatever.
    i would like to display the value that the user entered in the column heading using a variable say @mcol1
    declare @mcol1 varchar(10)
    set @mcol1 = '<= 'convert(varchar(10), @mdue1)' Days'
    SELECT T0.CardCode,@mcol1 = T0.due_1 from #CustAging T0
    but, this ends up in error.
    i have already searched the net for ebooks, articles, etc. for a solution to this problem, but till now, i could not find any addressing these problems.
    i have just registered in this forum with a hope to get a solution. thanks a lot in advance.
    Thanks & Regards,
    Raghu Iyer
    Place : Vapi, Gujarat, India

    thanks a lot, lstvan.
    i think, it i a good "trick" worth trying out.
    well, i will now mark this question as answered, but still, if anyone has a direct solution "problem", please do share with us.
    i am able to write queries (in fact, full fledged programs) in T-SQL & getting the desired output and for such a trivial thing i do not want to go for an add-on SDK module. but, considering the limitations of T-SQL and the complex requirements of real business world, i think, we have to go the .net way only.
    regarding add-ons, i heard that add-ons will slow down SAP B1. is it true ?
    Thanks & Regards,
    Raghu iyer

  • Details: Numbers not translating an Excel document with column headings where the text is rotated counter clockwise 90 degrees with-in the cell.  Can you tell me how I can rotate the contents with-in a cell?

    Details: Numbers not translating an Excel document with column headings where the text is rotated counter clockwise 90 degrees with-in the cell.  Can you tell me how I can rotate the contents with-in a cell?

    Numbers does not have rotated text within cells.  You can place a text box over the cell that has rotated text but you cannot rotate text within a cell.

  • Row and column headings-how to print without them

    Currently Epson C64 and appleworks 6.2
    How can I print the spreadsheet without the row and column headings as there doesnt seem to be a place to choose whether to how or not
    Thanks for replies
    Whilst writing, too many instances of the coloured wheel rotating, nothoing showing on screen, suddenly whole sentences appear. Very irritating, so how can I stop this ?

    I'm glad the AppleWorks info was helpful.
    About the colored wheel issue: does this happen in all applications in which you are typing? Are you doing other things in that app at the same time. For instance, if Safari is one of the problematic apps, are you also downloading at the same time? I have seen this issue a few times - very rarely - and have found that a restart usually gets things back to normal. I'm not sure if this will be a helpful workaround for you, but it has had some success.

  • Interactive Reports using collections - How to control column headings

    Hi,
    I found a link in the forum somewhere that showed a step by step how to to use collections with Interactive Reports so you can dynamically build the SQL and also control the column headings. Does anyone know where the How-To is ??
    If not, I know how to build the SQL dynamically but what is the best way to control the column headings.
    Sometimes the report will have 17 columns and other times up to 30 columns.
    Thank you, Bill

    Hi Bill,
    Without knowing more about the PL/SQL code, the underlying tables and the select statements used, it is difficult to say.
    I would firstly check that I had indexes on the right column or combination of columns. One minute sounds a lot for a query to me, but that may be ok if the tables are very large and the PL/SQL has to do a fair bit to construct the output. You could also do an Explain Plan for any query to check to see if indexes are being used if they exist - this would also show up any part of a query that takes an inordinate amount of time.
    I assume that the PL/SQL is only run once even if the page is reloaded multiple times? However, once the collection has been created, the report itself should be fairly quick as it should be just a simple select over the collection data. Switching on the debug mode should help identify which part is taking the time.
    Andy

  • How can I print row and column headings?

    In AW6 I was able to select Appleworks in the print window and check if I wanted to print row and/or column headings. I have not been able to find how to do this in Numbers. Can anyone tell me how?
    Paco

    Paco wrote:
    I have not been able to find how to do this in Numbers.
    Perfectly logical, the feature is unavailable.
    Workaround:
    Use a row header and a column header to mimic the missing feature.
    In cell B1 I entered
    =CHAR(CODE("A")-1+COLUMN())
    and applied fill to the right
    CAUTION, this formula is OK only from colum B thru column Z.
    In cell A2 I entered
    =ROW()
    and applied Fill Down
    Then convert column A as header one
    convert row A as header one.
    Yvan KOENIG (from FRANCE dimanche 22 février 2009 12:28:34)

Maybe you are looking for

  • Photoshop CS4 in Windows 7 bug runing batch actions

    I been using Photoshop CS4 in Vista with no problems, but now my problem is when I installed windows 7 and opened 60 photos and apply an action and try to do other things while PS is working in the batch, when I try to change to other window I get ba

  • Need a BAPI

    Hi all, I'm looking for a BAPI which triggers an output type to send an idoc, when a Purchase Order is created. Thanks in advance. Regards, Goutham

  • Re: Oracle ODAC 12c Release 3 32-bit supports EF 6.x?

    I am also facing same problem with latest ODP.NET. Our existing application with 11G and EF 4.3 DB first worked very well. We need to migrate our application from 11G to 12C. But its showstopper for us to proceed. Please help us. My environment detai

  • Getting adsl paying for infinity

    we had an engineer come out today and tested our line cos we have started losing tv channels on our bt tv box the engineer said we are getting adsl speeds. http://www.speedtest.net/my-result/4096139214 so cos we are paying for bt infinity2 but gettin

  • Mediawiki + Air Flex app

    Hello. I am working on an app that users can login from desktop on a wiki site basted on mediawiki. And i need som help with the login. I think it work, but how do i go on when the login is ok and how do it go to a other mxml windows with a label lik