Hide a column in Abap List

Hi,
I build a query in sq01.
This is a statistic report, with an integer field named "AGE" which I marked to show the average too.
I want to show the output in ABAP List (not ALV).
The problem is that I want to show ONLY the average column (of the AGE), WITHOUT the AGE column.
Can I hide this column in ABAP List?
Thanks
Itzhak.

Hi Itzhak,
well I don't know what you mean by hiding. Once you created a output list just with ABAP write command, there is no way to 'hide' a column. But you can add a parameter or any other criteria to the program and do the write statement for that field depending on this criteria.
Hope this helps
regards
Siggi

Similar Messages

  • How to hide ,unhide columns  in ALV List

    Hi all,
    How to hide ,unhide columns  in ALV List..
    Plz guide me.
    Thanks in advance..
    Albert

    Hi Joseph,
    Check the following thread:
    Hide Unhide columns of ALV grid Report.
    Regards,
    Archana

  • How do i hide a column in table interface class

    Hi,
    I need to hide a column in Abap table interface class. When i tried to hide from web item properties it didn't work so i am thinking to hide first column in the table interface class
    Thanks,
    mala

    In the WebApplication Designer start Tools -> View Definition -> Based on a Query. Choose your query, change layout to your requirements and save the view. Now just use the view in your webtemplate.
    Pls assign points if answer is useful
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/u/37289">vitaliy</a>

  • Doubt in hiding columns in ALV list

    Hi Experts ,
                          I am working on block ALV list . I need to hide certain columns  in the list based on condition . For example : ALV structure has fields such MATNR    MEINS    MBRSH   MTART
    For a particular material if  ITAB-MEINS EQ C_SPACE . Then the column - MEINS should be hidden for particular material record.
    Could anyone suggest me code for this logic .
    Thanks ,
    Kumaran.C

    Hi Rajnesh ,
                           Thanks for that reply , But one doubt .
    Should we have to loop the ITAB before creating the feildcatalog ?
    say for ex :
    loop at itab.
    if itab-meins eq c_space.
      fieldcatalog-fieldname = 'MEINS'.
      fieldcatalog-selfield_m = 'UOM'.
      fieldcatalog-col_pos    = 3.
      fieldcatalog-no_out     = 'MEINS'.
    append fieldcatalog from fieldcatalog.
    end if.
    endloop.
    is this the way to code the above logic , pls explain .
    Thanks,
    Kumaran.C

  • Hide columns for ALV list output in SAP Query SQ01/SQ02

    Hi All,
    I have a requirement to hide the columns which are empty in sap query SQ01 alv list output.
    Please let me know this functionality available in Query (SQ01) like normal reports
    Regards,
    Venkat

    Hi,
    We just can't make changes in this case as this are all system generated programs.
    WE have to write our own reports to make things flexible to match our requirements.
    Things you are asking is not possible.
    Regards,
    Suvendu

  • ABAP list report wont print on Z device type with Z format

    Our developer have created a report which outputs data in ABAP list format and the standard format would not fit. We have since created a custom format and copied a device type in to custom device type. So we now have a custom format and custom device type. However when we print, it spools correctly and shows as green but the report wont print. The only thing that gets printed is
    "Sort criteria         AscdgDescndSubtotalGRAND  TOTAL  :               X                X     PROJ" "
    The abap list format is Z_100_500. Basically the report has 450 columns and hence we created this format.
    I am not sure what this means. I have been advised by SAP to follow instruction on note 17895 - Adapting print list formats for customers however i cant fully comprehend point 5 of the note and I believe this is why it wont print. Has anyone adapted ABAP list using this note. Can you please let me know how i should go about printer initialisation mentioned in the noted.
    We have checked everything however dont seem to get around the issue. Any ideas will be appreciated

    No comments

  • How to Hide a column in OBIEE 11g

    Hi,
    I am trying to hide a column of presantation layer table in OBIEE 11g. But it is not working.
    I am doing the follwoing.
    Open the permission tab of the column.
    Given no access to Everyone.
    Given No access the user/Application Role.
    When i go to web, the column is getting displayed in the table list. But, when i select the column and press the result button, it is not giving the result.
    It means, by doing the above steps it is restricting the data but visibility of column is already there.
    Same way it works for OBIEE 10g. Could you please let me know this feature has been removed from 11g or if it is still there then how we can achieved that.
    Thanks in Advance
    Niraj

    Hi Niraj,
    It's a bug in OBIEE 11.1.1.5.
    Bug 12352010: RESTRICTED COLUMNS SHOULD NOT SHOW IN SUBJECT AREA
    It is fixed in the version 11.1.1.6.
    Regards,
    Sandeep
    Edited by: Sandeep Saini on Mar 28, 2012 12:16 AM

  • Put logo in ABAP list/smallest font when sending to spool

    Hi Gurus,
    I have a requirement. I did a ABAP list, not ALV, classic one, I also send it to spool and then convert to pdf and download to pc.
    Now our customer wants a logo for it, also as the report is long, when print it or downloading it to pdf, some of parts are missing. So they say that can't we take it in smallest fonts??
    So is it possible to place logo for a classic ABAP list and is it possible to send it in smallest fonts when sending to spool or downloading to pdf??
    I will be pleased for your replies.
    Thanks.

    Hi,
    ABAP lists are simple reports with just rows and columns with text only. it is not possible to put a graphic into an ABAP list. For graphics, you need to use a sapscript form or smartform to create the spool.
    Regards,
    Aidan

  • How to hide the columns at the end user level thru personalization

    Hi all
    how I can hide the columns that are displayed on the portal. Any personalize option for the end user? Any righ click or some thing?
    I am looking at hiding columns not while developing the iViews / Pages, But in the browsers as the end user.
    i can hide the columns what ever i want while creating the iViews for MDM data. but we cant provide the content administrator role to the end user for hiding the columns what ever they want. they want to hide the columns thru pesonalization option at the end user level.
    Can you please let me know whether we can able to hide the columns at the end user level thru personalization ?? is it posible with standard iViews??
    Regards
    Sunil

    Hi Sunil,
    I understood your requirement properly and seems valid and I tried this at my end but i didnt get the solution. Field list is not visible in Personalize option. I dont think it is possible with MDM standard iViews.
    I was thinking an alternative is if some how we manage to give the permissions to end user only on Result Set iView but if it would be possible it will not be a good design.
    Lets wait for some inputs from others.
    Regards,
    Jitesh Talreja

  • Problem with the ABAP List output while running program in background.

    Hi ,
        This is Sudhir S . I am trying to run a report in background which has 60 columns , but only 13 are displayed when we view it through the spool abap list .
    But when I run in foreground all the 60 columns are displayed. Since the data which I am trying to fetch is large I am running the report as a background job .
    I just need to know what can be done to get the 60 columns in spool abap list output.
    waiting for your  reply.
    <removed by moderator>
    With Regards
    Sudhir S
    Edited by: Thomas Zloch on Oct 6, 2010 1:51 PM - please do something else while waiting, all posts have the same priority here

    Hi,
    Check if SAP note 1226758 resolves this problem.
    Regards,
    Aidan

  • How to hide some columns in FBCJ tcode

    hi experts,
    is it possible to hide some columns in FBCJ for some particular user ids.
    i want to display only these following columns for some particular user ids. I tried configuration button exists on right corner of table above scroll bar by changing administrator settings.
    But it is reflecting for all user ids.
    I want to reflect  changes for some particular user ids.
    1. business trnsaction
    2. amount
    3.Document status
    4. g/l account
    4. Receipt Recipient
    6. text
    7. vendor
    8. Reference
    9. company code
    10. cost center
    11. profit center
    12. additional text1
    13. additional text 2.
    I came to know by using screen variants we can achieve this.
    But i dont know how to proceed.
    Kindly provide steps to make changes.
    thanks & regards,
    Hari priya

    Hi,
    Check out this link.Probably this would be useful.
    http://www.madeitsimple.com/technology/sap-abap-transaction-variants/
    Thanks
    Papiya

  • How to hide ALV column in webdynpro

    Hi frnds,
                   I want to hide one columns in ALV output on webdynpro , give the procedure ...
    Thanks & Regards,
    Rajesh.j

    Procedure is :
    a) Get ALV Model reference
    b) Get list of ALV Columns
    c) Loop at each column and set visibility
    Code would be something like this
    I'm storing ALV model reference in view attributes wd_this->alv_config_table of type ref to CL_SALV_WD_CONFIG_TABLE.
    Data: lo_cmp_usage type ref to if_wd_component_usage.
      DATA: lr_salv_wd_table TYPE REF TO iwci_salv_wd_table.
      DATA: lr_column_settings TYPE REF TO if_salv_wd_column_settings,
            lr_column          TYPE REF TO cl_salv_wd_column,
            lt_column type salv_wd_t_column_ref,
            ls_column type salv_wd_s_column_ref.
    *create an instance of ALV component
      lo_cmp_usage =   wd_this->wd_cpuse_OVERVIEW_EARNED_ALV( ).
    * if not initialized, then initialize
      if lo_cmp_usage->has_active_component( ) is initial.
        lo_cmp_usage->create_component( ).
      endif.
    * get ALV component
      lr_salv_wd_table = wd_this->wd_cpifc_OVERVIEW_EARNED_ALV( ).
       wd_this->alv_config_table = lr_salv_wd_table->get_model( ).
      lr_column_settings ?= wd_this->alv_config_table.
      lt_column = lr_column_settings->get_columns( ).
      loop at lt_column into ls_column.
        CASE ls_column-id.
          when 'POST_YEAR'.
            ls_column-r_column->set_visible( if_wdl_core=>visibility_none ).
       ENDCASE.
    endloop.

  • Abap Lists - Printing - defining font and CPI and applying to printed text

    Hi,
    I am trying to define some forms for matrix printing. I should change the font type, and CPI.
    We will print ABAP Lists.
    I see my fonts (courier, 100, 12CPI, Prnt.Ctrl SF005) are defined in SE73.
    In SPAD - device type (choose spec. one) u2013 Print Controls (tab) I can see SF005, marked u201EDirectu201C column, as well as u201EHexadecimalu201C. Control Character Sequence is 1B6B001B4D121B57001B461B35.
    I can see 31 more SFxxx Print controls here.
    How do I apply specific Print Controls (SF005) from this list to a printed document? (I assume this is the list of available prnt.ctrls that can be used for printing, but how do I "select" specific ones and apply them to document print?)
    How do I choose u201ECOL0N: Color off, normal fontu201D (intensified OFF u2013 I heard that sap print in bold by default)?
    Thanks in advance,
    cheers,
    Nenad
    P.s. u2013 in printer settings the default font is Coourier 10, 12CPI, draft output. If I change this settings on printer directly, no effect is applied on printed documents... Printing from ECC 6.0
    Edited by: Nenad Nikolic on Oct 26, 2010 4:49 PM - details...

    hi again,
    more info:
    In Formats (Z_fakt1) - Formats (tab): u201EPrinter initializationu201C, I can see some predefined settings, but it is copied from some IBM printer, and I wonder is it correct. There is nothing about font type:
    #reset
    \e\0x40
    select US-ASCII character set
    \e\0x52\0x00
    set line spacing 6 LPI
    \e\0x32
    set page length to 12 inch (=72 lines at 6 LPI)
    \e\0x43\0x48
    cancel bottom margin
    \e\0x4F
    set left margin to 0
    \e\0x6C\0x00
    select draft quality
    \e\0x78\0x00
    select non-proportional spacing
    \e\0x70\0x00
    cancel condensed printing
    \0x12
    disable double-width printing
    \e\0x57\0x00
    select 10 CPI
    \e\0x50
    Result here is: 11CPI. Bold. Looks like "Times New Roman"
    The exact copy from IBM printer is used for another format (Z_fakt2), nothing is different except:
    select 12 CPI
    \e\0x4D
    Result here is: 10CPI. Bold. I am under BIG impression that the font type is different. But it is possible the font looks different just due to a size difference. Looks like "Courier New"
    In both cases I print predefined text with same output device, same device type.
    When I set 15CPI (0x67) u2013 I still get 10CPI, just the font looks more plain, more "draft" then before - like once in DOS. I am certain that these font type is definitely different then before (for example, here "W" have parallel endings). These fonts are even more suitable for these reports...
    Shouldn't the fonts be SMALLER and more of them in 1 inch (15 characters per inch) now then 10CPI (10 character per inch - less characters to fill 1 inch)??
    If I set 1CPI - shouldn't there be just 1 big character on 24,5mm?
    When I delete all entry (except # reset \e\0x40) from "Printer initialization" for one Format, the print output looks exact as before deleting (and saving)?!
    I would like to set Courier font, (really 12CPI), plain text, no bold.
    Where should I set this options?
    Thanks and sorry for long input, but the more info you have, the more insight ou have in my problem...
    Cheers,
    N
    Edited by: Nenad Nikolic on Oct 26, 2010 5:30 PM - update

  • ABAP list

    hi ,
    there is a function module or something which write an abap list according to some parameters like no of columns, etc ?
    Writting an abap list with write instruction it is not so easy.
    Thank you.

    hi,
    if u want to display normal output of a report like this...
    for ex: ur itab contains fields, EMPID, NAME, SALARY.
    LOOP AT ITAB.
    WRITE: ITAB-EMPID, ITAB-NAME, ITAB-SALARY.
    ENDLOOP.
    and in TOP-OF-PAGE event u display the titles like ur wish.
    And one more way is u can diaply ALV list foramt by using FM.
    REUSE_ALV_LIST_DISPLAY.
    To do this first u have to create fieldcataulog and u have to pass ur ITAB to FM.
    Regards,
    Shankar.

  • Adding Button on application toolbar on ABAP List display screen....

    Hello Gurus,
    I copied SAP program 'RFBUEB00' into custom program. When I execute the custom report, I see the data lijne by line in ABAP list. I see a deafult 'Select' button on application toolbar.
    If I want to add additional custom button on application toolbar on ABAP list display screen, how can I do it ? Please help.
    Regards,
    Jainam.
    Edited by: Jainam Shah on Oct 27, 2009 5:44 PM

    >
    Jainam Shah wrote:
    > In my case it just rights the data in ABAP screen as follows. I can't use ALV grid and stuff because its on older version.
    >
    >
    FORM LISTE_SCHREIBEN.
    >
    >   check = '@T9@'.
    >
    >   FORMAT COLOR COL_KEY INTENSIFIED OFF.
    >   WRITE: / SY-VLINE,
    >            check,
    >            BKPF-BUKRS,
    >            BKPF-BELNR,
    >            BKPF-GJAHR.
    >   FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
    >   WRITE:   BKPF-BLART,
    >        (8) BKPF-BLDAT DD/MM/YY,
    >        (8) BKPF-BUDAT DD/MM/YY,
    >            BKPF-WAERS,
    >            BKPF-XBLNR,
    >         80 SY-VLINE.
    >   XAUSGABE = 'X'.
    >   HIDE: BKPF-BUKRS, BKPF-BELNR, BKPF-GJAHR, BKPF-BSTAT, XAUSGABE.
    >   IF BKPF-BKTXT NE SPACE.
    >     FORMAT COLOR COL_KEY INTENSIFIED OFF.
    >     WRITE: / SY-VLINE, CHAR4 UNDER BKPF-GJAHR.
    >     FORMAT COLOR COL_NORMAL INTENSIFIED.
    >     WRITE:   BKPF-BKTXT UNDER BKPF-BLART,
    >              80 SY-VLINE.
    >     HIDE: BKPF-BUKRS, BKPF-BELNR, BKPF-GJAHR, BKPF-BSTAT, XAUSGABE.
    >   ENDIF.
    > ENDFORM.
    >
    >
    > I have to select multiple lines and proces them. For one line I know I can use AT-LINE-SELECTION but this is multiple lines...
    What is your SAP system version?
    It seems to be displayed only in ALV. Well, if you can make it to display in LIST ... you can go with set pf-status.
    good luck

Maybe you are looking for