Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3167

unable to apply saved layout in REUSE_ALV_GRID_DISPLAY_LVC

$
0
0

hello all,

 

i have developed an ALV report using FM REUSE_ALV_GRID_DISPLAY_LVC ,

 

this is my final code,

 

 

v_repid1 =  sy-repid.
 wa_title1 = 'WBS- Plan/Budget/Actuals'.
 wa_variant-report = sy-repid.
 ****************************************************
 CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY_LVC'   EXPORTING     I_CALLBACK_PROGRAM                = v_repid1
 *    I_CALLBACK_USER_COMMAND           = 'USER_COMMAND'     I_GRID_TITLE                      = wa_title1
 *   I_GRID_SETTINGS                   =     IS_LAYOUT_LVC                     = wa_layout1     IT_FIELDCAT_LVC                   = it_fcat1
 *     IT_SORT_LVC                       = it_sort1     I_DEFAULT                         = 'X'     I_SAVE                            = 'X'     IS_VARIANT                        = wa_variant   TABLES     T_OUTTAB                          = it_prps  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.
 REFRESH it_prps[].

 

 

after executing the report i have set filter on particular column and saved the layout..

 

when i tried to apply that particular layout the layout is not getting applied (only the standard output is getting displayed)...

 

how do i apply the saved layout here...

 

thanks in advance...


Viewing all articles
Browse latest Browse all 3167

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>