SAP SASAP_BROWSER_MODIFY_DISPLAY Function Module for









SASAP_BROWSER_MODIFY_DISPLAY is a standard sasap browser modify display SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.


See here to view full function module documentation and code listing for sasap browser modify display FM, simply by entering the name SASAP_BROWSER_MODIFY_DISPLAY into the relevant SAP transaction such as SE37 or SE38.

Function Group: SASAP01
Program Name: SAPLSASAP01
Main Program:
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function SASAP_BROWSER_MODIFY_DISPLAY pattern details

In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.
CALL FUNCTION 'SASAP_BROWSER_MODIFY_DISPLAY'"
EXPORTING
COMMAND = "Screens, Function Code Triggered by PAI
* EXIT_FROM_STREE_BUILD_DISPLAY = ' ' "Single-Character Flag
* BROWSER_FUNCTION = ' ' "Single-Character Flag
* ASSIGNMENT_DISPLAY_MODE = ' ' "Single-Character Flag

IMPORTING
UNHIDE_ALL = "

TABLES
* NODE_STYLE = "Node Style
USER_PARAMETERS = "Hierarchy Maintenance Display Attribute
NODE_ICON_LIST = "Disable icons in hierarchy display
NODE_FREE_FIELDS_LIST = "Freely-defined information display in the structure
NODE_WITH_MORE_INFO = "Nodes for which the flag 'MOREINFO' is to be set
NODE_NO_DISPLAY = "Nodes for which the flag 'MOREINFO' is to be set
* NODE_HEADERS = "Column headers for information to be shown
ALL_NODES = "Hierarchy Maintenance Tool Node Transfer Interface
ALL_REFERENCES = "List of References to Structure Items
ALL_TEXTS = "General Structure Repository Node Text
.



IMPORTING Parameters details for SASAP_BROWSER_MODIFY_DISPLAY

COMMAND - Screens, Function Code Triggered by PAI

Data type: SY-UCOMM
Optional: No
Call by Reference: Yes

EXIT_FROM_STREE_BUILD_DISPLAY - Single-Character Flag

Data type: HIER_TYPES-CHAR1
Default: SPACE
Optional: No
Call by Reference: Yes

BROWSER_FUNCTION - Single-Character Flag

Data type: HIER_TYPES-CHAR1
Default: SPACE
Optional: No
Call by Reference: Yes

ASSIGNMENT_DISPLAY_MODE - Single-Character Flag

Data type: HIER_TYPES-CHAR1
Default: SPACE
Optional: No
Call by Reference: Yes

EXPORTING Parameters details for SASAP_BROWSER_MODIFY_DISPLAY

UNHIDE_ALL -

Data type: C
Optional: No
Call by Reference: Yes

TABLES Parameters details for SASAP_BROWSER_MODIFY_DISPLAY

NODE_STYLE - Node Style

Data type: HIER_STYLE
Optional: Yes
Call by Reference: Yes

USER_PARAMETERS - Hierarchy Maintenance Display Attribute

Data type: STREEPROP
Optional: No
Call by Reference: Yes

NODE_ICON_LIST - Disable icons in hierarchy display

Data type: HIER_MOD01
Optional: No
Call by Reference: Yes

NODE_FREE_FIELDS_LIST - Freely-defined information display in the structure

Data type: HIER_MOD02
Optional: No
Call by Reference: Yes

NODE_WITH_MORE_INFO - Nodes for which the flag 'MOREINFO' is to be set

Data type: HIER_MOD03
Optional: No
Call by Reference: Yes

NODE_NO_DISPLAY - Nodes for which the flag 'MOREINFO' is to be set

Data type: HIER_MOD03
Optional: No
Call by Reference: Yes

NODE_HEADERS - Column headers for information to be shown

Data type: HIER_MOD04
Optional: Yes
Call by Reference: Yes

ALL_NODES - Hierarchy Maintenance Tool Node Transfer Interface

Data type: HIER_IFACE
Optional: No
Call by Reference: Yes

ALL_REFERENCES - List of References to Structure Items

Data type: HIER_REF
Optional: No
Call by Reference: Yes

ALL_TEXTS - General Structure Repository Node Text

Data type: HIER_TEXTS
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for SASAP_BROWSER_MODIFY_DISPLAY Function Module

The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.

DATA:
lv_command  TYPE SY-UCOMM, "   
lt_node_style  TYPE STANDARD TABLE OF HIER_STYLE, "   
lv_unhide_all  TYPE C, "   
lt_user_parameters  TYPE STANDARD TABLE OF STREEPROP, "   
lt_node_icon_list  TYPE STANDARD TABLE OF HIER_MOD01, "   
lv_exit_from_stree_build_display  TYPE HIER_TYPES-CHAR1, "   SPACE
lv_browser_function  TYPE HIER_TYPES-CHAR1, "   SPACE
lt_node_free_fields_list  TYPE STANDARD TABLE OF HIER_MOD02, "   
lt_node_with_more_info  TYPE STANDARD TABLE OF HIER_MOD03, "   
lv_assignment_display_mode  TYPE HIER_TYPES-CHAR1, "   SPACE
lt_node_no_display  TYPE STANDARD TABLE OF HIER_MOD03, "   
lt_node_headers  TYPE STANDARD TABLE OF HIER_MOD04, "   
lt_all_nodes  TYPE STANDARD TABLE OF HIER_IFACE, "   
lt_all_references  TYPE STANDARD TABLE OF HIER_REF, "   
lt_all_texts  TYPE STANDARD TABLE OF HIER_TEXTS. "   

  CALL FUNCTION 'SASAP_BROWSER_MODIFY_DISPLAY'  "
    EXPORTING
         COMMAND = lv_command
         EXIT_FROM_STREE_BUILD_DISPLAY = lv_exit_from_stree_build_display
         BROWSER_FUNCTION = lv_browser_function
         ASSIGNMENT_DISPLAY_MODE = lv_assignment_display_mode
    IMPORTING
         UNHIDE_ALL = lv_unhide_all
    TABLES
         NODE_STYLE = lt_node_style
         USER_PARAMETERS = lt_user_parameters
         NODE_ICON_LIST = lt_node_icon_list
         NODE_FREE_FIELDS_LIST = lt_node_free_fields_list
         NODE_WITH_MORE_INFO = lt_node_with_more_info
         NODE_NO_DISPLAY = lt_node_no_display
         NODE_HEADERS = lt_node_headers
         ALL_NODES = lt_all_nodes
         ALL_REFERENCES = lt_all_references
         ALL_TEXTS = lt_all_texts
. " SASAP_BROWSER_MODIFY_DISPLAY




ABAP code using 7.40 inline data declarations to call FM SASAP_BROWSER_MODIFY_DISPLAY

The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.

"SELECT single UCOMM FROM SY INTO @DATA(ld_command).
 
 
 
 
 
"SELECT single CHAR1 FROM HIER_TYPES INTO @DATA(ld_exit_from_stree_build_display).
DATA(ld_exit_from_stree_build_display) = ' '.
 
"SELECT single CHAR1 FROM HIER_TYPES INTO @DATA(ld_browser_function).
DATA(ld_browser_function) = ' '.
 
 
 
"SELECT single CHAR1 FROM HIER_TYPES INTO @DATA(ld_assignment_display_mode).
DATA(ld_assignment_display_mode) = ' '.
 
 
 
 
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!