SAP HRIQ_TRANSCRIPT_GETDETL Function Module for RFC: Read All Data for an Ext. Transcript Specified with a GUID Number









HRIQ_TRANSCRIPT_GETDETL is a standard hriq transcript getdetl SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for RFC: Read All Data for an Ext. Transcript Specified with a GUID Number 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 transcript getdetl FM, simply by entering the name HRIQ_TRANSCRIPT_GETDETL into the relevant SAP transaction such as SE37 or SE38.

Function Group: HRPIQ00TRANSCRIPTRFC
Program Name: SAPLHRPIQ00TRANSCRIPTRFC
Main Program: SAPLHRPIQ00TRANSCRIPTRFC
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function HRIQ_TRANSCRIPT_GETDETL 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_TRANSCRIPT_GETDETL'"RFC: Read All Data for an Ext. Transcript Specified with a GUID Number
EXPORTING
* PLANVERSION = "Plan Version
OBJECTID = "Object ID of Student
TRANSCRIPT_GUID = "GUID - Unique ID of External Test Results
* READ_TEXTS = ' ' "Indicator: Also Read Texts
* LANGUAGE_ISO = "Language According to ISO 639
* LANGUAGE = "Language Key
* ONLY_HEADER = '' "

IMPORTING
RETURN_CODE = "Return Value, Return Value after ABAP Statements
TRANSCRIPT_HEADER = "External Test Results (Header Data)
TRANSCRIPT_HEADERT = "External Test Results (Header Data with Text Fields)

TABLES
* RETURN = "Return Parameter(s)
* CODNOTES = "Coded Notes
* CODNOTES_TXT = "Text Structure for PIQTRCODNOTE_EXT
* FREETEXT = "Table for Free Text Notes in External Transcripts
* DEGREES = "Table for External Qualifications
* DEGREES_TXT = "Text Structure for PIQTRDEGREE_EXT
* SPECS = "Table for External Acad. Specializations
* SPECS_TXT = "Text Structure for PIQTRSPEC_EXT
* SESSIONS = "Academic Session Data for EO Table
* SESSIONS_TXT = "Text Structure for PIQTRSESSION_EXT
* COURSES = "Table for External Subject Data
* COURSES_TXT = "Text Structure for PIQTRCOURSE_EXT
.



IMPORTING Parameters details for HRIQ_TRANSCRIPT_GETDETL

PLANVERSION - Plan Version

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

OBJECTID - Object ID of Student

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

TRANSCRIPT_GUID - GUID - Unique ID of External Test Results

Data type: PIQTRTRANS_GUID
Optional: No
Call by Reference: No ( called with pass by value option)

READ_TEXTS - Indicator: Also Read Texts

Data type: BAPISTUDENT_READTEXTS
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

LANGUAGE_ISO - Language According to ISO 639

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

LANGUAGE - Language Key

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

ONLY_HEADER -

Data type: FLAG
Default: ''
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for HRIQ_TRANSCRIPT_GETDETL

RETURN_CODE - Return Value, Return Value after ABAP Statements

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

TRANSCRIPT_HEADER - External Test Results (Header Data)

Data type: PIQTRHEADER_EXT
Optional: No
Call by Reference: No ( called with pass by value option)

TRANSCRIPT_HEADERT - External Test Results (Header Data with Text Fields)

Data type: PIQTRHEADER_EXT_TXT
Optional: No
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for HRIQ_TRANSCRIPT_GETDETL

RETURN - Return Parameter(s)

Data type: BAPIRET2
Optional: Yes
Call by Reference: Yes

CODNOTES - Coded Notes

Data type: PIQTRCODNOTE_EXT
Optional: Yes
Call by Reference: Yes

CODNOTES_TXT - Text Structure for PIQTRCODNOTE_EXT

Data type: PIQTRCODNOTE_EXT_TXT
Optional: Yes
Call by Reference: Yes

FREETEXT - Table for Free Text Notes in External Transcripts

Data type: PIQTRFREETEXT_EXT
Optional: Yes
Call by Reference: Yes

DEGREES - Table for External Qualifications

Data type: PIQTRDEGREE_EXT
Optional: Yes
Call by Reference: Yes

DEGREES_TXT - Text Structure for PIQTRDEGREE_EXT

Data type: PIQTRDEGREE_EXT_TXT
Optional: Yes
Call by Reference: Yes

SPECS - Table for External Acad. Specializations

Data type: PIQTRSPEC_EXT
Optional: Yes
Call by Reference: Yes

SPECS_TXT - Text Structure for PIQTRSPEC_EXT

Data type: PIQTRSPEC_EXT_TXT
Optional: Yes
Call by Reference: Yes

SESSIONS - Academic Session Data for EO Table

