ALV Problem :: Output Problem

Hi Experts,
I have one query. In my ALV output display, I am getting save button as disable mode.
Actually my user wants to save the layout once he hide the particular fields & all.
I have seen the code but there is as such no PF status is maintained for that report.
Can anybody suggest me what I supposed to do so that I can save the layout?
Thanks,
Neha

CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
  I_INTERFACE_CHECK                 = ' '
  I_BYPASSING_BUFFER                = ' '
  I_BUFFER_ACTIVE                   = ' '
   I_CALLBACK_PROGRAM                = sy-repid
  I_CALLBACK_PF_STATUS_SET          = ' '
  I_CALLBACK_USER_COMMAND           = ' '
  I_CALLBACK_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_GRID_SETTINGS                   =
  IS_LAYOUT                         =
    IT_FIELDCAT                       = it_fieldcat
  IT_EXCLUDING                      =
  IT_SPECIAL_GROUPS                 =
  IT_SORT                           =
  IT_FILTER                         =
  IS_SEL_HIDE                       =
  I_DEFAULT                         = 'X'
   I_SAVE                            = 'A'   -- Add this in ur code
  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_final
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.

Similar Messages

  • ALV GRID OUTPUT PROBLEM.

    here i m sending code for u r reviews.
    i have two tables: pa0002, zfm_handy
    i have to display alv grid by using these tables, i m getting output but the fields in the table pa0002(nachn,vorna) r not populated i m getting output for the fields those which r in the table zfm_handy only.
    plz modify this code and suggest according to my requirement...
    *& Report  ZFM_MOBLIST                                                 *
    REPORT  ZFM_MOBLIST.
    TABLES: ZFM_HANDY , PA0002.
    TYPE-POOLS : SLIS.
    DATA: G_REPID LIKE SY-REPID,
          GS_PRINT            TYPE SLIS_PRINT_ALV,
          GT_LIST_TOP_OF_PAGE TYPE SLIS_T_LISTHEADER,
          GT_LIST_END_OF_PAGE TYPE SLIS_T_LISTHEADER,
          GT_EVENTS           TYPE SLIS_T_EVENT,
          GT_SORT             TYPE SLIS_T_SORTINFO_ALV,
          GS_LAYOUT           TYPE SLIS_LAYOUT_ALV,
          GT_FIELDCAT         TYPE SLIS_T_FIELDCAT_ALV,
          FIELDCAT_LN LIKE LINE OF GT_FIELDCAT,
          COL_POS TYPE I.
    *DATA:
    t_HANDY LIKE TABLE OF ZFM_HANDY,
    t_pa0002 like table of PA0002,
    f_handy like line of t_handy.
    *DATA : BEGIN OF I_ZFM OCCURS 0.
    *INCLUDE STRUCTURE ZFM_HANDY.
    *DATA : NACHN LIKE PA0002-NACHN,
          VORNA LIKE PA0002-VORNA,
          END OF I_ZFM.
      DATA : BEGIN OF ty_MOBLIST.
            include structure zfm_handy.
       data: NACHN  like  pa0002-nachn,     
           VORNA     like  pa0002-vorna,
          END OF ty_MOBLIST.
    DATA : BEGIN OF ty_zfm_handy.
            include structure zfm_handy.
    data : END OF ty_zfm_handy.
    DATA : BEGIN OF ty_pa0002,
            NACHN   type pa0002-nachn,     
            VORNA     type pa0002-vorna,
            pernr type pa0002-pernr,
           END OF ty_pa0002.
    data : it_MOBLIST LIKE table of ty_MOBLIST,
           wa_MOBLIST LIKE  ty_MOBLIST ,
           it_zfm_handy LIKE table of ty_zfm_handy,
           wa_zfm_handy LIKE  ty_zfm_handy ,
           it_pa0002 LIKE table of ty_pa0002,
           wa_pa0002 LIKE ty_pa0002 .
    *DATA : BEGIN OF IT_ZFM_MOBLIST OCCURS 0.
           include structure zfm_handy.
      data: NACHN  like  pa0002-nachn,     
          VORNA     like  pa0002-vorna,
        END OF IT_ZFM_MOBLIST.
    DATA : BEGIN OF IT_ZFM_HANDY OCCURS 0.
           include structure zfm_handy.
           END OF IT_ZFM_HANDY.
    *DATA : BEGIN OF IT_ZFM_PA0002 OCCURS 0,
           NACHN   type pa0002-nachn,     
           VORNA     type pa0002-vorna,
           pernr type pa0002-pernr,
          END OF IT_ZFM_PA0002.
    INITIALIZATION.
      G_REPID = SY-REPID.
      PERFORM PRINT_BUILD USING GS_PRINT.      "Print PARAMETERS
    START-OF-SELECTION.
      SELECT * from
               zfm_handy
          into corresponding fields of table it_zfm_handy.
      if not it_zfm_handy[] is initial.
        select  NACHN        
               VORNA     
         from  pa0002
         into table it_pa0002
         for all entries in it_zfm_handy
         where pernr =  it_zfm_handy-pernr.
      endif.                              " not it_zfm_handy
      loop at it_zfm_handy into wa_zfm_handy.
        read table it_pa0002 into wa_pa0002 with key pernr = ty_zfm_handy-pernr.
        if sy-subrc = 0.
          clear wa_MOBLIST.
          move wa_zfm_handy to wa_MOBLIST.
          move wa_pa0002 to wa_MOBLIST.
          append  wa_MOBLIST to it_MOBLIST .
        endif.                    " sy-subrc
      endloop.
    *SELECT * from
              zfm_handy
         into corresponding fields of table it_zfm_handy.
    if not it_zfm_handy[] is initial.
       select  NACHN        
              VORNA     
        from  pa0002
        into table it_pa0002
        for all entries in it_zfm_handy
        where pernr =  it_zfm_handy-pernr.
    endif.                              " not it_zfm_handy
    loop at it_zfm_handy.
       read table it_pa0002 FROM PA0002 with key pernr = ty_zfm_handy-pernr.
       if sy-subrc = 0.
         clear wa_MOBLIST.
         move wa_zfm_handy to wa_MOBLIST.
         move wa_pa0002 to wa_MOBLIST.
         append  wa_MOBLIST to it_MOBLIST .
         APPEND IT_ZFM_MOBLIST.
       endif.                    " sy-subrc
    endloop.
    SELECT *
       FROM zfm_handy
       INTO TABLE t_handy.
    *SELECT ZFM_HANDY~TELNUM ZFM_HANDY~KARTNR ZFM_HANDY~ZUTART ZFM_HANDY~PERNR
            ZFM_HANDYZDATE ZFM_HANDYPINNR ZFM_HANDYPUKNR ZFM_HANDYTARIF1
               ZFM_HANDYTARIF2 ZFM_HANDYTARIF3 ZFM_HANDYGTYPE ZFM_HANDYIMEI ZFM_HANDY~TWINCARD
                  ZFM_HANDYTWINBILL ZFM_HANDYEINBAU ZFM_HANDYBESCHR ZFM_HANDYTEXT1 ZFM_HANDY~TEXT2
                    ZFM_HANDYTEXT3 PA0002NACHN PA0002~VORNA INTO TABLE I_ZFM FROM ZFM_HANDY INNER JOIN PA0002
                         ON ZFM_HANDYPERNR = PA0002PERNR.
            select atelnum akartnr azutart apernr azdate apinnr apuknr atarif1 atarif2 atarif3 agtype aimei a~twincard
            atwinbill aeinbau abeschr atext1 atext2 atext3 bnachn bvorna into table i_zfm from zfm_handy as a inner join pa0002
              as b on apernr = bpernr where apernr = bpernr.
    *telnum , kartnr , zutart , pernr , zdate , pinnr , puknr ,
                tarif1 , tarif2 , tarif3 , gtye , imei , twincard , twinbill , einbau , beschr , text1 , text2 , text3 , nachn , vorna) from
                zfm_handy as a inner join pa0002 as b on apernr = bpernr where apernr = bpernr.
      PERFORM BUILD.
      PERFORM EVENTTAB_BUILD CHANGING GT_EVENTS.
      PERFORM COMMENT_BUILD  CHANGING GT_LIST_TOP_OF_PAGE.
      PERFORM CALL_ALV.
    *&      Form  BUILD
    FORM BUILD.
    DATA FIELD CATALOG
    Explain Field Description to ALV
      DATA: FIELDCAT_IN TYPE SLIS_FIELDCAT_ALV.
      CLEAR FIELDCAT_IN.
      FIELDCAT_LN-FIELDNAME = 'TELNUM'.
      FIELDCAT_LN-TABNAME   = 'IT_MOBLIST'.
      FIELDCAT_LN-NO_OUT    = ' '.
      FIELDCAT_LN-SELTEXT_L = 'TELNUM'.
      APPEND FIELDCAT_LN TO GT_FIELDCAT.
      CLEAR FIELDCAT_IN.
      FIELDCAT_LN-FIELDNAME = 'KARTNR'.
      FIELDCAT_LN-TABNAME   = 'IT_MOBLIST'.
      FIELDCAT_LN-NO_OUT    = ' '.
      FIELDCAT_LN-SELTEXT_L = 'KARTNR'.
      APPEND FIELDCAT_LN TO GT_FIELDCAT.
      CLEAR FIELDCAT_IN.
      FIELDCAT_LN-FIELDNAME = 'ZUTART'.
      FIELDCAT_LN-TABNAME   = 'IT_MOBLIST'.
      FIELDCAT_LN-NO_OUT    = ' '.
      FIELDCAT_LN-SELTEXT_L = 'ZUTART'.
      APPEND FIELDCAT_LN TO GT_FIELDCAT.
      CLEAR FIELDCAT_IN.
      FIELDCAT_LN-FIELDNAME     = 'PERNR'.
      FIELDCAT_LN-TABNAME       = 'IT_MOBLIST'.
      FIELDCAT_LN-NO_OUT        = ' '.
      FIELDCAT_LN-SELTEXT_L = 'PERNR'.
      APPEND FIELDCAT_LN TO GT_FIELDCAT.
      CLEAR FIELDCAT_IN.
      FIELDCAT_LN-FIELDNAME     = 'ZDATE'.
      FIELDCAT_LN-TABNAME       = 'IT_MOBLIST'.
      FIELDCAT_LN-NO_OUT        = ' '.
      FIELDCAT_LN-SELTEXT_L = 'ZDATE'.
      APPEND FIELDCAT_LN TO GT_FIELDCAT.
      CLEAR FIELDCAT_IN.
      FIELDCAT_LN-FIELDNAME     = 'PINNR'.
      FIELDCAT_LN-TABNAME       = 'IT_MOBLIST'.
      FIELDCAT_LN-NO_OUT        = ' '.
      FIELDCAT_LN-SELTEXT_L = 'PINNR'.
      APPEND FIELDCAT_LN TO GT_FIELDCAT.
      CLEAR FIELDCAT_IN.
      FIELDCAT_LN-FIELDNAME     = 'PUKNR'.
      FIELDCAT_LN-TABNAME       = 'IT_MOBLIST'.
      FIELDCAT_LN-NO_OUT        = ' '.
      FIELDCAT_LN-SELTEXT_L = 'PUKNR'.
      APPEND FIELDCAT_LN TO GT_FIELDCAT.
      CLEAR FIELDCAT_IN.
      FIELDCAT_LN-FIELDNAME     = 'TARIF1'.
      FIELDCAT_LN-TABNAME       = 'IT_MOBLIST'.
      FIELDCAT_LN-NO_OUT        = ' '.
      FIELDCAT_LN-SELTEXT_L = 'TARIF1'.
      APPEND FIELDCAT_LN TO GT_FIELDCAT.
      CLEAR FIELDCAT_IN.
      FIELDCAT_LN-FIELDNAME     = 'TARIF2'.
      FIELDCAT_LN-TABNAME       = 'IT_MOBLIST'.
      FIELDCAT_LN-NO_OUT        = ' '.
      FIELDCAT_LN-SELTEXT_L = 'TARIF2'.
      APPEND FIELDCAT_LN TO GT_FIELDCAT.
      CLEAR FIELDCAT_IN.
      FIELDCAT_LN-FIELDNAME     = 'TARIF3'.
      FIELDCAT_LN-TABNAME       = 'IT_MOBLIST'.
      FIELDCAT_LN-NO_OUT        = ' '.
      FIELDCAT_LN-SELTEXT_L = 'TARIF3'.
      APPEND FIELDCAT_LN TO GT_FIELDCAT.
      CLEAR FIELDCAT_IN.
      FIELDCAT_LN-FIELDNAME     = 'GTYPE'.
      FIELDCAT_LN-TABNAME       = 'IT_MOBLIST'.
      FIELDCAT_LN-NO_OUT        = ' '.
      FIELDCAT_LN-SELTEXT_L = 'GTYPE'.
      APPEND FIELDCAT_LN TO GT_FIELDCAT.
      CLEAR FIELDCAT_IN.
      FIELDCAT_LN-FIELDNAME     = 'IMEI'.
      FIELDCAT_LN-TABNAME       = 'IT_MOBLIST'.
      FIELDCAT_LN-NO_OUT        = ' '.
      FIELDCAT_LN-SELTEXT_L = 'IMEI'.
      APPEND FIELDCAT_LN TO GT_FIELDCAT.
      CLEAR FIELDCAT_IN.
      FIELDCAT_LN-FIELDNAME     = 'TWINCARD'.
      FIELDCAT_LN-TABNAME       = 'IT_MOBLIST'.
      FIELDCAT_LN-NO_OUT        = ' '.
      FIELDCAT_LN-SELTEXT_L = 'TWINCARD'.
      APPEND FIELDCAT_LN TO GT_FIELDCAT.
      CLEAR FIELDCAT_IN.
      FIELDCAT_LN-FIELDNAME     = 'TWINBILL'.
      FIELDCAT_LN-TABNAME       = 'IT_MOBLIST'.
      FIELDCAT_LN-NO_OUT        = ' '.
      FIELDCAT_LN-SELTEXT_L = 'TWINBILL'.
      APPEND FIELDCAT_LN TO GT_FIELDCAT.
      CLEAR FIELDCAT_IN.
      FIELDCAT_LN-FIELDNAME     = 'EINBAU'.
      FIELDCAT_LN-TABNAME       = 'IT_MOBLIST'.
      FIELDCAT_LN-NO_OUT        = ' '.
      FIELDCAT_LN-SELTEXT_L = 'EINBAU'.
      APPEND FIELDCAT_LN TO GT_FIELDCAT.
      CLEAR FIELDCAT_IN.
      FIELDCAT_LN-FIELDNAME     = 'BESCHAR'.
      FIELDCAT_LN-TABNAME       = 'IT_MOBLIST'.
      FIELDCAT_LN-NO_OUT        = ' '.
      FIELDCAT_LN-SELTEXT_L = 'BESCHR'.
      APPEND FIELDCAT_LN TO GT_FIELDCAT.
      CLEAR FIELDCAT_IN.
      FIELDCAT_LN-FIELDNAME     = 'TEXT1'.
      FIELDCAT_LN-TABNAME       = 'IT_MOBLIST'.
      FIELDCAT_LN-NO_OUT        = ' '.
      FIELDCAT_LN-SELTEXT_L = 'TEXT1'.
      APPEND FIELDCAT_LN TO GT_FIELDCAT.
      CLEAR FIELDCAT_IN.
      FIELDCAT_LN-FIELDNAME     = 'TEXT2'.
      FIELDCAT_LN-TABNAME       = 'IT_MOBLIST'.
      FIELDCAT_LN-NO_OUT        = ' '.
      FIELDCAT_LN-SELTEXT_L = 'TEXT2'.
      APPEND FIELDCAT_LN TO GT_FIELDCAT.
      CLEAR FIELDCAT_IN.
      FIELDCAT_LN-FIELDNAME     = 'TEXT3'.
      FIELDCAT_LN-TABNAME       = 'IT_MOBLIST'.
      FIELDCAT_LN-NO_OUT        = ' '.
      FIELDCAT_LN-SELTEXT_L = 'TEXT3'.
      APPEND FIELDCAT_LN TO GT_FIELDCAT.
      CLEAR FIELDCAT_IN.
      FIELDCAT_LN-FIELDNAME     = 'NACHN'.
      FIELDCAT_LN-TABNAME       = 'IT_MOBLIST'.
      FIELDCAT_LN-NO_OUT        = ' '.
      FIELDCAT_LN-SELTEXT_L =  'NACHN'.
      APPEND FIELDCAT_LN TO GT_FIELDCAT.
      CLEAR FIELDCAT_IN.
      FIELDCAT_LN-FIELDNAME     = 'VORNA'.
      FIELDCAT_LN-TABNAME       = 'IT_MOBLIST'.
      FIELDCAT_LN-NO_OUT        = ' '.
      FIELDCAT_LN-SELTEXT_L = 'VORNA'.
      APPEND FIELDCAT_LN TO GT_FIELDCAT.
    DATA SORTING
      DATA: GS_SORT TYPE SLIS_SORTINFO_ALV.
      CLEAR GS_SORT.
      GS_SORT-FIELDNAME = 'TELNUM'.
      GS_SORT-SPOS      = 1.
      GS_SORT-UP        = 'X'.
    GS_SORT-SUBTOT    = 'X'.
      APPEND GS_SORT TO GT_SORT.
    CLEAR GS_SORT.
    GS_SORT-FIELDNAME = 'KARTNR'.
    GS_SORT-SPOS      = 2.
    GS_SORT-UP        = 'X'.
    *GS_SORT-SUBTOT    = 'X'.
      APPEND GS_SORT TO GT_SORT.
    ENDFORM.                    "BUILD
    *&      Form  CALL_ALV
    FORM CALL_ALV.
    ABAP List Viewer
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
      EXPORTING
    I_INTERFACE_CHECK = ' '
    I_BYPASSING_BUFFER =
    I_BUFFER_ACTIVE = ' '
      I_CALLBACK_PROGRAM = G_REPID
    I_CALLBACK_PF_STATUS_SET = ' '
    I_CALLBACK_USER_COMMAND = ' '
    I_STRUCTURE_NAME = 'ITAB1'
      IS_LAYOUT =  GS_LAYOUT
      IT_FIELDCAT = GT_FIELDCAT
    IT_EXCLUDING =
    IT_SPECIAL_GROUPS =
        IT_SORT = GT_SORT
    IT_FILTER =
    IS_SEL_HIDE =
    I_DEFAULT = 'X'
    I_SAVE = ' '
    IS_VARIANT =
        IT_EVENTS = GT_EVENTS
    IT_EVENT_EXIT =
        IS_PRINT = GS_PRINT
    IS_REPREP_ID =
    I_SCREEN_START_COLUMN = 0
    I_SCREEN_START_LINE = 0
    I_SCREEN_END_COLUMN = 0
    I_SCREEN_END_LINE = 0
    IT_HYPERLINK =
    IMPORTING
    E_EXIT_CAUSED_BY_CALLER =
    ES_EXIT_CAUSED_BY_USER =
      TABLES
      T_OUTTAB = IT_ZFM_HANDY[]
      EXCEPTIONS
      PROGRAM_ERROR = 1
      OTHERS = 2.
    ENDFORM.                    "CALL_ALV
    HEADER FORM
    FORM EVENTTAB_BUILD CHANGING LT_EVENTS TYPE SLIS_T_EVENT.
      CONSTANTS:
      GC_FORMNAME_TOP_OF_PAGE TYPE SLIS_FORMNAME VALUE 'TOP_OF_PAGE',
      GC_FORMNAME_END_OF_PAGE TYPE SLIS_FORMNAME VALUE 'END_OF_PAGE'.
      DATA: LS_EVENT TYPE SLIS_ALV_EVENT.
      CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
        EXPORTING
          I_LIST_TYPE = 0
        IMPORTING
          ET_EVENTS   = LT_EVENTS.
      READ TABLE LT_EVENTS WITH KEY NAME =  SLIS_EV_TOP_OF_PAGE
                               INTO LS_EVENT.
      IF SY-SUBRC = 0.
        MOVE GC_FORMNAME_TOP_OF_PAGE TO LS_EVENT-FORM.
        APPEND LS_EVENT TO LT_EVENTS.
      ENDIF.
    define END_OF_PAGE event
      READ TABLE LT_EVENTS WITH KEY NAME =  SLIS_EV_END_OF_PAGE
                               INTO LS_EVENT.
      IF SY-SUBRC = 0.
        MOVE GC_FORMNAME_END_OF_PAGE TO LS_EVENT-FORM.
        APPEND LS_EVENT TO LT_EVENTS.
      ENDIF.
    ENDFORM.                    "EVENTTAB_BUILD
    *&      Form  COMMENT_BUILD
    FORM COMMENT_BUILD CHANGING GT_TOP_OF_PAGE TYPE SLIS_T_LISTHEADER.
      DATA: GS_LINE TYPE SLIS_LISTHEADER.
      data: today_date(10) type c.
      concatenate
      sy-datum+6(2) '.'
      sy-datum+4(2) '.'
      sy-datum(4) into today_date.
      CLEAR GS_LINE.
      GS_LINE-TYP  = 'H'.
      GS_LINE-INFO = 'MOBLIST DETAILS'.
      APPEND GS_LINE TO GT_TOP_OF_PAGE.
      CLEAR GS_LINE.
      GS_LINE-TYP  = 'S'.
      GS_LINE-KEY  = 'Date:'.
      GS_LINE-INFO = today_date.
      APPEND GS_LINE TO GT_TOP_OF_PAGE.
    GS_LINE-KEY  = 'User:'.
    GS_LINE-INFO = sy-uname.
      APPEND GS_LINE TO GT_TOP_OF_PAGE.
      CLEAR GS_LINE.
      GS_LINE-TYP  = 'A'.
      GS_LINE-INFO = 'ACTION'.
      APPEND GS_LINE TO  GT_TOP_OF_PAGE.
    ENDFORM.                    "COMMENT_BUILD
    *&      Form  TOP_OF_PAGE
    FORM TOP_OF_PAGE.
      CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
        EXPORTING
          IT_LIST_COMMENTARY = GT_LIST_TOP_OF_PAGE.
      WRITE: SY-DATUM, 'Page No', SY-PAGNO RIGHT-JUSTIFIED.
    ENDFORM.                    "TOP_OF_PAGE
    *&      Form  END_OF_PAGE
    FORM END_OF_PAGE.
      WRITE: /.
      WRITE at (sy-linsz) sy-pagno CENTERED.
    ENDFORM.                    "END_OF_PAGE
    ### PRINT SETTINGS
    FORM PRINT_BUILD USING LS_PRINT TYPE SLIS_PRINT_ALV.
      LS_PRINT-PRINT              = ' '. "PRINT IMMEDIATE
      LS_PRINT-NO_PRINT_SELINFOS  = 'X'. "NO SELECTION INFO
      LS_PRINT-NO_COVERPAGE       = ' '. "NO COVER PAGE
      LS_PRINT-NO_NEW_PAGE        = ' '. "NO NEW PAGE
      LS_PRINT-NO_PRINT_LISTINFOS = 'X'. "NO PRINT LIST INFO
      LS_PRINT-RESERVE_LINES      = 2.   " FOOTERLINE
    ENDFORM.                    "PRINT_BUILD

    Hi narendra,
    loop at it_zfm_handy into wa_zfm_handy.
    <b>read table it_pa0002 into wa_pa0002 with key pernr = ty_zfm_handy-pernr.</b>
    if sy-subrc = 0.
    clear wa_MOBLIST.
    move wa_zfm_handy to wa_MOBLIST.
    move wa_pa0002 to wa_MOBLIST.
    append wa_MOBLIST to it_MOBLIST .
    endif. " sy-subrc
    endloop.
    <b>read table it_pa0002 into wa_pa0002 with key pernr = ty_zfm_handy-pernr.</b>
    replace the above statement with
    <b>read table it_pa0002 into wa_pa0002 with key pernr = it_zfm_handy-pernr.</b>

  • Problem in alv report output

    Hi friends,
    i have created alv report .no problem of getting output . but i m getting question mark in the standard menu. it is displaying 10 question mark (sub menu has print preview etc), edit ,question marks(ABC Analysis) ,question marks (abap list viewer etc ), settings ,system , help.
    i don't want these question marks. how to candle this.i haven't moved to test or production , but iwant  to know  in development  why it is coming..
    if any one knows please let me know.
    thanks and regards,
    kani.

    The Problem is with some GUI inconsistency.
    to overcome there are 2 solutions.
    1. You need to run a program Which i don't remember exactly.
    2. Using the Status event.
    CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
      EXPORTING
        i_callback_program = sy-repid
        it_fieldcat        = it_fieldcat
    I_CALLBACK_PF_STATUS_SET = 'STATUS'  "important
        it_sort            = it_sort
      TABLES
        t_outtab           = it_data
      EXCEPTIONS
        program_error      = 1.
    form status using extab tyoe slis_t_extab.
    "This status you can set using the program SAPLKKBL
    " go to se41 transaction, enter the program name SAPLKKBL
    "status as STANDARD , and click the Button Copy status
    "Now in the popup for Option to enter your program name and
    "press ok, then save and activate the status
    "now come here and activate the code and test now..
    set pf-status 'STANDARD' excluding extab.
    endform.

  • Problem in displaying Alv grid output  using oops........

    hi,
    i have two problems in displaying ALV grid output Using Oops.
    1) How to modify the fieldcatalog after we getting a field catalog using general FM.
    2) initialy it is displaying 13 fields but there are 63 fields .
       eventhough we chage the layout to 63 fields it is displaying only 13 fields , these 13 fields may be different based on our selection but count  of displayed fileds are same . how can display 63 fields at a time .

    Hi,
    You can chnage using below code:
    loop at gt_fieldcat.
    if <gt_fieldcat-field_name> = 'FIELDNAME'.
    endif.
    modify gt_fieldcat.
    clear gt_fieldcat.
    endloop.
    Make sure that all the field should not have no_out = 'X' and tech = 'X'.
    Thanks,
    Sriram Ponna.

  • Facing problem while downloading ALV grid Output into Excel

    Hi Guys,
    I am facing problem while downloading ALV grid Output into Excel.
    It is downloading into excel, but all character columns first and next all quantity columns it is displaying. But I need columns order as it is in the grid.
    If I take all columns as characters it works fine. But it will be problem for calculating total, subtotals of quantity columns
    Can someone help me regarding this
    thanks for your help

    Hi,
    Open up Excel on your desktop. Goto Tools > Macro > Security.
    Make sure that your security is set to Medium (or less). SAP uses OLE automation to run the Excel instance and in Office 2003 (for example), Microsoft has increased their default security setting to High. With the High setting, the output to Excel fails.
    Was this your problem? Don't forget those points, either.
    check with this wetther it is solved or not.
    Regards,
    sana.

  • Problem when dowloading the ALV report output to Excel Sheet.

    Hi ,
    I am dowloading the ALV report output to Excel Sheet.
    There is field Condition Unit(KOMP-KMEIN) in the output of the ALV, this has values PC and CSE , but when I download to Excel Sheet, CSE is appearing as CSE ,but PC is appearing as ******.
    Can you please help me in knowing the reson for this.
    Regards,
    Madhu.

    hi
    refer to following link
    http://www.****************/Tutorials/ALV/ColorSALV/Demo.htm
    http://www.sap-img.com/abap/download-to-excel-with-format-border-color-cell-etc.htm
    Cheers
    Snehi
    Edited by: snehi chouhan on Jul 11, 2008 12:42 PM

  • ALV grid Refresh problem

    hi,
    I have 2 views, input and output these two included in a MAIN views.
    when user key in their input values in INPUT view and the search results will be displayed in OUTPUT view using ALV grid.
    the problem i'm facing here is, when user changes search criteria once after search results displayed.. it is not displaying with new search results. every time i have to give F5(Refresh) it is certainly not comfortable to deliver it as it is.
    i have tried same scenario with simple query in our local server.. where it is working very well.
    i really clueless what would be the cause.. is there any with SAP patch issues.
    i have tried with refresh method of ALV component.
    please help me out of this, i cannot use TABLE control every time to avoid this.
    thanks,
    gupta.

    Hi Gupta,
    Could you please let us know how you are filling the context node which is mapped to ALV table?
    After the search criteria is changed, if you are doing it inside handler of the button or something like that, it should work.
    Refer to the tutorial in the following link which shows an example similar to your scenario:
    SAP List Viewer in Web Dynpro - Simple Example for Using ALV
    please post the code also which you are using to fill the node in case if you still face the issue after referring to the above tutorial.
    Hope this helps!
    Regards.
    Srilatha
    Edited by: Srilatha M on Jul 19, 2010 7:57 AM

  • Macbook mini DVI to DVI output problems

    hi
    I've been using a samsung syncmaster 22" with my macbook for about a year now with no problems using the mini DVI to DVI connection
    then earlier this week i used a different DVI cable to plug my playstation 3 into the screen, when i plugged the computer DVI cable back into the screen lots of red/pink pixels have taken over the screen and when the desk is nudged red lines flash up
    i thought it might be either the DVI cable or the mini DVI to DVI adapter and replaced both to no avail, i have also tested all the cables on other screens/with other computers, and tested the screen with my playstation. Screen and cables all work fine so i think it must be some kind of output problem, but cant work out what it could be seeing as nothing would have happened to the port on the actual computer whilst changing connections on the samsung screen
    sorry for the long winded post, really wanna know what the problem is here

    Hi cbeth,
    welcome to macbook forum.
    For your friend macbook, try to press F7 back and forth to switch between mirror and expanded mode.
    Try to update your macbook hardware firmware and software using software updater and repair permission after that...application/utilities/disk utility/repair permission.
    Also reset your PRAM and PMU.
    Open your friend system preference / display and try to compare and set yours similar to hers, including resolution, color depth, refresh rate.
    Good Luck.

  • Mac mini audio output problems

    This is similar to a problem that appeared before, but with a different twist.
    On 4 July all was well. On 5 July I switched on and there was no "chord" from the Mac. When I collected my mail - no sound from my speakers (which are part of my screen). Logged on to a couple of sites - no sound.
    The System Profiler, under the "Audio (Built In)" category, says: "No Built-in Audio." I know that's wrong because it's always worked before and when I plug my headset in it works fine.
    When I go to the Sound preferences panel in System Preferences, it finds the headset but if I unplug that it finds nothing.
    I tried running the hardware test (by putting in the OS X install disc and holding D during startup.) It couldn't find a problem.
    So, as far as I can see, audio output is fine for the USB headset output but not for the others. Is there a simple fix? The nearest Apple store is about 200 miles away and I don't fancy the idea of posting the Mac off.
    (And I think it's still under warranty for a couple more weeks.)
    Mac mini   Mac OS X (10.4.10)  

    hello mini users with the "no audio output" problem
    it seems that there are faulty output jacks in the macbook and the mac mini
    there are two things you can try:
    i tried everything and began thinking about what new software i had installed. it was "macam" which enables you to use older webcams on OSX. i needed that to use my webcam on skype.
    macam installs a file called "macam.component"
    if you have the same, do this - take that file out of:
    (your hard drive)/library/quicktime - macam.component
    and just put it on your desktop
    restart, then in your sound pref's choose your audio output (if doesn't work restart again)
    the first time i took it out, i had my sound back instantly, another time i had to choose audio output in sound prefs. you kind of have to try different things. after you get your sound back, you can put back "macam.component" to use your webcam.
    it seems macam causes the problem, the two can not work at the same time.
    the second thing: if you dont have "maccam" try plugging and unplugging output jack a few times and restarting until you have sound.
    the problem still could be with the OSX 10.4.10 update / quicktime...or maybe even a hardware problem like others with macbooks were saying (with the red light), not sure.
    people with macbooks and who have the red light on, say to use a paperclip to turn off the switch inside.
    my mini does not have a red light on. i tried using a paperclip but it doesnt work.
    hope this helps, beleive me i feel your pain!!!!
    what good is a computer without sound?
    extremely annoying problem that i hope apple looks into and fixes
    -andrew

  • Delimited output problem at the time of writing in to text file

    Hi ,
    I am using matrix stayle design for my reports when i am generating reports in delimited format i am getting Delimited output problem(DR.Watson ERROR) at the time of writing in to textfile.

    Hi,
    Try with new desformat delimiteddata which is available with Report 6i patch 11.
    Thanks
    Oracle Reports Team

  • Problem outputting 16:9

    Hello,
    I'm having the following output problem.
    The clips in the sequence are 16:9, it is clearly seen in the viewer and player.
    And also check-box "anamorphic" is checked in every clip.
    The sequence and easy setup both set to be anamorphic.
    However when I export movie/sequence using "Export Quick time movie" I'm getting 4:3 result. I tried "Export quick time conversion" and forced 16:9 in the video settings. At the point I got 16:9 Quick time movie, but the chapter markers for iDVD were lost (dialog box with options does not even mention markers anywhere).
    The questions are why simple exporting does not produce 16:9 result from 16:9 sequence and, more importantly, (If I'm doing something wrong) how to properly export 16:9 movie preserving chapter markers for iDVD?
    Thank you.

    Thank you very much. The Quicktime trick solved the problem.
    I kinda understand why simple exporting does not give 16:9,
    but I think that removing markers while doing proper 16:9 export with re-compression is not correct.

  • Output problem in ME9F

    Hi All,
    I have a problem in PO smartform. I have 2 items in the PO in which i am deleting one or both.
    I am getting the output displayed correctly when i am seeing the output in print preview of ME23n.
    But when i am trying to get the output from ME9F, i am not getting the correct output as in print preview of ME23n.
    Kind regards,
    Sudhir

    Hello Sudhir,
    Please be clear on as to what you are not geting correctly.
    There might be many reasons for not getting a print like Basis problems, Template Problems etc.
    Let me know if the print is not at all coming or print is coming but the alignment is not proper.
    I had also suggest you to take print out on a different printer to check if  its printer problem or SAP problem.
    Regards,
    ravi Kiran

  • Premiere Elements 12 output problem

    I am having problems outputting my project. Different errors messages.  One says transcoding error.  Another time it says export error.  Other times it crashes. And then the program won't even open. 
    Any suggestions?
    bwatson9

    Steve,
    First, thank you for your prompt response.  This is the first time I have used Premiere Elements 12.  I don't seem to have a manual for the software.
    The product was bought with my new computer.  I am using windows 8.1 (64-bit) with Intel Core i7-4770 CPU @ 3.40GHz.  I have 12 GB of installed RAM.  I have 1TB hard drive of which this is the first project I done. 
    I have checked to make sure that I am getting all Windows and Microsoft Updates.  I even manually went to Windows Update and installed the optional updates.
    The project is a 20 min. video using mostly photos and 2 small video clips.  The project is saved in its own folder.
    When I go to the timeline in Expert view I do see an orange-yellow line above the timeline.  It runs the whole length of the project.
    I understand from reading the FAQ's that each photo cannot be larger than 1000 x 750 pixels.  I will check that and reduce their size.  Is there anything else that I need to do?
    Where can I find a manual?
    Thanks,
    bwatson9
    Date: Sun, 23 Mar 2014 06:31:03 -0700
    From: [email protected]
    To: [email protected]
    Subject: Premiere Elements 12 output problem
        Re: Premiere Elements 12 output problem
        created by Steve Grisetti in Premiere Elements - View the full discussion
    A lot depends on a lot.
    What operating system are you using? What processor do you have and how much RAM and how much free space is on your hard drive?
    How long is your project? What model of camcorder is your video coming from and what format and resolution is it?
    Have you ensured that your project file is saved to its own folder, with no other project files in this folder?
    When you add your video to your timeline in Expert view, do you see a yellow-orange line above the clips, along the top of the timeline? This indicates a mismatch between project settings and video specs.
    If you are on a Windows computer, have you set up your computer to get both Windows and Microsoft Updates -- and have you manually gone to Windows Update and ensured you have even the optional updates that don't install automatically?
    When did you last run Disk Cleanup and Disk Defragmenter?
         Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/6234402#6234402
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/6234402#6234402
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/6234402#6234402. In the Actions box on the right, click the Stop Email Notifications link.
               Start a new discussion in Premiere Elements at Adobe Community
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0.

  • ALV Grid Event Problem

    Hi,
    I have a dialog that contains an ALV grid and three buttons.  When the ALV grid is created, it's parent is specified as a custom container.
    Container
    data : g_custom_container type ref to cl_gui_custom_container.
    ALV Grid
    data : g_grid             type ref to cl_gui_alv_grid.
        create object g_custom_container
               exporting container_name = p_cont_name.
        create object g_grid
               exporting i_parent = g_custom_container
               I_APPL_EVENTS = 'X'.
    I would like the user to be able to just hit enter to accept the values displayed in the ALV.  My problem is that when the dialog is created, the ALV has focus so the event isn't getting to the PAI of the dialog.  If I click the mouse outside of the ALV to take focus away from the ALV, hitting the enter key does trigger the correct event in the dialog PAI.  How can I either set the focus outside of the ALV when the dialog loads, or make the ALV forward the event to the dialog.
    Thank you very much for any isight you can lend!
    John Richason

    Hi John, are you working with an editable ALV grid?  If so, the code below will allow an event to be fired when the user hits enter after the data has been changed.
               call method alv_grid->register_edit_event
                            exporting
                               i_event_id = cl_gui_alv_grid=>mc_evt_enter.
    You then need to create an event handler to handle the event being fired when the data is changed.
    *   create Event Receiver
              create object event_receiver.
    *   handler for ALV grid
              set handler event_receiver->handle_data_changed for alv_grid.
    REgards,
    Rich Heilman

  • Problem outputting AVI video

    I've had no problems outputting clips from FCP5 as AVI files before but suddenly when I try to export using QuickTime conversion to AVI my clips are only outputting as audio files – the video is missing! everything is rendered; what am I doing wrong? thanks. Ric

    And is this now the case with every AVI you export or is it specific to particular source footage?
    What happens if you create a new clean user account and test the Export Quicktime Conversion to AVI using that account?
    You might want to take a moment to do some basic system maintenance too, just in case.

Maybe you are looking for

  • Creative ZEN Stone Shuffle Mode?

    %Creative ZEN Stone > Shuffle Mode? I recently bought a Creative ZEN Stone 2GB (2nd generation) MP3 Player. I created one folder with random music I like to listen to while making sports which I'd like to play in Shuffle mode and some other folders c

  • Unable to upload document in KM Content

    Hi all,          I am uploading documents into KM content by following path Folder> New> Upload. Previously it was working fine but today  the document is not getting uploaded and it is not giving any error message also.        I followed the path Fo

  • Multiple Streams From iTunes

    Currently, use multiple streams to two Airport Express stations to various parts of the house when I entertain guests. If I add an Apple TV, will I be able to stream music to it at the same time as the two Airport Express stations? Has anyone tried t

  • How come i cannot read texts in email once i open them?

    When i have read emails from either the desktop or an iPad, I can not longer read the body of the same email using an iPhone 4S.  How do I read emails in multiple devices? Thank you!

  • Foreach syntax + generics, Possible compiler bug?

    I'm encountering an odd problem trying to use generics and the foreach (colon) syntax. The code in question: for (Iterator<String> it = col.getParameterNames().iterator(); it.hasNext();) {} for (String paramName : col.getParameterNames()) {}col is an