BDT_SCREEN_ATTRIBUTES_GET is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name BDT_SCREEN_ATTRIBUTES_GET into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
BUSS
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'BDT_SCREEN_ATTRIBUTES_GET' "
* EXPORTING
* iv_handle = " bdt_instance_id Handle
IMPORTING
ev_xhas_cursor = " boole_d
ev_cursorfield = " bu_tbfld Cursor Field
ev_cursorline = " sylilli Cursor Line
ev_vartp = " bu_vartp Screen Sequence Category
ev_varnr = " bu_varnr BDT: Screen Sequence
ev_xsequ = " boole_d
ev_dynid = " bu_dynid Screen
ev_title_object = " sytitle
ev_title_activity = " sytitle
ev_title_screen = " sytitle
ev_title_total = " sytitle
ev_pfstat = " sypfkey
ev_pfstat_fm = " rs38l_fnam
ev_xscin = " boole_d
ev_xscdt = " boole_d
ev_xscfs = " boole_d
ev_xscpp = " boole_d
ev_posnr = " bu_posnr
ev_trdyn = " bu_trdyn Subscreen Container
ev_calls = " integer1
ev_sityp = " bu_sityp
ev_screen_type = " char1
ev_posnr_rel = " bu_posnr
ev_spall = " bu_spall Coordinates of left column (dialog box)
ev_zeilo = " bu_zeilo Coordinates of top line (dialog box)
ev_spalr = " bu_spalr Coordinates of right column (dialog box)
ev_zeilu = " bu_zeilu Coordinates of bottom line (dialog box)
ev_other_screen = " boole_d
ev_pop = " boole_d
el_header_section = " tbz3d
ev_top_fldgr = " bu_fldgr Field Group
* TABLES
* et_screens = " bdt_tbz3a_ext
* et_screen_sequences = " bdt_tbz3_ext
* et_scrn_sequ_types = " tbz3l
* et_sicht = " bus0sicht
* et_sicht_details = " bus_sicht
EXCEPTIONS
HANDLE_NOT_FOUND = 1 "
SCREEN_NOT_FOUND = 2 "
. " BDT_SCREEN_ATTRIBUTES_GET
The ABAP code below is a full code listing to execute function module BDT_SCREEN_ATTRIBUTES_GET including all data declarations. The code uses 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 original method of declaring data variables up front. 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).
| ld_ev_xhas_cursor | TYPE BOOLE_D , |
| ld_ev_cursorfield | TYPE BU_TBFLD , |
| ld_ev_cursorline | TYPE SYLILLI , |
| ld_ev_vartp | TYPE BU_VARTP , |
| ld_ev_varnr | TYPE BU_VARNR , |
| ld_ev_xsequ | TYPE BOOLE_D , |
| ld_ev_dynid | TYPE BU_DYNID , |
| ld_ev_title_object | TYPE SYTITLE , |
| ld_ev_title_activity | TYPE SYTITLE , |
| ld_ev_title_screen | TYPE SYTITLE , |
| ld_ev_title_total | TYPE SYTITLE , |
| ld_ev_pfstat | TYPE SYPFKEY , |
| ld_ev_pfstat_fm | TYPE RS38L_FNAM , |
| ld_ev_xscin | TYPE BOOLE_D , |
| ld_ev_xscdt | TYPE BOOLE_D , |
| ld_ev_xscfs | TYPE BOOLE_D , |
| ld_ev_xscpp | TYPE BOOLE_D , |
| ld_ev_posnr | TYPE BU_POSNR , |
| ld_ev_trdyn | TYPE BU_TRDYN , |
| ld_ev_calls | TYPE INTEGER1 , |
| ld_ev_sityp | TYPE BU_SITYP , |
| ld_ev_screen_type | TYPE CHAR1 , |
| ld_ev_posnr_rel | TYPE BU_POSNR , |
| ld_ev_spall | TYPE BU_SPALL , |
| ld_ev_zeilo | TYPE BU_ZEILO , |
| ld_ev_spalr | TYPE BU_SPALR , |
| ld_ev_zeilu | TYPE BU_ZEILU , |
| ld_ev_other_screen | TYPE BOOLE_D , |
| ld_ev_pop | TYPE BOOLE_D , |
| ld_el_header_section | TYPE TBZ3D , |
| ld_ev_top_fldgr | TYPE BU_FLDGR , |
| it_et_screens | TYPE STANDARD TABLE OF BDT_TBZ3A_EXT,"TABLES PARAM |
| wa_et_screens | LIKE LINE OF it_et_screens , |
| it_et_screen_sequences | TYPE STANDARD TABLE OF BDT_TBZ3_EXT,"TABLES PARAM |
| wa_et_screen_sequences | LIKE LINE OF it_et_screen_sequences , |
| it_et_scrn_sequ_types | TYPE STANDARD TABLE OF TBZ3L,"TABLES PARAM |
| wa_et_scrn_sequ_types | LIKE LINE OF it_et_scrn_sequ_types , |
| it_et_sicht | TYPE STANDARD TABLE OF BUS0SICHT,"TABLES PARAM |
| wa_et_sicht | LIKE LINE OF it_et_sicht , |
| it_et_sicht_details | TYPE STANDARD TABLE OF BUS_SICHT,"TABLES PARAM |
| wa_et_sicht_details | LIKE LINE OF it_et_sicht_details . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_ev_xhas_cursor | TYPE BOOLE_D , |
| ld_iv_handle | TYPE BDT_INSTANCE_ID , |
| it_et_screens | TYPE STANDARD TABLE OF BDT_TBZ3A_EXT , |
| wa_et_screens | LIKE LINE OF it_et_screens, |
| ld_ev_cursorfield | TYPE BU_TBFLD , |
| it_et_screen_sequences | TYPE STANDARD TABLE OF BDT_TBZ3_EXT , |
| wa_et_screen_sequences | LIKE LINE OF it_et_screen_sequences, |
| ld_ev_cursorline | TYPE SYLILLI , |
| it_et_scrn_sequ_types | TYPE STANDARD TABLE OF TBZ3L , |
| wa_et_scrn_sequ_types | LIKE LINE OF it_et_scrn_sequ_types, |
| ld_ev_vartp | TYPE BU_VARTP , |
| it_et_sicht | TYPE STANDARD TABLE OF BUS0SICHT , |
| wa_et_sicht | LIKE LINE OF it_et_sicht, |
| ld_ev_varnr | TYPE BU_VARNR , |
| it_et_sicht_details | TYPE STANDARD TABLE OF BUS_SICHT , |
| wa_et_sicht_details | LIKE LINE OF it_et_sicht_details, |
| ld_ev_xsequ | TYPE BOOLE_D , |
| ld_ev_dynid | TYPE BU_DYNID , |
| ld_ev_title_object | TYPE SYTITLE , |
| ld_ev_title_activity | TYPE SYTITLE , |
| ld_ev_title_screen | TYPE SYTITLE , |
| ld_ev_title_total | TYPE SYTITLE , |
| ld_ev_pfstat | TYPE SYPFKEY , |
| ld_ev_pfstat_fm | TYPE RS38L_FNAM , |
| ld_ev_xscin | TYPE BOOLE_D , |
| ld_ev_xscdt | TYPE BOOLE_D , |
| ld_ev_xscfs | TYPE BOOLE_D , |
| ld_ev_xscpp | TYPE BOOLE_D , |
| ld_ev_posnr | TYPE BU_POSNR , |
| ld_ev_trdyn | TYPE BU_TRDYN , |
| ld_ev_calls | TYPE INTEGER1 , |
| ld_ev_sityp | TYPE BU_SITYP , |
| ld_ev_screen_type | TYPE CHAR1 , |
| ld_ev_posnr_rel | TYPE BU_POSNR , |
| ld_ev_spall | TYPE BU_SPALL , |
| ld_ev_zeilo | TYPE BU_ZEILO , |
| ld_ev_spalr | TYPE BU_SPALR , |
| ld_ev_zeilu | TYPE BU_ZEILU , |
| ld_ev_other_screen | TYPE BOOLE_D , |
| ld_ev_pop | TYPE BOOLE_D , |
| ld_el_header_section | TYPE TBZ3D , |
| ld_ev_top_fldgr | TYPE BU_FLDGR . |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name BDT_SCREEN_ATTRIBUTES_GET or its description.