SAP Reports / Programs | Materials Management | Defense Forces and Public Security | Materials Management(IS-DFS-MM) SAP IS

/ISDFPS/CS_SWITCH_SEND_UPS SAP ABAP Report - DFPS: System Switch Sender Report for UPS Package /ISDFPS/SW







/ISDFPS/CS_SWITCH_SEND_UPS 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 /ISDFPS/CS_SWITCH_SEND_UPS 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 /ISDFPS/CS_SWITCH_SEND_UPS. "Basic submit
SUBMIT /ISDFPS/CS_SWITCH_SEND_UPS AND RETURN. "Return to original report after report execution complete
SUBMIT /ISDFPS/CS_SWITCH_SEND_UPS 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: PA_HANDL = D .
Selection Text: PA_LOGSY = D .
Selection Text: PA_OBJID = D .
Title: DFPS: System Switch Sender Report for UPS Package /ISDFPS/SW
Text Symbol: 001 = Force Element
Text Symbol: 002 = Logical System
Text Symbol: 003 = Appl. Log Handle
Text Symbol: 004 = Error
Text Symbol: 005 = Following force elements have changed system:


INCLUDES used within this REPORT /ISDFPS/CS_SWITCH_SEND_UPS

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:

/ISDFPS/FORCE_STRUC_GET CALL FUNCTION '/ISDFPS/FORCE_STRUC_GET' EXPORTING act_otype = co_otype_o act_objid = pa_objid act_wegid = /isdfps/cl_mm_cross_system=>c_wegid_o_o_down act_svect = '1' "only active forces! act_tdepth = 0 TABLES result_objec = gt_objec EXCEPTIONS no_plvar_found = 1 OTHERS = 2.

NUMBER_GET_NEXT CALL FUNCTION 'NUMBER_GET_NEXT' EXPORTING nr_range_nr = '01' object = '/ISDFPS/SW' IMPORTING number = gf_number EXCEPTIONS interval_not_found = 1 number_range_not_intern = 2 object_not_found = 3 quantity_is_0 = 4 quantity_is_not_1 = 5 interval_overflow = 6 buffer_overflow = 7 OTHERS = 8.

UPSCU_CONSTRUCTOR CALL FUNCTION 'UPSCU_CONSTRUCTOR' EXPORTING im_packagename = gs_upshdr-upsnam im_owner = gs_upshdr-owner im_partner = gs_upshdr-logsys im_direction = gs_upshdr-direct im_editmode = 'C' flg_error_if_not_exist = ' ' flg_msg_collect = 'X' im_trustlevel_check = 5 im_trustlevel_log = 1 IMPORTING ex_instid = gf_instid TABLES ex_messages = gt_return EXCEPTIONS failing_instance = 1 unity_not_exists = 2 unity_exists = 3 no_authority = 4 display_only = 5 error = 6 OTHERS = 7.

UPSCU_PACKAGE_CREATE CALL FUNCTION 'UPSCU_PACKAGE_CREATE' EXPORTING im_instid = gf_instid imt_apiitm = gt_ups_item flg_commit_and_wait = space flg_set_upssts_new = 'X' flg_serial_update = 'X' flg_msg_collect = 'X' TABLES ex_messages = gt_return CHANGING ch_apihdr = gs_upshdr EXCEPTIONS failing_instance = 1 current_exists = 2 error = 3 wrong_instance = 4 no_change = 5 package_exists = 6 no_authority = 7 OTHERS = 8.

UPSCU_SET_UPSSTS_RELEASED * CALL FUNCTION 'UPSCU_SET_UPSSTS_RELEASED' * EXPORTING * im_instid = gf_instid * TABLES * ex_messages = gt_return * EXCEPTIONS * no_current_package = 1 * package_not_found = 2 * upsstat_error = 3 * failing_instance = 4 * no_change = 5 * no_authority = 6 * serial_incomplete = 7 * OTHERS = 8.

UPSCU_SEND * CALL FUNCTION 'UPSCU_SEND' * EXPORTING * im_instid = gf_instid * flg_msg_collect = 'X' * TABLES * ex_messages = gt_return * EXCEPTIONS * failing_instance = 1 * error = 2 * no_change = 3 * OTHERS = 4.

UPSCU_FREE CALL FUNCTION 'UPSCU_FREE' EXPORTING im_instid = gf_instid.

BAL_DB_LOAD CALL FUNCTION 'BAL_DB_LOAD' EXPORTING i_t_log_handle = gt_handles i_client = sy-mandt EXCEPTIONS no_logs_specified = 1 log_not_found = 2 log_already_loaded = 3 OTHERS = 4.

BAL_LOG_MSG_ADD CALL FUNCTION 'BAL_LOG_MSG_ADD' EXPORTING i_log_handle = pa_handl i_s_msg = gs_bal_message EXCEPTIONS * log_not_found = 1 * msg_inconsistent = 2 * msg_not_found = 3 OTHERS = 4.

BAL_DB_SAVE CALL FUNCTION 'BAL_DB_SAVE' EXPORTING i_t_log_handle = gt_handles EXCEPTIONS log_not_found = 1 save_not_allowed = 2 numbering_error = 3 OTHERS = 4.

BAL_LOG_REFRESH CALL FUNCTION 'BAL_LOG_REFRESH' EXPORTING i_log_handle = pa_handl EXCEPTIONS log_not_found = 1 OTHERS = 2.

RH_DETERMINE_ORG_OBJID CALL FUNCTION 'RH_DETERMINE_ORG_OBJID' EXPORTING org_object_type = co_otype_o act_plvar = co_plvar_01 IMPORTING org_object_objid = pa_objid EXCEPTIONS no_active_plvar = 1 no_object_id_selected = 2 OTHERS = 3.



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 /ISDFPS/CS_SWITCH_SEND_UPS or its description.