ADDING A COLUMN TO THE ALV

HI Experts,
          im here with a problem , i want to know if its possible to add an extra column to the ALV display my problem is im using the  dictionary table directly not using any structures and hence  iv not declared any field catalog....the output of this one extra field has to be hard coded  and added to the display so it appears with the displayed alv at all times.
is this possible can i get help pls?
Thanks & Regards,
Goldie.

Hi,
Append one more field to the field catalog & populate the same in the output internal table of ALV.
  fieldcatalog-fieldname   = 'NETPR'.
  fieldcatalog-seltext_m   = 'Net Price'.
  fieldcatalog-col_pos     = 7.
  fieldcatalog-outputlen   = 15.
  fieldcatalog-datatype     = 'CURR'.
  append fieldcatalog to fieldcatalog.
  clear  fieldcatalog.

Similar Messages

  • New column in the ALV output of transaction phap_admin_pa

    Hello All,
    I want to display a new column in the ALV output of transaction phap_admin_pa. Is this possible? If so, could anyone please give some guidance how to proceed. The new column willl contain the elements from appraisal catalog. Do u think there will be any BADi's to achieve this or I am not sure if a custom program need to be created?
    Thank you very much,
    Rush

    Hi
    I had same problem of adding felds from additional data into the ALV and when I asked SAP they told me to implement BADI HRHAP00_REPORTING.
    I am still trying to get some info on how to implement it if you find any documentation of someone who has implemented appreciate you tell me.
    regards
    Pravin

  • Adding a column in the MSS Approval view

    What are the options for adding a column in the MSS approval view (CATS regular) ?

    there are lot of colums available in cats customisation for this
    Please check
    In the IMG (transaction SPRO), go to
    - SAP Customizing Implementation Guide
      - Cross-Application Components
        - Time Sheet
          - Specific Setting for CATS regular
            - CATS regular
              - Approve Working Time
                - Define Field Selection for Individual Approval View
                - Define Field Selection for Detail View
    Here you can assign lot of columns to your profile
    which is easily customisable

  • Subtotal text in the 3rd column of the alv list

    Hi Guru,
    Can anyone know or have some codes on how to implement a subtotal text in the 3rd column of the ALV list. Im using FM REUSE_ALV_HIERSEQ_LIST_DISPLAY to display the report.
    Please give some advise or help.
    Thanks and rewards is given.

    Hi my friend,
    Insted Using FM REUSE_ALV_HIERSEQ_LIST_DISPLAY
    better use REUSE_ALV_GRID_DISPLAY.
    in that 
            it_sort            = i_sort[]
      constants :     c_x       type char1 value 'X'.
        l_rec_fieldcat_wa-do_sum    = c_x.
      endif.

  • Subtotal of the columns in the ALV

    Hi,
    I want to do the Subtotal of the columns in the ALV by using any of the FMs:
    ALV_OPTIONS_FOR_SUBTOTALS
    ALV_SUBTOTALS_GET
    ALV_SUBTOTALS_GET_H
    But since the functional documentation is not available.
    I am not getting how to use.
    Please provide me the code or reply me about how to go about.
    Thanks & Regards,
    Pooja

    Hi,
    Consider i have 3 fields
    lifnr     curr      DMBTR
    5600   GBP    1000
    5600    GBP   1000
    5600   USD    1000
    5600   TND    1000
    5601   GBP    1000
    5602   GBP    1000
    I want output to be :
    lifnr     curr      DMBTR
    5600   GBP    1000
    5600    GBP   1000
    5600   USD    1000
    5600   TND    1000
    5600  GBP    2000
              USD    1000
              TND     1000
    5601   GBP    1000
    5601   GBP    1000
    5602   GBP    1000
    5602   GBP    1000
    Actually i tried using the using subtotal option here:
    **Method 1:
    lv_fieldname      = lc_lifnr.
      lw_sort-spos      = 1.
      lw_sort-fieldname = lv_fieldname.
      lw_sort-up        = c_mark.
      lw_sort-subtot = 'X'.
      APPEND lw_sort TO i_sort.
    Next i tried using the modifying field catalog like this
    **Method 2:
    LOOP AT i_fieldcat INTO wa_fieldcat.
        IF wa_fieldcat-fieldname EQ 'DMBTR'.
          wa_fieldcat-do_sum = 'X'.
        ENDIF.
        IF wa_fieldcat-fieldname EQ 'WRBTR'.
          wa_fieldcat-do_sum = 'X'.
        ENDIF.
        MODIFY i_fieldcat FROM wa_fieldcat
                            TRANSPORTING do_sum .
      ENDLOOP.
    But both the methods didnt work .
    So kindly tel me how to go about?
    Regards,
    Pooja

  • Hiding a column in the ALV in a webdynpro component(standrad one)

    Hi,
       i have an requirement of hiding a column inside a ALV output of a web dynpro component which is a standrad one. please help me finding the way to do the same.
    thanks,
    selvakumar M.

    data: l_ref_usage type ref to if_wd_component_usage.
    l_ref_usage = wd_this->wd_CpUse_Alv( ).
    if l_ref_usage->has_active_component( ) = abap_false.
      l_ref_usage->create_component( ).
    endif.
    DATA: l_ref_INTERFACECONTROLLER TYPE REF TO IWCI_SALV_WD_TABLE .
    l_ref_INTERFACECONTROLLER =   wd_This->wd_CpIfc_Alv( ).
      data:
        l_VALUE type ref to Cl_Salv_Wd_Config_Table.
      l_VALUE = l_ref_INTERFACECONTROLLER->Get_Model(
    data: lr_column type ref to CL_SALV_WD_COLUMN.
    lr_column =
    l_value->IF_SALV_WD_COLUMN_SETTINGS~GET_COLUMN( 'CARRID' ).
    lr_column->set_visible( CL_WD_UIELEMENT=>E_VISIBLE-NONE ).
    Abhi

  • Adding a column in the Universe level without losing the Report Lay out

    Hi all,
    I have one universe with three universes built on it. Now, I want to add a column to one of the tables in the universe. For that, I selected the table and gave 'Refresh the structure'. The column got added in the workspace of the universe. When I drag and drop the table to the class & objects panel, it got added to the class/table in the panel. I saved and exported the universe.
    When I do like above, and open the report in the BO XI R3.1 webi front end, the report throws the following error:
    'Universe contains unresolved objects' and the report lay out is lost. All the three reports built on this universe is throwing the same error.
    Please let me know if there is any other way to retain the report lay out and add the column in the universe level.
    Thanks in advance
    - Regards,
      Arun

    Welcome to the sometimes frustrating world of working with dates against SAP BW via BusinessObjects!
    Your best bet here is to have a financial calendar table in a database and build a new query against that. Return Week Number as a detail of date and then merge the date dimensions.

  • Adding Additional Columns to the Results

    Hi,
    I wanted to additional column in iRecruitment Vacancy Results Table.I have added the column using personlaization but it's not displaying.
    Here are the Steps that I have done.
    iRrecruitment Administrator --> Vacancies --> Search for the Approved Vacancies.
    Click on the Abpout Page and found the VO Object: IrcVacancyVO
    Found the Attribute that I need to add : VACAttribute8
    I have created a New Item with Style : Message Styled Text
    and provided the View Attribute (VACAttribute8) and View Instance(IrcVacancyVO) accordingly.
    The Item that I am adding is attribute8 of the Additional Vacancy Details DFF.I have enabled this attrbiute in the Flexifield.
    The attribute is part of the IrcVacancyVO Query.
    I am not sure what's I am missing but its not displaying the column that I have added.
    Any Input is highly appreciated.
    Regards,
    A
    Edited by: 791680 on Jun 17, 2011 11:22 AM

    Hi Wasey,
    Try as Diwakar told. I am not able to see that tripline in display mode. A long back i copied the same program and i added extra fields in it.I copy program SAPLMCB3 inside which routine AUSGABE_LISTE_KZ.
    Regards,
    Madhu.

  • How to make column tree the ALV

    As in normal table we can make column tree by using  'TreeByNestingTableColumn' property, can any one tell me how to do the same in alv.
    I have used set_hierarchy_column( abap_true ), but i was not able to map all the elements with in a node to other columns present in the alv table.
    requirement:
    Column 1            Column 2
    P1                        value 1
    ->C1                    value 2
        -> C11              value 3
        -> C12              value 4
    ->C2                    value 5
        -> C21              value 6
        -> C22              value 7
    P2                        value 8
    Can some please tell me how to do it.
    Thanks
    Abhishek

    Can some one please help me!!
    I need to implement column tree in web dynpro application using ALV

  • Adding a column into the assets list view?

    I am trying to find a way to add a column into the assets list view.
    At the moment it has... Title, Metadata Set, Image Size, Duration, Size, Status etc...
    I would like to add another metadata field into the list and cannot find anywhere to do it. For example, add the 'Reel' metadata field into the list.
    Anyone have any ideas?
    Thanks.

    1. Log into Final Cut Server as the Admin.
    2. Open the Advanced Administration window from the java client.
    3. Search for the Metadata Group name "List"
    Note this search will return approximately 29 items, but you'll want to modify the one
    with the Metadata Group ID "ASSETLISTVIEW"
    4. Add the fields to that group that you want.
    5. To have these field show up either create New Workspace or logout and login.
    Hope this helps.
    Nicholas Stokes
    XPlatform Consulting
    [email protected]

  • Adding mark column into an alv

    Hallo ladies and gentlemen,
    how can i easily add an mark column to an alv-list?
    thanks a lot,
    Marcel

    hi,
    DATA : wf_slis TYPE  slis_t_fieldcat_alv.
    PERFORM build_catalog USING wf_slis[].
    FORM build_catalog USING wf_slis TYPE slis_t_fieldcat_alv.
    .ur old fields....
    *new field mark
      CLEAR wf_str_slis.
      wf_str_slis-fieldname = 'WF_MARK'.
      wf_str_slis-checkbox = 'X'.
      wf_str_slis-edit = 'X'.
      APPEND wf_str_slis TO wf_slis.
    endform.
    CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
       EXPORTING
      I_INTERFACE_CHECK              = ' '
      I_BYPASSING_BUFFER             =
      I_BUFFER_ACTIVE                = ' '
         i_callback_program             = sy-cprog
      I_CALLBACK_PF_STATUS_SET       = ' '
      I_CALLBACK_USER_COMMAND        = ' '
      I_STRUCTURE_NAME               =
      IS_LAYOUT                      =
         it_fieldcat                    =  wf_slis[]
      IT_EXCLUDING                   =
      IT_SPECIAL_GROUPS              =
      IT_SORT                        =
      IT_FILTER                      =
      IS_SEL_HIDE                    =
      I_DEFAULT                      = 'X'
      I_SAVE                         = ' '
      IS_VARIANT                     =
      IT_EVENTS                      =
      IT_EVENT_EXIT                  =
      IS_PRINT                       =
      IS_REPREP_ID                   =
      I_SCREEN_START_COLUMN          = 0
      I_SCREEN_START_LINE            = 0
      I_SCREEN_END_COLUMN            = 0
      I_SCREEN_END_LINE              = 0
      IR_SALV_LIST_ADAPTER           =
      IT_EXCEPT_QINFO                =
      I_SUPPRESS_EMPTY_DATA          = ABAP_FALSE
    IMPORTING
      E_EXIT_CAUSED_BY_CALLER        =
      ES_EXIT_CAUSED_BY_USER         =
        TABLES
          t_outtab                       = int_zone[]
       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.
    rgds
    anver
    Message was edited by: Anversha s

  • Adding custom columns to the tasks tab in UWL

    Hi Experts,
    We have UWL configured for GP in CE 7.1.
    Currently we have standard columns like Subject, From, Sent Date etc. only
    I need to add some columns like Project No., Customer No.(GP parameters) to the 'Tasks' tab in it.
    These columns are required for all the Work items that appear in UWL.
    I have read about adding custom view for a specific task , but not sure how it can be done in my case.
    Kindly provide inputs for this.
    Thanks and Regards
    Aanchal

    Hi Aanchal,
    i have posted exactly the same problem a few months ago, and no one answered me.
    I couldn't find any documentation on how to add custom GP parameters in the universal worklist, in the examples on customizing the UWL XML they always refer to parameters from the r/3 webflow, never GP.
    I really can't believe that nobody ever tried to do this and faced this problem!
    Please let me know if you find something..
    Regards,
    Marco.

  • Highlight the column in the ALV grid only for few entries!

    Hi all,
    I am using the FM "REUSE_ALV_GRID_DISPLAY" to dsplay the o/p of my report in ALV grid.
    Now i need to highlight 1 particluar column for only some entries(row) based on the value of the column which is to be highlighted.
    Can anyone tell me the steps to do so??

    Please make search thru this form you can find lot of threads
    For example
    https://forums.sdn.sap.com/search.jspa?threadID=&q=alvANDcellANDcolor+&objID=f50&dateRange=all&numResults=15

  • Adding a Column to the Top of Address Book Display

    I guess I have two problems in Address Book.
    1. How do I add a custom field that is not on the list in "Template?" I want to add something called "show date" to all my address cards.
    2. I want to have "show date" display at the top of the Address Book window in the middle column, where name is now shown. I'd like it to be Name, then Show Date, and be able to sort it by either one.
    Any ideas? I won't be disappointed if it can't be done, but I thought I should check here just in case.
    Thanks!
    Tamara
    Mac mini   Mac OS X (10.4.3)  

    whjk,
    Select the bars - click once on the Chart and then click on one of the bars.
    Open the Chart Inspector and click the Series button. Click on the Value Label Checkbox and then click on one of the Position buttons.
    Feel free to download the Numbers User Guide and consult it. There's a link in the Help menu.
    Regards,
    Jerry

  • Adding TOTAL icon in the ALV

    Hi,
    I am using ALV grid display in my program. I have used the FM 'REUSE_ALV_GRID_DISPLAY'. I am unable to get the TOTAL icon in the toolbar. Please suggest me how to get the functionality.
    Thanks in advance.

    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
    i_callback_program = sy-repid
    *I_GRID_TITLE = TIT
    *IS_LAYOUT = GD_layout
    it_fieldcat = fieldcatalog[]
    *i_callback_user_command = 'USER_COMMAND'
    i_callback_pf_status_set = 'SET_PF_STATUS'
    i_save = 'A'
    *IS_VARIANT              = LS_VARIANT
    TABLES
    t_outtab = itab
    EXCEPTIONS
    program_error = 1
    OTHERS = 2
    form set_pf_status USING rt_extab TYPE slis_t_extab.
      set pf-status 'ZSTANDARD'.
    endform.
    Double click on the 'ZSTANDARD' and create the object.
    Then Goto menu-- extras->Adjust Template
    select List Viewer radio button. then click on ok. It will give u all menus...Select the required menus....
    Edited by: mujib tirandaz on Apr 13, 2009 2:57 PM

Maybe you are looking for