Urgent : extra column needed in report

Hi All
I have a query which displays the data for twelve months for a fiscal year.
Rows:
KF1
KF2
KF3
Column:
Posting Period
So the display of report is similar to
Period    ,     1         ,      2          ,     3        ,     YTD,      BOY
KF1       ,     0.000   ,     0.000    ,     0.000  ,           ,                
KF2       ,     0.000   ,     0.000    ,     0.000  ,           ,
KF3       ,     0.0      ,     0.0       ,     0.0      ,           ,
The no of periods is being enetered via a selection screen variables.
Now I want to add two more columns i.e YTD and BOW (already shown)
YTD would show the sum of the data till the current period
BOY will show the sum of the data for the balance of Year.
I do have variable to restrict the data as per the logic but I am not able to find a solution to add these two coluns.
I have tried adding new slections in the columns area but it does not help and merges with the periods. I want these two coluns separately in my report.
Please help. Its urgent
Message was edited by:
        Shantanu Mukherjee
Message was edited by:
        Shantanu Mukherjee

You are right Venkat. User is entering the periods using a interval variable.can you please elaborate how to use a customer exit variable in this case. And moremoreover how to utilize the calculated values after the period columns.
Let me elaborate again about the requirement. In the columns only postin period is being used and it has been resticted using a interval variable. In the rows selcetions based upon Key figures are being used. I need to add column which would give me the sum till the current period for that selection(selcetion is based upon a KF). I hope I have made myself clear this time. sorry for the inconvinience

