/OPT/VIM_TRIGGER_HEADER_WF 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_TRIGGER_HEADER_WF into the relevant SAP transactions such as SE38 or SE80
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.
Selection Text: DATE = Date of Last Action
Selection Text: INV_DOC = Document No.
Selection Text: INV_YEAR = Fiscal Year
Selection Text: TIME = Time of Last Action
Title: LIV Trigger Header level action Workflow
Text Symbol: 001 = No Header level work flows pending at this time
Text Symbol: 002 = The Header work flow task could not be identified
Text Symbol: 003 = The Invoice Verification Sub Workflow could not be identified
Text Symbol: 004 = Workflow triggered for invoice
Text Symbol: 005 = Update failed
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
/PTGWFI/LIX_F_UPDMONITOR CALL FUNCTION '/PTGWFI/LIX_F_UPDMONITOR' EXPORTING lix_monitor = t_lixmtr EXCEPTIONS update_lixmtr_failed = 1 update_lixmwi_failed = 2 OTHERS = 3.
/PTGWFI/CP_READCONSTANT CALL FUNCTION '/PTGWFI/CP_READCONSTANT' EXPORTING constname = 'HEADERLEVELWORKFLOW' productcode = 'LIX' IMPORTING constvalue = headerlevelworkflow EXCEPTIONS constant_not_found = 1 OTHERS = 2.
/PTGWFI/CP_READCONSTANT CALL FUNCTION '/PTGWFI/CP_READCONSTANT' EXPORTING constname = 'INVVERIFYSUBWF' productcode = 'LIX' IMPORTING constvalue = invverifysubworkflow EXCEPTIONS constant_not_found = 1 OTHERS = 2.
SWC_OBJECT_CREATE CALL FUNCTION 'SWC_OBJECT_CREATE' EXPORTING objtype = 'BUS2081' objkey = rbkp_key IMPORTING object = rbkp_object EXCEPTIONS objtype_not_found = 1 logsys_not_found = 2 objtype_not_released = 3 OTHERS = 4.
SWW_WI_START CALL FUNCTION 'SWW_WI_START' EXPORTING creator = creator task = task workitem_type = 'F' created_by_user = sy-uname called_in_background = 'X' IMPORTING wi_id = wi_id TABLES wi_container = wi_container EXCEPTIONS id_not_created = 1 read_failed = 2 immediate_start_not_possible = 3 execution_failed = 4 invalid_status = 5 OTHERS = 6.
/PTGWFI/LIX_F_UPDMONITOR CALL FUNCTION '/PTGWFI/LIX_F_UPDMONITOR' EXPORTING lastworkitem = wi_id lix_monitor = t_lixmtr EXCEPTIONS update_lixmtr_failed = 1 update_lixmwi_failed = 2 OTHERS = 3.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
/OPT/VIM_TRIGGER_HEADER_WF - LIV Trigger Header level action Workflow /OPT/VIM_TRIGGER_HEADER_WF - LIV Trigger Header level action Workflow /OPT/VIM_TEST_PLATFORM - Program to test the OCR interface /OPT/VIM_TEST_PLATFORM - Program to test the OCR interface /OPT/VIM_STATUS_VALD - Update the DP Documents status to Ready for Vald by its elapsed time /OPT/VIM_STATUS_VALD - Update the DP Documents status to Ready for Vald by its elapsed time