Report Layout Variant - transaction S_AHR_61016503 - Staff Assignments

Hi,
One of our users has created a layout variant in the above report. Some other users can view and choose the layout but one cannot. Is there an authorisation object missing? If not, does anyone have any ideas why this one person cannot view it.
Thanks
Hannah

Hi Arun,
Thanks for your reply. If the authorisation group is blank, shouldn't anyone be able to view it?
Thanks
Hannah

Similar Messages

  • Report Layout variant

    Hi Gurus
    Please help me regarding a Report layout variant.
    1. Can I transport a report layout variant and how?
    Regards
    KTK

    How to transport a Layout variant
    As an example use transaction code FBL5. Run it for some selection criteria (customer code, company code).
    Goto menu option Settings  Display Variants  Administration
    Now select your variant and goto menu option Layout  Transport
    Hope this is what you are looking for.
    Regards

  • Report Layout variant missing in ECC6

    Hi All,
    we are going for upgrade from 4.6 to ECC6. In ECC6 in most of report's  report layout variant are missing in ECC6.But our client want same variant in ECC6 as in 4.6.
    Please sugest how to over come this issue.
    Thanks
    Mohit Khandelwal

    Mohit,
    I think you can try out this...
    Include the variant in a transport request and give the transport req no to the basis guy; and inform him to import the same req no into ECC6 version.
    He can export the transport req no from 4.6 to windows desktop and then he can import the same into ECC 6 system.
    I hope this will solve your issue.
    - Seenu
    Edited by: Sreenivasulu Nallani on Jan 25, 2010 12:24 PM

  • Help on Report Layout Variant.

    Hello,
    I have a requirement as stated below:
    I have a custom report and it displays say 15 fields. I have created a variant for it to display only 10 fields.
    Now, is there a Function Module or a report that will give me details of these 10 fields that I have chosen.
    Basically I want to know if there is a FM that gives details of a report layout variant by just passing the report name and the variant name etc?
    Thank,
    Ketan.

    Hi Ketan,
    check this FM : REUSE_ALV_VARIANT_SELECT
    sample code :
    DATA: g_variant          LIKE disvariant.
    CONSTANTS:
      g_x            VALUE 'X'.
    DATA: g_fieldcat_tab     TYPE slis_t_fieldcat_alv.
    DATA: g_layout           TYPE slis_layout_alv.
    DATA: g_fieldcat_tab     TYPE slis_t_fieldcat_alv.
    DATA: g_sortfields_tab   TYPE slis_t_sortinfo_alv.
    DATA: g_filter_tab       TYPE slis_t_filter_alv.
      IF NOT g_variant-variant IS INITIAL.
        CALL FUNCTION 'REUSE_ALV_VARIANT_SELECT'
             EXPORTING
                  i_dialog            = ' '
                  i_user_specific     = g_x
                  i_default           = ' '
                I_TABNAME_HEADER    =
                I_TABNAME_ITEM      =
                  it_default_fieldcat = g_fieldcat_tab[]
                  i_layout            = g_layout
             IMPORTING
                E_EXIT              =
                  et_fieldcat         = g_fieldcat_tab[]
                  et_sort             = g_sortfields_tab[]
                  et_filter           = g_filter_tab[]
             CHANGING
                  cs_variant          = g_variant
             EXCEPTIONS
                  wrong_input         = 1
                  fc_not_complete     = 2
                  not_found           = 3
                  program_error       = 4
                  OTHERS              = 5.
        IF sy-subrc IS INITIAL.
        ENDIF.
    ENDIF.
    Regards
    Appana

  • KE30 Report Layout Variants

    Dear Fico Family members.....
    KE30 Report is a multidimentaional nd highly flexible report, many of the users accessing the report regularly and they can view the report as per their requirement in different dimentational...
    Std functionality : Any one can access the report and view the report in their view without saving that views.
    Problem : In our case users access the report in different view and finally they are saving that views this is  become a big truobles for next user..
    Clarification need from you end :--
    1) Is there any chance to create Userwise layout option
    2) How to control above problem ??
    Qucik solutions highly appreciated and rewardable
    Regards
    Suresh Polineni

    Is the issue regarding too many saved views getting difficult to manage, or is it that the subsequent users end up seeing a calling a view they don't wish to?
    The first is a training issue.
    In the second option, the system normally asks if it should re-read the data or display a saved version as of a <<date>>. Ask the report to run afresh and it shouldn't resort to saved views.
    Cheers.

  • Handle in the report layout structur.

    Hi Team,
    I have created a selection screen with two radio buttons one for Preq Details and another for PO Details.I am showing the output in ALV Report using(Reuse_alv_grid_display).Also i am saving the report layout variants  in the alv report using(Reuse_alv_variant_f4,REUSE_ALV_VARIANT_DEFAULT_GET and REUSE_ALV_VARIANT_EXISTENCE).I am getting the layout variant but Layout Variants saved for P-req report should not show up in PO report and vice versa.)what to do for that one?
    i have read some postings saying that just we need to a Pass HANDLE in layout structure..but still i am not able to save them in specific report.
    Thanks
    Shakeer

    Hi Friends,
    Can any one Please help me..
    Thanks,
    Shakeer

  • Layout variant is not working in background in ALV report

    Hi,
    I have one LAV report to send the report output through mail in foreground and backgroud.Final internal table is having 46 fileds to display the output.But here user is saving the layout variant and sending that layout variant output to mail id in excel format with zip file.Its working in foreground.But in background its not working.Even if we select the layout variant,its sending all the 46 fileds to mail.
    here we have used the below FM to update the fieldcat itab.
    CALL FUNCTION 'REUSE_ALV_GRID_LAYOUT_INFO_GET'
        IMPORTING
          et_fieldcat   = it_fieldcat[]
          es_variant    = v_disvariant
        EXCEPTIONS
          no_infos      = 1
          program_error = 2
          OTHERS        = 3.
    In for ground NO_OUT = 'x' for non selected fields and NO_OUT = ' ' for selected fields.
    But in background NO_OUT = ' ' for all the fileds, even if we select the layout variant.
    Please suggest me  with the solution.
    Regards,
    Jayaram

    hi ,
    Do according to this
    SORT t_ekbe by belnr.
      if  t_ekbe[] is not initial  .
          SELECT  MBLNR
            BWART
            SMBLN
            ERFMG   " This is the new added field
            erfme     " This is the new added field
          INTO CORRESPONDING FIELDS OF TABLE t_mseg
        for all entries in t_ekbe
          from mseg
          where mblnr = t_ekbe-belnr
          AND   bwart = '101'.
      endif.
    after this
    loop at t_ekbe .
    loop at t_mseg  where mblnr  = t_ekbe-belnr .
      t_ekbe-ERFMG = t_mseg-ERFMG .
    t_ekbe-erfme =   t_mseg-erfme  .
    modify t_ekbe transporting ERFMG  erfme .
    clear t_mseg .
    endloop.
    clear t_ekbe .
    endloop.
    Regards
    Deepak .

  • Download alv report using layout variant in background

    Hi All,
    I want to download an Alv report using layout varaint in background job.
    can any one please help me.
    i.e...
    I am facing a problem in downloading a text file to the Application server.
    My requirement is, when the user downloads a file with the layout variant, the file should have only the columns which was selected in the variant.
    Will rewards to helpfull ans
    regards
    Chetan

    hey seshu,
    I am facing a problem in downloading a text file to the Application server.
    My requirement is, when the user downloads a file with the layout variant, the file should have only the columns which was selected in the variant.

  • Downloading ALV Report using Layout Variant

    I want to download an Alv grid report output using layout varaint to Presentation server and also wants to mail to user .
    i.e...
    I am facing a problem in downloading and in sending mail.
    My requirement is, user  will choose  layout variant
    As per Variant chosen, i have to download that alv grid output to presentation server and also to mail.
    These download and mail sending options is in selction screen
    Will rewards to helpfull ans

    Hello,
    Do like this.
    FORM DOWNLOAD_FILE TABLES P_T_LISTE STRUCTURE G_T_LISTE.
      G_R_DISP_VARIANT-REPORT = SY-REPID.
      G_R_DISP_VARIANT-VARIANT = PA_VAR.
      CALL FUNCTION 'REUSE_ALV_VARIANT_SELECT'
           EXPORTING
                I_DIALOG            = 'N'
                I_USER_SPECIFIC     = 'A'
                I_DEFAULT           = 'X'
                IT_DEFAULT_FIELDCAT = G_T_FIELDCAT
                I_LAYOUT            = G_R_LAYOUT
           IMPORTING
                ET_FIELDCAT         = G_T_FIELDCAT
                ES_LAYOUT           = G_R_LAYOUT
           CHANGING
                CS_VARIANT          = G_R_DISP_VARIANT
           EXCEPTIONS
                ERROR_MESSAGE       = 4
                OTHERS              = 4.
      LOOP AT G_T_FIELDCAT INTO G_R_FIELDCAT WHERE NO_OUT NE 'X'
                                               AND TECH IS INITIAL
                                               AND FIELDNAME NE 'ICON'.
        MOVE-CORRESPONDING G_R_FIELDCAT TO IS_FIELDCAT.
        IS_FIELDCAT-FIELDNAME = G_R_FIELDCAT-FIELDNAME.
        IS_FIELDCAT-INTTYPE   = G_R_FIELDCAT-INTTYPE.
        IS_FIELDCAT-OUTPUTLEN = G_R_FIELDCAT-OUTPUTLEN.
        IS_FIELDCAT-REF_FIELD = G_R_FIELDCAT-FIELDNAME.
        IS_FIELDCAT-REF_TABLE = G_R_FIELDCAT-REF_TABNAME.
        APPEND IS_FIELDCAT TO IT_FIELDCAT.
      ENDLOOP.
      DATA: WA_LISTE LIKE P_T_LISTE.
      CLEAR:IT_OUTTAB.
      REFRESH: IT_OUTTAB.
      LOOP AT P_T_LISTE INTO WA_LISTE.
        WA_OUTTAB-PSPID = WA_LISTE-PSPID .
        WA_OUTTAB-POSID = WA_LISTE-POSID.
        WA_OUTTAB-POST1 = WA_LISTE-POST1.
        WA_OUTTAB-STTXT_INT = WA_LISTE-STTXT_INT.
        WA_OUTTAB-STTXT_EXT = WA_LISTE-STTXT_EXT.
        APPEND WA_OUTTAB TO IT_OUTTAB.
      ENDLOOP.
    **dynamic table creation for data
      ASSIGN LT_DATA TO <FS_DATA>.
    * Create a new Table
      CALL METHOD CL_ALV_TABLE_CREATE=>CREATE_DYNAMIC_TABLE
      EXPORTING
            IT_FIELDCATALOG = IT_FIELDCAT
      IMPORTING
            EP_TABLE = <FS_DATA>
      EXCEPTIONS
          GENERATE_SUBPOOL_DIR_FULL = 1
          OTHERS                    = 2.
      IF SY-SUBRC = 0.
        ASSIGN <FS_DATA>->* TO <FS_1>.
        CREATE DATA NEW_LINE LIKE LINE OF <FS_1>.
    *** A field-symbol to access that work area
        ASSIGN NEW_LINE->*  TO <FS_2>.
    **MOVE DATA
        LOOP AT IT_OUTTAB INTO WA_OUTTAB.
          CALL FUNCTION 'CONVERSION_EXIT_ABPSN_OUTPUT'
               EXPORTING
                    INPUT  = WA_OUTTAB-PSPID
               IMPORTING
                    OUTPUT = WA_OUTTAB-PSPID.
          CALL FUNCTION 'CONVERSION_EXIT_ABPSN_OUTPUT'
               EXPORTING
                    INPUT  = WA_OUTTAB-POSID
               IMPORTING
                    OUTPUT = WA_OUTTAB-POSID.
          LOOP AT G_T_FIELDCAT INTO G_R_FIELDCAT
                              WHERE NO_OUT IS INITIAL
                                AND TECH IS INITIAL.
            ASSIGN COMPONENT G_R_FIELDCAT-FIELDNAME OF STRUCTURE
                                                    WA_OUTTAB TO <FS_5>.
            ASSIGN COMPONENT G_R_FIELDCAT-FIELDNAME OF STRUCTURE
                                                    <FS_2> TO <FS_3>.
            <FS_3> = <FS_5>.
          ENDLOOP.
          INSERT <FS_2> INTO TABLE <FS_1>.
        ENDLOOP.
      ELSE.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      OPEN DATASET P_FILE FOR OUTPUT IN TEXT MODE.
      IF SY-SUBRC EQ 0.
        LOOP AT <FS_1> ASSIGNING <FS_2>.
          TRANSFER  <FS_2> TO P_FILE.
        ENDLOOP.
      ELSE.
        MESSAGE E041(S9) WITH P_FILE.
      ENDIF.
      CLOSE DATASET P_FILE.
    ENDFORM.                    " download_file
    * 002 vsm1kor 13.06.06 - en
    Regards,
    Vasanth

  • DB Table for Layout Variant in ALV report

    Please help me by providing the table name which will get an entry when we save Layout Variant in ALV(OO ALV grid) output.

    Hi,
    I have seen the table LTDX which is giving me the Variant names for a particular program. Hope this will help you.
    Database table is LTDX
    Database view is V_LTDX.
    Regards,
    Venaktesh

  • Running the ALV report in Background using layout variant

    Hello Everyone,
    I am facing a problem in downloading a text file to the Application server.
    My requirement is, when the user downloads a file with the layout variant, the file should have only the columns which was selected in the variant.
    Can anybody give me a optimized solution for this issue.
    Regards,
    Vasanth

    Hi,
    How are you downloading the file to the app server, using which internal table? How are you building that internal table?
    What you need to do is to build a internal table dynamically with only those columns that are a part of the layout variant. Then move the data from the original internal table into this and then download the dynamica internal table to the app server.
    Regards,
    Ravi
    Note : Please mark the helpful answers

  • ALV layout variant missing in background job.

    hi guys,
    Having problem on getting the default ALV layout variant when run the job in backgorund. Please advise any correction needed in the following code.
    Thanks.
    *&  Include           Z_MM_KBR_AGSUBCONINV_MOD2                        *
    MODULE status_0100 OUTPUT.
      SET PF-STATUS '100'.
      SET TITLEBAR '100'.
    ENDMODULE.                 " STATUS_0100  OUTPUT
    *&      Module  display_data  OUTPUT
          text
    MODULE display_data OUTPUT.
    IF sy-batch IS INITIAL. "Foreground
      IF w_container IS INITIAL.
        IF cl_gui_alv_grid=>offline( ) IS INITIAL.
    *Creating the container
          CREATE OBJECT w_container
            EXPORTING
              container_name              = c_container
            EXCEPTIONS
              cntl_error                  = 1
              cntl_system_error           = 2
              create_error                = 3
              lifetime_error              = 4
              lifetime_dynpro_dynpro_link = 5
              OTHERS                      = 6.
          IF sy-subrc <> 0.
         MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
          ENDIF.
        ENDIF.
    *Creating the ALV GRID
        CREATE OBJECT w_grid
          EXPORTING
            i_parent          = w_container
            i_appl_events     = c_check
          EXCEPTIONS
            error_cntl_create = 1
            error_cntl_init   = 2
            error_cntl_link   = 3
            error_dp_create   = 4
            OTHERS            = 5.
        IF sy-subrc <> 0.
         MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
        else.
         exit.
        ENDIF.
      ELSE.
    *Creating the ALV GRID
        CREATE OBJECT w_grid
          EXPORTING
            i_parent          = go_dock_container
            i_appl_events     = c_check
          EXCEPTIONS
            error_cntl_create = 1
            error_cntl_init   = 2
            error_cntl_link   = 3
            error_dp_create   = 4
            OTHERS            = 5.
        IF sy-subrc <> 0.
          WRITE:/ 'Error in grid'.
        ENDIF.
         CREATE OBJECT w_grid
          EXPORTING  i_parent = go_dock_container.
      ENDIF.
    *getting the variant option
        wa_variant-report     = sy-repid.
        wa_variant-username   = sy-uname.
        wa_layout-grid_title  = sy-title.
        wa_layout-cwidth_opt  = c_check.
        wa_layout-zebra       = c_check.
        wa_layout-no_f4       = c_check.
        wa_layout-sel_mode    = 'D'.
    *Excluding the unwanted buttons
         PERFORM exclude_toolbar_buttons.
    build field catalog.
        CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
          EXPORTING
            i_buffer_active        = c_check
            i_structure_name       = c_fcat_str
            i_bypassing_buffer     = c_check
          CHANGING
            ct_fieldcat            = t_fieldcat
          EXCEPTIONS
            inconsistent_interface = 1
            program_error          = 2
            OTHERS                 = 3.
        IF sy-subrc <> 0.
         MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                 WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
        loop at t_fieldcat into w_fieldcat.
         if w_fieldcat-FIELDNAME = 'AGING1'.
          W_FIELDCAT-NO_ZERO = 'X'.
          MODIFY t_fieldcat FROM W_FIELDCAT INDEX SY-TABIX.
         ENDIF.
        endloop.
    Generate sort critria
        PERFORM generate_sort.
    Create object of class lcl_event_receiver.
        CREATE OBJECT w_event.
    Handler for events.
       SET HANDLER w_event->handle_top_of_page       FOR w_grid.
       SET HANDLER w_event->handle_print_top_of_page FOR w_grid.
       SET HANDLER w_event->handle_print_end_of_list FOR w_grid.
        SET HANDLER w_event->handle_hotspot_click     FOR w_grid.
    *Displaying the alv
       IF NOT sy-batch IS INITIAL.
         PERFORM create_snp.
       ENDIF.
    t_data = i_final.
        CALL METHOD w_grid->set_table_for_first_display
          EXPORTING
            i_save                        = 'A'
            is_layout                     = wa_layout
            is_variant                    = wa_variant
          CHANGING
            it_outtab                     = t_data
            it_fieldcatalog               = t_fieldcat
          EXCEPTIONS
            invalid_parameter_combination = 1
            program_error                 = 2
            too_many_lines                = 3
            OTHERS                        = 4.
        IF sy-subrc <> 0.
        ENDIF.
    ENDIF.
    ENDIF.
    ENDMODULE.                 " display_data  OUTPUT
    *&      Module  user_command_0100  INPUT
          text
    MODULE user_command_0100 INPUT.
      DATA: lt_rows TYPE lvc_t_row,
             w_rows TYPE lvc_s_row.
      CASE sy-ucomm.
        WHEN c_back.
          LEAVE TO SCREEN 0.
        WHEN c_exit.
          LEAVE TO SCREEN 0.
        WHEN c_cancel.
          LEAVE TO SCREEN 0.
       WHEN 'BILDET'.
         CALL METHOD w_grid->get_selected_rows
           IMPORTING
             et_index_rows = lt_rows.
         CALL METHOD cl_gui_cfw=>flush.
         IF sy-subrc EQ 0.
           READ TABLE lt_rows INTO w_rows INDEX 1.
           READ TABLE i_vbfa INTO w_vbfa INDEX w_rows-index.
           IF sy-subrc EQ 0.
             CLEAR i_zbw_br_nf4.
             LOOP AT i_zbw_br_nf3 INTO w_zbw_br_nf3 WHERE
                         refkey = w_vbfa-v_vbeln.
               APPEND w_zbw_br_nf3 TO i_zbw_br_nf4.
             ENDLOOP.
    call dialog screen and display new alv control
             CALL SCREEN 101 STARTING AT 10 5.
           ENDIF.
         ENDIF.
         WHEN 'NOTAF'.
         CALL METHOD w_grid->get_selected_rows
           IMPORTING
             et_index_rows = lt_rows.
         CALL METHOD cl_gui_cfw=>flush.
         IF sy-subrc EQ 0.
           READ TABLE lt_rows INTO w_rows INDEX 1.
           READ TABLE i_zbw_br_nf3 INTO w_zbw_br_nf3 INDEX w_rows-index.
           DATA docnum LIKE j_1bdydoc-docnum.
           docnum = w_zbw_br_nf3-docnum.
           SET PARAMETER ID 'JEF' FIELD docnum.
           CALL TRANSACTION 'J1B3N' AND SKIP FIRST SCREEN.
         ENDIF.
      ENDCASE.
      ENDMODULE.                 " user_command_0100  INPUT
    *&      Form  modify_col_name
          text
         -->P_<FCAT>  text
         -->P_TEXT_H01  text
    FORM modify_col_name  USING  pwa_fcat TYPE lvc_s_fcat
                                 value(pw_text) TYPE any.
      pwa_fcat-coltext   = pw_text.
      pwa_fcat-scrtext_l = pw_text.
      pwa_fcat-scrtext_m = pw_text.
      pwa_fcat-scrtext_s = pw_text.
    ENDFORM.                    " modify_col_name
          FORM display_hotspot                                          *
    FORM display_hotspot USING pw_row_id    TYPE lvc_s_row
                               pw_column_id TYPE lvc_s_col.
      FIELD-SYMBOLS <l_data> TYPE zbrforecast.
    READ TABLE t_br_nf_acum ASSIGNING <l_data> INDEX pw_row_id-index.
    CHECK sy-subrc = 0.
    IF pw_column_id = ' '.
    ENDIF.
    ENDFORM.                    "display_hotspot
    *&      Form  generate_sort
          Genereate Sort criteria
    FORM generate_sort.
    Local variables
    DATA: wal_sort TYPE lvc_s_sort,
           wl_pos   TYPE numc2.
    wl_pos = 01.
    sort ORDER
    wal_sort-spos      = wl_pos.
    wal_sort-fieldname = c_aufnr.
    wal_sort-up        = c_check.
    APPEND wal_sort TO t_sort.
    ENDFORM.                    "generate_sort
    *&      Form  f4_variant
          text
         <--PW_VARI  text
    FORM f4_variant CHANGING pw_vari TYPE disvariant-variant.
    wa_variant-report = sy-cprog.
      CALL FUNCTION 'REUSE_ALV_VARIANT_F4'
        EXPORTING
          is_variant    = wa_variant
          i_save        = c_u
        IMPORTING
          es_variant    = wa_variant
        EXCEPTIONS
          not_found     = 1
          program_error = 2
          OTHERS        = 3.
      IF sy-subrc IS INITIAL.
        pw_vari = wa_variant-variant.
      ELSE.
        MESSAGE s208(00) WITH text-t04.
      ENDIF.
    ENDFORM.                    " f4_variant
    *&      Form  validate_layout
    *This subroutine is to validate the layout
    No parameters are passed to this subroutine
    FORM validate_layout.
    IF NOT p_layout IS INITIAL.
      Check Layout
       wa_variant-report   = sy-repid.
       wa_variant-username = sy-uname.
       wa_variant-variant  = p_layout.
       CALL FUNCTION 'LVC_VARIANT_EXISTENCE_CHECK'
         EXPORTING
           i_save     = c_u
         CHANGING
           cs_variant = wa_variant
         EXCEPTIONS
           OTHERS     = 01.
       IF NOT sy-subrc IS INITIAL.
         SET CURSOR FIELD 'P_LAYOUT'.
         MESSAGE s001(00) WITH text-t06 p_layout.
         STOP.
       ENDIF.
    ELSE.
      clear wa_variant.
    ENDIF.
    ENDFORM.                    " validate_layout
    *&      Form  validate_data
          text
    FORM validate_data .
    PERFORM validate_layout.
    ENDFORM.                    " validate_data

    Hi,
    Before the call to method set_table_for_first_display, populate
    wa_variant-report = sy-repid.
    Best regards,
    Prashant

  • Copy user-specific report layouts (table LTDX)

    Hi,
    We are implementing a "Single Sign On" solution and thus we need to
    copy all the SAP users to adapt their names to "windows user names".
    We copy all the user data and authorizations from SU01 but then we must
    copy too all the other user-dependent things. One of them are user-
    specific report layouts. We can copy the report variants because they
    are not user-dependent but is there any way to copy the user-specific
    layouts (table LTDX) from one user to another? Is there any transaction
    or report for it?
    Thanks in advance and best regards,
    Jon Larrucea

    Hi,
    Try This Program
    report copy_layout.
    data : lt_ltdx like ltdx occurs 0 with header line.
    data : lt_ltdxt like ltdxt occurs 0 with header line.
    parameters report like ltdx-report obligatory.
    parameters report2 like ltdx-report obligatory.
    "copy layout of report to report2.
    start-of-selection.
      select * into table lt_ltdx from ltdx
                    where report = report.
      select * into table lt_ltdxt from ltdxt
                    where report = report.
      loop at lt_ltdx.
        lt_ltdx-report = report2.
        modify ltdx from lt_ltdx..
      endloop.
      loop at lt_ltdxt.
        lt_ltdxt-report = report2.
        modify ltdxt from lt_ltdxt..
      endloop.
      message 'Copy Complete.' type 'I'.

  • Manage layout variants with no data in system

    Working on a new production system with no work orders created yet.  Is there a way to create (or transport in from another system) the layout variants?  Running the list edit transaction gives a 'No objects were selected' and never displays the results screen.

    Hi,
    Create the required layouts in either Quality or Development clients. Then execute the particular report. In the report view, Go to Menu Settings => Layouts => Administration.
    It will open Layout Management. Select the layouts to be transported & go to Menu Layout => Transport.
    It will ask for Request ID. Save that request & transport that to required client.
    I have not tried this. Please check in other clients before doing in Production.
    Regards,
    Maheswaran.

  • How to delete Layout variants

    Dear Experts,
    As we have transaction SHD0 to Create or Delete Transaction and Screen variants. Do we have any transaction to delete layout variant in ALV?
    I have to delete some layout variants in Interactive ALV report.
    Thank You,
    Best Regards
    Venki

    Did you explore?
    Settings > layout > layout management-> Edit - delete layout or trash

Maybe you are looking for