SAP Reports / Programs

/OPT/VIM_DP_TRIGGER SAP ABAP Report - Program to start the DP Workflow







/OPT/VIM_DP_TRIGGER 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 /OPT/VIM_DP_TRIGGER 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 /OPT/VIM_DP_TRIGGER. "Basic submit
SUBMIT /OPT/VIM_DP_TRIGGER AND RETURN. "Return to original report after report execution complete
SUBMIT /OPT/VIM_DP_TRIGGER 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: S_DOCID = DP document number
Selection Text: S_AROBJ = Archive Doctype
Selection Text: P_TEST = Run in Test mode
Title: Program to start the DP Workflow
Text Symbol: 104 = Message
Text Symbol: 103 = DocStatus
Text Symbol: 102 = DP Doc ID
Text Symbol: 101 = Error
Text Symbol: 086 = Error in Invoking DP Workflow
Text Symbol: 085 = Error in Resolving Validation Agents
Text Symbol: 084 = Mapping Error
Text Symbol: 077 = Sent to Workflow
Text Symbol: 074 = Ready for Validation
Text Symbol: 009 = Error in Invoking DP Workflow
Text Symbol: 008 = Error in Validating the Extracted data
Text Symbol: 007 = Program to start the DP Workflow
Text Symbol: 006 = from "Validation complete"
Text Symbol: 005 = from "Extraction complete"
Text Symbol: 004 = Status updated to "Sent to Workflow"
Text Symbol: 003 = Status updated to "Ready for validation"
Text Symbol: 002 = Error in mapping Validation data
Text Symbol: 001 = Error in mapping Extraction data


INCLUDES used within this REPORT /OPT/VIM_DP_TRIGGER

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:

/OPT/VIM_START_DOC_PROCESS_ICC CALL FUNCTION '/OPT/VIM_START_DOC_PROCESS_ICC' DESTINATION rfc_dest EXPORTING channel_id = channel doctype = lcl_indexer->index_header-doctype archiv_id = lcl_indexer->index_header-archiv_id arc_doc_id = lcl_indexer->index_header-arc_doc_id * ar_object = lcl_indexer->index_header-ar_object i_doc_header = lcl_indexer->index_header mapping_not_needed = 'X' IMPORTING rc = l_subrc e_wf_id = l_wi_id TABLES i_doc_items = lcl_indexer->index_item logdata = t_logdata return = t_return EXCEPTIONS OTHERS = 1.

/OPT/VIM_START_DOC_PROCESS_ICC CALL FUNCTION '/OPT/VIM_START_DOC_PROCESS_ICC' DESTINATION rfc_dest EXPORTING channel_id = channel doctype = lcl_indexer->index_header-doctype archiv_id = lcl_indexer->index_header-archiv_id arc_doc_id = lcl_indexer->index_header-arc_doc_id * ar_object = lcl_indexer->index_header-ar_object i_doc_header = lcl_indexer->index_header mapping_not_needed = 'X' IMPORTING rc = l_subrc e_wf_id = l_wi_id TABLES i_doc_items = lcl_indexer->index_item logdata = t_logdata return = t_return EXCEPTIONS OTHERS = 1.

/OPT/VIM_RUN_VALIDATION_RULES CALL FUNCTION '/OPT/VIM_RUN_VALIDATION_RULES' EXPORTING dp_docid = p_docid IMPORTING validation_needed = p_validation_needed rc = loc_subrc " p_subrc TABLES return = t_return.

/OPT/VIM_READ_CONSTANT CALL FUNCTION '/OPT/VIM_READ_CONSTANT' EXPORTING prod_code = '005' param_name = 'VALIDATOR_ROLE' IMPORTING param_value = gv_zrsp EXCEPTIONS not_found = 1 OTHERS = 2.

/OPT/W_RETRIEVE_USERS CALL FUNCTION '/OPT/W_RETRIEVE_USERS' EXPORTING zpdcd = '005' zrsp = gv_zrsp objtype = '/OPT/V1001' objkey = l_objkey TABLES override_agents = p_userlist1 userlist = p_userlist EXCEPTIONS role_not_resolved = 1 OTHERS = 2.

