How to print column wise istead of row wise

Hi,
please help on this..
i want to print coloumn wise Employee data instead of row wise.
Keeping Employee name constant i want to print month wise salary..
Like this..
Employee name|Jan-2010-Wages paid|Feb-2010-Wages paid
soon...
Plez help me..
Edited by: user651567 on Feb 28, 2010 5:30 AM

Please post CREATE TABLE and a few INSERT statements as well as your desired output and your database version.
Always put the tag before and after your examples to keep it formatted.
See the FAQ regarding tags: http://forums.oracle.com/forums/help.jspa (scroll a bit down).
You might want to search this forum first (search box is on right side of screen), since your question has been asked and explained before.
Also, regarding string aggregation. see this link explaining various techniques (depending on database version):
http://www.oracle-base.com/articles/misc/StringAggregationTechniques.php                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Similar Messages

  • How to print column wise records

    Hi,
    I am very sorry.
    Actually i have searched many pages but i didn't find my solution.
    plez any body halp me out from this problem..
    Actually my table structure is this..
    Employe_payroll:-
    Empid|Salary|Month|Year
    So record stores in row wise in each month salary processing..
    so i can easly get these each month records in row wise.
    but i need to get these records like this.
    Empid should be constant and it will print each month records in column wise..
    plez kindely help me..

    just a concept. You may need to fine tune the query as per your columns
    SELECT          empid,
                    SUM(jan) "jan", SUM(feb) "feb", SUM(mar) "mar"
    FROM
    (SELECT   empid,
            DECODE(month,'01',sal,0) jan,
            DECODE(month,'02',sal,0) feb,
            DECODE(month,'03',sal,0) mar
      FROM    emp
    GROUP BY   empid;Edited by: hard_stone on Mar 1, 2010 12:13 PM

  • How to print Column Labels on each print page of an ALV report

    Hi,
    I have an ALV report which is of 10 print pages.
    I need to print Column Labels on each print page.
    How it is possible.
    Plz write the solution
    Narendra

    Hi Narendra
    try this code.
    reward pts if help.
    Deepanker.
    *& Report  ZDEMO_ALVGRID_EDIT                                          *
    *& Example of a simple ALV Grid Report                                 *
    *& The basic ALV grid, Enhanced to display specific fields as          *
    *& editable depending on field value                                   *
    REPORT  ZDEMO_ALVGRID_EDIT                 .
    TABLES:     ekko.
    TYPE-POOLS: slis.                                 "ALV Declarations
    *Data Declaration
    TYPES: BEGIN OF t_ekko,
      ebeln TYPE ekpo-ebeln,
      ebelp TYPE ekpo-ebelp,
      statu TYPE ekpo-statu,
      aedat TYPE ekpo-aedat,
      matnr TYPE ekpo-matnr,
      menge TYPE ekpo-menge,
      meins TYPE ekpo-meins,
      netpr TYPE ekpo-netpr,
      peinh TYPE ekpo-peinh,
      field_style  TYPE lvc_t_styl, "FOR DISABLE
    END OF t_ekko.
    DATA: it_ekko TYPE STANDARD TABLE OF t_ekko INITIAL SIZE 0,
          wa_ekko TYPE t_ekko.
    *ALV data declarations
    DATA: fieldcatalog TYPE slis_t_fieldcat_alv WITH HEADER LINE.
    DATA: it_fieldcat TYPE lvc_t_fcat,     "slis_t_fieldcat_alv WITH HEADER LINE,
          wa_fieldcat TYPE lvc_s_fcat,
          gd_tab_group TYPE slis_t_sp_group_alv,
          gd_layout    TYPE lvc_s_layo,     "slis_layout_alv,
          gd_repid     LIKE sy-repid.
    *Start-of-selection.
    START-OF-SELECTION.
      PERFORM data_retrieval.
      PERFORM set_specific_field_attributes.
      PERFORM build_fieldcatalog.
      PERFORM build_layout.
      PERFORM display_alv_report.
    *&      Form  BUILD_FIELDCATALOG
          Build Fieldcatalog for ALV Report
    FORM build_fieldcatalog.
      wa_fieldcat-fieldname   = 'EBELN'.
      wa_fieldcat-scrtext_m   = 'Purchase Order'.
      wa_fieldcat-col_pos     = 0.
      wa_fieldcat-outputlen   = 10.
      wa_fieldcat-emphasize   = 'X'.
      wa_fieldcat-key         = 'X'.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR  wa_fieldcat.
      wa_fieldcat-fieldname   = 'EBELP'.
      wa_fieldcat-scrtext_m   = 'PO Item'.
      wa_fieldcat-col_pos     = 1.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR  wa_fieldcat.
      wa_fieldcat-fieldname   = 'STATU'.
      wa_fieldcat-scrtext_m   = 'Status'.
      wa_fieldcat-col_pos     = 2.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR  wa_fieldcat.
      wa_fieldcat-fieldname   = 'AEDAT'.
      wa_fieldcat-scrtext_m   = 'Item change date'.
      wa_fieldcat-col_pos     = 3.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR  wa_fieldcat.
      wa_fieldcat-fieldname   = 'MATNR'.
      wa_fieldcat-scrtext_m   = 'Material Number'.
      wa_fieldcat-col_pos     = 4.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR  wa_fieldcat.
      wa_fieldcat-fieldname   = 'MENGE'.
      wa_fieldcat-scrtext_m   = 'PO quantity'.
      wa_fieldcat-col_pos     = 5.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR  wa_fieldcat.
      wa_fieldcat-fieldname   = 'MEINS'.
      wa_fieldcat-scrtext_m   = 'Order Unit'.
      wa_fieldcat-col_pos     = 6.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR  wa_fieldcat.
      wa_fieldcat-fieldname   = 'NETPR'.
      wa_fieldcat-scrtext_m   = 'Net Price'.
      wa_fieldcat-edit        = 'X'. "sets whole column to be editable
      wa_fieldcat-col_pos     = 7.
      wa_fieldcat-outputlen   = 15.
      wa_fieldcat-datatype     = 'CURR'.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR  wa_fieldcat.
      wa_fieldcat-fieldname   = 'PEINH'.
      wa_fieldcat-scrtext_m   = 'Price Unit'.
      wa_fieldcat-col_pos     = 8.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR  wa_fieldcat.
    ENDFORM.                    " BUILD_FIELDCATALOG
    *&      Form  BUILD_LAYOUT
          Build layout for ALV grid report
    FORM build_layout.
    Set layout field for field attributes(i.e. input/output)
      gd_layout-stylefname = 'FIELD_STYLE'.
      gd_layout-zebra             = 'X'.
    ENDFORM.                    " BUILD_LAYOUT
    *&      Form  DISPLAY_ALV_REPORT
          Display report using ALV grid
    FORM display_alv_report.
      gd_repid = sy-repid.
    call function 'REUSE_ALV_GRID_DISPLAY'
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY_LVC'
           EXPORTING
                i_callback_program      = gd_repid
               i_callback_user_command = 'USER_COMMAND'
                is_layout_lvc               = gd_layout
                it_fieldcat_lvc             = it_fieldcat
                i_save                  = 'X'
           TABLES
                t_outtab                = it_ekko
           EXCEPTIONS
                program_error           = 1
                OTHERS                  = 2.
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    " DISPLAY_ALV_REPORT
    *&      Form  DATA_RETRIEVAL
          Retrieve data form EKPO table and populate itab it_ekko
    FORM data_retrieval.
      SELECT ebeln ebelp statu aedat matnr menge meins netpr peinh
       UP TO 10 ROWS
        FROM ekpo
        INTO  CORRESPONDING FIELDS OF TABLE it_ekko.
    ENDFORM.                    " DATA_RETRIEVAL
    *&      Form  set_specific_field_attributes
          populate FIELD_STYLE table with specific field attributes
    form set_specific_field_attributes .
      DATA ls_stylerow TYPE lvc_s_styl .
      DATA lt_styletab TYPE lvc_t_styl .
    Populate style variable (FIELD_STYLE) with style properties
    The NETPR field/column has been set to editable in the fieldcatalog...
    The following code sets it to be disabled(display only) if 'NETPR'
    is gt than 10.
      LOOP AT it_ekko INTO wa_ekko.
        IF wa_ekko-netpr GT 10.
          ls_stylerow-fieldname = 'NETPR' .
          ls_stylerow-style = cl_gui_alv_grid=>mc_style_disabled.
                                                 "set field to disabled
          APPEND ls_stylerow  TO wa_ekko-field_style.
          MODIFY it_ekko FROM wa_ekko.
        ENDIF.
      ENDLOOP.
    endform.                    " set_specific_field_attributes
    pls reward pts is help,

  • How To Concatenate Column Values from Multiple Rows into a Single Column?

    How do I create a SQL query that will concatenate column values from multiple rows into a single column?
    Last First Code
    Lesand Danny 1
    Lesand Danny 2
    Lesand Danny 3
    Benedi Eric 7
    Benedi Eric 14
    Result should look like:
    Last First Codes
    Lesand Danny 1,2,3
    Benedi Eric 7,14
    Thanks,
    David Johnson

    Starting with Oracle 9i
    select last, first, substr(max(sys_connect_by_path(code,',')),2) codes
    from
    (select last, first, code, row_number() over(partition by last, first order by code) rn
    from a)
    connect by last = prior last and first = prior first and prior rn = rn -1
    start with rn = 1
    group by last, first
    LAST       FIRST      CODES                                                                                                                                                                                                  
    Lesand         Danny          1,2,3
    Benedi         Eric           7,14Regards
    Dmytro

  • How to print one record in differnt row in ALVGrid

    Hi,
    I have request in ALV report development.
    Ex: i have a row in that 10 field. so i want to print 5 fields in one row, 3 fields in one row and 2 fields 3 row.. like that it shold print all the records.
    Please suggest me, what is the logic ALV Grid.
    thanks and records,
    JP reddy.

    Hi,
    Herewith i am  sending the sample code for the report.
    *& Report  YMS_SUBHEADINGALV2                                          *
    REPORT  YMS_SUBHEADINGALV2.
    TYPE-POOLS : SLIS.
    TYPES : BEGIN OF YVBRK_LIST,
    VBELN LIKE VBRK-VBELN,
    FKART LIKE VBRK-FKART,
    BELNR LIKE VBRK-BELNR,
    END OF YVBRK_LIST.
    TYPES : BEGIN OF YVBRP_LIST,
    VBELN LIKE VBRP-VBELN,
    POSNR LIKE VBRP-POSNR,
    NETWR LIKE VBRP-NETWR,
    END OF YVBRP_LIST.
    DATA: I_VBRK TYPE STANDARD TABLE OF YVBRK_LIST
    INITIAL SIZE 0 WITH HEADER LINE.
    DATA: I_VBRP TYPE STANDARD TABLE OF YVBRP_LIST
    INITIAL SIZE 0 WITH HEADER LINE.
    DATA: KEY_INFO TYPE SLIS_KEYINFO_ALV,
    REPORT_ID LIKE SY-REPID,
    TABLE_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV WITH HEADER LINE,
    GT_EVENTS TYPE SLIS_T_EVENT,
    GT_SORT TYPE SLIS_T_SORTINFO_ALV WITH HEADER LINE,
    GS_LAYOUT TYPE SLIS_LAYOUT_ALV,
    GT_LIST_TOP_OF_PAGE TYPE SLIS_T_LISTHEADER,
    G_TOP_OF_PAGE TYPE SLIS_FORMNAME VALUE 'TOP_OF_PAGE',
    G_TOP_OF_LIST TYPE SLIS_FORMNAME VALUE 'TOP_OF_LIST'.
    INITIALIZATION.
    REPORT_ID = SY-REPID.
    KEY_INFO-HEADER01 = 'VBELN'.
    KEY_INFO-ITEM01 = 'VBELN'.
    KEY_INFO-HEADER02 = SPACE.
    KEY_INFO-ITEM02 = 'NETWR'.
    GS_LAYOUT-GROUP_CHANGE_EDIT = 'X'.
    GT_SORT-FIELDNAME = 'VBELN'.
    GT_SORT-TABNAME = '1'.
    GT_SORT-SPOS = 1.
    GT_SORT-UP = 'X'.
    GT_SORT-SUBTOT = 'X'.
    GT_SORT-GROUP = '*'.
    APPEND GT_SORT.
    GT_SORT-FIELDNAME = 'POSNR'.
    GT_SORT-TABNAME = '2'.
    GT_SORT-SPOS = 2.
    GT_SORT-UP = 'X'.
    GT_SORT-SUBTOT = 'X'.
    GT_SORT-GROUP = ''.
    APPEND GT_SORT.
    TABLE_FIELDCAT-FIELDNAME = 'VBELN'.
    TABLE_FIELDCAT-seltext_m = 'Sales Document'.
    TABLE_FIELDCAT-TABNAME = '1'.
    TABLE_FIELDCAT-COL_POS = '1'.
    TABLE_FIELDCAT-OUTPUTLEN = 17.
    TABLE_FIELDCAT-DO_SUM = ' '.
    APPEND TABLE_FIELDCAT.
    TABLE_FIELDCAT-FIELDNAME = 'POSNR'.
    TABLE_FIELDCAT-seltext_m = 'Sales Document Item'.
    TABLE_FIELDCAT-TABNAME = '2'.
    TABLE_FIELDCAT-COL_POS = '1'.
    TABLE_FIELDCAT-OUTPUTLEN = 14.
    TABLE_FIELDCAT-DO_SUM = ' '.
    APPEND TABLE_FIELDCAT.
    TABLE_FIELDCAT-FIELDNAME = 'NETWR'.
    TABLE_FIELDCAT-seltext_m = 'Net value'.
    TABLE_FIELDCAT-TABNAME = '2'.
    TABLE_FIELDCAT-COL_POS = '2'.
    TABLE_FIELDCAT-OUTPUTLEN = 15.
    TABLE_FIELDCAT-DO_SUM = 'X'.
    APPEND TABLE_FIELDCAT.
    PERFORM EVENTTAB_BUILD USING GT_EVENTS[].
    START-OF-SELECTION.
    SELECT VBELN
    FKART
    BELNR
    INTO CORRESPONDING FIELDS OF TABLE I_VBRK
    FROM VBRK
    WHERE VBELN > '0090000121' AND VBELN < '0090000135'.
    SELECT VBELN
    POSNR
    NETWR
    INTO CORRESPONDING FIELDS OF TABLE I_VBRP
    FROM VBRP
    FOR ALL ENTRIES IN I_VBRK
    WHERE VBELN = I_VBRK-VBELN.
    PERFORM WRITE_REPORT.
    *& Form EVENTTAB_BUILD
    text
    -->RT_EVENTS text
    FORM EVENTTAB_BUILD USING RT_EVENTS TYPE SLIS_T_EVENT.
    "Registration of events to happen during list display
    DATA: LS_EVENT TYPE SLIS_ALV_EVENT.
    CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
    EXPORTING
    I_LIST_TYPE = 0
    IMPORTING
    ET_EVENTS = RT_EVENTS.
    READ TABLE RT_EVENTS WITH KEY NAME = SLIS_EV_TOP_OF_PAGE
    INTO LS_EVENT.
    IF SY-SUBRC = 0.
    MOVE G_TOP_OF_PAGE TO LS_EVENT-FORM.
    APPEND LS_EVENT TO RT_EVENTS.
    ENDIF.
    ENDFORM. "EVENTTAB_BUILD
    *& Form TOP_OF_PAGE
    text
    FORM TOP_OF_PAGE.
    DATA: LS_LINE TYPE SLIS_LISTHEADER.
    Header Data
    REFRESH GT_LIST_TOP_OF_PAGE.
    CLEAR LS_LINE.
    LS_LINE-TYP = 'H'.
    LS_LINE-INFO = 'Hierarchical Lists'.
    APPEND LS_LINE TO GT_LIST_TOP_OF_PAGE.
    CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
    EXPORTING
    IT_LIST_COMMENTARY = GT_LIST_TOP_OF_PAGE.
    ENDFORM. "TOP_OF_PAGE
    *& Form write_report
    text
    FORM WRITE_REPORT.
    CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY'
    EXPORTING
    I_CALLBACK_PROGRAM = REPORT_ID
    IS_LAYOUT = GS_LAYOUT
    IT_FIELDCAT = TABLE_FIELDCAT[]
    IT_SORT = GT_SORT[]
    IT_EVENTS = GT_EVENTS[]
    I_TABNAME_HEADER = '1'
    I_TABNAME_ITEM = '2'
    I_STRUCTURE_NAME_HEADER = 'YVBRK_LIST'
    I_STRUCTURE_NAME_ITEM = 'YVBRP_LIST'
    IS_KEYINFO = KEY_INFO
    TABLES
    T_OUTTAB_HEADER = I_VBRK
    T_OUTTAB_ITEM = I_VBRP.
    ENDFORM. "write_report
    Thanks,
    Shankar

  • How to split column wise into separate flat files in ssis

    IN SSIS...
    1.---->I have a sales table country wise regions  like (india, usa, srilanka) ....
    india usa
    srilanka
    a b
    c
    d e
    f
    so i want output like in
    flat file1.txt has india               flat file2.txt has usa             flat file3.txt has srilanka
         a b
    c
         d e
    f
    2.----->i dont know how many regions in my table....dynamically split into separate flat files ....
     pls help me.....thank u

    I think what you can do is this
    1. Do a query based on UNPIVOT to get the data as rows instead of columns
    For that you can use a query like this
    IF OBJECT_ID('temp') IS NOT NULL DROP TABLE temp
    CREATE TABLE temp
    Country varchar(100),
    Val decimal(25,5)
    DECLARE @CountryList varchar(3000),@SQL varchar(max)
    SELECT @CountryList = STUFF((SELECT ',[' + Column_Name + ']' FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = '<SalesTableNameHere>' FOR XML PATH('')),1,1,'')
    SET @SQL= 'SELECT * FROM <SalesTableNameHere> t UNPIVOT (Val FOR Country IN (' + @CountryList + '))p'
    INSERT temp
    EXEC (@SQL)
    Once this is done you'll get data unpivoted to table
    Then you can use a execute sql task with query like above
    SELECT DISTINCT Country FROM Temp
    Use resultset option as full resultset and store the result to an object variable
    Then add a ForEach loop container with ADO enumerator and map to the object variable created above. Have variables inside loop to get inidvidual country values out.
    Inside loop place a data flow task. Use a variable to store source query , make EvaluateAsExpression true for it and set Expression as below
    "SELECT Val FROM Temp WHERE Country = " + @[User::LoopVariable]
    Where LoopVariable is variable created inside loop for getting iterated values
    Inside data flow task place a oledb source, choose option as  SQL command from variable and map to the above query variable.
    Link this to flat file destination create a flat file connection manager. Set a dynamic flat file connection using expression builder. Make it based on a variable and set variable to increment based on loop iteration
    The core logic looks similar to this
    http://visakhm.blogspot.ae/2013/09/exporting-sqlserver-data-to-multiple.html
    dynamic file naming can be seen here
    http://jahaines.blogspot.ae/2009/07/ssis-dynamically-naming-destination.html
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • Custom row-fetch and how to get column values from specific row of report

    Hi -- I have a case where a table's primary key has more than 3 columns. My report on the
    table has links that send the user to a single-row DML form, but of course the automatic
    fetch won't work because 1) I can't set more than 3 item values in the link and 2) the
    auto fetch only handles 2 PK columns.
    1)
    I have written a custom fetch (not sure it's the most elegant, see second question) that is working
    for 3 or few PK columns (it references the 1-3 item values set in the link), but when there are
    more than 3, I don't know how to get the remaining PK column values for the specific row that was
    selected in the report. How can I access that row's report column values? I'll be doing it from the
    form page, not the report page. (I think... unless you have another suggestion.)
    2)
    My custom fetch... I just worked something out on my own, having no idea how this is typically
    done. For each dependent item (database column) in the form, I have a source of PL/SQL
    function that queries the table for the column in question, using the primary key values. It works
    beautifully, though is just a touch slow on my prototype table, which has 21 columns. Is there
    a way to manually construct the fetch statement once for the whole form, and have APEX be smart
    about what items get what
    return values, so that I don't have to write PL/SQL for every item? Because my query data sources
    are sometimes in remote databases, I have to write manual fetch and dml anyway. Just would like
    to streamline the process.
    Thanks,
    Carol

    HI Andy -- Well, I'd love it if this worked, but I'm unsure how to implement it.
    It seems I can't put this process in the results page (the page w/ the link, that has multiple report rows), because the link for the row will completely bypass any after-submit processes, won't it? I've tried this in other conditions; I thought the link went directly to the linked-to page.
    And, from the test of your suggestion that I've tried, it's not working in the form that allows a single row edit. I tried putting this manually-created fetch into a before header process, and it seems to do nothing (even with a hard-coded PK value, just to test it out). In addition, I'm not sure how, from this page, the process could identify the correct PK values from the report page, unless it can know something about the row that was selected by clicking on the link. It could work if all the PK columns in my edit form could be set by the report link, but sometimes I have up to 5 pk columns.
    Maybe part of the problem is something to do with the source type I have for each of the form items. With my first manual fetch process, they were all pl/sql functions. Not sure what would be appropriate if I can somehow do this with a single (page level?) process.
    Maybe I'm making this too hard?
    Thanks,
    Carol

  • How to specify column span for a row in grid panel

    In a grid panel with 4 columns, how to set one of the rows to span all 4 columns?

    I don't think it's possible with the standard JSF component. There are no hooks to get it to emit a rowspan attribute on the <td> it will render for each cell. There is a hook to get it to add a styleclass, but that won't help with colspans and rowspans.
    -- Tor
    http://blogs.sun.com/tor

  • How to display Column data in one row

    Hello,
    I have one Employee with 4 effective date displayed in one column. Effective date is drived by Reason of : New Hire, Rehire, Transfer etc.
    I want to show the effective dates for one reason in one single row. For example a person was rehired 4 times it will show as
    1006555     6/12/2006     1/2/2007     6/11/2007     5/12/2008     12/29/2008     5/17/2010
    It's currntly showing as:
    AUDITEFFECTIVEDATE_3
    6/12/2006
    1/2/2007
    6/11/2007
    5/12/2008
    5/17/2010

    Well that's a little tougher... For a solution to work, you're going to need to find a way to differentiate between the the specific hiring events.  Without seeing what data is available, I'd say start looking at the use of running totals... or in this case a running count.
    Set it up to reset on EmployeeID and count each "event", incrimenting up with each instance.
    Then your formula would look more like this...
    IF {EventType} = "Rehire" AND {#RTotal1} = 1 THEN AUDITEFFECTIVEDATE_3
    IF {EventType} = "Exit" AND {#RTotal1} = 1 THEN AUDITEFFECTIVEDATE_3
    IF {EventType} = "Rehire" AND {#RTotal1} = 2 THEN AUDITEFFECTIVEDATE_3
    IF {EventType} = "Exit" AND {#RTotal1} = 2 THEN AUDITEFFECTIVEDATE_3
    IF {EventType} = "Rehire" AND {#RTotal1} = 3 THEN AUDITEFFECTIVEDATE_3
    IF {EventType} = "Exit" AND {#RTotal1} = 3 THEN AUDITEFFECTIVEDATE_3
    IF {EventType} = "Rehire" AND {#RTotal1} = 4 THEN AUDITEFFECTIVEDATE_3
    IF {EventType} = "Exit" AND {#RTotal1} = 4 THEN AUDITEFFECTIVEDATE_3
    This issue then becomes an issue of space on the report. You end up wasting 1/2 of your horizontal space trying to allot for one odd ball... You'll also get to re-work the report if the same employee goes for rounds 5, 6 or 7...
    HTH,
    Jason

  • How to print column's value on each page as a header in XML Publisher

    Hi,
    I have requirements like, there are some fields that I need to print on header level in RTF file. Output file should looks like below.
    LN-1) Company_Name     Tax ID-1     Tax ID-2     Report_Type     Page No: Year/001
    LN-2) Company_Address
    LN-3) MONTH-YEAR
    LN-4) Invoice ID     Invoice Date     Tax Code     Supplier Name     Amount
    Example:
    LN-1) Global Infra.     123     321     General Purchase     Page No: 2012/001
    LN-2) NewYork, USA
    LN-3) JANUARY-2012
    LN-4) Invoice ID     Invoice Date     Tax Code     Supplier Name     Amount
    3454 03-JAN-12 Tax-1 ABCD Corp. 100
    5678 14-JAN-12 Tax-2 Kant Brothers 200
    LN (Line Number)-1,2,3 should be at header level and needs to print on each page. LN-4 are fields of table which will return data. When year changes on Page No. field - page no. should restart from 1 and all records for a particular MONTH-YEAR should be grouped on month-year basis.                
    I have done page no. thing as if year change, page no. reset to 1 by using "Section Break" on first FOR loop. Later I applied second FOR loop to group data on MONTH-YEAR basis. Here I am getting all records for that particular month (e.g - JANUARY-2012) and MONTH-YEAR is printing on FIRST page. If records are more and lines are going into next page, then I am not getting MONTH-YEAR on second page. I am getting only first 2 lines (means LN-1 & LN-2) on second page at header level and records of that MONTH-YEAR but missing MONTH-YEAR value (JANUARY-2012) on second page. My requirement is to print first 3 lines on each page.
    Here Company_Name, Report_Type and MONTH-YEAR are dynamic columns which are holding run time values.
    I tried number of ways but didn't get success. Kindly help me to fix this issue and please let me know if you need more details to understand this issue.
    Kind Regards,
    Umakant

    Hi Umakant,
    Can you please forward me your template and sample XML data so that i can look into it and will try to fix it. My email id is [email protected]
    Thanks,
    Omkar Deshpande.

  • How to Show Column Headings on Top Row of CSV File?

    Hi,
    I need to generate a CSV but instead of having the column headers on the detail line, I need it on the top line of the file. 
    I tried putting the column headers into DetailA and the fields into DetailB and creating a suppress formula in DetailA that said:
    RecordNumber > 1;
    That worked when viewing but exporting the column row didn't come out at all. 
    Dropping the column headers anywhere else on the report results in them exported on the detail line. 
    Any suggestions? 
    I'm using Crystal 11.0.0.1282.
    Thanks,
    Brian

    Hi Graham,
    Thanks for the link to the note but I tried it and the registry settings didn't work. 
    I created the formula and grouping as described and added the keys into: 
    HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 11.0\Crystal Reports\Export\CSV\AreaExportOptions
    HKEY_CURRENT_USER\Software\Business Objects\Suite 11.0\Crystal Reports\Export\CSV\AreaExportOptions
    My subkey looks like:
    0 Default
    1 REG_DWORD
    Closed Crystal and even rebooted. 
    U2FSEPV.DLL is version 11.0.0.1282 which matches my version of Crystal. 
    Thanks,
    Brian

  • How to print the row  ,column,and particular cell in separate color

    how to print the row  ,column,and particular cell in separate color IN ALV GRID

    HI,
    Here you go good program links
    <a href="http://www.sapfans.com/forums/viewtopic.php?t=52107">How to Set Color to a Cell in AVL</a>
    <a href="http://www.sapdevelopment.co.uk/reporting/alv/alvgrid_color.htm">ALV Grid Coloring</a>
    Thanks
    Mahesh

  • How 2 Change of column wise o/p  to row wise output in ABAP?

    Hi all,
    I am getting the output in column wise as normally but how can I get the ouput in row wise.in ABAP.
    its urgent. can any one help me how to change the output layout?
    thanks in advance,
    Sakthi.C

    if it is normal report  .then
    go through the write  statents  . one of that is below 
    Loop at itab .
    write  : itab  .
    endloop.
    if it is  ALV  then you have to  define an internal table which are the fieldds  you  want palce in the  Row .
    so  that  
    data  c type  i value    '1'.
    loop at  itab .
    fieldcatalog-fieldname   = itab-field.
    fieldcatalog-col_pos     = c.
    append fieldcatalog to fieldcatalog.
    clear  fieldcatalog
    c = c + 1.
    endloop.
    so that  the Col_pos  will be increased  and the  Column data will be moved into Row .
    reward  points if it is usefull...
    Girish

  • 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.

  • How to print data in h:dataTable by column wise

    I've Arraylist holding of Item objects, in that again one more Arraylist containing Item parameters
    My problem is i want to display ItemParams side by side(column wise) not row by row(normal procedure)
    Table looks like
    ItemNo          ItemName     ItemDesc     Change
    234          Colgate     toothpaste     checkbox
    123          Pepsodent     toothpaste     checkbox
    In above table ItemName having different params
    colgate have 3params
    peopsodent have 2 params
    ItemParameters class(bean) containing fields of parameterValue(textBox in UI) and parameterDescription(textArea in UI)
    So the total ItemName column looks like
              ItemName
              Colgate                         
    parameterValue parameterDescription,parameterValue parameterDescription,parameterValue parameterDescription
              Pepsodent
    parameterValue parameterDescription,parameterValue parameterDescription
              Cibaca
    parameterValue parameterDescription,parameterValue parameterDescription,parameterValue parameterDescription,parameterValue parameterDescription
    Please help me
    Thanks in advance

    Hi,
    Try with this piece of code
    Declaration of local constants
      CONSTANTS :  lc_paart LIKE sy-paart VALUE 'X_65_132',  " Paper Format
                   lc_locl  TYPE sypdest VALUE 'LOCL'.       " Destination
        MOVE 'X' TO v_print.
    Setup the Print Parmaters
      CALL FUNCTION 'GET_PRINT_PARAMETERS'
        EXPORTING
          authority              = space
          immediately            = v_print
          new_list_id            = c_x
          no_dialog              = c_x
          user                   = sy-uname
        IMPORTING
          out_parameters         = v_print_parms
        EXCEPTIONS
          archive_info_not_found = 1
          invalid_print_params   = 2
          invalid_archive_params = 3
          OTHERS                 = 4.
      IF sy-subrc NE 0.
        CLEAR : v_print_parms.
      ENDIF.
    The printer destination has to be  set up
      IF v_print_parms-pdest = space.
        v_print_parms-pdest = lc_locl.
      ENDIF.
    Explicitly set line width, and output format so that
    the PDF conversion comes out OK
      v_print_parms-linsz = c_linsz.
      v_print_parms-paart = lc_paart.
    Regards,
    nagaraj

Maybe you are looking for

  • Div alignment in firefox

    Hi can anyone tell me why this page looks fine in ie and opera but in firefox thetimetable goes off to the right? It was working fine so not sure what I've done to it. http://www.aucklandbuskersfestival.co.nz/night.php thanks Karen

  • Global,intilization,input ,output parametrs to be assigned

    hi guys these is layout of my form to be added to existing smart form and fields to be added are below ,now can what should be added in global,intilization,input ,output parameters to be and in the  interface section and how should i create layout 1 

  • DAtapump Import/Export Exit without errors

    Hi, I have cloned a single instacne database into a RAC instance and now here is the problem that am facing. The EXPDP in the new RAC environment is getting exited without errors . See the error message below. $ expdp schemas=xxxxdumpfile=SAMP.dmp lo

  • Where do "merged clips" go by default

    I created a "merge clip" keyboard comand (normaly found in the "clip" menu bar) and I can't seem to find rhyme or reason behind where it sends my clips.  I am basically making a cut on the in and out point of the clip i want -  from video / audio I r

  • Develop Flash Movies in Flex ?

    Hi there, is it possible to develop 'classic' Flash movies just with Flex?