SAP Reports / Programs

RPCSTGD0 SAP ABAP Report - Breakdown of Trade Tax (Germany)







RPCSTGD0 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report creates a breakdown of the gross trade tax to the municipalities of the company offices (personnel subareas) for your company...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 RPCSTGD0 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_M01_CSTG - Breakdown of Trade Tax (Germany)


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 RPCSTGD0. "Basic submit
SUBMIT RPCSTGD0 AND RETURN. "Return to original report after report execution complete
SUBMIT RPCSTGD0 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: JAHR = Year of Survey
Selection Text: PROGEMDE = Division per Municipality
Selection Text: PROPERNR = Results per personnel number
Selection Text: PROPTBER = Breakdown per Pers. Subarea
Title: Breakdown of Trade Tax (Germany)
Text Symbol: E01 = No Payroll Results Found
Text Symbol: E02 = Implausible periods when calling function module
Text Symbol: H10 = Personnel Number:
Text Symbol: I00 = | No Errors Were Found
Text Symbol: I10 = | No Records were selected |
Text Symbol: S04 = Valuation Prev.Year(In-Period)
Text Symbol: S20 = Test Utils
Text Symbol: T00 = Breakdown of Trade Tax for Year xxxx
Text Symbol: T01 = S E L E C T E D R E C O R D S P E R E M P L O Y E E :
Text Symbol: T02 = All Currencies in
Text Symbol: T10 = Seqno. Tx forPer. InPer PA ForBegin ForEnd InEnd
Text Symbol: T11 = | | | . | . | | | | |


INCLUDES used within this REPORT RPCSTGD0

No INCLUDES are used within this REPORT code!


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:

HR_REFRESH_STAT_LIST CALL FUNCTION 'HR_REFRESH_STAT_LIST'.

HR_REFRESH_ERROR_LIST CALL FUNCTION 'HR_REFRESH_ERROR_LIST'.

RP_LAST_DAY_OF_MONTHS CALL FUNCTION 'RP_LAST_DAY_OF_MONTHS' EXPORTING day_in = $begda IMPORTING last_day_of_month = $endda.

HR_APPEND_ERROR_LIST CALL FUNCTION 'HR_APPEND_ERROR_LIST' EXPORTING * PERNR = arbgb = 'HRPAYST' msgty = 'E' msgno = $id msgv1 = $para1 msgv2 = $para2 .

HR_APPEND_STAT_LIST CALL FUNCTION 'HR_APPEND_STAT_LIST' EXPORTING selected = anz_pers processed = anz_bearb rejected = anz_err.

HR_REFRESH_STAT_LIST call function 'HR_REFRESH_STAT_LIST'.

HR_REFRESH_ERROR_LIST call function 'HR_REFRESH_ERROR_LIST'.

GET_JOB_RUNTIME_INFO CALL FUNCTION 'GET_JOB_RUNTIME_INFO' IMPORTING * EVENTID = EVENTID * EVENTPARM = EVENTPARM * EXTERNAL_PROGRAM_ACTIVE = EXTERNAL_PROGRAM_ACTIVE jobcount = jobcount jobname = jobname * STEPCOUNT = STEPCOUNT EXCEPTIONS no_runtime_info = 1 OTHERS = 2.

HR_EXPORT_DATA_TO_OTHER_SYS CALL FUNCTION 'HR_EXPORT_DATA_TO_OTHER_SYS' DESTINATION call_back_dest EXPORTING indxkey = call_back_id TABLES datatab = datatab fieldnames = fieldnames * HR_ERRORTAB = ERRORTAB daten1 = daten1 daten2 = daten2 * DATEN3 = DATEN3 EXCEPTIONS OTHERS = 1.

HR_ALV_LIST_DISPLAY CALL FUNCTION 'HR_ALV_LIST_DISPLAY' EXPORTING data_structure = struct current_report = repid list_title = title list_title2 = title2 "GSGN0403290 hr_display_error_list = 'X' hr_display_stat_list = 'X' * CALLBACK_END_OF_LIST = END_OF_LIST_CALLBACK variant = $lstvaria TABLES data_tab = lohnsumme EXCEPTIONS OTHERS = 1.

HR_GET_PAYROLL_RESULTS CALL FUNCTION 'HR_GET_PAYROLL_RESULTS' EXPORTING pernr = pernr-pernr permo = lc_permo pabrj = jahr pabrp = lc_januar pabrj_end = jahr pabrp_end = lc_dezember inper_lst = l_inper_lst inper_act = l_inper_act actual = space * WAERS = TABLES result_tab = ct_payresult EXCEPTIONS no_results = 1 error_in_currency_conversion = 2 t500l_entry_not_found = 3 period_mismatch_error = 4 t549q_entry_not_found = 5 internal_error = 6 wrong_structure_of_result_tab = 7 OTHERS = 8.

HR_APPEND_ERROR_LIST CALL FUNCTION 'HR_APPEND_ERROR_LIST' EXPORTING pernr = pernr-pernr arbgb = sy-msgid msgty = sy-msgty msgno = sy-msgno msgv1 = sy-msgv1 msgv2 = sy-msgv2 msgv3 = sy-msgv3 msgv4 = sy-msgv4.



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 RPCSTGD0 or its description.