"Hide ALV toolbar buttons" Code Answer's
You're definitely familiar with the best coding language Whatever that developers use to develop their projects and they get all their queries like "Hide ALV toolbar buttons" answered properly. Developers are finding an appropriate answer about Hide ALV toolbar buttons related to the Whatever coding language. By visiting this online portal developers get answers concerning Whatever codes question like Hide ALV toolbar buttons. Enter your desired code related query in the search bar and get every piece of information about Whatever code related question on Hide ALV toolbar buttons.
Hide ALV toolbar buttons
REPORT ZSAPN_ALV_FUNCTIONS.
DATA: IT_MARA TYPE TABLE OF MARA,
WA_MARA TYPE MARA.
DATA : FUN TYPE TABLE OF RSEUL_FUN.
DATA : WA_FUN LIKE LINE OF FUN.
DATA : IT_EXCLUDE TYPE SLIS_T_EXTAB,
WA_EXCLUDE TYPE SLIS_EXTAB.
START-OF-SELECTION.
SELECT * FROM MARA INTO TABLE IT_MARA UP TO 50 ROWS.
CALL FUNCTION 'RS_CUA_GET_STATUS_FUNCTIONS'
EXPORTING
LANGUAGE = 'E'
PROGRAM = 'SAPLKKBL'
STATUS = 'STANDARD_FULLSCREEN'
TABLES
FUNCTIONS = FUN.
IF SY-SUBRC <> 0.
* Implement suitable error handling here
ENDIF.
*&---------------------------------------------------------------------*
* FOR EXCLUDING STANDARD BUTTONS FROM ALV TOOLBAR
*&---------------------------------------------------------------------*
LOOP AT FUN INTO WA_FUN. "loop through all functions
IF WA_FUN-FCODE EQ '&F03' OR WA_FUN-FCODE EQ '&F15' OR WA_FUN-FCODE EQ '&F12'. "don`t add back, exit, stop functions
ELSE.
WA_EXCLUDE-FCODE = WA_FUN-FCODE. "add all remaining
APPEND WA_EXCLUDE TO IT_EXCLUDE.
CLEAR WA_EXCLUDE.
ENDIF.
ENDLOOP.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
* I_CALLBACK_PF_STATUS_SET = 'PF_STATUS'
I_STRUCTURE_NAME = 'MARA'
IT_EXCLUDING = IT_EXCLUDE "exclude functions
TABLES
T_OUTTAB = IT_MARA. "MARA table data
IF SY-SUBRC <> 0.
* Implement suitable error handling here
ENDIF.
Source: www.sapnuts.com
All those coders who are working on the Whatever based application and are stuck on Hide ALV toolbar buttons can get a collection of related answers to their query. Programmers need to enter their query on Hide ALV toolbar buttons related to Whatever code and they'll get their ambiguities clear immediately. On our webpage, there are tutorials about Hide ALV toolbar buttons for the programmers working on Whatever code while coding their module. Coders are also allowed to rectify already present answers of Hide ALV toolbar buttons while working on the Whatever language code. Developers can add up suggestions if they deem fit any other answer relating to "Hide ALV toolbar buttons". Visit this developer's friendly online web community, CodeProZone, and get your queries like Hide ALV toolbar buttons resolved professionally and stay updated to the latest Whatever updates.