SAP Reports / Programs | Basis Components | Database Interface, Database Platforms | liveCache Applications(BC-DB-LCA) SAP BC

/SAPAPO/OM_TS_FORMS SAP ABAP INCLUDE - /SAPAPO/OMTSFORMS







/SAPAPO/OM_TS_FORMS 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 /SAPAPO/OM_TS_FORMS 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 /SAPAPO/OM_TS_FORMS. "Basic submit
SUBMIT /SAPAPO/OM_TS_FORMS AND RETURN. "Return to original report after report execution complete
SUBMIT /SAPAPO/OM_TS_FORMS 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 /SAPAPO/OM_TS_FORMS

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:

/SAPAPO/OM_GET_TS_SIMSESSION CALL FUNCTION '/SAPAPO/OM_GET_TS_SIMSESSION' IMPORTING ev_simsession = gv_simsession.

GET_JOB_RUNTIME_INFO CALL FUNCTION 'GET_JOB_RUNTIME_INFO' IMPORTING jobcount = ls_reg_info-jobcount jobname = ls_reg_info-jobname stepcount = ls_reg_info-stepcount EXCEPTIONS no_runtime_info = 1 OTHERS = 2.

TH_GET_OWN_WP_NO CALL FUNCTION 'TH_GET_OWN_WP_NO' IMPORTING subrc = lv_subrc wp_no = lv_wp_no wp_pid = ls_reg_info-jobcount wp_index = lv_wp_index.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING textline1 = 'Möchten Sie die Register-Informationen löschen?'(036) textline2 = iv_reg_guid titel = 'Register-Informationen löschen'(029) cancel_display = gc_false IMPORTING answer = lv_answer.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING textline1 = 'Alle Register-Informationen werden gelöscht!'(027) textline2 = 'Möchten Sie fortfahren?'(028) titel = 'Register-Informationen löschen'(029) cancel_display = gc_false IMPORTING answer = lv_answer.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING it_fieldcat = lt_fcat i_callback_program = lv_rep_name i_callback_user_command = 'CALLBACK_CLUSTER_ENTRIES' TABLES t_outtab = gt_clu_output EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING it_fieldcat = lt_fcat TABLES t_outtab = lt_output EXCEPTIONS program_error = 1 OTHERS = 2.

BAL_LOG_CREATE CALL FUNCTION 'BAL_LOG_CREATE' EXPORTING i_s_log = ls_log IMPORTING e_log_handle = cv_log_handle EXCEPTIONS OTHERS = 1.

BAL_LOG_MSG_ADD_FREE_TEXT CALL FUNCTION 'BAL_LOG_MSG_ADD_FREE_TEXT' EXPORTING i_log_handle = cv_log_handle i_msgty = iv_msgtype i_text = lv_message IMPORTING e_s_msg_handle = ls_msg_handle EXCEPTIONS OTHERS = 1.

BAL_DB_SAVE CALL FUNCTION 'BAL_DB_SAVE' EXPORTING i_save_all = 'X' i_t_log_handle = lt_log_handle EXCEPTIONS OTHERS = 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 /SAPAPO/OM_TS_FORMS or its description.