You are on page 1of 10

TECHNICAL SPECIFICATION PTM_EN_006 BIN TO BIN

TRANSFER
V1 / AUGUST 2015

PROJECT IDENTIFICATION DETAILS


Project Name

JAFRA ACE PROJECT


Project End Date

29th Jan 2016


SDC QC Member

PMIS Code

Project Start Date

10th May 2015

PR15_003917
SDC Regional Delivery Head

Amarnath Jayaraman
SDC QA Lead

Priya Kota

SDC Project Manager

Michael Sturman
SAP Subsidiary

SAP NA

DOCUMENT REVISION, REVIEW, & APPROVAL HISTORY


VER

DATE

AUTHOR

1.0

Aug 25, 2015

Joel Leon

REVIEWER/APPROVER

REMARKS

Initial

Technical Specification Enhancements

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

Copyright 2011 SAP AG. All rights reserved

Technical Specification Enhancements

Page 3 of 10

1. Program Summary
OBJECT OVERVIEW

Business
Process

Object ID

PTM_EN_006

Object Title

PTM_EN_006 - Bin to Bin Transfer

Object Description

Bin to Bin Transfer

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

Custom Dialog Screens

Priority

High

LM00

Similar SAP
Program

TS Author and Phone


Number

Leon, Joel

<Customer>
Process Owner
and Phone
Number

Rivera, Ericka

TS Approved By

Last Name, First Name

TS Approval date

DDMONYY

Type of
Enhancement
Similar SAP
Transaction
TS CONTROL

Other Contact and


Phone Number

Other Contact
and Phone
Number

PROGRAM ATTRIBUTES

Copyright 2011 SAP AG. All rights reserved

Technical Specification Enhancements

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

LTAK, LTAP, LQUA, LAGP


N/A

AUTHORIZATION REQUIREMENTS

N/A
TECHNICAL FLOW DIAGRAM

Flow_Diagram.xlsx

PROCESSING LOGIC

1.

Scan or Enter Storage Unit:


The user can type or scan values into the field. If scanning is used then an Enter character may be sent at the
end of the barcode string and this should have the same effect as pressing the Enter key.

2.

Storage Unit Validation:

Copyright 2011 SAP AG. All rights reserved

Technical Specification Enhancements

Page 5 of 10

Following validations were implemented:


a. If the value entered is neither a valid SU then display an error message Invalid Storage Unit.
b.
c.
3.

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

Storage unit number

SU number

LIKE

LTAK-BWLVS

Movement type

998bin to bin transaction should


use movement type 998

I_LZNUM

LIKE

LTAK-LZNUM

SPACE

Additional ref.number

I_NLTYP

LIKE

LTAP-NLTYP

SPACE

Destination storage type

If manual bin was entered. If


crossdocking then use the source
storage type

I_NLBER

LIKE

LTAP-NLBER

SPACE

Destination storage section

If manual bin was entered. If


crossdocking then use the source
storage section.

I_NLPLA

LIKE

LTAP-NLPLA

SPACE

Destination storage bin

If manual bin was entered. If


crossdocking then use the source
storage bin.

I_NPPOS

LIKE

LTAP-NPPOS

SPACE

Position
in
storage bin

I_SQUIT

LIKE

RL03T-SQUIT

SPACE

Immed.confirmat.

I_LETYP

LIKE

LTAP-LETYP

SPACE

Storage unit type

Copyright 2011 SAP AG. All rights reserved

destionation

Defect 349 take the SUT from

Technical Specification Enhancements

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

Indicator: update via update


task

I_COMMIT_WOR
K

LIKE

RL03BCOMIT

'X'

Indicator whether COMMIT


WORK in function module

I_BNAME

LIKE

LTAK-BNAME

SYUNAME

User who is generating the TO

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.

Moving Partial --> Call BAPI: L_TO_CREATE_SINGLE


For a partial SU move, the function module L_TO_CREATE_SINGLE should be used. The following values
should be passed to the function module.
Name

Typing

Associated
Type

I_LGNUM

LIKE

I_BWLVS

Default
value

Description

Value

LTAK-LGNUM

Warehouse number

WH code the user is signed into

LIKE

