SAP Function Modules

BMLM_DEV_OBJECT_API SAP Function module







BMLM_DEV_OBJECT_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_DEV_OBJECT_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_DEV_OBJECT_API - BMLM DEV OBJECT API





CALL FUNCTION 'BMLM_DEV_OBJECT_API' "
* EXPORTING
*   language = SY-LANGU         " sy-langu
  IMPORTING
    error_occured =             " rpygsgf-err_exist
    processing_status =         " rpygsgf-proc_stat
  TABLES
    object_ids_to_read =        " bmlmids
*   errors =                    " rpygser
*   object_names =              " bmlmnames
*   bor_objects =               " bmlmtojtb
*   transactions =              " bmlmtstc
    .  "  BMLM_DEV_OBJECT_API

ABAP code example for Function Module BMLM_DEV_OBJECT_API





The ABAP code below is a full code listing to execute function module BMLM_DEV_OBJECT_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_error_occured  TYPE RPYGSGF-ERR_EXIST ,
ld_processing_status  TYPE RPYGSGF-PROC_STAT ,
it_object_ids_to_read  TYPE STANDARD TABLE OF BMLMIDS,"TABLES PARAM
wa_object_ids_to_read  LIKE LINE OF it_object_ids_to_read ,
it_errors  TYPE STANDARD TABLE OF RPYGSER,"TABLES PARAM
wa_errors  LIKE LINE OF it_errors ,
it_object_names  TYPE STANDARD TABLE OF BMLMNAMES,"TABLES PARAM
wa_object_names  LIKE LINE OF it_object_names ,
it_bor_objects  TYPE STANDARD TABLE OF BMLMTOJTB,"TABLES PARAM
wa_bor_objects  LIKE LINE OF it_bor_objects ,
it_transactions  TYPE STANDARD TABLE OF BMLMTSTC,"TABLES PARAM
wa_transactions  LIKE LINE OF it_transactions .

DATA(ld_language) = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_object_ids_to_read to it_object_ids_to_read.

"populate fields of struture and append to itab
append wa_errors to it_errors.

"populate fields of struture and append to itab
append wa_object_names to it_object_names.

"populate fields of struture and append to itab
append wa_bor_objects to it_bor_objects.

"populate fields of struture and append to itab
append wa_transactions to it_transactions. . CALL FUNCTION 'BMLM_DEV_OBJECT_API' * EXPORTING * language = ld_language IMPORTING error_occured = ld_error_occured processing_status = ld_processing_status TABLES object_ids_to_read = it_object_ids_to_read * errors = it_errors * object_names = it_object_names * bor_objects = it_bor_objects * transactions = it_transactions . " BMLM_DEV_OBJECT_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_error_occured  TYPE RPYGSGF-ERR_EXIST ,
ld_language  TYPE SY-LANGU ,
it_object_ids_to_read  TYPE STANDARD TABLE OF BMLMIDS ,
wa_object_ids_to_read  LIKE LINE OF it_object_ids_to_read,
ld_processing_status  TYPE RPYGSGF-PROC_STAT ,
it_errors  TYPE STANDARD TABLE OF RPYGSER ,
wa_errors  LIKE LINE OF it_errors,
it_object_names  TYPE STANDARD TABLE OF BMLMNAMES ,
wa_object_names  LIKE LINE OF it_object_names,
it_bor_objects  TYPE STANDARD TABLE OF BMLMTOJTB ,
wa_bor_objects  LIKE LINE OF it_bor_objects,
it_transactions  TYPE STANDARD TABLE OF BMLMTSTC ,
wa_transactions  LIKE LINE OF it_transactions.

ld_language = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_object_ids_to_read to it_object_ids_to_read.

"populate fields of struture and append to itab
append wa_errors to it_errors.

"populate fields of struture and append to itab
append wa_object_names to it_object_names.

"populate fields of struture and append to itab
append wa_bor_objects to it_bor_objects.

"populate fields of struture and append to itab
append wa_transactions to it_transactions.

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