SAP Function Modules

HRIQ_XI_SPECBOOKING_MAP SAP Function module - Map specialization booking data to XI







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

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


Pattern for FM HRIQ_XI_SPECBOOKING_MAP - HRIQ XI SPECBOOKING MAP





CALL FUNCTION 'HRIQ_XI_SPECBOOKING_MAP' "Map specialization booking data to XI
  EXPORTING
    is_specbooking =            " piqmodulegroups  Academic Specializations
    iv_stobjid =                " piqstudent    Object ID of Student
    iv_csobjid =                " piqcsobjid    Object ID of Study Object (CS)
    iv_scobjid =                " piqscobjid    Program ID
*   is_admdata =                " piqpp_ev_ch   Event Context Header : Context Header
  IMPORTING
    es_specbooking_create =     " piqcs_spec_booking_create  Proxy Structure (Generated)
    es_specbooking_change =     " piqcs_spec_booking_change  Proxy Structure (Generated)
    es_specbooking_cancel =     " piqcs_spec_booking_cancel  Proxy Structure (Generated)
    .  "  HRIQ_XI_SPECBOOKING_MAP

ABAP code example for Function Module HRIQ_XI_SPECBOOKING_MAP





The ABAP code below is a full code listing to execute function module HRIQ_XI_SPECBOOKING_MAP 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_es_specbooking_create  TYPE PIQCS_SPEC_BOOKING_CREATE ,
ld_es_specbooking_change  TYPE PIQCS_SPEC_BOOKING_CHANGE ,
ld_es_specbooking_cancel  TYPE PIQCS_SPEC_BOOKING_CANCEL .

DATA(ld_is_specbooking) = 'Check type of data required'.
DATA(ld_iv_stobjid) = 'Check type of data required'.
DATA(ld_iv_csobjid) = 'Check type of data required'.
DATA(ld_iv_scobjid) = 'Check type of data required'.
DATA(ld_is_admdata) = 'Check type of data required'. . CALL FUNCTION 'HRIQ_XI_SPECBOOKING_MAP' EXPORTING is_specbooking = ld_is_specbooking iv_stobjid = ld_iv_stobjid iv_csobjid = ld_iv_csobjid iv_scobjid = ld_iv_scobjid * is_admdata = ld_is_admdata IMPORTING es_specbooking_create = ld_es_specbooking_create es_specbooking_change = ld_es_specbooking_change es_specbooking_cancel = ld_es_specbooking_cancel . " HRIQ_XI_SPECBOOKING_MAP
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_es_specbooking_create  TYPE PIQCS_SPEC_BOOKING_CREATE ,
ld_is_specbooking  TYPE PIQMODULEGROUPS ,
ld_es_specbooking_change  TYPE PIQCS_SPEC_BOOKING_CHANGE ,
ld_iv_stobjid  TYPE PIQSTUDENT ,
ld_es_specbooking_cancel  TYPE PIQCS_SPEC_BOOKING_CANCEL ,
ld_iv_csobjid  TYPE PIQCSOBJID ,
ld_iv_scobjid  TYPE PIQSCOBJID ,
ld_is_admdata  TYPE PIQPP_EV_CH .

ld_is_specbooking = 'Check type of data required'.
ld_iv_stobjid = 'Check type of data required'.
ld_iv_csobjid = 'Check type of data required'.
ld_iv_scobjid = 'Check type of data required'.
ld_is_admdata = 'Check type of data required'.

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