Programme SAP RLVSDR10 - Initiate Printing of Transf.Order

Description
This report is initiated during the creation of transfer orders. It canalso be called up directly using the transaction Transfer Order ->Print.
The report is printed either using SAPSCRIPT or ABAP.
If you only enter the warehouse number and the transfer order numberwhen you start the report, the program takes the required control datafrom the print control tables (see Implementation Guide).
IF &DEVICE& = 'SCREEN'
Proceed

Precondition
If you want to switch the printing to ABAP, proceed as follows:
So that no delivered program is changed, copy the print report underanother name. Enter this name in customizing (Events -> Transfers-> Print control -> Print report / Warehouse number). Copy all theSAP original programs that you want to change under another name andchange the copies. In this way, you ensure that transfers of newreleases will not change your programs. Use the names that have beenspecially reserved for customers in the name area (Z.......).
Set asterisks for the SAPSCRIPT print line after START-OF-SELECTION inthe report and remove the asterisk for ABAP print.
If you want to modify the print output, proceed as follows:
Copy the report, as described above under step 1 (if you have notcopied it already).
The controls for the SAPSRCIPT forms and the WRITE statements for ABAPprint are in the following Includes:
RLVSDR90 SAPSCRIPT print for individual TO printing
RLVSDR91 SAPSCRIPT print for TO multiple processing list
RLVSDR92 SAPSCRIPT print for TO posting change notices
RLVSDR93 ABAP print for TO individual printing
RLVSDR94 ABAP print for TO multiple processing list
RLVSDR95 ABAP print for TO posting change notices.
If you are working with SAPSCRIPT and only need to create a new formusing Transaction SE71, then you do no need to execute step 1. It issufficient if you specify the form - after you have created it - in thecorresponding tables in print control in Customizing.
If you are working with ABAP print, you should copy the Include thatyou want to modify under another name, for example, XYZ... and onlythen change it.
You need to specify the Include in the print report copied in step 1.Search using FIND INCLUDES and enter the INCLUDE XYZ...
In order to have the program XYZ... initiated as well, modify theInclude RLVSCASE. (Copy this also under another name). Here you enterthe new DATA statement (according to the new form name). In the FORMroutines, enter the new WHEN ... conditions. (Remember that, if youhave multiple processing lists or picking lists, the header of the listas well as the footer have their own CASE statements in RLVSCASE, whichyou also need to modify).
Since RLVSCASE is used both by the print report RLVSDR10 as well as theprint report for the picking lists, you also need to enter the IncludeXYZ... in the report RLKOMM00 (that is, if you want to work withprinting of picking lists and standard transfer order printing on aparallel basis).
The last step concerns the control of your newly defined Include. Gointo the Customizing function, select Events-Transfers-Printcontrol:Print code and enter the new "form name" for a particular printcode.
In the same table, you see a column 'Sort'. The numbers refer to thenumber of the sort routine in the Include RLVSINSE. You can use thestandard sort routines or copy RLVSINSE and define new sort routines.The standards are:
1 (Routine 1) No special sorting, that is, by TO item
2 Sort by SRCE storage type and storage bin
3 Sort by DEST storage type and storage bin
4 Sort by material number
5 - 10 free
Tip for testing: You can call up the report RLVSDR10 directly. Inthis way, you can display the printout on the screen.