Data type: PIQTRSESSION_EXT
Optional: Yes
Call by Reference: Yes

SESSIONS_TXT - Text Structure for PIQTRSESSION_EXT

Data type: PIQTRSESSION_EXT_TXT
Optional: Yes
Call by Reference: Yes

COURSES - Table for External Subject Data

Data type: PIQTRCOURSE_EXT
Optional: Yes
Call by Reference: Yes

COURSES_TXT - Text Structure for PIQTRCOURSE_EXT

Data type: PIQTRCOURSE_EXT_TXT
Optional: Yes
Call by Reference: Yes

Copy and paste ABAP code example for HRIQ_TRANSCRIPT_GETDETL 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_return  TYPE STANDARD TABLE OF BAPIRET2, "   
lv_planversion  TYPE BAPISTUDENT_HEAD-PLVAR, "   
lv_return_code  TYPE SY-SUBRC, "   
lt_codnotes  TYPE STANDARD TABLE OF PIQTRCODNOTE_EXT, "   
lt_codnotes_txt  TYPE STANDARD TABLE OF PIQTRCODNOTE_EXT_TXT, "   
lt_freetext  TYPE STANDARD TABLE OF PIQTRFREETEXT_EXT, "   
lt_degrees  TYPE STANDARD TABLE OF PIQTRDEGREE_EXT, "   
lv_objectid  TYPE BAPISTUDENT_HEAD-OBJID, "   
lv_transcript_header  TYPE PIQTRHEADER_EXT, "   
lt_degrees_txt  TYPE STANDARD TABLE OF PIQTRDEGREE_EXT_TXT, "   
lv_transcript_guid  TYPE PIQTRTRANS_GUID, "   
lv_transcript_headert  TYPE PIQTRHEADER_EXT_TXT, "   
lt_specs  TYPE STANDARD TABLE OF PIQTRSPEC_EXT, "   
lv_read_texts  TYPE BAPISTUDENT_READTEXTS, "   ' '
lt_specs_txt  TYPE STANDARD TABLE OF PIQTRSPEC_EXT_TXT, "   
lv_language_iso  TYPE BAPI_LAISO-LANGU_ISO, "   
lv_language  TYPE BAPI_LAISO-LANGU, "   
lt_sessions  TYPE STANDARD TABLE OF PIQTRSESSION_EXT, "   
lv_only_header  TYPE FLAG, "   ''
lt_sessions_txt  TYPE STANDARD TABLE OF PIQTRSESSION_EXT_TXT, "   
lt_courses  TYPE STANDARD TABLE OF PIQTRCOURSE_EXT, "   
lt_courses_txt  TYPE STANDARD TABLE OF PIQTRCOURSE_EXT_TXT. "   

  CALL FUNCTION 'HRIQ_TRANSCRIPT_GETDETL'  "RFC: Read All Data for an Ext. Transcript Specified with a GUID Number
    EXPORTING
         PLANVERSION = lv_planversion
         OBJECTID = lv_objectid
         TRANSCRIPT_GUID = lv_transcript_guid
         READ_TEXTS = lv_read_texts
         LANGUAGE_ISO = lv_language_iso
         LANGUAGE = lv_language
         ONLY_HEADER = lv_only_header
    IMPORTING
         RETURN_CODE = lv_return_code
         TRANSCRIPT_HEADER = lv_transcript_header
         TRANSCRIPT_HEADERT = lv_transcript_headert
    TABLES
         RETURN = lt_return
         CODNOTES = lt_codnotes
         CODNOTES_TXT = lt_codnotes_txt
         FREETEXT = lt_freetext
         DEGREES = lt_degrees
         DEGREES_TXT = lt_degrees_txt
         SPECS = lt_specs
         SPECS_TXT = lt_specs_txt
         SESSIONS = lt_sessions
         SESSIONS_TXT = lt_sessions_txt
         COURSES = lt_courses
         COURSES_TXT = lt_courses_txt
. " HRIQ_TRANSCRIPT_GETDETL




ABAP code using 7.40 inline data declarations to call FM HRIQ_TRANSCRIPT_GETDETL

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 BAPISTUDENT_HEAD INTO @DATA(ld_planversion).
 
"SELECT single SUBRC FROM SY INTO @DATA(ld_return_code).
 
 
 
 
 
"SELECT single OBJID FROM BAPISTUDENT_HEAD INTO @DATA(ld_objectid).
 
 
 
 
 
 
DATA(ld_read_texts) = ' '.
 
 
"SELECT single LANGU_ISO FROM BAPI_LAISO INTO @DATA(ld_language_iso).
 
"SELECT single LANGU FROM BAPI_LAISO INTO @DATA(ld_language).
 
 
DATA(ld_only_header) = ''.
 
 
 
 


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!