Bar code3 in alv

hi,
i need to display barcode in alv report  how to do this,
pls provide sample code.
regards,
jai

Hi Jai.
We can not display barcode in ALV but in Smartform  and Script is possible becuase we can set font "BARCODE" or any fonts to our variable.
What you should do is create general ALV report ,Smatform for printing barcode and botton for call
Smartform  in ALV program.When a line is selected and click botton then take data in that line and call
Smartform for printing barcode that what I have done.
Hope it help .
SayC.

Similar Messages

  • To disable the Application tool bar button in ALV report

    Hi Everyone,
    Iam using REUSE_ALV_GRID_DISPLAY to display ALV report.
    Now my requirement is to disable(I mean grey out) a application tool bar button.
    Thanks in advance
    Moderator message: please search for available information and try yourself before asking.
    locked by: Thomas Zloch on Sep 23, 2010 11:38 AM

    We can disable the buttons on the application toolbar as below.
    *To Exclude a few buttons from the Application tool bar
    data: it_excluding type slis_t_extab.
    data: wa_excluding type slis_extab.
    wa_excluding-fcode = '&OUP'.
    append wa_excluding to it_excluding.
    wa_excluding-fcode = '&ILT'.
    append wa_excluding to it_excluding.
    wa_excluding-fcode = '&ODN'.
    append wa_excluding to it_excluding.
    and in the FM.....
    call function 'REUSE_ALV_GRID_DISPLAY'
          exporting
            i_callback_program      = sy-repid
            i_callback_pf_status_set = 'ZPICK'
            is_layout               = itlayout
            i_callback_user_command =  'LIST1'
            i_grid_title            = <fs>
    *       i_callback_top_of_page  = ' '
            it_fieldcat             = itfieldcat[]
            it_excluding            = it_excluding
    But,no idea on how to disable the  whole application tool bar itself ?
    K.Kiran.

  • Bar Code in ALV report

    Hello,
          Is it possible to print Barcode(for Work order) in ALV report...

    Hi Perumal
    In ALV there wont be any need for bar code, bcoz barcodes are only printing purpose.
    barcode can be displayed using sapscript in reports.
    regards
    kishore

  • Message in Status Bar while using ALV Objects

    Hi All,
    If we use ALV in objects (Build in class and methods for ALV),is it possible to display a error message using Message statement in Status bar.
    Thanks in advance.

    Hi,
    Yes, it is possible.  You can do it using the ALV Object Model (ALV OO methods) within an event handler method.  For example, the event "added_function of cl_salv_events" can be used and you can add code similar to the following code within the event handler method:
    CASE e_salv_function.
      WHEN 'XYZ'.
        MESSAGE w001(00) WITH 'Message text goes here...'.
    ENDCASE.
    The warning message will either show up as a popup or in the status bar depending on your user settings.  Of course, you can also use other message types (e.g. I, E, S) or other message techniques besides the message statement.
    Best Regards,
    Jamie

  • Display of push button in the application tool bar in an ALV report

    Hello everyone,
    Query:
    Is it possible to display a custom push button in the application tool bar while displaying an ALV report(1st one)?
    On pressing this custom push button will I be able to display another ALV report(2nd one) based on the selection made on the current ALV report(1st one)?

    Hiii..
    I have written a sample code for You
    <b>"Call the below FunctionModule For Displaying The List
    " And see the bolded line in the Below FunctionModule
    " STANDARD_02 and USER_COMMAND are the subroutine Names</b>
    CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
    EXPORTING
      I_INTERFACE_CHECK              = ' '
      I_BYPASSING_BUFFER             =
      I_BUFFER_ACTIVE                = ' '
       i_callback_program             = sy-repid
       <b>i_callback_pf_status_set       = 'STANDARD_02'</b>
      <b> i_callback_user_command       = 'USER_COMMAND '</b>
       i_structure_name               =  'ZST_SCARR'
       is_layout                      = is_layout
       it_fieldcat                    = gt_fieldcat[]
      IT_EXCLUDING                   =
      IT_SPECIAL_GROUPS              =
      IT_SORT                        =
      IT_FILTER                      =
      is_sel_hide                    = is_sel_hide
      I_DEFAULT                      = 'X'
      I_SAVE                         = ' '
      IS_VARIANT                     =
       it_events                      = e03_lt_events[]
      IT_EVENT_EXIT                  =
      is_print                       = t
      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                       = it_scarr
    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.
       FORM PF_STATUS_SET
    <b>" Here Set A Button In Application Toolbar Using PF- Status</b>
    FORM standard_02 USING  extab TYPE slis_t_extab.
      SET PF-STATUS 'STANDA02' EXCLUDING extab.
    ENDFORM.                    "STANDARD_02
    *&      Form  USER_COMMAND
          text
         -->R_UCOMM    text
         -->RS_SELFIELDtext
    FORM user_command USING r_ucomm LIKE sy-ucomm
                      rs_selfield TYPE slis_selfield.
      CASE r_ucomm.
    <b> "menubutton with functioncode GOTO's Action</b>
        WHEN  'GOTO'.  
          READ TABLE it_scarr INDEX rs_selfield-tabindex. "cursorposit.
          IF sy-subrc = 0.
            WRITE:/ it_scarr-carrid,
                  /  it_scarr-carrname.
          ENDCASE.
    ENDFORM.                    "USER_COMMAND<b></b>
    Hope it helps..
    Regards,
    Simy

  • Custom tool bar for sorting and summing in alv grid

    what is the function module to use the tool bar in the alv output screen which has - summing , sorting and other button above the alv grid control.

    It is part of the class CL_GUI_ALV_GRID. Have a look at this class, especially the methods within this class, and search for 'SORT' or 'TOTAL' using the button with 'Binoculars' icon.

  • Disable / hide ALV scroll bar (Navigation Pane)

    Hello,
    is there a way to disable or hide the scroll bar in an ALV table? in other words I wanna display all
    the data in an ALV table without having to scroll down.
    Thanks,
    Abdul.

    Hi, you can use the table configuration to control this. set_visible_row_count to -1.
    data:
    l_salv_wd_table type ref to iwci_salv_wd_table,
    l_table type ref to cl_salv_wd_config_table.
    l_salv_wd_table = wd_this->wd_cpifc_usage_alv( ).
      l_table = l_salv_wd_table->get_model( ).
      l_table->if_salv_wd_table_settings~set_visible_row_count( -1 ).

  • Find/Find Next Behavior in ALV in container in ABAP OO

    I have an ALV grid in a custom container that's sized for a screen on a high-resolution tube.  In other words, there's a scrollbar on the ALV but none on the screen itself (because the whole screen is visible at the high resolution.)
    At this high resolution, a find or find next will correctly scroll the ALV to the row in which an item is found (when the "found" row is below the currently visible row of the ALV.)
    But when I switch to a lower resolution where I have a scroll bar on the ALV and on the window itself, a find or find next does not scroll the ALV properly.  You have to manually scroll to find the found row.
    Yes - I have both resizings checked on the container.
    Is there a way I can:
    1) find the resolution the user is in?
    2) modify the screen size to fit this resolution?
    3) modify the container size to fit this resolution?
    Thanks
    djh

    Calgar -
    This is the same thing that Thomas (Jung) suggested in an old ABAP General thread.
    But I've done it, and it doesn't work.
    Also, I don't understand why I'm getting a scroll bar for the ALV as well as for the screen.
    I thought if I did what you and Thomas said, I would only see the scroll bar for the screen and not the ALV.
    Any other ideas ????
    Thanks
    djh

  • How we can add the 2 buttons on the alv out screen.

    I have a requirement, i want to add two buttons on the application bar on the ALV report out.
    with the use of grid functional module.
    for example: i want to buttons details and balance on the ALV output screen. if i click on detail it will display the details and if i click on balance it will show the balance data in report.
    and if i use the back and exit that time it will come out the selection screen.
    please send me any exiting report its very urgent.

    Hi frnd,
    To add additional button in the application toolbar,
    First copy the std toolbar from std sap program,
    In se 41 give
    program name = SAPLKKBL
    copy staus.
    Use own status (Copy STANDARD from SAPLKKBL)
      SET PF-STATUS 'STANDARD_NEW' .(in this new user defined status add ur buttons)
    steps:
    then in the ''REUSE_ALV_GRID_DISPLAY' function module
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
           EXPORTING
                i_callback_program       = gv_repid
                i_callback_user_command  = EVENT_USER_COMMAND
                i_callback_pf_status_set = EVENT_SET_STATUS_01
                i_grid_title             = gc_tit
                is_layout                = gt_layout
                it_fieldcat              = gt_fieldcat[]
           TABLES
                t_outtab                 = gt_lfa1
           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.
    FORM     event_set_status_01  USING  lt_excl  TYPE  slis_t_extab.
    Use own status (Copy STANDARD from SAPLKKBL)
      SET PF-STATUS 'STANDARD' .
    ENDFORM.                    "EVENT_SET_STATUS_01
    *& Form Name:  event_user_command                                      *
    *& Form Desc:  For Handling USER_COMMAND                               *
    FORM     event_user_command  USING
                                        if_ucomm     TYPE  sy-ucomm
                                        is_selfield  TYPE  slis_selfield.
      CASE if_ucomm.
        WHEN 'PRINT'.
      endcase.
    endform

  • Tracing of message in Status Bar using Call Transaction for MRBR

    Hi
    As per the business requirement, I would like to automate the MRBR Transaction. I am achieving this by using Call Transaction. After aaplying certain company codes as an i/p; i receive the invoices as an o/p in a ALV Lay out. Say for example, 100 invoices are displayed in a AlV Lay-out after applying i/p. Now I select all these 100 invoices and release them.
    All these steps are recorded and supplied to Call Transaction via BDC table.
    Problem:
    The number of invoices released, appear in the status bar of that ALV Lay-out screen. This message appears on the ALV screen after I have released the invoices and clicked on "SAVE" button.I would like to use this information and display this number (No. of Invoices released) in my Job Log. But I do not know how to do it. Could any one help me out for this?
    Thanks in advance,
    Jigar Shah.

    Yes I have tried that option as well.
    But the thing is, the recording gets over as soon as I click on "SAVE" button.And that message apperas in status bar only after I click on "SAVE" button.So this way the message in the status bar never gets recorded.
    Thanks & Regards,
    Jigar Shah.

  • ALV display column in print only

    Hi,
    My program uses 'alv_grid_display' and there is a column that i dont want to display on the output (i use gs_fieldcat-no_out = 'X' in the fieldcatalogue), but i do need to display it when its printed and im not sure how to do it as all of that happens after the 'alv_grid_display' statement.
    Any ideas??
    Thanks

    hi ,
    this there is no need to write the command it_fieldcat-no_out = 'X'.
    use this method..
    use the varients for this ....
    if u click the button change layout or ctrl+f8 in the menu bar of the alv then it will ask for the sort fields ..there u can sort the fields and u can choose the required ..then u can print the values or u can change the layout if u want...
    regards,
    venkat.

  • Blocked alv list display

    hi,
    in blocked alv list , i want add push button on application tool bar. any one please tell me what is the process.?
    last time i added one push button on alv grid display, same process i followed now, but i did not get push button on application tool bar of , blocked alv list.

    I am able to add it , what is the problem you are facing.
    Check the Program BALVBT01.
    call function 'REUSE_ALV_BLOCK_LIST_INIT'
           exporting
                i_callback_program       = repid
                i_callback_user_command  = 'USER_COMMAND'
                i_callback_pf_status_set = 'STATUS'. "<------Status
    form pf_status_set using extab type slis_t_extab.
      BREAK-POINT.
      set pf-status 'STANDARD' excluding extab.
    endform.
    Copy the status From standard program SAPLKKBL, and Status is STANDARD using SE41 transaction.

  • Pf satus in alv ----- urgent

    i want to create a select all button on the application tool bar of the alv.my requirement is when i'll click on select all all the check boxes whixh are present at the 1st column of my grid should be check. plz help its urgent.plz giv me the code.
    regards

    Hi,
    Have a look on the following code and change this as for ur requirement.
    THIS IS THE GRID DISPLAY BY USING “PF-STATUS”.
    TYPE-POOLS: SLIS.
    TYPES: BEGIN OF I_MARA,
           MATNR LIKE MARA-MATNR,
           MTART LIKE MARA-MTART,
           MEINS LIKE MARA-MEINS,
           GROES LIKE MARA-GROES,
           VOLUM LIKE MARA-VOLUM,
           END OF I_MARA.
    DATA: IT_MARA TYPE STANDARD TABLE OF I_MARA INITIAL SIZE 0.
    DATA: FLDCAT TYPE SLIS_T_FIELDCAT_ALV WITH HEADER LINE,
          REPID TYPE SY-REPID,
          GD_LAYOUT TYPE SLIS_LAYOUT_ALV.
    DATA: I_TITLE_MARA TYPE LVC_TITLE VALUE 'GRID DISPLAY'.
    START-OF-SELECTION.
    PERFORM DATA_RETRIEVAL.
    PERFORM BLD_FLDCAT.
    PERFORM BLD_LAYOUT.
    PERFORM DISPLAY_ALV_REPORT.
    FORM BLD_FLDCAT.
    FLDCAT-FIELDNAME = 'MATNR'.
    FLDCAT-SELTEXT_M = 'MATERIAL NUMBER'.
    FLDCAT-COL_POS = 0.
    FLDCAT-KEY = 'X'.
    APPEND FLDCAT TO FLDCAT.
    CLEAR FLDCAT.
    FLDCAT-FIELDNAME = 'MTART'.
    FLDCAT-SELTEXT_M = 'MATERIAL TYPE'.
    FLDCAT-COL_POS = 1.
    FLDCAT-KEY = 'X'.
    APPEND FLDCAT TO FLDCAT.
    CLEAR FLDCAT.
    FLDCAT-FIELDNAME = 'MEINS'.
    FLDCAT-SELTEXT_M = 'UNIT OF MEASURE'.
    FLDCAT-COL_POS = 2.
    APPEND FLDCAT TO FLDCAT.
    CLEAR FLDCAT.
    FLDCAT-FIELDNAME = 'GROES'.
    FLDCAT-SELTEXT_M = 'SIZE'.
    FLDCAT-COL_POS = 3.
    FLDCAT-KEY = 'X'.
    APPEND FLDCAT TO FLDCAT.
    CLEAR FLDCAT.
    FLDCAT-FIELDNAME = 'VOLUM'.
    FLDCAT-SELTEXT_M = 'VOLUME'.
    FLDCAT-COL_POS = 4.
    APPEND FLDCAT TO FLDCAT.
    CLEAR FLDCAT.
    ENDFORM.
    FORM BLD_LAYOUT.
    GD_LAYOUT-NO_INPUT = 'X'.
    GD_LAYOUT-COLWIDTH_OPTIMIZE = 'X'.
    GD_LAYOUT-ZEBRA = 'X'.
    GD_LAYOUT-WINDOW_TITLEBAR = 'GRID DISPLAY'.
    ENDFORM.
    FORM DISPLAY_ALV_REPORT.
    REPID = SY-REPID.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
      I_INTERFACE_CHECK                 = ' '
      I_BYPASSING_BUFFER                = ' '
      I_BUFFER_ACTIVE                   = ' '
       I_CALLBACK_PROGRAM                = REPID
       I_CALLBACK_PF_STATUS_SET          = 'STANDARD'
       I_CALLBACK_USER_COMMAND           = 'USER-COMMAND'
       I_CALLBACK_TOP_OF_PAGE            = 'TOP_OF_PAGE'
      I_CALLBACK_HTML_TOP_OF_PAGE       = ' '
      I_CALLBACK_HTML_END_OF_LIST       = ' '
      I_STRUCTURE_NAME                  =
      I_BACKGROUND_ID                   = ' '
       I_GRID_TITLE                      = I_TITLE_MARA
      I_GRID_SETTINGS                   =
       IS_LAYOUT                         = GD_LAYOUT
       IT_FIELDCAT                       = FLDCAT[]
      IT_EXCLUDING                      =
      IT_SPECIAL_GROUPS                 =
      IT_SORT                           =
      IT_FILTER                         =
      IS_SEL_HIDE                       =
      I_DEFAULT                         = 'X'
       I_SAVE                            = 'X'
      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
      I_HTML_HEIGHT_TOP                 = 0
      I_HTML_HEIGHT_END                 = 0
      IT_ALV_GRAPHICS                   =
      IT_HYPERLINK                      =
      IT_ADD_FIELDCAT                   =
      IT_EXCEPT_QINFO                   =
      IR_SALV_FULLSCREEN_ADAPTER        =
    IMPORTING
      E_EXIT_CAUSED_BY_CALLER           =
      ES_EXIT_CAUSED_BY_USER            =
      TABLES
        T_OUTTAB                          = IT_MARA
    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.
    FORM DATA_RETRIEVAL.
    SELECT MATNR MTART MEINS GROES VOLUM
    INTO TABLE IT_MARA FROM MARA
    UP TO 40 ROWS.
    ENDFORM.
    FORM TOP_OF_PAGE.
    DATA: T_HEADER TYPE SLIS_T_LISTHEADER,
          WA_HEADER TYPE SLIS_LISTHEADER.
    WA_HEADER-TYP = 'H'.
    WA_HEADER-INFO = 'THIS IS MY FIRST ALV'.
    APPEND WA_HEADER TO T_HEADER.
    WA_HEADER-TYP = 'S'.
    WA_HEADER-INFO = 'THIS IS SECOND'.
    APPEND WA_HEADER TO T_HEADER.
    CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
      EXPORTING
        IT_LIST_COMMENTARY       = T_HEADER
      I_LOGO                   =
      I_END_OF_LIST_GRID       =
      I_ALV_FORM               =
    ENDFORM.
    FORM STANDARD USING EXTAB TYPE SLIS_T_EXTAB.
    SET PF-STATUS 'STANDA02' EXCLUDING EXTAB.
    ENDFORM.
    FORM USER-COMMAND USING R_COMM TYPE SY-UCOMM
    RS_SELFIELD TYPE SLIS_SELFIELD.
    CASE R_COMM.
      WHEN 'F3'.
        LEAVE PROGRAM.
    ENDCASE.
    ENDFORM.
    Double click on “STANDA02”, it opens new screen(menu painter),there u can add menu bars, application tool bars etc.
    Add this steps to meet ur criteria.
    1.Insert another field in internal table(I_MARA) for check box.
    2.develop the fieldcatalog and give the field position.
    3.Double click on "standard02" and give the pushbutton name.
    4.come back to ur main program.
    5 In fieldcatalog of checkbox there is another parameter "checkbox",pass this value as variable(not 'X').
    6.in "form user-command", write as when '<pushbutton name>' then pass the variable(which u used for the checkbox) value as 'X'.
    Thanks,
    chandu.

  • Hide menu bar in Webgui of HTML

    Hi,
    Can you please let me know how to hide the menu bar in WEBGUI of HTML.
    I have to hide the menu bar for an ALV Report which i have created in SRM 5.0 which i am going to publish in SRM Web interface .
    Also please let me know after hiding menu bar how i can give exporting option to excel file.
    Thanks,
    Vaibhav

    Hi Vaibhav,
    Make transaction code of this report EWT (Easy Web Transaction).
    Or
    While publishing this service on ITS, add ~transactiontype = EWT.
    Regards
    Sagar

  • Newly Appended rows are not ready for input in ALV Grid

    Hi,
    I created a ALV Grid using OO ALV ,
    I made a condition for editable rows and I have succeded in it.
    in the applicaton tool bar of the ALV I have  the  ADD and DELETE rows Buttons.
    When I click on the Add row button I am having it Disabled for Input.
    But I want the whole line Enabled for Input
    How to get that
    Regards

    "data Declarations
    TYPES: BEGIN OF ty_sto.
            INCLUDE STRUCTURE zarp_sto.
    TYPES: celltab TYPE lvc_t_styl,
          END OF ty_sto.
    DATA:it_sto TYPE TABLE OF ty_sto,
         wa_sto TYPE ty_sto,
         alv_grid  TYPE REF TO cl_gui_alv_grid,
         container TYPE REF TO cl_gui_custom_container,
         it_fieldcat TYPE lvc_t_fcat,
         wa_layout   TYPE lvc_s_layo.
    CALL SCREEN 100.
    MODULE status_0100 OUTPUT.
      SET PF-STATUS 'STATUS'.
      IF container IS INITIAL.
        CREATE OBJECT container
          EXPORTING
            container_name = 'CONTROL'.
        CREATE OBJECT alv_grid
          EXPORTING
            i_parent = container.
      ENDIF.
      PERFORM fetch_data.
      PERFORM fill_fieldcat.
      wa_layout-stylefname = 'CELLTAB'.
      CALL METHOD alv_grid->set_table_for_first_display
        EXPORTING
           is_layout                     = wa_layout
        CHANGING
          it_outtab                     = it_sto
          it_fieldcatalog               = it_fieldcat.
      CALL METHOD alv_grid->set_ready_for_input
       EXPORTING
        i_ready_for_input = 1
    ENDMODULE.                 " STATUS_0100  OUTPUT
    MODULE user_command_0100 INPUT.
      CASE sy-ucomm.
        WHEN 'BACK'.
          LEAVE PROGRAM.
      ENDCASE.
    ENDMODULE.                 " USER_COMMAND_0100  INPUT
    Data Fetch and Filling Field cat
    FORM fetch_data .
      DATA: lt_sto TYPE TABLE OF zarp_sto,
            ls_sto TYPE zarp_sto.
      SELECT *
        FROM zarp_sto
        INTO TABLE lt_sto.
      LOOP AT lt_sto INTO ls_sto .
        PERFORM fill_cell_tab USING ls_sto
                              CHANGING wa_sto.
        MOVE-CORRESPONDING ls_sto TO wa_sto.
        APPEND wa_sto TO it_sto.
      ENDLOOP.
    ENDFORM.                  
    FORM fill_cell_tab USING ls_sto    TYPE zarp_sto
                       CHANGING wa_sto TYPE ty_sto .
      DATA: l_mode     TYPE raw4,
            ls_celltab TYPE lvc_s_styl.
      IF ls_sto-manual_entry IS INITIAL.
        l_mode = cl_gui_alv_grid=>mc_style_disabled.
      ELSE.
        l_mode = cl_gui_alv_grid=>mc_style_enabled.
      ENDIF.
      ls_celltab-fieldname = 'CONTRIBUTION'.
      ls_celltab-style     = l_mode.
      INSERT ls_celltab INTO TABLE wa_sto-celltab.
      ls_celltab-fieldname = 'TOT_CONTRIBUTION'.
      ls_celltab-style     = l_mode.
      INSERT ls_celltab INTO TABLE wa_sto-celltab.
      ls_celltab-fieldname = 'AVG_CONTRIBUTION'.
      ls_celltab-style     = l_mode.
      INSERT ls_celltab INTO TABLE wa_sto-celltab.
    ENDFORM.                 
    FORM fill_fieldcat .
      DATA: ls_fieldcat TYPE lvc_s_fcat.
      CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
        EXPORTING
          i_structure_name             = 'ZARP_STO'
        CHANGING
          ct_fieldcat                  = it_fieldcat.
      LOOP AT it_fieldcat INTO ls_fieldcat .
        IF ls_fieldcat-fieldname = 'CONTRIBUTION' OR
           ls_fieldcat-fieldname = 'TOT_CONTRIBUTION' OR
           ls_fieldcat-fieldname = 'AVG_CONTRIBUTION'.
          ls_fieldcat-edit = 'X'.
          ls_fieldcat-checktable = '!'.
        ELSE.
          ls_fieldcat-auto_value = 'X'.
          ls_fieldcat-checktable = '!'.
        ENDIF.
        MODIFY it_fieldcat FROM ls_fieldcat .
      ENDLOOP.
    ENDFORM.             
    Please help in this issue
    Edited by: SAP LEARNER on Dec 17, 2009 7:32 AM