Similar Messages

  • Extra column in Crosstab report

    Hi Experts,
    We are designing a cross tab report (using CR 2008) and got stuck at one point. If we want to add an extra column in cross tab, what is the way to insert the same?
    Currently our cross tab is designed using 3 elements: Country, Month and Sales. We would like to add an extra column u201Clast year salesu201D before Month data. This element is present in database.
    Any help / suggestions would be appreciated.
    Regards,
    Chinmay

    Right click Cross tab - -> Cross tab expert
    Drag field into columns and the position with up/down arrows
    Ian

  • Extra columns in ALV report

    Hi there,
    I added a column to an existing alv report which uses method 'set_table_for_first_display' to display the output.
    The method is called via:
    grid1              TYPE REF TO cl_gui_alv_grid,
        CALL METHOD grid1->set_table_for_first_display
              EXPORTING
                        i_structure_name     = 'MAT_DATA'
                        is_layout            = lt_layout
                        is_variant           = lt_variant
                        i_default            = lt_default
                        i_save               = 'A'
                        it_toolbar_excluding = lt_exclude[]
               CHANGING it_outtab            = mat_data[]
                        it_fieldcatalog      = w_fieldcat[]
             EXCEPTIONS
                        program_error        = 1.
    The extra columns are in the field catalog and mat_data.
    The lt_variant-report field has the report name in it.
    When I run the report the new column does NOT appear.
    I cleared out the lt_variant-report value and now the new column DOES appear.
    Any idea why this is happening?
    Is there some way I can leave the report name in there and see the new columns?
    Thanks.

    thanks.
    no_out is initial.
    But, in this case, I am not passing any variant.
    It works if I don't pass the report name in the
    is_variant-report
    field.The columns will not display if I pass the report name.

  • KSB1  extra column or user exit to add extra fiel on report.

    Hi
    How do I add my own extra column on the report "Display actual cost line items for cost centers' - SAP transaction KSB1.
    Thanks
    Rendani

    Hi,
    Please search for OSS note in market place.
    I have worked on it, but I donot remember the OSS note number.
    Thanks,
    Sriram Ponna.

  • Using SAP Tokens & showing extra columns to choose

    I have a Crystal Report where I have a SAP token parameter to select a budget scenario to run the report based on.
    My token is selecting the 3 columns I need to display inorder to select the correct scenario - AbsID, Name & FinancYear.
    Budget@Select AbsID, Name,FinancYear  from OBGS order by 3
    When I preview in SAP my drop down box only gives me AbsID and name - which is of course a list diplaying "Main Budget" repeated for the number of financial year I have in the database.
    As these Main Budgets can (and have) been created in any order, it is impossible toexpect the users to select the correct budget from the displayed data.
    As there is no direct join from OBGS to OFPR on financial year, I can't work out how to either display the additional column in the choose from list, or filter my selection statement so it will only give scenarios that relate to the financial year for the period I have selected
    Any sensible suggestions welomed!

    Hi Julie,
    Remember that combo box controls in SAP can only display two values, a code and description, or in the case of report tokens the first two columns you specify in the token query. Seeing as you need the third column to distinguish between the first two sets of values a combo box is no use to you on it's own.
    The following is off the top of my head and untested but what about either replacing the combo box with a CFL that shows as many columns as you need (and by nice coincidence the first column in that table is the value you want selected, AbsID), OR, created two report parameters the first displays the Financial Year and the second displays the AbsID and Name values for the selected FinYr?
    Remember I'm writing this free hand so you'll need to test to make sure it's ok.
    Replace Cbo with CFL
    Budget@Select * From OBGS order by 3
    This should display a CFL where you can add any extra columns needed from the form settings.
    Two Cbo Parameters
    FinYr@ SELECT F_RefDate FROM OFPR
    Budget@Select AbsID, Name from OBGS WHERE FinancYear = ('FinYr@') order by 3
    So you can reference one parameter name inside another to limit the results displayed by the second parameter.
    One of the above or some variation should get you what you need.
    Regards,
    Andrew.

  • KSB1 user exit & extra column.

    Hi
    How do I add my own extra column on the report "Display actual cost line items for cost centers' - SAP transaction KSB1.
    Thanks
    Rendani

    Hi,
    Pls find the user exits available for the tcode :KSB1 below:
    COCCA001  Customer enhancement to cost center authorization checks
    COCCA002  Customer Functions for Organizational Authorization Checks
    COOMEP01  CO-OM: Information system -> line item reports
    COOMKA01  Customer Fields for Cost Element Master Data
    COOMKS01  Customer Fields for Cost Center Master Data
    COOMKS02  Cost Center: Checks When Saving
    COOMKS03  Cost Center: BAPI Enhancements
    COOMLA01  Customer Fields for Activity Type Master Data.
    Pls reward if helpfull.
    Regards,
    Sharath

  • Adding custom column to a report

    I'm a newbie using APEX 2.1 on Oracle XE.
    I've created a simple page with a report which displays the list of rows in a table. I'd like to add an extra column to this report with an "Edit" button for each row. (So I can obviously edit individual rows in a separate window) But I can't see any way to alter the report output to be able to add extra columns.
    Have I approached this the wrong way ? (NOTE: I don't want to edit the row in-situ in the table)
    Thanks.

    Try using the Form Wizard to create your pages. If you select the "Form on a Table with Report". It will for the most part do all the work for you. Then you just cleanup the UI to look the way you want it too.

  • R12 Payment Process Request Status Report adding extra columns to XML data.

    In 11i, we had modified the Preliminary Payment Report to include extra columns ( invoice distributions). In r12 , that report is obsolete and Oracle introduced a new report "Payment Process Request Status Report". This request uses BI Publisher to generate the final report output. I am unable to modify the template since the XML output of the report does not
    contain the invoice distribution account data. We need to know how can we modify the XML data to include the extra columns.
    For Funds Disbursement Process ( Payment Instruction File) , Oracle provides IBY_FD_EXTRACT_EXT_PUB extensibility package to construct custom XML element structure that can be added to the payment XML extract generated by Oracle Payments. Do we have something similar for this report ? Are there any other options available ?
    Thanks

    Hi
    The same package "IBY_FD_EXTRACT_EXT_PUB" works for payment process request status report also. Please add the logic to get the distribution data in this package and you will see the new XML tags in this report also.
    Hope this helps.
    Vinit

  • Column Headings in the report and adding an extra field to the report

    Hi All.
    I had an issue like i need to put column headings for a report and I want to add an extra field to the report.
    The problem here is that the report was actually cloned from a Query.At the time of cloning,they forgot to add the column headings.
    Now we need to add the column headings for the same.How can we proceed for this and where we need to add our code?
    How to add an extra field  to the existing report?
    Any pointers will be very much helpful.
    Regards,
    SSR.

    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

  • Extra columns in report by pl/sql

    Hi,
    In my application (about wheater data) I need a report with an undefined number of columns. E.g. a user wants data about temperature and wind. Another user may want to see temperature, wind, humidity en may-be more.
    I've build a collection with the result of the chosen parameters. After a submit I try to fill in a report according to the following PL/SQL-block:
    declare
    q varchar2(4000);
    cursor c1 is
    select c001 from htmldb_collections
    where collection_name = 'ROEL'
    order by c001
    begin
    q := ' select datum, tijd_code';
    q := q||', sum(decode(kanaal,15,gemiddelde,0)) as gem_15';
    q := q||', sum(decode(kanaal,33,gemiddelde,0)) as gem_33';
    for cc1 in c1
    loop
    q := q||', sum(decode(kanaal,'|| cc1.c001||', gemiddelde,0)) as gem_'||cc1.c001;
    end loop;          
    q := q||' from meteo_data where 1=1 ';
    q := q||' and datum between nvl(:p1_startdatum,''01-jan-03'') and nvl(:p1_einddatum,''31-dec-99'')';
    q := q||' and tijd_code = 3';
    q := q||' group by datum, tijd_code';
    htp.p(q);
    return (q);
    end;
    When I make no selections (collection empty) then everything works correct.
    But when I do make some choices, then a "report error: ORA-01403: no data found" is displayed.
    I think this has to do with the extra columns that are defined in the FOR-Loop.
    What am I doing wrong??
    And can someone help me to solve this problem??
    Thanks in advance,
    Roel

    Something wrong ??
    I posted this message 4 september 2004
    Roel

  • Need help in sorting a alphanumeric DB column in BO report.

    Hi All,
    We have a DB column (Data type = varchar2).. with values..
    1                               
    1
    1.1
    1.1.1
    1.1.1.1
    1.2
    1.2.1
    1.3
    1.3.1
    1.3.1.1.1
    Desired
    1
    1.1
    1.1.1
    1.1.1.1
    1.2
    1.2.1
    1.3
    1.3.1
    1.3.1.1.1
    2
    etc..
    We need to sort this column in BO report.. any idea..  we have sorted it in the Query which is giving right output in pl/sql developer but in BO sorting is not showing properly.
    Could you help please to achieve this?
    Thanks and Regards,
    Priyashree

    The Record Sort Expert appears when you choose the Record Sort Expert command from the Report menu.
    Use the Record Sort Expert to define how you want the records in your report to be sorted for printing. You can add and remove a sort field and define the sort direction (ascending or descending) for the data in your report.
    In my version Record Sort appears as a   A over a Z with Arrows pointing from A to Z, and Z to A.  It is next to group expert, which looks like a mountain with an arrow pointing up.  Both are on the "Expert" tool bar.

  • Need to fix the width of a column in interactive report

    Hi,
    I have a column named 'Comment'. Its have a huge data due to which the lenght of that column in interactive report get increased. I need to fix the length to a desired value.
    I used following code in Region Footer:
    <style>
    table.apexir_WORKSHEET_DATA td[headers=COMMENTS] {
      _width: 300px;
      min-width: 50px;
      max-width: 300px }
    </style>
    Its solved the problem by fixing the width of the column but the column is not showing the full data now. It is hiding most of its part to fit it in that column.
    Please give some idea.
    Thanks,
    Chandru

    Hi,
    I believe you will want to add a height specification to allow for multiple lines.  And you may want/need to specifiy how you want lines to wrap.
    Add (for example):
      height: 60px; 
      white-space: nowrap; 
      word-wrap: break-word;
    There are defaults and several options for white-space and word-wrap.  You may want to look them up and give them a try for comparison.
    Howard

  • Add Extra Columns into Multi-Level Explode BOM (List Report)  - CS12

    Hi Experts,
    I wish to add extra columns into the list report generated from program RCS12001 (calling from t-code: CS12). The current layout will be AS-IS and the only way i wish is to add-in few new columns in the report.

    Hi
    declare select-options instead of parameters
    for converting a report to ALV
    create a field catalog.
    for this two option declare a itab with       
    fcat    TYPE slis_t_fieldcat_alv
    and pass the field name,descr etc to fcat and append the same.
    or create structur same as your itab and pass the same with FM
    'REUSE_ALV_FIELDCATALOG_MERGE'
    use either <b>reuse_alv_grid_display or reuse_alv_list_display</b> .
    and pass the itab.
    thanks
    Shiva

  • Adding extra column in FSG

    How can we add extra column beyond 20 in FSG report ?Is it possible through standard functionality ?
    Regards
    Jogendra

    >
    Doesn't it depend on the width of each column rather
    than # of columns? (afterall all those columns need
    to fit as per the paper size right?)
    Thanks,
    ChiruHi
    As per GL User Guide the limit is given for 20 columns and when we tried to add one more it poped up with a message stating the limitations.So,is there any other work around available?
    Thanks
    Jogendra

  • Sorting by date in columns cross tab report.

    Hi all,
    I am working on a cross tab report in BI Publisher in which columns are generated dynamically in a pivot table depicting months as Jan 09 , Feb 09.... but data type is char.When displayed in pdf, columns are generated sorted alphabetically.
    How can I have them sorted by date in final pdf?
    or
    How can I stop the columns being sorted in pivot table at template level?
    Thanks.
    Edited by: user9061488 on Jul 21, 2010 1:13 AM

    You need to get a extra column in the query just for sorting purpose, which will have month number in it or YYYYMMDD. format, so that , it can be used in only for sorting.
    with JAN 09, FEB 09 , we can do it, but it will be little complex

Maybe you are looking for

  • How do I load a picture from the clipboard (either Windows clipboard or Labview clipboard) into image data that can then be processed in Labview?

    I want to load a picture from the Windows clipboard (and if not possible, then from the Labview clipboard) into actual numerical image data so that it can be processed in lab view. When I'm at the main screen where I can add controls, I see a section

  • Spry validation select widget problem

    Dreamweaver CS3 Im using spry validation for my form but the two spry validation select widgets I am using are not working. When I test them I keep getting errors that nothing has been selected when something has in fact been selected. I've used spry

  • How to edit approval document

    Dear Expert, My PO content X item with Descrpition(part number) abc1 now after approval we cant edit the same document. But GOOD PO is lie X item but different Description(part number) that is  abc2 rest of thing remain same. how to put a editing whe

  • Nokia 5800 - Share Online

    I know its not a big problem, i am most probably being picky here and I have found a workaround using a program called pixelPipe but why when you go to the Share Online menu of the Nokia 5800 why is Facebook not in the list? - all I have on mine is o

  • Works fine, but only the backlight shows up--help!

    My ipod classic turns on, but it's just a white screen. I can still use it if I remember what order everything is in, and the sound is fine, but I can't see anything! I've tried resetting it and restarting it. Help!