SAP EXIT_SAPLHRPIQ00ACINFO_002 Function Module for Read students' general information









EXIT_SAPLHRPIQ00ACINFO_002 is a standard exit saplhrpiq00acinfo 002 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Read students' general information processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.


See here to view full function module documentation and code listing for exit saplhrpiq00acinfo 002 FM, simply by entering the name EXIT_SAPLHRPIQ00ACINFO_002 into the relevant SAP transaction such as SE37 or SE38.

Function Group: XHRPIQ00ACINFO
Program Name: SAPLXHRPIQ00ACINFO
Main Program: SAPLXHRPIQ00ACINFO
Appliation area: H
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function EXIT_SAPLHRPIQ00ACINFO_002 pattern details

In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.
CALL FUNCTION 'EXIT_SAPLHRPIQ00ACINFO_002'"Read students' general  information
EXPORTING
IV_PLVAR = "Plan version
IV_STUDENT_ID = "Student
* IV_BEGDA = '19000101' "Start date
* IV_ENDDA = '99991231' "End Date

CHANGING
ES_STUDENT_INFO = "Interface structure for fee calculation ( student info.)

TABLES
ET_ERROR = "Return parameter for error message.
.



Related Function Modules

Below is a list of related SAP function modules this CUSTOMER FUNCTION exit / user exit is relevant for.
HRIQ_ACC_COST_DISTRIBUTION Derive cost distribution for account assignment
HRIQ_ACC_DERIVE_ORG Derive organization unit for account assignment
HRIQ_ACC_DERIVE_TOP_ORG Derive top organization unit for account assignment
HRIQ_DISPLAY_ERROR_TMP Display error table
HRIQ_FEE_CALCULATION_BY_PERIOD Fee calculation - Student Accounting
HRIQ_FIELDVALUE_GET Get field value
HRIQ_READ_ADMISSION_INFO Read admission related information
HRIQ_READ_ALL_CALENDAR_OBJECTS Read all calendar object ID
HRIQ_READ_CA_CATEGORY Read contract account category
HRIQ_READ_EVENT_PACKAGE_DATE Begin and end date of event respectively event package
HRIQ_READ_FEE_CONTROL Get fee control data
HRIQ_READ_KEYDATE_CATEGORY Read the key date category assigned to object type
HRIQ_READ_OBJECT_ABBR Read object abbreviation
HRIQ_READ_OPEN_PERIOD_KEY Read period key information for fee calc.
HRIQ_READ_PERIOD_KEY Read period key information
HRIQ_READ_PERIOD_KEY_INFO Read period key information for fee calc.
HRIQ_READ_PROGRAM_INFORMATION Read academic and session data for program of study
HRIQ_READ_PROPER_PERIOD_KEY Read the proper period key
HRIQ_READ_REGISTERED_MODULEGRP Read module groups for program of study
HRIQ_READ_REGISTERED_MODULE_N Read registered module(new)
HRIQ_READ_REGISTERED_PROGRAM Read registered program of study(464)
HRIQ_READ_REGISTERED_PROGRAM_N Read registered program of study(new)
HRIQ_READ_REGISTERED_PROG_OPT Optimized version: Read registered program of study(464)
HRIQ_READ_SC_SM Calculate fields for special fee calculation fields
HRIQ_READ_STUDENT_INFORMATION Read students' general information
HRIQ_READ_STUDENT_MODULE Read information about student module
HRIQ_READ_STUDENT_NAME Read student name
HRIQ_READ_ST_FEECATEGORY Read Student Fee Category
HRIQ_READ_ST_GROUP Read Student Groups
HRIQ_READ_ST_INFO_AID Read student infomation for Financial Aid
HRIQ_READ_SUBSTITUTED_SESSION Read substituted session in student accounting
HRIQ_READ_TEXT Read object text
HRIQ_READ_TIMELIMITS Read TIMELIMITs via TIMELIMITUP
HRIQ_READ_TIMELIMITS_CA Read Time Limit from Academic Calendar
HRIQ_READ_TIME_RANGE Read begin date and end date for session
HRIQ_READ_YEAR_SESSION Read Academic Year and Session
HRIQ_STUDENT_CHECK_HOLDS Check student holds
HRIQ_STUDENT_FEE_CALCULATION Fee calculation - Student Accounting
HRIQ_STUDENT_GET_BA_CC Get student costcenter and its business area
HRIQ_STUDENT_GET_BUSINESS_AREA Get student business area
HRIQ_STUDENT_GET_COMPANY_CODE Get student company code

IMPORTING Parameters details for EXIT_SAPLHRPIQ00ACINFO_002

IV_PLVAR - Plan version

Data type: P1000-PLVAR
Optional: No
Call by Reference: No ( called with pass by value option)

IV_STUDENT_ID - Student

Data type: PIQ_STUDENT_INFO-STOBJID
Optional: No
Call by Reference: No ( called with pass by value option)

IV_BEGDA - Start date

Data type: PIQ_STUDENT_INFO-KEYDATE
Default: '19000101'
Optional: No
Call by Reference: No ( called with pass by value option)

IV_ENDDA - End Date

Data type: PIQ_STUDENT_INFO-KEYDATE
Default: '99991231'
Optional: No
Call by Reference: No ( called with pass by value option)

CHANGING Parameters details for EXIT_SAPLHRPIQ00ACINFO_002

ES_STUDENT_INFO - Interface structure for fee calculation ( student info.)

Data type: PIQ_STUDENT_INFO
Optional: No
Call by Reference: Yes

TABLES Parameters details for EXIT_SAPLHRPIQ00ACINFO_002

ET_ERROR - Return parameter for error message.

Data type: PIQ_ERROR_STRUCTURE
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for EXIT_SAPLHRPIQ00ACINFO_002 Function Module

The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than 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 newer method of declaring data variables on the fly. 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), which i why i have stuck to the origianl for this example.

DATA:
lt_et_error  TYPE STANDARD TABLE OF PIQ_ERROR_STRUCTURE, "   
lv_iv_plvar  TYPE P1000-PLVAR, "   
lv_es_student_info  TYPE PIQ_STUDENT_INFO, "   
lv_iv_student_id  TYPE PIQ_STUDENT_INFO-STOBJID, "   
lv_iv_begda  TYPE PIQ_STUDENT_INFO-KEYDATE, "   '19000101'
lv_iv_endda  TYPE PIQ_STUDENT_INFO-KEYDATE. "   '99991231'

  CALL FUNCTION 'EXIT_SAPLHRPIQ00ACINFO_002'  "Read students' general information
    EXPORTING
         IV_PLVAR = lv_iv_plvar
         IV_STUDENT_ID = lv_iv_student_id
         IV_BEGDA = lv_iv_begda
         IV_ENDDA = lv_iv_endda
    CHANGING
         ES_STUDENT_INFO = lv_es_student_info
    TABLES
         ET_ERROR = lt_et_error
. " EXIT_SAPLHRPIQ00ACINFO_002




ABAP code using 7.40 inline data declarations to call FM EXIT_SAPLHRPIQ00ACINFO_002

The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.

 
"SELECT single PLVAR FROM P1000 INTO @DATA(ld_iv_plvar).
 
 
"SELECT single STOBJID FROM PIQ_STUDENT_INFO INTO @DATA(ld_iv_student_id).
 
"SELECT single KEYDATE FROM PIQ_STUDENT_INFO INTO @DATA(ld_iv_begda).
DATA(ld_iv_begda) = '19000101'.
 
"SELECT single KEYDATE FROM PIQ_STUDENT_INFO INTO @DATA(ld_iv_endda).
DATA(ld_iv_endda) = '99991231'.
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!