Display Periods in Column headers for CO-PA report

SDNers
I'm trying to create a CO-PA Report with Column headers that are required to be showing Current Period, last period etc until 6 months back.
I've tried to put in &0FP .. but that only display the Current period/year...
How do i get the previous periods displayed in the column headers??
thanks

hi Sruthi....
In standard SAP, the only reports which are available are line item reports - KE24 (Actuals) and KE25 (Plan). However, using Report writer / painter we can create reports as per Business requirements.
Once we create reports as required, we can execute the same using transaction code KE30 (Execute report).
You can create / change / display COPA reports using transaction codes KE31 / KE32 / KE33 respectively.
Once again create the new Report and then execute it.....
http://help.sap.com/saphelp_erp2005/helpdata/en/7a/4c48c64a0111d1894c0000e829fbbd/frameset.htm
Regards
Ranjit

Similar Messages

  • Displaying dates as column headers for BEx Query

    Hi all,
    I have to display dates in sequence as descriptions for 15 columns based on the keyed in date in Bex Query Analyser. I'm able to display date as column heading for one column using text variable with replacement path.I could not able to increment date for other descriptions.Could you please help me to solve this issue.
    Ex: Input Date 05/09/2007 then in the out put column headers should be 0509 0609    0709   ............ 1909
    These are only column headers, values for the columns are quantities calculated using formulas.
    It is urgent.
    Thanks in advance.
    Regards,
    Mandadi.

    hi mandadi,
    if u want dates as headers only then u should use a text variable .
    as a rule u can not set off set for text variable so u create restricted key figure with date restricted and set off set.
    now u use this rkf to populate the text variable using replacement path.
    text variable can use replacement path for replacing from any variable and characteristics.
    bye

  • Set headers for drill-down reports.

    Hi!!!
    The problem we have by now is when printing a report, selected characteristis are showed in header as "multiple values" instead of showing the real values that user have choose.
    Does anybody knows how to set headers for drill-down reports in order to see selected characteristics?
    Thanks in advance...
    Adela Cambiasso.

    Sorry, me again...
    I have found yet they way to show in the header the report parameters, I mean, the selection criterias that user used when execute the report... I was able to show selected characteristics inside de report but not the selection criteria...
    Do you know what I have lost? or what to use for this?
    Thanks again.
    Adela.

  • Freeze the column headers for htmlb:tableView using CSS

    Hi
    I am using a <htmlb:tableView > in BSP to display data.
    i want to freeze the column headers so that they dont scroll when table data is scrolled.
    Is it possible ?
    Regards
    Rajendra

    Hi Rajendra,
    Have a look at the links below:
    [Freeze tableview header-I|https://forums.sdn.sap.com/click.jspa?searchID=24813847&messageID=3088768]
    [Freeze tableview header-II|Freeze table header in HTMLB Tableview]
    [Freeze Columns of tableview|https://forums.sdn.sap.com/click.jspa?searchID=24813847&messageID=3517748]
    Search the forum and you will find information on this.
    Regards,
    Anubhav

  • Variable/field value no displayed in query column headers

    Hello to all,
    I have a concern on the column entries for variable values not being displayed. 
    Example.  The column will display &Month& Instead of displaying 08 (August).
    Please help me diagnose on the issue.
    Thanks.
    -Patvin

    patvin,
    unfortunately no access to messenger:(
    probably it is because you are in display and not in change mode.
    Of course, you should only change to 'Change' mode if you are in development system. changing in production is not the best idea.
    so first try to set the view mode to "Change". the sixth Icon from right (glasses / pencil)

  • Duplicate column headers for each of the rows

    Header 1
    Header 2
    Header 3
    row1 data1
    row1 data2
    row1 data3
    Header 1
    Header 2
    Header 3
    row2 data1
    row2 data2
    row2 data3
    Header 1
    Header 2
    Header 3
    row3 data1
    row3 data2
    row3 data3
    Hi folks,
    I want to know how to implement the table/grid format likes above described formation.
    Actually I want to generate each column header for each row data in one table/grid.
    Thanks for your help.

    I meant to delete this thread, but I do not know how to. Sorry.

  • Conditional display of a column link in sql updateable report

    Hi There,
    I've attempted to look thru the Apex forum about using an Authorization Scheme in an SQL Query (Updateble Report) where I can conditionaly enable (display) a column link based upon a value in the report but alas I cannot find a solution.
    What I have is a SQL Query (updateable report). What I want to achieve is dependant on the value of one of the columns in the report query conditionaly display a column link for the row being displayed. For example if the report dispayed the data from emp, dept only display a column link for rows where the deptno = 100 otherwise don't display the column link. Is this possible to achieve?
    I've tried to define in the authorizatuon scheme in the where clause of an SQL Statement to reference the report column as #deptno# but this doesn't work.
    TIA

    Boketi,
    I was unsuccessful yesterday in demoing what I believe you want to achieve. It appears that an authorization scheme will not process row by row within a standard report so as to allow a conditional display of a link or any other column attribute. You can conditionally display a column by the use of a page item but this method appears to be all or nothing.
    I was successful when I coded the return of the empno via a Case statement but the Link still appeared even though there was no value (empno) to link with. So essence the link to you to a blank for with no PK to read the database by.
    SELECT CASE WHEN deptno = 10 THEN empno ELSE NULL END empno,
           ename,
           job,
           hiredate,
           sal,
           comm,
           deptno,
           phone_nbr
    FROM   empJeff

  • Mulitple Line column headers for a column in ALV using Web Dynpro for ABAP

    Hi WD4A Gurus,
           I have requirement to display the header name in multiple lines for a single column using ALV. How to achieve this, do I need to do some custom code? Please help me with sample code.
    Example:
    existing column name :
                Name   |  Date (mm/dd/yyyy) | Amount
    required column name:
                Name   |    Date               | Amount
    (mm/dd/yyyy)
    Thanks
    Ketan

    Displaying header in multiple lines is not possible in alv
    Regards
    Tamil

  • Custom column headers for JTable in JScrollPane

    I want a heirachical header structure on a scrolled JTable. I've successfully generated a second JTableHeader which moves it's tabs with the normal header. If I add the secondary JTableHeader into the container above the whole scroll pane it's does almost what I want, but it's not quite correctly aligned.
    What I want to do is to put both the automaticaly generated JTableHeader and my extra one into the JScrollPane's column header area.
    I wrapped the two headers together into a vertical Box and tried calling the setColumnHeaderView() on the scrollpane, and then creating a JViewport and using setColumnHeader(). Niether seems to have any effect. The basic table header obstinately remains unaltered.
    There seems to be some special processing going on when JTable and JScrollPane get together, but I can't understand how replacing the column header viewport can be ineffective.

    Thanks. I think I've just cracked it more thoroughly, though. [I found this bug report|http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5032464]. This has guided me to a work-around that seems stable so far. I'm using an extended JTable class anyway (mostly to do with table header width behaviour). I've added a field to my own table class and the following override:
    The trick is to work out where the dirty deed is done, having search all the scroll pane related classes for special casing JTable.
    public class STable extends JTable {
        @Override
        protected void configureEnclosingScrollPane() {
            if (secondaryHeader == null) {
                super.configureEnclosingScrollPane();
            } else {
                Container p = getParent();
                if (p instanceof JViewport) {
                    Container gp = p.getParent();
                    if (gp instanceof JScrollPane) {
                        JScrollPane scrollPane = (JScrollPane) gp;
                        // Make certain we are the viewPort's view and not, for
                        // example, the rowHeaderView of the scrollPane -
                        // an implementor of fixed columns might do this.
                        JViewport viewport = scrollPane.getViewport();
                        if (viewport == null || viewport.getView() != this) {
                            return;
                        JPanel hdrs = new JPanel();
                        hdrs.setLayout(new BorderLayout());
                        hdrs.add(secondaryHeader.getHeader(), BorderLayout.NORTH);
                        hdrs.add(getTableHeader(), BorderLayout.SOUTH);
                        scrollPane.setColumnHeaderView(hdrs);
                        //  scrollPane.getViewport().setBackingStoreEnabled(true);
                        Border border = scrollPane.getBorder();
                        if (border == null || border instanceof UIResource) {
                            Border scrollPaneBorder =
                                    UIManager.getBorder("Table.scrollPaneBorder");
                            if (scrollPaneBorder != null) {
                                scrollPane.setBorder(scrollPaneBorder);
        }I'm hopeful that will prevent the column header view from being overwritten by later layout operations.

  • JTable displays only default column headers

    Hello,
    after a tblModel.setDataVector(dataArray, (Object[])headers) I check the header with a System.out.println(tblModel.getColumnName(0)) and it's correct. But only the capitals A, B, C ... are displayed as headers. I am using a DefaultTableModel. Any associations?
    Regards
    Joerg

    Some code will better demonstrate the problem.
    Without a TableColumnModel in the constructor and with table.setAutoCreateColumnsFromModel(true); (default) the headers are painted, but then the CellRenderer won't work.
    With a TableColumnModel and table.setAutoCreateColumnsFromModel(false) it's better.
    It seems that if you want to use a renderer you have to supply a TableColumnModel as well.
    As the TableColumnModel is in fact of no interest to me in this case, I only coded what I thought to be the minimum necessary. But now it has become so little that the headers are not dispayed at all. What is missing?
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.table.*;
    public class TTest extends JFrame
    { JTable table = null;
      public TTest()
      { setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        setSize(300, 300);
        Container cp = getContentPane();
        int countOfColumns=3;
        String[] headers = {"One","Two","Three"};
        Object[][] dataArray= {{"R1-C1","R1-C2","R1-C3"},
               {"R2-C1","R2-C2","R2-C3"},
               {"R3-C1","R3-C2","R3-C3"}};
        DefaultTableModel tblModel = new DefaultTableModel(20, countOfColumns)
        { // Make read-only
          public boolean isCellEditable(int x, int y)
          { return false;
        createTable(tblModel, 2);
        JScrollPane scrollPane = new JScrollPane(table);
        cp.add(scrollPane, BorderLayout.CENTER);
        System.out.println(tblModel.getColumnName(0));
        tblModel.setDataVector(dataArray, (Object[])headers);
        System.out.println(tblModel.getColumnName(0));
        setVisible(true);
      public void createTable(DefaultTableModel tblModel, int twoColumn)
        DefaultTableColumnModel tblColModel= new DefaultTableColumnModel();
        for (int i=0; i<tblModel.getColumnCount(); i++)
        { tblColModel.addColumn(new TableColumn(i));
        table= new JTable(tblModel, tblColModel);
    //    table= new JTable(tblModel);
    //  Without the following line the renderer won't work; but now the table headers
    //  are no more created automatically.
        table.setAutoCreateColumnsFromModel(false);
        table.getColumnModel().getColumn(twoColumn-1).setCellRenderer
                                  (new RightJustCellRenderer());
      class RightJustCellRenderer extends DefaultTableCellRenderer
      { public RightJustCellRenderer()
        { setHorizontalAlignment(SwingConstants.RIGHT);
      public static void main(String args[])
      { new TTest();
    }

  • How do I input column headers in an Excel report with variable width columns?

    Hi:
    I have read this question before but I can´t open the link, when I try to download the solution I get the following : HTTP Status 404 The requested resource is not available.
    Can anyone help me with the solution ? I just want to put a header for each column (thermocouple 1, thermocouple 2, anemometer , etc).
    In advance, thanks for all your help !
    Solved!
    Go to Solution.

    Perhaps you need to take some tutorials.
    LabVIEW Introduction Course - Three Hours
    LabVIEW Introduction Course - Six Hours
    Attachments:
    Example_VI_BD.png ‏11 KB

  • Indenting Column Headings for a Vertical Report - Carl, can you help pls.

    Hi,
    For a SQL Query region, under Report Attributes, is it possible to indent certain Column Headings somehow in order to achieve the following result:
    Test1 : A
    --------Sub Test1a : A1
    Test2 : B
    Test3 : C
    --------Sub Test3a : C1
    --------Sub Test3b : C2
    Test4 : D
    etc...
    So based on the above, I would like to be able to indent 'Sub Test1a', 'Sub Test3a' and 'Sub Test3b'. I have tried ' '  as well as <pre> Sub Test1a</pre> but unfortunately no go.
    Can anyone pls assist.
    Thanks.
    Tony.
    Message was edited by:
    tfatouro

    Try setting the column heading alignment to "Left" and then
    Test 1 : A&lt;BR/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Sub Test 1a : A1
    Message was edited by:
    amaline

  • Repeating headers for tablix having nongrouped data.

    Hi All,
    I have one table that contains detail data and header data.
    But for detail data I need not require the grouped data so I have deleted the row group from by using advanced mode.
    When ever I am generating report it gives me 4 pages of report.
    I have used "RepeatOnNewPage"property to show the header data in each page but it is not working.
    This "RepeatOnNewPage" property is working for table having grouped data.
    Also I found one issue in Line report item is that same thing is not working for Line report item when I have select the "repeathWith" property for tablix.
    Both the above issues are working for Tablix having grouped data. But in my report requirement I want the same for Non Grouped data.
    Please help me how to sort out this issue.
    Thanks and Regards,
    Aswini Rout

    Hi Aswini,
    According to your description, you have a report with only detail rows. Now you have some issues on setting repeat header for your detail rows. Right?
    In Reporting Service, even you don’t have any group, you will still have detail rows. If you delete this Details, the detail rows will become a single static row so that your report will show you only show you a single record when rendering. If you still
    keep this group, your just need go to Advanced Mode of your Row and Column Groups, select the static member (this is the header row), then go to Properties pane, set RepeatOnNewPage true. Now it supposed to show you repeated header on each page.
    Also in Line report, if you set the line repeat with a tablix, the line will always repeat that tablix until all records in this tablix are rendered. So we are still finding out the reason that makes your repeat unavailable. If possible could you post the records
    in your tablix or any other detail information which can help us tested your case in our local environment. Thank you.
    Reference:
    Display Row and Column Headers on Multiple Pages (Report Builder and SSRS)
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou (Pactera)
     

  • Getting column headers dynamically from input parameters in alv.

    Hi all,
    I am new to abap, can any one help me in getting column header dynamically through parameters in alv ?
    Eg:-
    i Have parametars for days field ,
    user inputs days as 10 20 30 40.
    Now I want to display in alv column headers as:-
    1st column-  'FROM 0 TO 10'
    2nd column- 'FROM 10 TO 20 '
    3rd column- 'FROM 20 TO 30'
    4th column- 'FROM 30 TO 40'
    5th column- 'FROM 40 TO 50'
    6th column- 'FROM 50 TO 60'
    thanks in advance........

    Check this code snippet:
    Step 1: Create a dynamic table based on the input in the selection screen.
    TYPE-POOLS: abap.
    DATA:
      lr_structdescr    TYPE REF TO cl_abap_structdescr,
      lr_tabledescr     TYPE REF TO cl_abap_tabledescr,
      lr_datadescr      TYPE REF TO cl_abap_datadescr,
      lt_components     TYPE abap_component_tab,
      ls_component      TYPE abap_componentdescr,
      lr_wa             TYPE REF TO data,
      lr_tab            TYPE REF TO data.
    DATA: lv_index TYPE sy-index.
    DATA: lv_index_num(5) TYPE n.
    DATA: lv_index_char(5) TYPE c,
          lv_iter TYPE i,
          lv_low TYPE numc2 VALUE 0,
          lv_high TYPE numc2 VALUE 10.
    DATA: lr_alv TYPE REF TO cl_salv_table.
    FIELD-SYMBOLS: <fs_field> TYPE ANY.
    FIELD-SYMBOLS: <fs_wa> TYPE ANY.
    FIELD-SYMBOLS: <fs_tab> TYPE table.
    PARAMETERS p_numcol(2) TYPE n DEFAULT 50.
    START-OF-SELECTION.
      lv_iter = p_numcol DIV 10.
      DO lv_iter TIMES.
        IF sy-index > 1.
          lv_low = lv_low + 10.
          lv_high = lv_high + 10.
        ENDIF.
        lv_index_num = sy-index.
        lv_index_char = lv_index_num.
        CONCATENATE 'FROM' lv_low 'TO' lv_high INTO ls_component-name
        SEPARATED BY '_'.
        ls_component-type =
        cl_abap_elemdescr=>get_p( p_length = 10 p_decimals = 2 ).
        INSERT ls_component INTO TABLE lt_components.
      ENDDO.
    * get structure descriptor -> lr_STRUCTDESCR
      lr_structdescr
      = cl_abap_structdescr=>create( p_components = lt_components
                                     p_strict = space ).
    * create work area of structure lr_STRUCTDESCR -> lr_WA
      CREATE DATA lr_wa TYPE HANDLE lr_structdescr.
      ASSIGN lr_wa->* TO <fs_wa>.
      lr_datadescr = lr_structdescr.
      lr_tabledescr
      = cl_abap_tabledescr=>create( lr_datadescr ).
    * Create dynamic internal table
      CREATE DATA lr_tab TYPE HANDLE lr_tabledescr.
      ASSIGN lr_tab->* TO <fs_tab>.
    * Populate the internal table
      DO 10 TIMES.
        DO.
          lv_index = sy-index.
          ASSIGN COMPONENT  lv_index  OF STRUCTURE <fs_wa> TO <fs_field>.
          IF sy-subrc <> 0.
            EXIT.
          ENDIF.
          <fs_field> = sy-index.
        ENDDO.
        APPEND <fs_wa> TO <fs_tab>.
      ENDDO.

  • Fixed jtable column headers

    Does anyone have an example of fixing column headers for a JTable. Basically I want the column headers to be displayed when scrolling down the table.

    check the examples provided in "How to use table" -
    "http://java.sun.com/docs/books/tutorial/uiswing/components/table.html"
    The tables have fixed column header when u scroll down..

Maybe you are looking for

  • Use of multiple property nodes for GUI manipulation

    I have a LabVIEW 6.0.2 application where I'm using 14 different property nodes in the main loop. All of these have to do with GUI - hiding buttons when "X" isn't pressed, disabling and greying out controls if <0, popping one button on top of another

  • Using Calculation Action in BLS Transaction

    I'm trying to pass the values of two tags in a tag query into a calculation action in a BLS transaction and add the two values together.  I'm linking the action result property to the expression that does the calculation.  When I click on the 'Evalua

  • Serial number for activation

    how i can have my serial number after regolar payment with my credit card

  • Portal Favoriate doesn't display items

    Hi. I used "Add to Portal Favoriate" function for adding iview into Portal Favoriate but Portal Favoriate displayed blank. So, I pressed "Open in new windows" and I got new windows with iview entry. Why Portal Favoriate doesn't display iview entry in

  • Many messages slow because of flat directory structure

    I would like a way to tell mail to split up a folder into many sub-folders in the Library/Mail/ACCT/foo.mbox/Messages folder. If you have many thousands of messages the sheer volume of files in a single folder can really slow down Mail due to directo