SAP HRIQ_PROGRAM_MODUL_COMB_GET Function Module for Read Combinations of Academic Specializations for Program









HRIQ_PROGRAM_MODUL_COMB_GET is a standard hriq program modul comb get 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 Combinations of Academic Specializations for Program 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 hriq program modul comb get FM, simply by entering the name HRIQ_PROGRAM_MODUL_COMB_GET into the relevant SAP transaction such as SE37 or SE38.

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



Function HRIQ_PROGRAM_MODUL_COMB_GET 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 'HRIQ_PROGRAM_MODUL_COMB_GET'"Read Combinations of Academic Specializations for Program
EXPORTING
* IMP_PLVAR = "Plan Version
IMP_OBJID = "
* IMP_BEGDA = SY-DATUM "Start Date
* IMP_ENDDA = SY-DATUM "End Date
* IMP_ISTAT = '1' "Planning Status

TABLES
COMBINATIONS = "Infotype 1736: Module Group Combinations
COMBINATIONS_DETAIL = "Infotype 1736: Module Group Combinations

EXCEPTIONS
PLVAR_NOT_FOUND = 1 INFTY_NOT_FOUND = 2
.



IMPORTING Parameters details for HRIQ_PROGRAM_MODUL_COMB_GET

IMP_PLVAR - Plan Version

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

IMP_OBJID -

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

IMP_BEGDA - Start Date

Data type: HRP1001-BEGDA
Default: SY-DATUM
Optional: Yes
Call by Reference: No ( called with pass by value option)

IMP_ENDDA - End Date

Data type: HRP1001-ENDDA
Default: SY-DATUM
Optional: Yes
Call by Reference: No ( called with pass by value option)

IMP_ISTAT - Planning Status

Data type: HRP1001-ISTAT
Default: '1'
Optional: Yes
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for HRIQ_PROGRAM_MODUL_COMB_GET

COMBINATIONS - Infotype 1736: Module Group Combinations

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

COMBINATIONS_DETAIL - Infotype 1736: Module Group Combinations

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

EXCEPTIONS details

PLVAR_NOT_FOUND - Plan version not found

Data type:
Optional: No
Call by Reference: Yes

INFTY_NOT_FOUND -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for HRIQ_PROGRAM_MODUL_COMB_GET 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:
lv_imp_plvar  TYPE HRP1001-PLVAR, "   
lt_combinations  TYPE STANDARD TABLE OF P1736, "   
lv_plvar_not_found  TYPE P1736, "   
lv_imp_objid  TYPE HRP1001-OBJID, "   
lv_infty_not_found  TYPE HRP1001, "   
lt_combinations_detail  TYPE STANDARD TABLE OF PIQCGCOMBINATION2, "   
lv_imp_begda  TYPE HRP1001-BEGDA, "   SY-DATUM
lv_imp_endda  TYPE HRP1001-ENDDA, "   SY-DATUM
lv_imp_istat  TYPE HRP1001-ISTAT. "   '1'

  CALL FUNCTION 'HRIQ_PROGRAM_MODUL_COMB_GET'  "Read Combinations of Academic Specializations for Program
    EXPORTING
         IMP_PLVAR = lv_imp_plvar
         IMP_OBJID = lv_imp_objid
         IMP_BEGDA = lv_imp_begda
         IMP_ENDDA = lv_imp_endda
         IMP_ISTAT = lv_imp_istat
    TABLES
         COMBINATIONS = lt_combinations
         COMBINATIONS_DETAIL = lt_combinations_detail
    EXCEPTIONS
        PLVAR_NOT_FOUND = 1
        INFTY_NOT_FOUND = 2
. " HRIQ_PROGRAM_MODUL_COMB_GET




ABAP code using 7.40 inline data declarations to call FM HRIQ_PROGRAM_MODUL_COMB_GET

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 HRP1001 INTO @DATA(ld_imp_plvar).
 
 
 
"SELECT single OBJID FROM HRP1001 INTO @DATA(ld_imp_objid).
 
 
 
"SELECT single BEGDA FROM HRP1001 INTO @DATA(ld_imp_begda).
DATA(ld_imp_begda) = SY-DATUM.
 
"SELECT single ENDDA FROM HRP1001 INTO @DATA(ld_imp_endda).
DATA(ld_imp_endda) = SY-DATUM.
 
"SELECT single ISTAT FROM HRP1001 INTO @DATA(ld_imp_istat).
DATA(ld_imp_istat) = '1'.
 


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!