Maybe you are looking for

  • NEED HELP ON QUERRY (Search with SAF/TREX)

    Hello Gurus, I have to work on standard screen in that they are fetching database and extracting the data by using CL_CRM_EI_IIA_QUERY_UI class. In this calss they are using SET_QUERY, GET_QUERY, GET_TEXT_QUERY, SET_TEXT_QUERY,CREATE_TEXT_EDITOR meth

  • Use BEx variable for user input data, not to filter.

    Hi, I have a situation where I am displaying notification task data.  Each header notif has a number of tasks.  These tasks are marked either newest, oldest or no mark (in the middle) for each different task code. Using VKF's and by passing the user

  • Validator shows errors affecting SERPs for my site

    This is the SERP for my site for the keyword Loan Modification: I cannot figure out why it is not picking up my title tag and meta from my index.html page, which is what I need the SERPs to pick up Here is the head section of my Index.html code. <!DO

  • Invitation E-mail is Never Received

    I have sent an invitation e-mail to one of my users, but the e-mail is never received. I have been monitoring our mail server log file, and the e-mail has never arrived (after more than 24 hours). Three other people received their invitations without

  • Can't turn off Verbose Mode after running disk defrag in minimal environment using Drive Genius 3

    New to posting on here. I'm using a Mid-2009 15in MacBook Pro 2.8 GHz Intel Core 2 Duo 4 GB memory After running Disk Defrag in a minimal environment using Drive Genius 3 my MacBook Pro only starts up in Verbose Mode. I've done my searching on how to