Professional Documents
Culture Documents
TRANSFER
V1 / AUGUST 2015
PMIS Code
PR15_003917
SDC Regional Delivery Head
Amarnath Jayaraman
SDC QA Lead
Priya Kota
Michael Sturman
SAP Subsidiary
SAP NA
DATE
AUTHOR
1.0
Joel Leon
REVIEWER/APPROVER
REMARKS
Initial
Page 2 of 10
Table of contents
1.
1.1.
1.2.
1.3.
2.
Program Summary...................................................................................................................4
Definition....................................................................................................................................6
Defined Fields............................................................................................................................6
Procedure..................................................................................................................................6
Appendix...................................................................................................................................9
Page 3 of 10
1. Program Summary
OBJECT OVERVIEW
Business
Process
Object ID
PTM_EN_006
Object Title
Object Description
SAP Release
ECC 6 EHP 7
SAP Module
WM
Cycle of Testing
C1
Required
Development
Completion Date
DDMONYY
Complexity of Object
Medium
Transaction run
Real-time
Priority
High
LM00
Similar SAP
Program
Leon, Joel
<Customer>
Process Owner
and Phone
Number
Rivera, Ericka
TS Approved By
TS Approval date
DDMONYY
Type of
Enhancement
Similar SAP
Transaction
TS CONTROL
Other Contact
and Phone
Number
PROGRAM ATTRIBUTES
Enhancement
Object
Function Exit
Include
Screen Exit
Menu Exit
Badi
New Transaction
Search Help
Area Menu
Custom Dialog
Screens
Index
VOFM Routines
BTE
Page 4 of 10
ZWM_RFMENU, ZWM_RFSUT
Transaction Code
Message Class
SAP Tables Read
Custom Tables
AUTHORIZATION REQUIREMENTS
N/A
TECHNICAL FLOW DIAGRAM
Flow_Diagram.xlsx
PROCESSING LOGIC
1.
2.
Page 5 of 10
Data Fetching:
Once all validations were made, we get information from the following tables:
LTAK - Transfer Order Header
LTAP - Transfer Order Detail
LQUA - Quants Information
LAGP - Storage Bin information
4.
Moving Quantities
5.
Moving Total --> Call BAPI: L_TO_CREATE_MOVE_SU (Create new transfer order for full SU move)
Before a transfer order is created the source bin needs to be checked to see if the stock already been allocated
to other transfer orders. This is only relevant for storage units and where the source storage type of the
storage unit is Block (T331-STEIN = B). The table LQUAB needs to be checked to determine the available
quantity in a particular bin for the material-batch. If the quantity to be moved > available quantity in LQUABMENGE then display an error message Stock in storage bin already allocated (LQUAB).
If a storage unit is being moved for the full SU quantity the Function module L_TO_CREATE_MOVE_SU
(simulates LT0J transaction) can be used. The following parameters should be passed to the function module:
Name
Typing
Associated
Type
I_LENUM
LIKE
I_BWLVS
Default
value
Description
Value
LEIN-LENUM
SU number
LIKE
LTAK-BWLVS
Movement type
I_LZNUM
LIKE
LTAK-LZNUM
SPACE
Additional ref.number
I_NLTYP
LIKE
LTAP-NLTYP
SPACE
I_NLBER
LIKE
LTAP-NLBER
SPACE
I_NLPLA
LIKE
LTAP-NLPLA
SPACE
I_NPPOS
LIKE
LTAP-NPPOS
SPACE
Position
in
storage bin
I_SQUIT
LIKE
RL03T-SQUIT
SPACE
Immed.confirmat.
I_LETYP
LIKE
LTAP-LETYP
SPACE
destionation
Page 6 of 10
the material
MLGN-LETY1
I_NIDRU
LIKE
RL03ANIDRU
SPACE
Do not print
I_DRUKZ
LIKE
T329FDRUKZ
SPACE
Print code
I_LDEST
LIKE
LTAP-LDEST
SPACE
Printer
I_UPDATE_TASK
LIKE
RL03AVERBU
SPACE
I_COMMIT_WOR
K
LIKE
RL03BCOMIT
'X'
I_BNAME
LIKE
LTAK-BNAME
SYUNAME
I_SOLEX
LIKE
LTAK-SOLEX
Sollaufwand
Fremdsystem
I_PERNR
LIKE
LTAK-PERNR
Personalnummer
I_BETYP
LIKE
LTAK-BETYP
SPACE
Bedarfstyp
I_BENUM
LIKE
LTAK-BENUM
SPACE
Bedarfsnummer
master
record
aus
If there are errors then these should be displayed using screen 13. Pressing F3 after displaying the error
should return to the previous screen.
If the transfer order is successfully created then the TO number and destination bin will be returned.
.
6.
Typing
Associated
Type
I_LGNUM
LIKE
I_BWLVS
Default
value
Description
Value
LTAK-LGNUM
Warehouse number
LIKE
LTAK-BWLVS
Movement type
I_BETYP
LIKE
LTAK-BETYP
SPACE
Requirement type
I_BENUM
LIKE
LTAK-BENUM
SPACE
Requirement number
I_MATNR
LIKE
LTAP-MATNR
Material no.
Material
I_WERKS
LIKE
LTAP-WERKS
Plant
Plant
I_LGORT
LIKE
LTAP-LGORT
SPACE
Lagerort
SLoc
I_CHARG
LIKE
LTAP-CHARG
SPACE
Batch
Batch
I_BESTQ
LIKE
LTAP-BESTQ
SPACE
Stock category
Stock Category
I_SOBKZ
LIKE
LTAP-SOBKZ
SPACE
I_SONUM
LIKE
LTAP-SONUM
SPACE
Page 7 of 10
LIKE
LTAP-LETYP
I_ANFME
LIKE
I_ALTME
SPACE
RL03TANFME
Requested qty.
LIKE
LTAP-ALTME
Unit of measure
WM UOM
I_WDATU
LIKE
LTAP-WDATU
INIT_DATUM
I_VFDAT
LIKE
LTAP-VFDAT
INIT_DATUM
Expiration date
I_ZEUGN
LIKE
LTAP-ZEUGN
SPACE
Certificate number
I_LZNUM
LIKE
LTAK-LZNUM
SPACE
Additional ref.number
I_SQUIT
LIKE
RL03T-SQUIT
SPACE
Immed.confirmat.
I_NIDRU
LIKE
RL03ANIDRU
SPACE
Do not print
I_DRUKZ
LIKE
T329FDRUKZ
SPACE
Print code
I_LDEST
LIKE
LTAP-LDEST
SPACE
Printer
I_WEMPF
LIKE
LTAP-WEMPF
SPACE
Consignee
I_ABLAD
LIKE
LTAP-ABLAD
SPACE
Unload.point
I_VLTYP
LIKE
LTAP-VLTYP
SPACE
I_VLBER
LIKE
LTAP-VLBER
SPACE
I_VLPLA
LIKE
LTAP-VLPLA
SPACE
I_VPPOS
LIKE
LTAP-VPPOS
SPACE
I_VLENR
LIKE
LTAP-VLENR
SPACE
I_VLQNR
LIKE
LTAP-VLQNR
SPACE
Src.quant
I_NLTYP
LIKE
LTAP-NLTYP
SPACE
I_NLBER
LIKE
LTAP-NLBER
SPACE
I_NLPLA
LIKE
LTAP-NLPLA
SPACE
I_NPPOS
LIKE
LTAP-NPPOS
SPACE
Position in
storage bin
I_NLENR
LIKE
LTAP-NLENR
SPACE
Dest.storage unit
I_NLQNR
LIKE
LTAP-NLQNR
SPACE
Dest.quant
I_RLTYP
LIKE
LTAP-RLTYP
SPACE
I_RLBER
LIKE
LTAP-RLBER
SPACE
I_RLPLA
LIKE
LTAP-RLPLA
SPACE
I_RLQNR
LIKE
LTAP-RLQNR
SPACE
Return quant
destionation
If the SU label was scanned in
step 16 then populate this field.
Otherwise leave blank and the
system will generate a new SU
number.
Page 8 of 10
I_UPDATE_TASK
LIKE
RL03AVERBU
SPACE
Indicator:
update
update task
via
I_COMMIT_WOR
K
LIKE
RL03BCOMIT
'X'
I_BNAME
LIKE
LTAK-BNAME
SY-UNAME
I_KOMPL
LIKE
RL03BKOMPL
'X'
Only generate TO if
requested amount supplied
I_SOLEX
LIKE
LTAK-SOLEX
Sollaufwand
Fremdsystem
I_PERNR
LIKE
LTAK-PERNR
Personalnummer
I_AUSFB
LIKE
LTAK-AUSFB
SPACE
aus
If there are errors then these should be displayed. After displaying the error should return to the previous
screen.
If the transfer order is successfully created then the TO number and destination bin will be returned.
7.
Display a Transfer order success message: Transfer order &TOnumber confirmed into bin &bin.
REUSABLE CODE
N/A
INTERNAL TABLES
Name
Description
MESSAGES
Message
Class
ZMM
Message
ID
001
Message Text
Report Selection fetched no data
Page 9 of 10
TEXT ELEMENTS
Name
000
Text Description
List Contains no text
SUBROUTINES
Name
LAYOUT_BUILD
Description
Logic for building the output
[Please copy the Business test Conditions and Control scenarios from the FS]
[Add relevant Technical scenarios associated with this development. Examples would include 1) testing an error-free
run; 2) testing the exception processes; 3) testing the error handling.]
Scenario #
1
2
Expected Result
Transfer Order created and confirmed
automatically.
Transfer Order created and confirmed
automatically.
Transfer Order created and confirmed
automatically.
Page 10 of 10
material/batch/SLoc/stock category in
bin, allow system to determine bin and
confirm transfer order with
verification
Scan bin, confirm material, multiple
material/batch/SLoc/stock category in
bin, allow system to determine bin and
confirm transfer order destination is
SUM, system generated SU number,
print label - with verification
Scan bin, confirm material, multiple
material/batch/SLoc/stock category in
bin, allow system to determine bin and
confirm transfer order destination is
SUM, scan destination SU number with verification
2. Appendix
10