SAP Function Modules

HRIQAUDCAT_BUFF_GET_DATA SAP Function module







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

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


Pattern for FM HRIQAUDCAT_BUFF_GET_DATA - HRIQAUDCAT BUFF GET DATA





CALL FUNCTION 'HRIQAUDCAT_BUFF_GET_DATA' "
  EXPORTING
    is_sel_opt =                " piqaudcat_seloption
* TABLES
*   et_p1001_rc =               " p1001
*   et_objectt_rc =             " objec
*   et_audtypetipo =            " piqaudtypetipo
*   et_p1778 =                  " hrp1778
*   et_1747 =                   " p1747
*   et_t1747 =                  " hrt1747
    .  "  HRIQAUDCAT_BUFF_GET_DATA

ABAP code example for Function Module HRIQAUDCAT_BUFF_GET_DATA





The ABAP code below is a full code listing to execute function module HRIQAUDCAT_BUFF_GET_DATA 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_et_p1001_rc  TYPE STANDARD TABLE OF P1001,"TABLES PARAM
wa_et_p1001_rc  LIKE LINE OF it_et_p1001_rc ,
it_et_objectt_rc  TYPE STANDARD TABLE OF OBJEC,"TABLES PARAM
wa_et_objectt_rc  LIKE LINE OF it_et_objectt_rc ,
it_et_audtypetipo  TYPE STANDARD TABLE OF PIQAUDTYPETIPO,"TABLES PARAM
wa_et_audtypetipo  LIKE LINE OF it_et_audtypetipo ,
it_et_p1778  TYPE STANDARD TABLE OF HRP1778,"TABLES PARAM
wa_et_p1778  LIKE LINE OF it_et_p1778 ,
it_et_1747  TYPE STANDARD TABLE OF P1747,"TABLES PARAM
wa_et_1747  LIKE LINE OF it_et_1747 ,
it_et_t1747  TYPE STANDARD TABLE OF HRT1747,"TABLES PARAM
wa_et_t1747  LIKE LINE OF it_et_t1747 .

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

"populate fields of struture and append to itab
append wa_et_p1001_rc to it_et_p1001_rc.

"populate fields of struture and append to itab
append wa_et_objectt_rc to it_et_objectt_rc.

"populate fields of struture and append to itab
append wa_et_audtypetipo to it_et_audtypetipo.

"populate fields of struture and append to itab
append wa_et_p1778 to it_et_p1778.

"populate fields of struture and append to itab
append wa_et_1747 to it_et_1747.

"populate fields of struture and append to itab
append wa_et_t1747 to it_et_t1747. . CALL FUNCTION 'HRIQAUDCAT_BUFF_GET_DATA' EXPORTING is_sel_opt = ld_is_sel_opt * TABLES * et_p1001_rc = it_et_p1001_rc * et_objectt_rc = it_et_objectt_rc * et_audtypetipo = it_et_audtypetipo * et_p1778 = it_et_p1778 * et_1747 = it_et_1747 * et_t1747 = it_et_t1747 . " HRIQAUDCAT_BUFF_GET_DATA
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_is_sel_opt  TYPE PIQAUDCAT_SELOPTION ,
it_et_p1001_rc  TYPE STANDARD TABLE OF P1001 ,
wa_et_p1001_rc  LIKE LINE OF it_et_p1001_rc,
it_et_objectt_rc  TYPE STANDARD TABLE OF OBJEC ,
wa_et_objectt_rc  LIKE LINE OF it_et_objectt_rc,
it_et_audtypetipo  TYPE STANDARD TABLE OF PIQAUDTYPETIPO ,
wa_et_audtypetipo  LIKE LINE OF it_et_audtypetipo,
it_et_p1778  TYPE STANDARD TABLE OF HRP1778 ,
wa_et_p1778  LIKE LINE OF it_et_p1778,
it_et_1747  TYPE STANDARD TABLE OF P1747 ,
wa_et_1747  LIKE LINE OF it_et_1747,
it_et_t1747  TYPE STANDARD TABLE OF HRT1747 ,
wa_et_t1747  LIKE LINE OF it_et_t1747.

ld_is_sel_opt = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_et_p1001_rc to it_et_p1001_rc.

"populate fields of struture and append to itab
append wa_et_objectt_rc to it_et_objectt_rc.

"populate fields of struture and append to itab
append wa_et_audtypetipo to it_et_audtypetipo.

"populate fields of struture and append to itab
append wa_et_p1778 to it_et_p1778.

"populate fields of struture and append to itab
append wa_et_1747 to it_et_1747.

"populate fields of struture and append to itab
append wa_et_t1747 to it_et_t1747.

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