SAP Reports / Programs | Personnel Management | Personnel Administration | Kingdom of Saudi Arabia(PA-PA-SA) SAP PA

PCHRTSA0 SAP ABAP INCLUDE - documentation and ABAP source code







PCHRTSA0 is a standard ABAP INCLUDE 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 PCHRTSA0 into the relevant SAP transactions such as SE38 or SE80


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 PCHRTSA0. "Basic submit
SUBMIT PCHRTSA0 AND RETURN. "Return to original report after report execution complete
SUBMIT PCHRTSA0 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


INCLUDES used within this REPORT PCHRTSA0

INCLUDE RPCHRT09_MODIFY_SCREEN . " MODIFY_SCREEN


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:

F4_POPUP_EDT_VARI CALL FUNCTION 'F4_POPUP_EDT_VARI' EXPORTING molga = calcmolga CHANGING edt_vari = edt_vari EXCEPTIONS OTHERS = 0.

F4_POPUP_HRF_NAME CALL FUNCTION 'F4_POPUP_HRF_NAME' EXPORTING molga = calcmolga formclass = 'PAYSLIP' * ALLOW_INTERNATIONAL_FORMS = 'X' * DISPLAY_ONLY = ' ' CHANGING hrf_name = hrf_name * FORMTEXT = EXCEPTIONS func_does_not_exist = 1 OTHERS = 2 .

F4_POPUP_P_VANAM CALL FUNCTION 'F4_POPUP_P_VANAM' IMPORTING p_vanam = p_vanam EXCEPTIONS OTHERS = 0.

RPY_MESSAGE_COMPOSE CALL FUNCTION 'RPY_MESSAGE_COMPOSE' "XTWAHRK024563 EXPORTING "XTWAHRK024563 message_id = '3G' "XTWAHRK024563 message_number = '166' "XTWAHRK024563 IMPORTING "XTWAHRK024563 message_text = titel "XTWAHRK024563 EXCEPTIONS "XTWAHRK024563 OTHERS = 0. "XTWAHRK024563

F4_POPUP_SCHEMA CALL FUNCTION 'F4_POPUP_SCHEMA' EXPORTING * PROCL = 'C' molga = calcmolga * titel = 'Zulässige Schemen'(sf4) "XTWAHRK024563 titel = titel "XTWAHRK024563 IMPORTING sname = schema.

HR_PAY_ATTRIBUTE_BY_REASON CALL FUNCTION 'HR_PAY_ATTRIBUTE_BY_REASON' "XMT EXPORTING "XMT in_pay_reason = ocrsn "XMT IMPORTING "XMT * OUT_PAY_CATEGORY = "XMT out_pay_type = payty "XMT out_pay_id = payid. "XMT

HR_PL_CHANGE_VAR_ON_SEL_SCREEN CALL FUNCTION 'HR_PL_CHANGE_VAR_ON_SEL_SCREEN' EXPORTING imp_procl = 'C' imp_schema = schema CHANGING chan_var_name = p_vanam EXCEPTIONS missing_info = 1 schema_error = 2.

GET_ACCESSIBILITY_MODE call function 'GET_ACCESSIBILITY_MODE' "ACC importing ACCESSIBILITY = GX_ACC_MODE_ON exceptions others = 1.

RP_SET_NAME_FORMAT CALL FUNCTION 'RP_SET_NAME_FORMAT' "WOGAHRK055910 EXPORTING "! repid = calcreport "! IMPORTING "! format = $$format. "!

ENQUEUE_E_HR_ARC_P CALL FUNCTION 'ENQUEUE_E_HR_ARC_P' "YKMP30K111789 EXPORTING "YKMP30K111789 object = wa_arcenqobj "GWY870160 edate = run_date"YKMP30K111789 etime = run_time"YKMP30K111789 EXCEPTIONS "YKMP30K111789 foreign_lock = 1 "YKMP30K111789 system_failure = 2 "YKMP30K111789 OTHERS = 3. "YKMP30K111789

HR_PL_MOVE_BUFFER_TO_PLOG CALL FUNCTION 'HR_PL_MOVE_BUFFER_TO_PLOG' "WOGL9CK043310 TABLES imp_buffer_dir = buffer_dir imp_tbuff = tbuff.

DEQUEUE_E_HR_ARC_P CALL FUNCTION 'DEQUEUE_E_HR_ARC_P' "YKMP30K111789 EXPORTING "YKMP30K111789 object = wa_arcenqobj "GWY870160 edate = run_date "YKMP30K111789 etime = run_time "YKMP30K111789 EXCEPTIONS "YKMP30K111789 * OTHERS = 1. "YKMP30K111789 "XAIAHRK040136

HR_PL_MOVE_LOG_BASIC_KEY CALL FUNCTION 'HR_PL_MOVE_LOG_BASIC_KEY' "! EXPORTING "! imp_log_basic_key = h_log_basic_key "! EXCEPTIONS "! OTHERS = 0. "!

HR_PL_MOVE_SEL_SCREEN_TO_PLOG CALL FUNCTION 'HR_PL_MOVE_SEL_SCREEN_TO_PLOG' "! EXPORTING "! imp_report = calcreport "! EXCEPTIONS "! OTHERS = 0. "!

HR_PL_EXPORT_LOG * call function 'HR_PL_EXPORT_LOG' "! * exceptions "! * others = 1. "!

HR_PL_EXPORT_LOG_TO_MEMORY CALL FUNCTION 'HR_PL_EXPORT_LOG_TO_MEMORY' "! EXPORTING "! mem_key = plgmemky. "XDOAHRK003361

HR_PL_DISPLAY_LOG CALL FUNCTION 'HR_PL_DISPLAY_LOG' "! EXPORTING "! p_batch = p_pbatch "XDOALRK010306 p_vanam = p_vanam. "XDOALRK030399



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