ICLE_IF_BDT_NAVIGATE 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 ICLE_IF_BDT_NAVIGATE into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
ICL_IF2
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'ICLE_IF_BDT_NAVIGATE' "Calls BDT Dialog Box
* EXPORTING
* i_vartp = '~' " bu_vartp Screen Sequence Cat.
* i_varnr = " bu_varnr Screen Sequence
* i_dynid = " bu_dynid Screen
* i_screen_type = " bdt_screen_type Screen Category (E: Initial Screen, D: Data, S: Such, T: Total)
* i_posnr_rel = " bu_posnr Item Number (for Sequence)
* i_screen_view = " bu_sicht View
* i_screen_command = " syucomm Navigation Command
* i_instance = " icl_varinst Instance of Displayed Screen Sequence
* i_xsimulate = " bdt_boole_d Only Simulate Navigation?
EXCEPTIONS
ILLEGAL_SCREEN_TYPE = 1 " Invalid Screen Category
ILLEGAL_POSNR = 2 " Invalid item number
SCREEN_NOT_FOUND = 3 " General: Screen Not Found
SCREENTYPE_NOT_ACTIVE = 4 " Screen Category Not Active
FIRST_DATA_SCREEN = 5 "
LAST_DATA_SCREEN = 6 "
GENERAL_ERROR = 7 " Non-Specified Error
OTHER_ERROR = 8 " Other Error
. " ICLE_IF_BDT_NAVIGATE
The ABAP code below is a full code listing to execute function module ICLE_IF_BDT_NAVIGATE 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).
DATA(ld_i_vartp) = 'Check type of data required'.
DATA(ld_i_varnr) = 'Check type of data required'.
DATA(ld_i_dynid) = 'Check type of data required'.
DATA(ld_i_screen_type) = 'Check type of data required'.
DATA(ld_i_posnr_rel) = 'Check type of data required'.
DATA(ld_i_screen_view) = 'Check type of data required'.
DATA(ld_i_screen_command) = 'some text here'.
DATA(ld_i_instance) = 'some text here'.
DATA(ld_i_xsimulate) = 'some text here'. . CALL FUNCTION 'ICLE_IF_BDT_NAVIGATE' * EXPORTING * i_vartp = ld_i_vartp * i_varnr = ld_i_varnr * i_dynid = ld_i_dynid * i_screen_type = ld_i_screen_type * i_posnr_rel = ld_i_posnr_rel * i_screen_view = ld_i_screen_view * i_screen_command = ld_i_screen_command * i_instance = ld_i_instance * i_xsimulate = ld_i_xsimulate EXCEPTIONS ILLEGAL_SCREEN_TYPE = 1 ILLEGAL_POSNR = 2 SCREEN_NOT_FOUND = 3 SCREENTYPE_NOT_ACTIVE = 4 FIRST_DATA_SCREEN = 5 LAST_DATA_SCREEN = 6 GENERAL_ERROR = 7 OTHER_ERROR = 8 . " ICLE_IF_BDT_NAVIGATE
IF SY-SUBRC EQ 0. "All OK ELSEIF SY-SUBRC EQ 1. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 2. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 3. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 4. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 5. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 6. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 7. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 8. "Exception "Add code for exception here ENDIF.
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_i_vartp | TYPE BU_VARTP , |
| ld_i_varnr | TYPE BU_VARNR , |
| ld_i_dynid | TYPE BU_DYNID , |
| ld_i_screen_type | TYPE BDT_SCREEN_TYPE , |
| ld_i_posnr_rel | TYPE BU_POSNR , |
| ld_i_screen_view | TYPE BU_SICHT , |
| ld_i_screen_command | TYPE SYUCOMM , |
| ld_i_instance | TYPE ICL_VARINST , |
| ld_i_xsimulate | TYPE BDT_BOOLE_D . |
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 ICLE_IF_BDT_NAVIGATE or its description.
ICLE_IF_BDT_NAVIGATE - Calls BDT Dialog Box ICLE_IF_BDT_HANDLE_GET - ICL: Get Processing of Current BDT Instance ICLE_IF_BDT_FCODE - ICL: Handle Function Code for Application Object ICL ICLE_IF_BDT_CURSORFIELD_SET - Set Cursor on Current Screen ICLE_IF_ALIMAGE_GET - Get Local Memory of New Images ICLE_IF_ALIMAGE_ADD - Append New Image to Local Memory