SAP Function Modules

BMLM_BBSERVER_API SAP Function module







BMLM_BBSERVER_API 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 BMLM_BBSERVER_API into the relevant SAP transaction such as SE37 or SE80.

Associated Function Group: SF23
Released Date: Not Released
Processing type: Remote-Enabled
remote enabled module settings


Pattern for FM BMLM_BBSERVER_API - BMLM BBSERVER API





CALL FUNCTION 'BMLM_BBSERVER_API' "
* EXPORTING
*   server =                    " df63s-server
*   tooltype =                  " df63s-tooltype
*   longname =                  " df63s-longname
*   directory = 'BNW.HTM'       " df63s-dir
  IMPORTING
    sysid =                     " sy-sysid
    client =                    " sy-mandt
    username =                  " sy-uname
    language =                  " sy-langu
    release =                   " sy-saprl
    lmdbid =                    " df50l-lm_db
    .  "  BMLM_BBSERVER_API

ABAP code example for Function Module BMLM_BBSERVER_API





The ABAP code below is a full code listing to execute function module BMLM_BBSERVER_API 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_sysid  TYPE SY-SYSID ,
ld_client  TYPE SY-MANDT ,
ld_username  TYPE SY-UNAME ,
ld_language  TYPE SY-LANGU ,
ld_release  TYPE SY-SAPRL ,
ld_lmdbid  TYPE DF50L-LM_DB .


SELECT single SERVER
FROM DF63S
INTO @DATA(ld_server).


SELECT single TOOLTYPE
FROM DF63S
INTO @DATA(ld_tooltype).


SELECT single LONGNAME
FROM DF63S
INTO @DATA(ld_longname).


SELECT single DIR
FROM DF63S
INTO @DATA(ld_directory).
. CALL FUNCTION 'BMLM_BBSERVER_API' * EXPORTING * server = ld_server * tooltype = ld_tooltype * longname = ld_longname * directory = ld_directory IMPORTING sysid = ld_sysid client = ld_client username = ld_username language = ld_language release = ld_release lmdbid = ld_lmdbid . " BMLM_BBSERVER_API
IF SY-SUBRC EQ 0. "All OK ENDIF.







ABAP code to compare 7.40 inline data declaration with original syntax

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_sysid  TYPE SY-SYSID ,
ld_server  TYPE DF63S-SERVER ,
ld_client  TYPE SY-MANDT ,
ld_tooltype  TYPE DF63S-TOOLTYPE ,
ld_username  TYPE SY-UNAME ,
ld_longname  TYPE DF63S-LONGNAME ,
ld_language  TYPE SY-LANGU ,
ld_directory  TYPE DF63S-DIR ,
ld_release  TYPE SY-SAPRL ,
ld_lmdbid  TYPE DF50L-LM_DB .


SELECT single SERVER
FROM DF63S
INTO ld_server.


SELECT single TOOLTYPE
FROM DF63S
INTO ld_tooltype.


SELECT single LONGNAME
FROM DF63S
INTO ld_longname.


SELECT single DIR
FROM DF63S
INTO ld_directory.

Contribute (Add Comments)

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 BMLM_BBSERVER_API or its description.