SAP Function Modules

FM_MEMBERS_TO_COLL_FMAA SAP Function module







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

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


Pattern for FM FM_MEMBERS_TO_COLL_FMAA - FM MEMBERS TO COLL FMAA





CALL FUNCTION 'FM_MEMBERS_TO_COLL_FMAA' "
  EXPORTING
    f_entitled_to_cover_hmk =   " fmac_entitled_to_cover_hmk  deckungsberechtigte HHM-Kontierung
    ip_avc_sequence =           "               Deckungsreihenfolge
*   ip_avc_function =           " rs38l-name    Trojanisches Pferd in der AVK
*   ip_db_buffer =              " fmdy-xfeld    Kennzeichen: Pufferung erwünscht
  TABLES
    t_subject_to_cover =        " fmac_t_subject_to_cover_hmk  Liste der deckungspflichtigen HHM-Kontierungen
* CHANGING
*   op_no_subject_to_cover =    " fmdy-xfeld    Kennzeichen: HMK ist nicht deckungsberechtigt
    .  "  FM_MEMBERS_TO_COLL_FMAA

ABAP code example for Function Module FM_MEMBERS_TO_COLL_FMAA





The ABAP code below is a full code listing to execute function module FM_MEMBERS_TO_COLL_FMAA 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_t_subject_to_cover  TYPE STANDARD TABLE OF FMAC_T_SUBJECT_TO_COVER_HMK,"TABLES PARAM
wa_t_subject_to_cover  LIKE LINE OF it_t_subject_to_cover .


DATA(ld_op_no_subject_to_cover) = some text here
DATA(ld_f_entitled_to_cover_hmk) = 'Check type of data required'.
DATA(ld_ip_avc_sequence) = 'some text here'.

DATA(ld_ip_avc_function) = some text here

DATA(ld_ip_db_buffer) = some text here

"populate fields of struture and append to itab
append wa_t_subject_to_cover to it_t_subject_to_cover. . CALL FUNCTION 'FM_MEMBERS_TO_COLL_FMAA' EXPORTING f_entitled_to_cover_hmk = ld_f_entitled_to_cover_hmk ip_avc_sequence = ld_ip_avc_sequence * ip_avc_function = ld_ip_avc_function * ip_db_buffer = ld_ip_db_buffer TABLES t_subject_to_cover = it_t_subject_to_cover * CHANGING * op_no_subject_to_cover = ld_op_no_subject_to_cover . " FM_MEMBERS_TO_COLL_FMAA
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_op_no_subject_to_cover  TYPE FMDY-XFELD ,
ld_f_entitled_to_cover_hmk  TYPE FMAC_ENTITLED_TO_COVER_HMK ,
it_t_subject_to_cover  TYPE STANDARD TABLE OF FMAC_T_SUBJECT_TO_COVER_HMK ,
wa_t_subject_to_cover  LIKE LINE OF it_t_subject_to_cover,
ld_ip_avc_sequence  TYPE STRING ,
ld_ip_avc_function  TYPE RS38L-NAME ,
ld_ip_db_buffer  TYPE FMDY-XFELD .


ld_op_no_subject_to_cover = some text here
ld_f_entitled_to_cover_hmk = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_t_subject_to_cover to it_t_subject_to_cover.
ld_ip_avc_sequence = 'some text here'.

ld_ip_avc_function = some text here

ld_ip_db_buffer = some text here

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