SAP Reports / Programs | Basis Components | ABAP Workbench, Java IDE and Infrastructure | ABAP Test Frameworks ( ATC, CheckMan, Code Inspector)(BC-DWB-TOO-ATF) SAP BC

SCRM_REPLICATE_RESULT SAP ABAP Report - CheckMan: Replicate Check Results







SCRM_REPLICATE_RESULT 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 SCRM_REPLICATE_RESULT 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 SCRM_REPLICATE_RESULT. "Basic submit
SUBMIT SCRM_REPLICATE_RESULT AND RETURN. "Return to original report after report execution complete
SUBMIT SCRM_REPLICATE_RESULT 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: PCHKID = Checks
Selection Text: PREP1 = New Active Object Set
Selection Text: PREP2 = Object Set
Selection Text: PRFC = RFC Destination
Selection Text: PSETACT = Activate Check Result
Selection Text: PTRLAYER = Transport Layer
Selection Text: POSETKIN = Object Set Type
Selection Text: PCMNEWS = Replicate CheckMan News
Selection Text: PCRMAHR = Replication of HR Org Data
Selection Text: POBSETID = Source Object Set
Selection Text: POBSETKI = Source Object Set Type
Selection Text: POSETIDN = Object Set
Title: CheckMan: Replicate Check Results
Text Symbol: 004 = Replication Completed
Text Symbol: 003 = Restrict Replication
Text Symbol: 002 = Standard Mode <-> Expert Mode
Text Symbol: 001 = Of Type
Text Symbol: 006 = Replication Not Performed
Text Symbol: 010 = Replicate Directly
Text Symbol: 009 = Target Object Set
Text Symbol: 008 = Display Active Object Set
Text Symbol: 007 = Source Object Set


INCLUDES used within this REPORT SCRM_REPLICATE_RESULT

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:

SCT2_GET_RFC_DESTINATION_F4 call function 'SCT2_GET_RFC_DESTINATION_F4' exporting iv_rfc_dest_type = '3' iv_proof_only = ' ' iv_popup_start_x = 5 iv_popup_start_y = 5 * importing * ev_rfc_dest_text = * es_rfc_dest_info = changing cv_rfc_dest = prfc exceptions rfc_dest_not_found = 1 cancel_button_pressed = 2 others = 3.

SCT2_GET_RFC_DESTINATION_F4 call function 'SCT2_GET_RFC_DESTINATION_F4' exporting iv_rfc_dest_type = '3' iv_proof_only = 'X' iv_popup_start_x = 5 iv_popup_start_y = 5 * importing * ev_rfc_dest_text = * es_rfc_dest_info = changing cv_rfc_dest = prfc exceptions rfc_dest_not_found = 1 cancel_button_pressed = 2 others = 3.

SCRMUI_GET_ACTIVE_RESULT_ID call function 'SCRMUI_GET_ACTIVE_RESULT_ID' destination prfc importing ex_object_set_kind = gv_active_objsetkind ex_object_set_id = gv_active_objsetid exceptions active_set_not_found = 1 communication_failure = 2 message gv_msg system_failure = 3 message gv_msg.

FREE_SELECTIONS_RANGE_2_EX call function 'FREE_SELECTIONS_RANGE_2_EX' exporting field_ranges = gt_field_ranges importing expressions = gt_expressions.

DB_COMMIT call function 'DB_COMMIT'.

SCRMUI_GET_ACTIVE_RESULT_ID call function 'SCRMUI_GET_ACTIVE_RESULT_ID' destination pv_rfc_destination importing ex_object_set_kind = pv_active_objsetkind ex_object_set_id = pv_active_objsetid exceptions active_set_not_found = 1 communication_failure = 2 system_failure = 3.

AUTHORITY_CHECK_RFC call function 'AUTHORITY_CHECK_RFC' exporting userid = sy-uname functiongroup = 'SCRM' exceptions user_dont_exist = 1 rfc_no_authority = 2 others = 3.

SCRM_GET_CHECK_MAN_NEWS call function 'SCRM_GET_CHECK_MAN_NEWS' destination prfc exporting im_object = lv_remote_object importing ex_object = lv_remote_object tables ex_lines = lt_remote_lines exceptions not_found = 1 communication_failure = 2 message lv_msg system_failure = 3 message lv_msg.

SCRM_GET_CHECK_MAN_NEWS call function 'SCRM_GET_CHECK_MAN_NEWS' exporting im_object = lv_local_object importing ex_id = lv_local_id ex_object = lv_local_object ex_language = lv_local_langu * ex_type = lv_local_typ * ex_version = lv_local_version * ex_header = ls_local_header tables ex_lines = lt_local_lines exceptions not_found = 1.

DOCU_UPD_SAVE call function 'DOCU_UPD_SAVE' exporting append_docu = ' ' id = lv_local_id langu = lv_local_langu no_masterlang = ' ' object = lv_local_object state = 'A' typ = 'E' tables line = lt_remote_lines exceptions ret_code = 1.



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