SAP Function Modules

HRIQ_TRANSCRIPT_CHECK_SESSION SAP Function module - Check and Transfer Sessions from External Services







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

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


Pattern for FM HRIQ_TRANSCRIPT_CHECK_SESSION - HRIQ TRANSCRIPT CHECK SESSION





CALL FUNCTION 'HRIQ_TRANSCRIPT_CHECK_SESSION' "Check and Transfer Sessions from External Services
  EXPORTING
    iv_plvar =                  " wplog-plvar   Plan Version
    iv_eoobjid =                " wplog-objid   Object ID
    it_session_ext =            " piqtrsession_ext_t  Table Type for Structure PIQTRSESSION_EXT
    iv_regperiodfrom =          " piqtrregperiodfrom  Start Date of Registration at External Organization
    iv_regperiodto =            " piqtrregperiodto  End Date of Registration at External Organization
    iv_eoobjbegda =             " wplog-begda
    iv_eoobjendda =             " wplog-endda
    iv_stobjbegda =             " wplog-begda
    iv_stobjendda =             " wplog-endda
    iv_header_begda =           " p1719-begda   Start Date
  IMPORTING
    et_session =                " piqtrsession_tab  Academic Session Data for EO Table
    et_return =                 " bapiret2_t    Return Table
    .  "  HRIQ_TRANSCRIPT_CHECK_SESSION

ABAP code example for Function Module HRIQ_TRANSCRIPT_CHECK_SESSION





The ABAP code below is a full code listing to execute function module HRIQ_TRANSCRIPT_CHECK_SESSION 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_et_session  TYPE PIQTRSESSION_TAB ,
ld_et_return  TYPE BAPIRET2_T .


DATA(ld_iv_plvar) = some text here

DATA(ld_iv_eoobjid) = Check type of data required
DATA(ld_it_session_ext) = 'Check type of data required'.
DATA(ld_iv_regperiodfrom) = 'Check type of data required'.
DATA(ld_iv_regperiodto) = 'Check type of data required'.

DATA(ld_iv_eoobjbegda) = 20210129

DATA(ld_iv_eoobjendda) = 20210129

DATA(ld_iv_stobjbegda) = 20210129

DATA(ld_iv_stobjendda) = 20210129

DATA(ld_iv_header_begda) = 20210129 . CALL FUNCTION 'HRIQ_TRANSCRIPT_CHECK_SESSION' EXPORTING iv_plvar = ld_iv_plvar iv_eoobjid = ld_iv_eoobjid it_session_ext = ld_it_session_ext iv_regperiodfrom = ld_iv_regperiodfrom iv_regperiodto = ld_iv_regperiodto iv_eoobjbegda = ld_iv_eoobjbegda iv_eoobjendda = ld_iv_eoobjendda iv_stobjbegda = ld_iv_stobjbegda iv_stobjendda = ld_iv_stobjendda iv_header_begda = ld_iv_header_begda IMPORTING et_session = ld_et_session et_return = ld_et_return . " HRIQ_TRANSCRIPT_CHECK_SESSION
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_et_session  TYPE PIQTRSESSION_TAB ,
ld_iv_plvar  TYPE WPLOG-PLVAR ,
ld_et_return  TYPE BAPIRET2_T ,
ld_iv_eoobjid  TYPE WPLOG-OBJID ,
ld_it_session_ext  TYPE PIQTRSESSION_EXT_T ,
ld_iv_regperiodfrom  TYPE PIQTRREGPERIODFROM ,
ld_iv_regperiodto  TYPE PIQTRREGPERIODTO ,
ld_iv_eoobjbegda  TYPE WPLOG-BEGDA ,
ld_iv_eoobjendda  TYPE WPLOG-ENDDA ,
ld_iv_stobjbegda  TYPE WPLOG-BEGDA ,
ld_iv_stobjendda  TYPE WPLOG-ENDDA ,
ld_iv_header_begda  TYPE P1719-BEGDA .


ld_iv_plvar = some text here

ld_iv_eoobjid = Check type of data required
ld_it_session_ext = 'Check type of data required'.
ld_iv_regperiodfrom = 'Check type of data required'.
ld_iv_regperiodto = 'Check type of data required'.

ld_iv_eoobjbegda = 20210129

ld_iv_eoobjendda = 20210129

ld_iv_stobjbegda = 20210129

ld_iv_stobjendda = 20210129

ld_iv_header_begda = 20210129

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