SAP HRIQ_TRANSCRIPT_CREATE Function Module for RFC: Create External Transcript
HRIQ_TRANSCRIPT_CREATE is a standard hriq transcript create 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: Create External Transcript 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 create FM, simply by entering the name HRIQ_TRANSCRIPT_CREATE 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_CREATE 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_CREATE'"RFC: Create External Transcript.
EXPORTING
STUDENT = "Student Object
TRANSCRIPT_HEADER = "External Transcript (Header Data)
* TESTRUN = ' ' "Switch to Simulation Mode for Write BAPIs
* IV_SKIP_HEADER_CHECK = ' ' "General Indicator
IMPORTING
TRANSCRIPT_GUID = "
RETURN_CODE = "
TABLES
RETURN = "Return Parameter(s)
* DEGREES = "Degree/Qualification (Ext. Transcripts)
* SPECIALIZATIONS = "Specialization (External Transcripts)
* SESSIONS = "Academic Session (External Transcripts)
* COURSES = "External Subject
* CODEDNOTES = "Coded Note (External Transcript)
* FREETEXT = "Comments (External Transcripts)
IMPORTING Parameters details for HRIQ_TRANSCRIPT_CREATE
STUDENT - Student Object
Data type: HROBJECTOptional: No
Call by Reference: No ( called with pass by value option)
TRANSCRIPT_HEADER - External Transcript (Header Data)
Data type: PIQTRHEADER_EXTOptional: No
Call by Reference: No ( called with pass by value option)
TESTRUN - Switch to Simulation Mode for Write BAPIs
Data type: TESTRUNDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
IV_SKIP_HEADER_CHECK - General Indicator
Data type: PIQFLAGDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for HRIQ_TRANSCRIPT_CREATE
TRANSCRIPT_GUID -
Data type: PIQTRTRANS_GUIDOptional: No
Call by Reference: No ( called with pass by value option)
RETURN_CODE -
Data type: SY-SUBRCOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for HRIQ_TRANSCRIPT_CREATE
RETURN - Return Parameter(s)
Data type: BAPIRET2Optional: No
Call by Reference: Yes
DEGREES - Degree/Qualification (Ext. Transcripts)
Data type: PIQTRDEGREE_EXTOptional: Yes
Call by Reference: Yes
SPECIALIZATIONS - Specialization (External Transcripts)
Data type: PIQTRSPEC_EXTOptional: Yes
Call by Reference: Yes
SESSIONS - Academic Session (External Transcripts)
Data type: PIQTRSESSION_EXTOptional: Yes
Call by Reference: Yes
COURSES - External Subject
Data type: PIQTRCOURSE_EXTOptional: Yes
Call by Reference: Yes
CODEDNOTES - Coded Note (External Transcript)
Data type: PIQTRCODNOTE_EXTOptional: Yes
Call by Reference: Yes
FREETEXT - Comments (External Transcripts)
Data type: PIQTRFREETEXT_EXTOptional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for HRIQ_TRANSCRIPT_CREATE 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_student | TYPE HROBJECT, " | |||
| lv_transcript_guid | TYPE PIQTRTRANS_GUID, " | |||
| lt_degrees | TYPE STANDARD TABLE OF PIQTRDEGREE_EXT, " | |||
| lv_return_code | TYPE SY-SUBRC, " | |||
| lv_transcript_header | TYPE PIQTRHEADER_EXT, " | |||
| lv_testrun | TYPE TESTRUN, " ' ' | |||
| lt_specializations | TYPE STANDARD TABLE OF PIQTRSPEC_EXT, " | |||
| lt_sessions | TYPE STANDARD TABLE OF PIQTRSESSION_EXT, " | |||
| lv_iv_skip_header_check | TYPE PIQFLAG, " ' ' | |||
| lt_courses | TYPE STANDARD TABLE OF PIQTRCOURSE_EXT, " | |||
| lt_codednotes | TYPE STANDARD TABLE OF PIQTRCODNOTE_EXT, " | |||
| lt_freetext | TYPE STANDARD TABLE OF PIQTRFREETEXT_EXT. " |
|   CALL FUNCTION 'HRIQ_TRANSCRIPT_CREATE' "RFC: Create External Transcript |
| EXPORTING | ||
| STUDENT | = lv_student | |
| TRANSCRIPT_HEADER | = lv_transcript_header | |
| TESTRUN | = lv_testrun | |
| IV_SKIP_HEADER_CHECK | = lv_iv_skip_header_check | |
| IMPORTING | ||
| TRANSCRIPT_GUID | = lv_transcript_guid | |
| RETURN_CODE | = lv_return_code | |
| TABLES | ||
| RETURN | = lt_return | |
| DEGREES | = lt_degrees | |
| SPECIALIZATIONS | = lt_specializations | |
| SESSIONS | = lt_sessions | |
| COURSES | = lt_courses | |
| CODEDNOTES | = lt_codednotes | |
| FREETEXT | = lt_freetext | |
| . " HRIQ_TRANSCRIPT_CREATE | ||
ABAP code using 7.40 inline data declarations to call FM HRIQ_TRANSCRIPT_CREATE
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 SUBRC FROM SY INTO @DATA(ld_return_code). | ||||
| DATA(ld_testrun) | = ' '. | |||
| DATA(ld_iv_skip_header_check) | = ' '. | |||
Search for further information about these or an SAP related objects