LTAK-BWLVS

Movement type

bin to bin transaction should use


movement type 998 999

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

Special stock indicator

Special stock indicator this will


allow vendor consignment stock
to be moved

I_SONUM

LIKE

LTAP-SONUM

SPACE

Special stock number

Special stock indicator this will

Copyright 2011 SAP AG. All rights reserved

Technical Specification Enhancements

Page 7 of 10

allow vendor consignment stock


to be moved
I_LETYP

LIKE

LTAP-LETYP

I_ANFME

LIKE

I_ALTME

SPACE

Storage unit type

Defect 349 take the SUT from


the material master record
MLGN-LETY1

RL03TANFME

Requested qty.

Quantity in alternate UOM

LIKE

LTAP-ALTME

Unit of measure

WM UOM

I_WDATU

LIKE

LTAP-WDATU

INIT_DATUM

Goods receipt date

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

Source storage type

Source storage type

I_VLBER

LIKE

LTAP-VLBER

SPACE

Source storage section

Source storage section

I_VLPLA

LIKE

LTAP-VLPLA

SPACE

Source storage bin

Source storage bin

I_VPPOS

LIKE

LTAP-VPPOS

SPACE

Item in source storage bin

I_VLENR

LIKE

LTAP-VLENR

SPACE

Source storage unit

I_VLQNR

LIKE

LTAP-VLQNR

SPACE

Src.quant

I_NLTYP

LIKE

LTAP-NLTYP

SPACE

Destination storage type

If manual bin was entered. If


crossdocking then use the source
storage type

I_NLBER

LIKE

LTAP-NLBER

SPACE

Destination storage section

If manual bin was entered. If


crossdocking then use the source
storage section

I_NLPLA

LIKE

LTAP-NLPLA

SPACE

Destination storage bin

If manual bin was entered. If


crossdocking then use the source
storage bin

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

Return storage type

I_RLBER

LIKE

LTAP-RLBER

SPACE

Return storage area

I_RLPLA

LIKE

LTAP-RLPLA

SPACE

Return storage bin

I_RLQNR

LIKE

LTAP-RLQNR

SPACE

Return quant

Copyright 2011 SAP AG. All rights reserved

If the SU label was scanned in


step 16 then set to X. No print is
required if there is an existing
label.

Source storage unit, if in SUM


storage type

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.

Technical Specification Enhancements

Page 8 of 10

I_UPDATE_TASK

LIKE

RL03AVERBU

SPACE

Indicator:
update
update task

via

I_COMMIT_WOR
K

LIKE

RL03BCOMIT

'X'

Indicator whether COMMIT


WORK in function module

I_BNAME

LIKE

LTAK-BNAME

SY-UNAME

User who is generating the


TO

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

Bemerkung zur Ausfhrung

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 Success Message

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

Copyright 2011 SAP AG. All rights reserved

Technical Specification Enhancements

Page 9 of 10

TEXT ELEMENTS

Name
000

Text Description
List Contains no text

SUBROUTINES

Name
LAYOUT_BUILD

Description
Logic for building the output

ASSUMPTIONS IN TECHNICAL DESIGN


OPEN ISSUES IN TECHNICAL DESIGN

UNIT TEST PLAN

[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

Input Selection Criteria


Scan SU, full quantity, allow system to
determine bin and confirm transfer
order with verification
Scan SU, part quantity, allow system to
determine bin, system generated SU
number, print label, and confirm
transfer order with verification
Scan SU, part quantity, allow system to
determine bin, system generated SU
number, print label and confirm transfer
order without verification
Scan bin, confirm material, one
material/batch/SLoc/stock category in
bin, allow system to determine bin and
confirm transfer order with
verification
Scan bin, confirm material, multiple

Expected Result
Transfer Order created and confirmed
automatically.
Transfer Order created and confirmed
automatically.
Transfer Order created and confirmed
automatically.

Copyright 2011 SAP AG. All rights reserved

Technical Specification Enhancements

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

RELATED DOCUMENTATION (ATTACH OSS NOTES, EMAILS, DOWNLOAD OF EXISTING


REPORT, ETC)

2. Appendix

Copyright 2011 SAP AG. All rights reserved

10