SAP Function Modules

ALM_ME_ML_011_GETDETAIL SAP Function module







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

Associated Function Group: ALM_MEREP_011
Released Date: Not Released
Processing type: Normal fucntion module
Normal function module settings


Pattern for FM ALM_ME_ML_011_GETDETAIL - ALM ME ML 011 GETDETAIL





CALL FUNCTION 'ALM_ME_ML_011_GETDETAIL' "
  EXPORTING
    notif_header =              " mam_30_notif_header
* TABLES
*   it_language_settings =      " alm_me_cmul_lang
*   it_notification_activity =   " alm_me_notif_activity
*   it_notification_cause =     " alm_me_notif_cause
*   it_notification_item =      " alm_me_notif_item
*   it_notification_partner =   " mam_30_partner_key_struct
*   it_notification_task =      " alm_me_notif_task
*   it_notification_status =    " mam_30_user_status_changes
*   et_ml_notif_header =        " alm_me_ml_notif_header
*   et_ml_notif_acty =          " alm_me_ml_notif_act
*   et_ml_notif_cause =         " alm_me_ml_notif_cause
*   et_ml_notif_item =          " alm_me_ml_notif_item
*   et_ml_notif_partner =       " alm_me_ml_notif_partner
*   et_ml_notif_task =          " alm_me_ml_notif_task
*   et_ml_notif_status =        " alm_me_ml_notif_status
    .  "  ALM_ME_ML_011_GETDETAIL

ABAP code example for Function Module ALM_ME_ML_011_GETDETAIL





The ABAP code below is a full code listing to execute function module ALM_ME_ML_011_GETDETAIL 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:
it_it_language_settings  TYPE STANDARD TABLE OF ALM_ME_CMUL_LANG,"TABLES PARAM
wa_it_language_settings  LIKE LINE OF it_it_language_settings ,
it_it_notification_activity  TYPE STANDARD TABLE OF ALM_ME_NOTIF_ACTIVITY,"TABLES PARAM
wa_it_notification_activity  LIKE LINE OF it_it_notification_activity ,
it_it_notification_cause  TYPE STANDARD TABLE OF ALM_ME_NOTIF_CAUSE,"TABLES PARAM
wa_it_notification_cause  LIKE LINE OF it_it_notification_cause ,
it_it_notification_item  TYPE STANDARD TABLE OF ALM_ME_NOTIF_ITEM,"TABLES PARAM
wa_it_notification_item  LIKE LINE OF it_it_notification_item ,
it_it_notification_partner  TYPE STANDARD TABLE OF MAM_30_PARTNER_KEY_STRUCT,"TABLES PARAM
wa_it_notification_partner  LIKE LINE OF it_it_notification_partner ,
it_it_notification_task  TYPE STANDARD TABLE OF ALM_ME_NOTIF_TASK,"TABLES PARAM
wa_it_notification_task  LIKE LINE OF it_it_notification_task ,
it_it_notification_status  TYPE STANDARD TABLE OF MAM_30_USER_STATUS_CHANGES,"TABLES PARAM
wa_it_notification_status  LIKE LINE OF it_it_notification_status ,
it_et_ml_notif_header  TYPE STANDARD TABLE OF ALM_ME_ML_NOTIF_HEADER,"TABLES PARAM
wa_et_ml_notif_header  LIKE LINE OF it_et_ml_notif_header ,
it_et_ml_notif_acty  TYPE STANDARD TABLE OF ALM_ME_ML_NOTIF_ACT,"TABLES PARAM
wa_et_ml_notif_acty  LIKE LINE OF it_et_ml_notif_acty ,
it_et_ml_notif_cause  TYPE STANDARD TABLE OF ALM_ME_ML_NOTIF_CAUSE,"TABLES PARAM
wa_et_ml_notif_cause  LIKE LINE OF it_et_ml_notif_cause ,
it_et_ml_notif_item  TYPE STANDARD TABLE OF ALM_ME_ML_NOTIF_ITEM,"TABLES PARAM
wa_et_ml_notif_item  LIKE LINE OF it_et_ml_notif_item ,
it_et_ml_notif_partner  TYPE STANDARD TABLE OF ALM_ME_ML_NOTIF_PARTNER,"TABLES PARAM
wa_et_ml_notif_partner  LIKE LINE OF it_et_ml_notif_partner ,
it_et_ml_notif_task  TYPE STANDARD TABLE OF ALM_ME_ML_NOTIF_TASK,"TABLES PARAM
wa_et_ml_notif_task  LIKE LINE OF it_et_ml_notif_task ,
it_et_ml_notif_status  TYPE STANDARD TABLE OF ALM_ME_ML_NOTIF_STATUS,"TABLES PARAM
wa_et_ml_notif_status  LIKE LINE OF it_et_ml_notif_status .

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

"populate fields of struture and append to itab
append wa_it_language_settings to it_it_language_settings.

"populate fields of struture and append to itab
append wa_it_notification_activity to it_it_notification_activity.

"populate fields of struture and append to itab
append wa_it_notification_cause to it_it_notification_cause.

"populate fields of struture and append to itab
append wa_it_notification_item to it_it_notification_item.

"populate fields of struture and append to itab
append wa_it_notification_partner to it_it_notification_partner.

"populate fields of struture and append to itab
append wa_it_notification_task to it_it_notification_task.

"populate fields of struture and append to itab
append wa_it_notification_status to it_it_notification_status.

"populate fields of struture and append to itab
append wa_et_ml_notif_header to it_et_ml_notif_header.

"populate fields of struture and append to itab
append wa_et_ml_notif_acty to it_et_ml_notif_acty.

