Академический Документы
Профессиональный Документы
Культура Документы
0.2 Översättning
/conversion/tmp/scratch/459549776.doc
REPORT 2 (9)
Utfärdare/PL Projekt Nr.
0.2 Översättning
VERSION HANDLING
The following versions of this document have been created:
/conversion/tmp/scratch/459549776.doc
REPORT 3 (9)
Utfärdare/PL Projekt Nr.
0.2 Översättning
TABLE OF CONTENTS
1 Introduction..................................................................................................4
2 Transaction: /VFS/JSTATUS.....................................................................5
3 Program: /VFS/JSTATUSONSWITCHDOC............................................7
3.1 Program syntax..........................................................................................7
/conversion/tmp/scratch/459549776.doc
REPORT 4 (9)
Utfärdare/PL Projekt Nr.
0.2 Översättning
1 INTRODUCTION
This program gives the opportunity to end a switch document in selected status. All related workflows
will be logically deleted.
/conversion/tmp/scratch/459549776.doc
REPORT 5 (9)
Utfärdare/PL Projekt Nr.
0.2 Översättning
2 TRANSACTION: /VFS/JSTATUS
Transaction /VFS/JSTATUS can be used to call the program, to change the status on the switch
document, directly.
Go to transaction /VFS/JSTATUS
/conversion/tmp/scratch/459549776.doc
REPORT 6 (9)
Utfärdare/PL Projekt Nr.
0.2 Översättning
When the program is finished a list is displayed with all workflows that has been logically
deleted. The status that is set on the switch document is also displayed.
/conversion/tmp/scratch/459549776.doc
REPORT 7 (9)
Utfärdare/PL Projekt Nr.
0.2 Översättning
3 PROGRAM: /VFS/JSTATUSONSWITCHDOC
This program will change the status in the header of the switch document to selected status. It will
also end all related workflows in status logically deleted.
3.1 PROGRAM SYNTAX
*----------------------------------------------------------------------*
* Ensure that switchnumber is with leading zeros. *
*----------------------------------------------------------------------*
lv_switchno = p_swno.
p_swno = lv_switchno.
*----------------------------------------------------------------------*
* Change status on switch document *
*----------------------------------------------------------------------*
*----------------------------------------------------------------------*
* Get workflow belonging to switch document *
*----------------------------------------------------------------------*
/conversion/tmp/scratch/459549776.doc
REPORT 8 (9)
Utfärdare/PL Projekt Nr.
0.2 Översättning
ENDSELECT.
ENDLOOP.
*----------------------------------------------------------------------*
* Logically delete workflow *
*----------------------------------------------------------------------*
lv_wiid2 = lw_wiid.
lw_wflog-/vfs/status = lv_status-status.
lw_wflog-/vfs/statustext = lv_status-statustext.
lw_wflog-/vfs/wiid = lv_wiid2.
APPEND lw_wflog TO lv_wflog.
ENDLOOP.
*----------------------------------------------------------------------*
* Write message on screen *
*----------------------------------------------------------------------*
/conversion/tmp/scratch/459549776.doc
REPORT 9 (9)
Utfärdare/PL Projekt Nr.
0.2 Översättning
/conversion/tmp/scratch/459549776.doc