SAP Reports / Programs | Payroll | Switzerland(PY-CH) SAP PY

RPLASMC1_CE SAP ABAP Report - HR-CH: Solidarity Contribution Statement (CE Version)







RPLASMC1_CE 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 RPLASMC1_CE 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_M02_ASMC1_CE - Solidarity Contribution Stmt for CE
PC00_M02_LASM1_CE - Solidarity Contribution Stmt for CE


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 RPLASMC1_CE. "Basic submit
SUBMIT RPLASMC1_CE AND RETURN. "Return to original report after report execution complete
SUBMIT RPLASMC1_CE 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: VERSION = Display Retroactive Accounting
Selection Text: S_LGART = WType solidarity contributions
Selection Text: S_ABREH = Payroll unit ASM
Selection Text: PX_LFVAR = Form Variant
Selection Text: PX_LFVA3 = Form Variant
Selection Text: PX_LFVA2 = Address Form Variant
Selection Text: PX_LFORM = Form Name
Selection Text: PX_LFOR3 = Form Name
Selection Text: PX_LFOR2 = Address Form Name
Selection Text: PX_I_PRN = Print Immediately
Title: HR-CH: Solidarity Contribution Statement (CE Version)
Text Symbol: S13 = AHV Number
Text Symbol: S12 = Personnel No.
Text Symbol: S11 = Name
Text Symbol: S10 = Sort Sequence
Text Symbol: R50 = No up-to-date result for
Text Symbol: P04 = Single-Sided Form
Text Symbol: P03 = Obsolete (Addr.Form)
Text Symbol: P02 = Form
Text Symbol: P01 = Overview List
Text Symbol: L01 = Print Forms
Text Symbol: F03 = Correct
Text Symbol: F02 = Period missing in table 549A/549Q
Text Symbol: F01 = Error Message:
Text Symbol: B01 = Output
Text Symbol: 010 = Solid.contribution statement
Text Symbol: 006 = Sum total:
Text Symbol: 005 = Total:
Text Symbol: 004 = ASM comp. code:
Text Symbol: 003 = Date:
Text Symbol: 002 = Page:
Text Symbol: 001 = PerNr Name AHV number Start End Cancell. Contrib.
Text Symbol: 000 = Solidarity contribution ASM


INCLUDES used within this REPORT RPLASMC1_CE

INCLUDE RPLPERC1.
INCLUDE RPUPNPC0_CE.


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_ERROR_LIST call function 'HR_REFRESH_ERROR_LIST'.

RP_GET_CURRENCY call function 'RP_GET_CURRENCY' exporting molga = c_molga begda = pn-begda importing waers = g_waers.

HR_DISPLAY_ERROR_LIST call function 'HR_DISPLAY_ERROR_LIST'.

HR_DISPLAY_ERROR_LIST call function 'HR_DISPLAY_ERROR_LIST'.

HR_CH_READ_ABREINHEIT call function 'HR_CH_READ_ABREINHEIT' exporting p02_stichtag = pn-endda p02_anwschlch = c_anwschlch tables p02_p0001 = li_p0001 p02_t_abreinheit = li_abreh exceptions table_access_error = 1 abreinheit_not_found = 2 others = 3.

HR_APPEND_ERROR_LIST call function 'HR_APPEND_ERROR_LIST' exporting pernr = pernr-pernr arbgb = '5C' msgty = 'E' msgno = '173'.

HR_CH_READ_ADRESS_ABREINH call function 'HR_CH_READ_ADRESS_ABREINH' exporting p02_abreinheit = p_abreh p02_anwschlch = c_anwschlch p02_stichtag = pn-endda p02_kontakt = 'N' tables p02_adrabreh = li_adr.

HELP_VALUES_GET_WITH_TABLE call function 'HELP_VALUES_GET_WITH_TABLE' exporting fieldname = 'ABREINH' tabname = 'T5CSF' importing select_value = p_abreh tables fields = ihelp_fields valuetab = helptab exceptions field_not_in_ddic = 1 more_then_one_selectfield = 2 no_selectfield = 3 others = 4.

RP_HIRE_FIRE call function 'RP_HIRE_FIRE' exporting beg = pn-begda end = pn-endda importing fire_date = l_firedate tables pphifi = li_hifi pp0000 = p0000 pp0001 = p0001 exceptions others = 1.

HR_APPEND_ERROR_LIST call function 'HR_APPEND_ERROR_LIST' exporting pernr = pernr-pernr arbgb = '5C' msgty = 'W' msgno = '177' msgv1 = p_infty msgv2 = l_endda.

GET_PRINT_PARAMETERS call function 'GET_PRINT_PARAMETERS' exporting in_parameters = pri_params mode = 'PARAMS' no_dialog = 'X' importing out_parameters = pri_params exceptions archive_info_not_found = 1 * invalid_print_params = 2 "CHBAL0K051095 * invalid_archive_params = 3 "CHBAL0K051095 others = 4.

OPEN_FORM call function 'OPEN_FORM' exporting application = 'TX' device = 'PRINTER' form = p_form language = sy-langu options = pr_options exceptions canceled = 1 device = 2 form = 3 options = 4 unclosed = 5 others = 8.

START_FORM call function 'START_FORM'.

WRITE_FORM call function 'WRITE_FORM' exporting element = 'DATEN' function = 'SET' type = 'BODY' window = 'MAIN'.

END_FORM call function 'END_FORM'.

CLOSE_FORM call function 'CLOSE_FORM'.

HR_ALV_LIST_DISPLAY call function 'HR_ALV_LIST_DISPLAY' exporting data_structure = p_struc current_report = l_repid list_title = sy-rtitl callback_user_command = 'FORMULAR' callback_end_of_list = ' ' * variant = '1SAP' hr_display_error_list = ' ' tables data_tab = pi_all exceptions program_error = 1 others = 2.

HR_PAL_NODE_ADD CALL FUNCTION 'HR_PAL_NODE_ADD' EXPORTING i_relatkey = cl_hr99b_pal=>c_root_node i_node_txt = text-000 i_categ_id = c_pal_categids-asmc1 i_expand = 'X' IMPORTING e_node_key = l_node_key EXCEPTIONS program_error = 1 OTHERS = 2.

H99B_OPEN_LFORM_JOB





call function 'H99B_OPEN_LFORM_JOB' exporting i_molga = pch_form_sel-molga i_fogroup = pch_form_sel-fogroup i_folname = pch_form_sel-folname i_fovariant = pch_form_sel-fovariant * dialog = p_dialog options = l_options exceptions others = 99.

H99B_OUTPUT_LFORM CALL FUNCTION 'H99B_OUTPUT_LFORM' EXPORTING i_molga = pch_form_sel-molga i_fogroup = pch_form_sel-fogroup i_folname = pch_form_sel-folname i_fovariant = pch_form_sel-fovariant i_data_struc = p_data EXCEPTIONS others = 99.

H99B_CLOSE_LFORM_JOB CALL FUNCTION 'H99B_CLOSE_LFORM_JOB' EXCEPTIONS others = 99.

ADDRESS_INTO_PRINTFORM CALL FUNCTION 'ADDRESS_INTO_PRINTFORM' EXPORTING address_2 = ls_address address_type = '2' number_of_lines = 3 IMPORTING address_printform = ls_addr_printform.



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