/OPT/DO_MAPPING CALL FUNCTION '/OPT/DO_MAPPING' EXPORTING mapping_id = l_mapping_id IMPORTING rc = rc1 i_doc_header = pl_header TABLES extdata_head = pt_data_head extdata_item = pt_data_item i_doc_items = pt_item return = pt_return.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING * I_INTERFACE_CHECK = ' ' * I_BYPASSING_BUFFER = * I_BUFFER_ACTIVE = ' ' i_callback_program = l_repid * I_CALLBACK_PF_STATUS_SET = ' ' * I_CALLBACK_USER_COMMAND = ' ' * I_CALLBACK_TOP_OF_PAGE = ' ' * I_CALLBACK_HTML_TOP_OF_PAGE = ' ' * I_CALLBACK_HTML_END_OF_LIST = ' ' * I_STRUCTURE_NAME = * I_BACKGROUND_ID = ' ' * I_GRID_TITLE = * I_GRID_SETTINGS = * IS_LAYOUT = l_layout it_fieldcat = t_fieldcat * IT_EXCLUDING = * IT_SPECIAL_GROUPS = * IT_SORT = * IT_FILTER = * IS_SEL_HIDE = i_default = 'X' i_save = 'A' * IS_VARIANT = * IT_EVENTS = * IT_EVENT_EXIT = * IS_PRINT = * IS_REPREP_ID = * I_SCREEN_START_COLUMN = 0 * I_SCREEN_START_LINE = 0 * I_SCREEN_END_COLUMN = 0 * I_SCREEN_END_LINE = 0 * IT_ALV_GRAPHICS = * IT_ADD_FIELDCAT = * IT_HYPERLINK = * I_HTML_HEIGHT_TOP = * I_HTML_HEIGHT_END = * IT_EXCEPT_QINFO = * IMPORTING * E_EXIT_CAUSED_BY_CALLER = * ES_EXIT_CAUSED_BY_USER = TABLES t_outtab = t_list EXCEPTIONS program_error = 1 OTHERS = 2.

/OPT/VIM_READ_CONSTANT CALL FUNCTION '/OPT/VIM_READ_CONSTANT' EXPORTING prod_code = '005' param_name = 'ICC_CHANNEL_ID' IMPORTING param_value = g_constant EXCEPTIONS not_found = 1 OTHERS = 2.

/OPT/VIM_GET_RFC_DESTINATION CALL FUNCTION '/OPT/VIM_GET_RFC_DESTINATION' EXPORTING * SYS_DET_ID = channel_id = channel * MAPPING_ID = i_doc_header = l_header mapping_not_needed = 'X' IMPORTING rfc_dest = rfc_dest.

/OPT/VIM_SYSTEM_DETERMINE CALL FUNCTION '/OPT/VIM_SYSTEM_DETERMINE' EXPORTING sys_det_id = l_chnl-sys_det_id channel_id = channel mapping_id = l_chnl-mapping_id i_doc_header = lcl_indexer->index_header mapping_not_needed = 'X' IMPORTING i_logsys = p_logsys.

OWN_LOGICAL_SYSTEM_GET CALL FUNCTION 'OWN_LOGICAL_SYSTEM_GET' IMPORTING own_logical_system = lv_logsys EXCEPTIONS own_logical_system_not_defined = 1 OTHERS = 2.

OWN_LOGICAL_SYSTEM_GET CALL FUNCTION 'OWN_LOGICAL_SYSTEM_GET' IMPORTING own_logical_system = l_logsys EXCEPTIONS own_logical_system_not_defined = 1 OTHERS = 2.

RFC_PING CALL FUNCTION 'RFC_PING' DESTINATION p_dest EXCEPTIONS system_failure = 1 communication_failure = 2.

/OPT/RFC_PING CALL FUNCTION '/OPT/RFC_PING' DESTINATION p_dest EXCEPTIONS OTHERS = 1.

/OPT/VIM_READ_CONSTANT CALL FUNCTION '/OPT/VIM_READ_CONSTANT' EXPORTING prod_code = '005' param_name = 'VALIDATE_ON_MAP_ERR' IMPORTING param_value = pv_validate EXCEPTIONS not_found = 1 OTHERS = 2.



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 /OPT/VIM_DP_TRIGGER or its description.