"populate fields of struture and append to itab
append wa_et_ml_notif_cause to it_et_ml_notif_cause.

"populate fields of struture and append to itab
append wa_et_ml_notif_item to it_et_ml_notif_item.

"populate fields of struture and append to itab
append wa_et_ml_notif_partner to it_et_ml_notif_partner.

"populate fields of struture and append to itab
append wa_et_ml_notif_task to it_et_ml_notif_task.

"populate fields of struture and append to itab
append wa_et_ml_notif_status to it_et_ml_notif_status. . CALL FUNCTION 'ALM_ME_ML_011_GETDETAIL' EXPORTING notif_header = ld_notif_header * TABLES * it_language_settings = it_it_language_settings * it_notification_activity = it_it_notification_activity * it_notification_cause = it_it_notification_cause * it_notification_item = it_it_notification_item * it_notification_partner = it_it_notification_partner * it_notification_task = it_it_notification_task * it_notification_status = it_it_notification_status * et_ml_notif_header = it_et_ml_notif_header * et_ml_notif_acty = it_et_ml_notif_acty * et_ml_notif_cause = it_et_ml_notif_cause * et_ml_notif_item = it_et_ml_notif_item * et_ml_notif_partner = it_et_ml_notif_partner * et_ml_notif_task = it_et_ml_notif_task * et_ml_notif_status = it_et_ml_notif_status . " ALM_ME_ML_011_GETDETAIL
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_notif_header  TYPE MAM_30_NOTIF_HEADER ,
it_it_language_settings  TYPE STANDARD TABLE OF ALM_ME_CMUL_LANG ,
wa_it_language_settings  LIKE LINE OF it_it_language_settings,
it_it_notification_activity  TYPE STANDARD TABLE OF ALM_ME_NOTIF_ACTIVITY ,
wa_it_notification_activity  LIKE LINE OF it_it_notification_activity,
it_it_notification_cause  TYPE STANDARD TABLE OF ALM_ME_NOTIF_CAUSE ,
wa_it_notification_cause  LIKE LINE OF it_it_notification_cause,
it_it_notification_item  TYPE STANDARD TABLE OF ALM_ME_NOTIF_ITEM ,
wa_it_notification_item  LIKE LINE OF it_it_notification_item,
it_it_notification_partner  TYPE STANDARD TABLE OF MAM_30_PARTNER_KEY_STRUCT ,
wa_it_notification_partner  LIKE LINE OF it_it_notification_partner,
it_it_notification_task  TYPE STANDARD TABLE OF ALM_ME_NOTIF_TASK ,
wa_it_notification_task  LIKE LINE OF it_it_notification_task,
it_it_notification_status  TYPE STANDARD TABLE OF MAM_30_USER_STATUS_CHANGES ,
wa_it_notification_status  LIKE LINE OF it_it_notification_status,
it_et_ml_notif_header  TYPE STANDARD TABLE OF ALM_ME_ML_NOTIF_HEADER ,
wa_et_ml_notif_header  LIKE LINE OF it_et_ml_notif_header,
it_et_ml_notif_acty  TYPE STANDARD TABLE OF ALM_ME_ML_NOTIF_ACT ,
wa_et_ml_notif_acty  LIKE LINE OF it_et_ml_notif_acty,
it_et_ml_notif_cause  TYPE STANDARD TABLE OF ALM_ME_ML_NOTIF_CAUSE ,
wa_et_ml_notif_cause  LIKE LINE OF it_et_ml_notif_cause,
it_et_ml_notif_item  TYPE STANDARD TABLE OF ALM_ME_ML_NOTIF_ITEM ,
wa_et_ml_notif_item  LIKE LINE OF it_et_ml_notif_item,
it_et_ml_notif_partner  TYPE STANDARD TABLE OF ALM_ME_ML_NOTIF_PARTNER ,
wa_et_ml_notif_partner  LIKE LINE OF it_et_ml_notif_partner,
it_et_ml_notif_task  TYPE STANDARD TABLE OF ALM_ME_ML_NOTIF_TASK ,
wa_et_ml_notif_task  LIKE LINE OF it_et_ml_notif_task,
it_et_ml_notif_status  TYPE STANDARD TABLE OF ALM_ME_ML_NOTIF_STATUS ,
wa_et_ml_notif_status  LIKE LINE OF it_et_ml_notif_status.

ld_notif_header = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_it_language_settings to it_it_language_settings.

"populate fields of struture and append to itab
append wa_it_notification_activity to it_it_notification_activity.

"populate fields of struture and append to itab
append wa_it_notification_cause to it_it_notification_cause.

"populate fields of struture and append to itab
append wa_it_notification_item to it_it_notification_item.

"populate fields of struture and append to itab
append wa_it_notification_partner to it_it_notification_partner.

"populate fields of struture and append to itab
append wa_it_notification_task to it_it_notification_task.

"populate fields of struture and append to itab
append wa_it_notification_status to it_it_notification_status.

"populate fields of struture and append to itab
append wa_et_ml_notif_header to it_et_ml_notif_header.

"populate fields of struture and append to itab
append wa_et_ml_notif_acty to it_et_ml_notif_acty.

"populate fields of struture and append to itab
append wa_et_ml_notif_cause to it_et_ml_notif_cause.

"populate fields of struture and append to itab
append wa_et_ml_notif_item to it_et_ml_notif_item.

"populate fields of struture and append to itab
append wa_et_ml_notif_partner to it_et_ml_notif_partner.

"populate fields of struture and append to itab
append wa_et_ml_notif_task to it_et_ml_notif_task.

"populate fields of struture and append to itab
append wa_et_ml_notif_status to it_et_ml_notif_status.

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