HGRSSTA0 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for You run this report to generate a file that is submitted to the National Statistical Service of Greece (in Greek ΕΣΥΕ-Εθνική Στατιστική Υπηρεσία Ελλάδας) quarterly...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.
If you would like to execute this report or see the full code listing simply enter HGRSSTA0 into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
PC00_M45_STA0 - Statistic Agency Report
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.
Selection Text: P_AMOUF = State Subsidies (Females)
Selection Text: P_AMOUM = State Subsidies (Males)
Selection Text: P_CURR = D .
Selection Text: P_FILE = D .
Selection Text: P_MONTH = Reference Month
Selection Text: P_QUART = Year Quarter
Selection Text: P_SDATE = Submission Date
Selection Text: P_SEQNR = Company Data Sequential No.
Selection Text: P_YEAR = Calendar Year
Title: Statistic agency report
Text Symbol: 010 = Statistic Report created
Text Symbol: 020 = Error during downloading file
Text Symbol: 101 = A' Quarter
Text Symbol: 102 = B' Quarter
Text Symbol: 103 = C' Quarter
Text Symbol: 104 = D' Quarter
Text Symbol: 900 = Invalid month. Please enter value 1 to 12 !
Text Symbol: 901 = Invalid year quarter. Please enter value 1 to 4 !
Text Symbol: 902 = Reference month should be within the year quarter !
Text Symbol: P01 = C:\Documents and Settings\
Text Symbol: P02 = \Desktop\ESYE.pdf
INCLUDE OLE2INCL.
INCLUDE HGRUCMP0.
INCLUDE HGRUINS0.
INCLUDE HGRUIKA0.
INCLUDE HGRUGEN0.
INCLUDE HGRUTAX0.
INCLUDE HGRUACT0.
No SAP DATABASE tables are accessed within this REPORT code!
FP_FUNCTION_MODULE_NAME CALL FUNCTION 'FP_FUNCTION_MODULE_NAME' EXPORTING i_name = p_forms 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.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.