SAP Reports / Programs

HGRLAPD5 SAP ABAP Report - IKA Employment Statement







HGRLAPD5 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter HGRLAPD5 into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

PC00_M45_APD5 - IKA Employment Statement


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT HGRLAPD5. "Basic submit
SUBMIT HGRLAPD5 AND RETURN. "Return to original report after report execution complete
SUBMIT HGRLAPD5 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: P_APDTP = APD Type
Selection Text: P_FILE = Filename
Selection Text: P_NEGAT = Display Negative records
Selection Text: P_PYTYP = D .
Selection Text: P_SDATE = Submission Date
Selection Text: P_SEQNR = Company Data Sequential No.
Selection Text: P_YM1 = Period from (YearMonth YYYYMM)
Selection Text: P_YM2 = Period to (YearMonth YYYYMM)
Title: IKA Employment Statement
Text Symbol: 010 = Certificates created
Text Symbol: 020 = Error during writing file
Text Symbol: P01 = C:\Documents and Settings\
Text Symbol: P02 = \Desktop\APD.pdf


INCLUDES used within this REPORT HGRLAPD5

INCLUDE HGRUCMP0.
INCLUDE HGRUIKA0.
INCLUDE HGRUGEN0.
INCLUDE HGRUACT0.


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

FP_FUNCTION_MODULE_NAME CALL FUNCTION 'FP_FUNCTION_MODULE_NAME' EXPORTING i_name = p_form IMPORTING e_funcname = fm_name.

FP_JOB_OPEN CALL FUNCTION 'FP_JOB_OPEN' CHANGING ie_outputparams = ls_outputparams EXCEPTIONS cancel = 1 usage_error = 2 system_error = 3 internal_error = 4 OTHERS = 5.

FP_GET_LAST_ADS_ERRSTR CALL FUNCTION 'FP_GET_LAST_ADS_ERRSTR' IMPORTING e_adserrstr = error_string.

FP_JOB_CLOSE CALL FUNCTION 'FP_JOB_CLOSE' EXCEPTIONS usage_error = 1 system_error = 2 internal_error = 3 OTHERS = 4.

SCMS_XSTRING_TO_BINARY CALL FUNCTION 'SCMS_XSTRING_TO_BINARY' EXPORTING buffer = ls_formoutput-pdf * append_to_table = 'X' IMPORTING output_length = lv_len TABLES binary_tab = lt_tab.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name HGRLAPD5 or its description.