Upload
sapapoonlinetraining
View
230
Download
0
Embed Size (px)
Citation preview
8/11/2019 SAP FunctionSpecification_Sales Returns 2.0.Mod
1/42
Hindustan Levers LimitedProject Fusion SAP R/3 implementationFunctional / Technical Specification
Specification Id SD-MOD-M004
Module SD
Development Type Module pool
Title of Development
Functional Consultant Minal Aa!"al
Development Consultant
Comple#ity Medium
$!io!ity %ih
Dates
Specification !elease &' Sept &00(
Sta!t of development
)#pected delive!y
) t d Si ff
8/11/2019 SAP FunctionSpecification_Sales Returns 2.0.Mod
2/42
Hindustan Levers LimitedProject Fusion SAP R/3 implementationFunctional / Technical Specification
.e!sion Cont!ol
.e!siono+
Date Autho! Desc!iption of chane
,+0 &' Sept &00( Minal Aa!"al Completion of specification
( May &00* Minal aa!"al e" !eui!ements added to the Spec
,0 ov &00* Minal Aa!"al Addl loic fo! 1eion chec2 added to spec
Sin-off
App!oved 3y ame Sinatu!e Date
Functional Consultant
% team mem3e!
8/11/2019 SAP FunctionSpecification_Sales Returns 2.0.Mod
3/42
Hindustan Levers LimitedProject Fusion SAP R/3 implementationFunctional / Technical Specification
otes
)#planation of va!ious te!minoloies
Conve!sion p!o!ams5CO6
Data upload p!o!ams
)nhancements 5)%6 )#its / 7ADI / 1outines
Module pools
5MOD6
Add-on 89: modules
1epo!ts 51)$6 Classical o! A. !epo!ts
ayouts 5A96 SA$ Sc!ipt fo!ms / Sma!tfo!ms
;tility p!o!ams
5;T6
T!ansaction automation / p!o!am to 3e !un to manipulate some 6K STE !aise e!!o! "ith messae 8 toc 9rans8erReturns not handled:
8/11/2019 SAP FunctionSpecification_Sales Returns 2.0.Mod
10/42
Hindustan Levers LimitedProject Fusion SAP R/3 implementationFunctional / Technical Specification
o Set 9.71$-1T?)I>I7)K:P: fo! 9.71$ 5!efe!ence
position6
Chec2 if any 1etu!ns )lii3le !eco!d 51T?)I>I7)K:P:6 of 9.71$ has any 1etu!nsDocument c!eated aainst itE that line of 9.71$ has to 3e !emoved
o Fo! 9.71$-.7)G$OS1E ue!y .7FA "ith .7FA-.7).G$OS.
5K9.71$-.7)G$OS16 and .7FA-.7T9$?K:%:Eo If any .7FA !eco!d is foundE set 9.71$-1T?)PISTSK:P:
o" conside! those 9.71$ !eco!ds "he!e 9.71$-1T?)I>I7)K:P:
o Display these lines on the sc!een 5Full T!uc2/ Full &n,oice1etu!ns Invoices6-
!eco!ds "he!e 9.71$-1T?)PISTSK:P:E ma!2 a column "ith this info!mationo This display is only fo! info!mation pu!poses fo! the use!- he cannot ma2e any
chanes he!e These lines a!e not to 3e conside!edo //ip chec -elo i8 =BR>$=9:E?@ ;
o Fo! 9.71$ lines "he!e 1T?)PISTS Q 8P:
If Month5S9-DAT)6 QK Month5.71J-FJDAT6 G co!!espondin
9SD?1)T;1S-et the ST?C1)DIT indicato!E if it is 8P:E
Set 9.71$-1T?TIM)?IMITK:P: //can claim ST 3enefit 5e#cept if CST
sales is !etu!ned as local6 //
;e ReAuireent Re8erence nu-er 8ield 8or =#9 tates $added on 7C3C26
8/11/2019 SAP FunctionSpecification_Sales Returns 2.0.Mod
11/42
Hindustan Levers LimitedProject Fusion SAP R/3 implementationFunctional / Technical Specification
T00,H-1)>IO fo! T00,H-H)1JSK.71$-H)1JS If these do not matchE it is aninte!state sale6-
o To allo" local !etu!n 5Ship-to and !eceivin plant have the same 1)>IO6 ofInte!state sale //How to identif& this scenario for pricing"
In this caseE set 1T?CST?OCAK:P:
o To allo" fo! !etu!ns to the sendin plantE o! to any plant in the sendin plant
1)>IO
.alidation fo! Inte!-company Sale 5Identified 3y- company code of the sendin plant is
diffe!ent f!om the company code of the sales o!aniation in the sales document6o The !eceivin plant should 3e of the same company code as that of the sendin
plant
;e ReAuireent #dditonal order reason selection $added on 2C7C26
// >et o!de! !eason f!om T.A;T ta3le fo! selection 5use! "ill select o!de! !eason f!om pop-up6+The selected o!de! !eason "ill et stamped in the Sales o!de! %eade! Addl data 7//
Then "e need to e#ecute the follo"in steps fo! c!eatin the !etu!ns o!de!sB
He need to identify the distinct sets of 9.71$ that "ill co!!espond to a sinle 1etu!ns
Sales O!de! 5use 1T?CO;T)1 as the identifie!6o Each unique VR! will correspond to a unique Returns +rder"
Fo! eve!y 9.71$ "ith uniue 1T?CO;T)1 5i+e+- at the heade! level of the
destination document6o //ip step -elo i8 =BR>$=9:E?@ ;
o If 1T?TIM)?IMITK:P: and 1T?CST?OCA Q 8P:
Set O!de! 1eason5O1D?1)ASO6K !elevant fo! ST 3enefit//in -P*
structure' also to ta(e care of +rder Reason for daage and-ppro,ed Returns' an we assue that #hip%To is the sae for all
8/11/2019 SAP FunctionSpecification_Sales Returns 2.0.Mod
12/42
Hindustan Levers LimitedProject Fusion SAP R/3 implementationFunctional / Technical Specification
accessi-le throu0h the B!$ the only place here it can -echan0ed is the copyin0 control$ hoe,erD copyin0 control
needs to -e supplied that plantD hich ill only -e non atthe tie o8 in,oin0 this B!$ so e can explore the use o8a )eory &! or ta-le 9*#R# or ta-le 9=#R= to par thecontextual details alon0 ith the *lant/tLoc reAuired< &n thecopyin0 controlD the syste ill search 8or the )eory &!$ i8it is not thereD then it ill not chan0e the planttLoc
o ales +rder han0e B#*& allB Set the follo"in in addition to the uantity
eader- O!de! 1eason 5A;>1;6 decla!ed as pe! loic iven ea!lie!- 5not
to 3e ente!ed fo! C channel6 5%eade!6
eader- T!ansition 1etu!ns identification in 1)F?, 5I%1)< at heade!level6- value N1T?HO?1)F o! "hat is ente!ed 3y the use! 5%eade!6
&te- Assem3le the items "ith the info!mation- MAT)1IA 7ATC% 5if
3atch manaed6 $AT 5plant fo! C channel is use! input sepa!ately-same plant fo! all items6 STO1)?OC 5not to 3e ente!ed fo! Cchannel6 TA1>)T?T9 5;oM default )A6 $!icin Date $1IC)?DAT) an& other" 0V)R1"
&te- Mate!ial should not 3e a o" 7OM %eade!
Fo! uniue 1T?CO;T)1E Call 7A$I?SA)SO1D)1?C1)AT)F1OMDAT& "ith the
follo"in info!mationE conside!in only those lines "he!e 9.71$-1T?)PISTS Q 8P:and 9.71$-1T?)I>I7) K 8P:B
Information Reqd forBAPIfor Creating Return SalesOrder with Referenceto invoice line items
Source Remarks Optional !andator"
Remarks
A;A1T ue!y T.C$A 5to et T.C$A-A;A16 "ith T.C$A-FJA1.K.71J-FJA1T
%eade! Mandato!y
.JO1>/.TH)>/S$A1T .71J-.JO1>/ .71J-.TH)>/
%eade! Mandato!y
8/11/2019 SAP FunctionSpecification_Sales Returns 2.0.Mod
13/42
Hindustan Levers LimitedProject Fusion SAP R/3 implementationFunctional / Technical Specification
channel 9.71$!eco!ds
Addl.alidation
$1IC)?DAT) .71$-$1SDT Item/ %eade! 56 To 3e chec2ed
TA1>)T?T9 .71$- FJIM> Item Mandato!y
TA1>)T?; 8)A default Item Mandato!y
$1OD?%I)1A .71$-$1OD% Item To 3e chec2ed
fo! IT)M?1)ASO $!o!am to decla!e O!Default f!om .71$ This isthe field to 3e appended to.7A$ fo! Allocation $!o!am
Item To 3e chec2ed
1un a chec2 on 9.71$ 5"ith the fla 1T?)I>I7)K:P:6- ue!y ta3le .7FA 5input .71$ 2ey as.7).-$OS. and .7T9$?K:%:6 to chec2 if all !etu!ns documents have 3een c!eated+ If notEsto!e the 9.71$ lines in a lo to 3e displayed to the use!+
Sho" the list of c!eated 1etu!n Sales O!de!s+ If the!e a!e any invoice lines fo! "hich a 1etu!nO!de! is not c!eatedE this info!mation needs to 3e sho"n to the use! on a su3seuent sc!een 3y"ay of a lo+
//O!de! 1eason- set the o!de! !eason app!op!iately fo! App!oved/ on-App!oved !etu!ns 5* Oct&00(6+//Should Shipment num$er3e populated in the $O um3e! field fo! full truc( returns- $e! %this is not !eui!ed- * Oct &00(//A3ove may need e#t!a info fo! Schedule lines++
//Issue "ith schedule line cateo!y !edete!mination++ since it is 3ased on o!de! !eason++ can "edecla!e o! de!ive the schedule line 5in the 7A$I st!uctu!e6 "hen "e "ant to c!eate damaed
8/11/2019 SAP FunctionSpecification_Sales Returns 2.0.Mod
14/42
Hindustan Levers LimitedProject Fusion SAP R/3 implementationFunctional / Technical Specification
@+& Steady State 1etu!ns "ith 1efe!ence- Full Invoice
This follo"s the same loic as @+,- 1etu!ns "ith 1efe!ence- Full T!uc2 e#cept that the shipmentnum3e! is not the!e hence the sta!tin point is an Invoice um3e!- All validations !emain same-e#cept that "e have to handle App!oved/ on-app!oved !etu!ns th!ouh the !eason code "hen
"e c!eate the 1etu!ns Sales O!de!s- see the o!de! !easons+
8/11/2019 SAP FunctionSpecification_Sales Returns 2.0.Mod
15/42
Hindustan Levers LimitedProject Fusion SAP R/3 implementationFunctional / Technical Specification
@+ Steady State 1etu!ns "ith 1efe!ence- $a!tial Invoice
The addition he!e is that the !etu!n uantity can 3e split into >ood and uality 5if fo!"a!d "as>ood6 If fo!"a!d "as uality 5only possi3le in 7illin Type 6KST o! C fo! any .71JE !aise e!!o! "ith messae 8toc 9rans8er not handled:
//should the user be allowed to exclude this VR! and proceed"
;e ReAuireent #dditonal order reason selection $added on 2C7C26
// >et o!de! !eason f!om T.A;T ta3le fo! selection 5use! "ill select o!de! !eason f!om pop-up6+The selected o!de! !eason "ill et stamped in the Sales o!de! %eade! Addl data 7//
Collect all .71$ 5into 9.71$K copy of .71$ plus additional fields- 1T?)I>I7)E
1T?)PISTS 1T?1)SID;A 1T?)PC))D)D 1T?T9 1T?T9?>OOD1T?T9?I 1T?TIM)?IMIT 1T?CST?OCA 1T?CO;T)1 could explorean additional field to store an identifier for the target returns sales order document6 fo!.71J-.7) 5f!om a3ove6
If .71J-FJA1T K :ood: !etu!ns- !ay out the
column in the !etu!n sc!een !ep!esentin 1T?T9?>OOD
8/11/2019 SAP FunctionSpecification_Sales Returns 2.0.Mod
16/42
Hindustan Levers LimitedProject Fusion SAP R/3 implementationFunctional / Technical Specification
Set 1T?1)SID;A K 9.71$-FJIM> - 5Cumulate .7FA-1FM> fo!
all !eco!ds found6
If 1T?1)SID;A QK 0 Set 1T?)PC))D)D K 8P:
o" conside! those 9.71$ !eco!ds "he!e 9.71$-1T?)I>I7)K:P:
o Display these lines on the sc!een- !eco!ds "he!e 9.71$-1T?)PC))D)DK:P:E
ma!2 a column "ith this info!mationo This display is only fo! info!mation pu!poses fo! the use!- he cannot ma2e any
chanes he!e These lines a!e not to 3e conside!edo Fo! 9.71$ lines "he!e 1T?)PC))D)D Q 8P:
//ip chec -elo i8 =BR>$=9:E?@ ;
If Month5S9-DAT)6 QK Month5.71J-FJDAT6 G co!!espondin9SD?1)T;1S-;M+ Find H)1JS fo! >;M+H)1JS KT&0-H)1JS+>et 1)>IO fo! H)1JS f!om T00,H+ 1)>IO KT00,H-1)>IO+$ass T00,H-1)>IO to R?,I.AT1)>IO ta3leE If field .ATID K:P: 1ef no field to3e ena3led fo! input and mandato!y field+//
;e ReAuireent added on 3C4C26
//1C 9 lai =alidation in ;oC o8 !ays
8/11/2019 SAP FunctionSpecification_Sales Returns 2.0.Mod
17/42
Hindustan Levers LimitedProject Fusion SAP R/3 implementationFunctional / Technical Specification
.alidation fo! ocal Sale 5Identified 3y- find out the ship to- feed .71$ 2ey to .7$A "ith
$A1.HK:H): to et the ship-to pa!ty find out its JA,-1)>IO also find out T00,H-
1)>IO fo! T00,H-H)1JSK.71$-H)1JS If these matchE it is a local sale6-o ot to allo" 1etu!ns to anothe! state- the 1)>IO of the !eceivin H)1JS should
3e same as 1)>IO of Ship-To 1)>IO
.alidation fo! Inte!state Sale 5Identified 3y- find out the ship to- feed .71$ 2ey to .7$A
"ith $A1.HK:H): to et the ship-to pa!ty find out its JA,-1)>IO also find outT00,H-1)>IO fo! T00,H-H)1JSK.71$-H)1JS If these do not matchE it is aninte!state sale6-
o To allo" local !etu!n 5Ship-to and !eceivin plant have the same 1)>IO6 of
Inte!state sale //How to identif& this scenario for pricing"
In this caseE set 1T?CST?OCAK:P:o To allo" fo! !etu!ns to the sendin plantE o! to any plant in the sendin plant
1)>IO
.alidation fo! Inte!-company Sale 5Identified 3y- company code of the sendin plant is
diffe!ent f!om the company code of the sales o!aniation in the sales document6o The !eceivin plant should 3e of the same company code as that of the sendin
plant
Then "e need to e#ecute the follo"in steps fo! c!eatin the !etu!ns o!de!sB
He need to identify the distinct sets of 9.71$ that "ill co!!espond to a sinle 1etu!ns
Sales O!de! 5could use 1T?CO;T)1 as the identifie!6o If .71J-FJA1T Q 8
8/11/2019 SAP FunctionSpecification_Sales Returns 2.0.Mod
18/42
Hindustan Levers LimitedProject Fusion SAP R/3 implementationFunctional / Technical Specification
the c!eated sales o!de! item 5.7A$6 fo! matchin .>7) and .>$OS and etthe .7A$-$OS1 aainst this $OS1E sto!e the uantity !eui!ed- afte! ettin
all the $OS1s and thei! uantitiesE call the ChaneO!de!7A$I and chane theo!de!
o B! allB An input file needs to 3e assem3led "hich "ill 3e the input to the 7DC
p!o!am- the 7DC p!o!am needs to t!ie! as pa!t of the o!de! c!eation p!ocess Assem3le the heade!- A;A1T .JO1>/ .TH)>/S$A1T J;1 O!de!
1eason 5A;>1;6 decla!ed as pe! loic iven ea!lie!- 5not to 3e ente!edfo! C channel6 T!ansition 1etu!ns identification in 1)F?, 5I%1)< atheade! level6- value N1T?HO?1)F o! "hat is ente!ed 3y the use!.>7) 5!efe!ence invoice6 L .>$OS
;ote 9he deli,erin0 *lant G tora0e Location 8or a i0hB+) eader cannot -e chan0ed throu0h this echanissince it is 0rayed out %:ER> is 0rayed out'< #lsoD it is notaccessi-le throu0h the B!$ the only place here it can -echan0ed is the copyin0 control$ hoe,erD copyin0 controlneeds to -e supplied that plantD hich ill only -e non atthe tie o8 in,oin0 this B!$ so e can explore the use o8a )eory &! or ta-le 9*#R# or ta-le 9=#R= to par thecontextual details alon0 ith the *lant/tLoc reAuired< &n thecopyin0 controlD the syste ill search 8or the )eory &!$ i8it is not thereD then it ill not chan0e the planttLoc
o ales +rder han0e B#*& allB Set the follo"in in addition to the uantity
eader- O!de! 1eason 5A;>1;6 decla!ed as pe! loic iven ea!lie!- 5not
to 3e ente!ed fo! C channel6 5%eade!6 eader- T!ansition 1etu!ns identification in 1)F?, 5I%1)< at heade!
level6- value N1T?HO?1)F o! "hat is ente!ed 3y the use! 5%eade!6 &te- Assem3le the items "ith the info!mation- MAT)1IA 7ATC% 5if
3atch manaed6 $AT 5plant fo! C channel is use! input sepa!ately-same plant fo! all items6 STO1)?OC 5not to 3e ente!ed fo! Cchannel6 TA1>)T?T9 5;oM default )A6 $!icin Date $1IC)?DAT)
8/11/2019 SAP FunctionSpecification_Sales Returns 2.0.Mod
19/42
Hindustan Levers LimitedProject Fusion SAP R/3 implementationFunctional / Technical Specification
purposes
1)F?DOC?IT 5.>$OS6 .71$-$OS1 5fo! .71$-.7)6
Item Mandato!y
$A1T?1O)K:H):/$A1T?;M7/ITM?;M7)1
$A1T?;M7K.7$A-J;1 5fo!.7)G$OS1G$A1.H5KH)6 ta2en f!om !efe!ence.71$6ITM?;M7)1K et f!om.71$
Item Mandato!y
MAT)1IA .71$-MAT1 Item Mandato!y
7ATC% .71$-C%A1> Item Mandato!y
$AT .71$-H)1JS 5o! use!ente!ed6
Item Mandato!y To 3e samefo! all
9.71$!eco!ds
Addl.alidation
STO1)?OC .71$->O1T 5o! use!ente!ed6
Item Mandato!ye#cept fo! Cchannel
To 3e samefo! all9.71$!eco!ds
Addl.alidation
$1IC)?DAT) .71$-$1SDT Item/ %eade! 56 To 3e chec2ed
TA1>)T?T9 If .71J-
FJA1TQ:OOD and9.71$-1T?T9?I5second call6If .71J-FJA1TK:)T?; 8)A default Item Mandato!y
$1OD?%I)1A .71$-$1OD% Item To 3e chec2ed
fo! IT)M?1)ASO $!o!am to decla!e O!Default f!om .71$ This is
the field to 3e appended to.7A$ fo! Allocation $!o!am
Item To 3e chec2ed
8/11/2019 SAP FunctionSpecification_Sales Returns 2.0.Mod
20/42
Hindustan Levers LimitedProject Fusion SAP R/3 implementationFunctional / Technical Specification
//O!de! 1eason- set the o!de! !eason app!op!iately fo! App!oved/ on-App!oved !etu!ns 5* Oct
&00(6+
8/11/2019 SAP FunctionSpecification_Sales Returns 2.0.Mod
21/42
Hindustan Levers LimitedProject Fusion SAP R/3 implementationFunctional / Technical Specification
@+4 Steady State 1etu!ns "ithout 1efe!ence
Fo! Consinment 1etu!ns- Inte!company scena!io does not e#ist di!ect dispatch scena!io doesnot e#ist !etu!ns "ill 3e ta2en at the same plant as the sendin plant
$lease !efe! to the flo" dia!am "hich lays do"n the hih level loic fo! this p!ocessB
;se! ente!s %eade! Info!mation-
Sold-to/ Ship-to/ Sales A!ea/
$!icin Date/ etc++
;se! ente!s all Items and 7atch
info!mation 5$JM !ane6 System
pe!fo!ms validations on each MAT1
Conside! Fi!st Item
Invoice Sea!ch 5ac!oss multiple 3atches6 "ith follo"in c!ite!ia-
,+ Document Type !est!ictions 5li2e t!ansition !etu!ns6
&+ Compute 1esidual
+ Cumulative 1esidual 1eui!ed 1etu!n ty
4+ %o" to handle Item Cateo!ies- fo! lo" 7OM/ f!ee items
(+ This could yield multiple invoices fo! multiple 3atches
*+ Mate!ial L $lant 5sendin and !eceivin6 validations'+ CST 1etu!ns validations
@+ ist in Descendin O!de! of $!icin Date
8/11/2019 SAP FunctionSpecification_Sales Returns 2.0.Mod
22/42
Hindustan Levers LimitedProject Fusion SAP R/3 implementationFunctional / Technical Specification
o 1eceivin H/% o! $lant 5$lant is conside!ed if channel is CE else H/% is
conside!ed6
Item Datao Company Code and 1eion of Sendin $lant
o 1eceivin $lant/ Sto!ae ocation
o Mate!ial
o Total 1etu!ns ty
o >ood 1etu!ns ty 5DamaedK Total = >ood6
o 7atch Details- 7atch um3e! o! the follo"in detailsB
M1$ o! $!ice ot
$JM 1ane
Case Confiu!ation Sou!ce Facto!y
SJ; Code
1eui!ed validations on all these use! ente!ed values a!e iven in the $$T files-section 1etu!ns"/o 1efe!ence+
The system attempts to find out matchin invoice lines "ith 1esidual 0 5i+e+ fo! that invoice lineEthe!e is a net positive sale6- these invoice lines should 3e f!om the co!!ect item cateo!ies 5as laid
do"n in the excel8ile6+ Fo! all these matchin invoicesE the system validates the 3atch 5if mate!ialis 3atch manaed6 aainst the validity c!ite!ia ente!ed 3y the use!+ The system conside!s invoicelines only till the point "he!e cumulative 1esidual is sufficient to cove! the enti!e 1etu!ns fo! thatitem+ FinallyE the list of validated invoice lines "ith 1esidual 0 is sho"n to the use!- he!e theuse! can only shuffle the uantities "ithin these iven lines+
If the 1esidual K 0 o! the 1esidual is not sufficient to cove! the !etu!nsE then "e have to conside!c!eatin 1etu!ns documents "ithout !efe!ence+ %o"eve!E these documents should have a p!icindate that is ea!lie! than the pe!iod "ithin "hich sales ta# c!edit can 3e ta2en+ AlsoE "e need to
sea!ch fo! 3atches 5fo! 3atch manaed mate!ials6 "hich satisfy the c!ite!ia ente!ed 3y the use! inaddition these 3atches should have the valid-f!om date ea!lie! than the p!icin date ente!ed 3y
8/11/2019 SAP FunctionSpecification_Sales Returns 2.0.Mod
23/42
Hindustan Levers LimitedProject Fusion SAP R/3 implementationFunctional / Technical Specification
o Sou!ce facto!y value to match MC%,-IF1E if ente!ed
o SJ; code to match MC%,-IC%AE if ente!ed
>et the case confiu!ation of all the found 3atchesBo If case confiu!ation is ente!edE select only those 3atches "ith matchin case
confiu!ation values
>et the p!ice lot of all the !emainin 3atches- select only those 3atches "ith p!ice lot that
e#ists in $1IC)?OTS
So!t the !esult in descendin o!de! on MC%,-%SDAT
It is also possi3le that no 3atch miht have 3een dete!mined
=ogic for selecting atches for Returns w/o Reference >et 3atches f!om MC%,E iven MAT1
Chec2 M1$/ $!ice ot
Chec2 Case Confiu!ation
Chec2 $JM !ane 5MC%,-%SDAT6
Chec2 Sou!ce Facto!y and SJ; Code 5MC%,-IF1 L MC%,-IC%A6
MC%,-F.DAT, should lie ea!lie! than the $1SDT ente!ed 3y the use!
=ogic for #electing Eligible VR! and VRP lines 5in conjunction with excel file4
.71J .alidations- FJA1T .7T9$KM .JO1> .TH)> J;A> )1DAT !ane
.71$ .alidations- .>T9$KR MAT1 C%A1> S$A1T $ST9. H)1JS 5"ith decla!ed
7;J1S and 1)>IO- sto!ed in HJ1)>6o $ST9.- the e#te!nal classification to 3e used-
do not conside! any 1etu!ns
do not conside! fo!"a!d o" 7OM %eade!
do not conside! fo!"a!d %ih 7OM componentso If MAT1 is 3atch manaed- conside! .71$ "he!e C%A1> is decla!ed
8/11/2019 SAP FunctionSpecification_Sales Returns 2.0.Mod
24/42
Hindustan Levers LimitedProject Fusion SAP R/3 implementationFunctional / Technical Specification
o Fo! 9.71$-.7)G$OS1E ue!y .7FA "ith .7FA-.7).G$OS.
5K9.71$-.7)G$OS16 and .7FA-.7T9$?K:%:E
Set 1T?1)SID;A K 9.71$-FJIM> - 5Cumulate .7FA-1FM> fo!all !eco!ds found6
Conside! 9.71$ only if 1T?1)SID;A 0
;e ReAuireent added on 3C4C26
//1C 9 lai =alidation in ;oC o8 !ays
;sin the Function Module 89SD?ST?C1)DIT?CAIM?$)1IOD:E $ass the3illin date and the 1eion of Sendin plantE >et the ST?C1)DIT indicato!E if it is8P:E
Set 9.71$-1T?TIM)?IMITK:P: //can claim ST 3enefit 5e#cept if
CST sales is !etu!ned as local6 //
;e ReAuireent added on 7C3C26
// ,+ 1efe!ence num3e! field fo! .AT States
Chec2 in ta3le T&0 fo! >;M+ Find H)1JS fo! >;M+H)1JS KT&0-
H)1JS+>et 1)>IO fo! H)1JS f!om T00,H+ 1)>IO KT00,H-1)>IO+$ass T00,H 1)>IO to R ,I.AT1)>IO ta3le If field .ATID K:P: 1ef no field to 3e
8/11/2019 SAP FunctionSpecification_Sales Returns 2.0.Mod
25/42
Hindustan Levers LimitedProject Fusion SAP R/3 implementationFunctional / Technical Specification
o?ST?C!edit>ood 1etu!ns- this is also set ifE fo! a CST scena!ioE the
1)>IO of the !eceivin plant is the same as the 1)>IO of the Ship-to
pa!ty Split C!ite!ia- Sepa!ate Item
o Assumin the 1efe!ence Invoice is common 1etu!ns a!e fo! ?oodo! !aa0e
1etu!ns a!e in o! out of ST e#emption pe!iod 1etu!ns a!e fo! 9o! L9 Input line is diffe!ent 5"hat the use! has ente!ed6
1efe!ence Invoice line is diffe!ent
reating Returns without Reference
Split C!ite!ia- Sepa!ate %eade!
o 1etu!ns Sales a!e fo! >ood stoc2 o! Damaed stoc2 5ho"eve! if a document fo!?oodo! !aa0edis al!eady 3ein c!eated then "e do not need to split fo! this-"e can inse!t lines into that6 //Channel C does not have Damaed 1etu!ns
o 1etu!ns Sales a!e of CST fo!"a!d sales 5ho"eve! if a document fo! 9 o!
Localis al!eady 3ein c!eated then "e do not need to split fo! this- "e can inse!tlines into that6
o //1etu!ns fo! Inte!-company sales "ill not lead to any split
o Settin the O!de! 1eason 5not !eui!ed fo! channel C6- the distinct values of the
com3ination ST?C!ed1T?T9$) "ill 3e ta2en to set the o!de! !eason
o?ST?C!editDamae 1etu!ns o?ST?C!edit>ood 1etu!ns
Split C!ite!ia- Sepa!ate Item
o Assumin the 1efe!ence Invoice is common 1etu!ns a!e fo! ?oodo! !aa0e
1etu!ns a!e fo! 9o! L9 Input line is diffe!ent 5"hat the use! has ente!ed6
8/11/2019 SAP FunctionSpecification_Sales Returns 2.0.Mod
26/42
Hindustan Levers LimitedProject Fusion SAP R/3 implementationFunctional / Technical Specification
The follo"in 1etu!ns "/o 1efe!ence o! T!ansition $e!iod 1etu!ns "ill not 3e allo"edB Memo- "ill map onto one of the a3ove 1etu!ns O!de! Types
Manual- "ill map onto one of the a3ove 1etu!ns O!de! Types
DSM- not allo"ed
Di!ect Dispatch- "ill map onto one of the a3ove 1etu!ns O!de! Types
Institutional- "ill map onto one of the a3ove 1etu!ns O!de! Types
Damaed- not allo"ed
F1MS- not allo"ed
F1MS su3-item- "ill map onto one of the a3ove 1etu!ns O!de! Types
oose- "ill map onto one of the a3ove 1etu!ns O!de! Types
The!e is no "ay to identify if the !etu!ns a!e fo! memo o! no!mal sales- all "ill 3e t!eated asno!mal !etu!ns- "he!e the custome! "ill 3e c!edited+
ConseuentlyE "e "ill not have a NReturns ithout Re8erence O!de! Type+ He "ill modify these1etu!ns O!de! Types- K >T/ CT/ C/ O%/ 1D/ JJE set !etu!ns o!de! type 5A;A1T6K K CDE set !etu!ns o!de! type 5A;A1T6K K CE set !etu!ns o!de! type 5A;A1T6K
8/11/2019 SAP FunctionSpecification_Sales Returns 2.0.Mod
27/42
Hindustan Levers LimitedProject Fusion SAP R/3 implementationFunctional / Technical Specification
.alidation fo! Inte!-company Sale 5Identified 3y- company code of the sendin plant is
diffe!ent f!om the company code of the sales o!aniation in the sales document6
To chec2 fo! the follo"inB
o The 1)>IO of the sendin plant and !eceivin plant to 3e sameE only e#ception
isB CST Sales can 3e !etu!ned locally
o The 7;J1S of the sendin and !eceivin plants is the same- no e#ceptions
o Sold-to and Ship-to to 3e defined fo! the ente!ed SO/DC/Div and should 3e of
co!!ect account !oupso Mate!ial .alidations
MAT1 to have MA1C/ MA1D vie" fo! the Sendin $lant/ Sto!ae
ocation ente!ed MAT1 to have M.J) vie" fo! the SO/DC com3ination
Mate!ial is not o" 7OM
o Company Code 57;J1S6 of Sendin $lant can 3e diffe!ent f!om 7;1JS of SO
o Sendin L 1eceivin $lant should have SO/DC com3ination definition- chec2 in
ta3le T.JH7) 5!efe!ence invoice6 L .>$OS
;ote 9he deli,erin0 *lant G tora0e Location 8or a i0hB+) eader cannot -e chan0ed throu0h this echanissince it is 0rayed out %:ER> is 0rayed out'< #lsoD it is notaccessi-le throu0h the B!$ the only place here it can -echan0ed is the copyin0 control$ hoe,erD copyin0 controlneeds to -e supplied that plantD hich ill only -e non atthe tie o8 in,oin0 this B!$ so e can explore the use o8a )eory &! or ta-le 9*#R# or ta-le 9=#R= to par thecontextual details alon0 ith the *lant/tLoc reAuired< &n the
copyin0 controlD the syste ill search 8or the )eory &!$ i8it i t th th it ill t h th l ttL
8/11/2019 SAP FunctionSpecification_Sales Returns 2.0.Mod
29/42
Hindustan Levers LimitedProject Fusion SAP R/3 implementationFunctional / Technical Specification
//He a!e usin some othe! field in .7AJ fo! indicatin that this is :Returns ithout Re8erence:-
some of the fields that "e can e#plo!e a!e indicated 3elo"B .e!sion .7AJ- .SM1?.
ame .7AJ-7AM)
9ou! 1efe!ence .7JD- I%1)< 5proposed6
Telephone .7AJ- T)F,
Additional Info .7AJ- 7ST/.TH)>/S$A1T Decla!ed 3y the use! %eade! Mandato!y
J;1 Decla!ed 3y the use! %eade! Sold-To Mandato!y
O1D 1)ASO $!o!am to decla!e %eade! Mandato!y #o $e used
8/11/2019 SAP FunctionSpecification_Sales Returns 2.0.Mod
30/42
8/11/2019 SAP FunctionSpecification_Sales Returns 2.0.Mod
31/42
Hindustan Levers LimitedProject Fusion SAP R/3 implementationFunctional / Technical Specification
@+( T!ansition $e!iod 1etu!ns "ith 1efe!ence- Full Invoice
T"o options "e!e p!esented fo! e#amination- +ption 1- "he!ein the use! "ould ta2e in !etu!ns inthe leacy system and p!epa!e a file "hich "ould 3e input into the SA$ system- 3ased on thisfileE SA$ 1/ "ill c!eate a 1etu!n Sales O!de!- the!e "ill 3e no validation chec2s- fo! e#ampleE theuse! "ould have to ente! conditions manually+
+ption 2- he!e the use! "ill ente! the !etu!ns in 1/ as a sales document "ithout !efe!ence-ho"eve!E the!e "ould 3e a limited chec2 fo! availa3ility of 3atch+ If this is not availa3le- the same"ould 3e made 2no"n to the use!+ The!e "ould 3e no chec2 on condition maste! dataE etc+ These"ould 3e assumed to e#ist+
Option & has 3een favo!ed fo! development+
The use! "ill input the leacy invoice num3e! and date 5no validations possi3le on the invoicenum3e!6- 3oth "ill 3e concatenated and "ill 3e simply stamped on the $O um3e! field in thec!eated 1etu!n Sales O!de!5s6+ The first > characters of this field will correspond to the date2200??@ the next An8 5fixed4 characters will correspond to the legac& in,oice nuber.
The use! "ill ente! the !etu!n invoice details li2e custome! num3e!E company codeE mate!ialnum3e!E 3atch detailsE ood/I uantity 3!ea2upE sendin plantStoc com3inationE etc+ A!eceivin plant that is diffe!ent f!om the sendin plant is not allo"ed in this case+ This option is notallo"ed fo! Consinment 1etu!ns+ .alidations on each field a!e decla!ed in the accompanyinsc!eens in the $$T file+
9 Function module 9MM?7A$I?7ATC%?C1)AT) uses SA$ Standa!d 7A$I
BAPI_BATCH_CREATE
8/11/2019 SAP FunctionSpecification_Sales Returns 2.0.Mod
32/42
Hindustan Levers LimitedProject Fusion SAP R/3 implementationFunctional / Technical Specification
o SJ; code to match MC%,-IC%AE if ente!ed
>et the case confiu!ation of all the found 3atchesB
o If case confiu!ation is ente!edE select only those 3atches "ith matchin caseconfiu!ation values
>et the p!ice lot of all the !emainin 3atches- select only those 3atches "ith p!ice lot that
e#ists in $1IC)?OTS
So!t the !esult in descendin o!de! on MC%,-%SDAT
It is also possi3le that no 3atch miht have 3een dete!mined
Hhen the use! continues "ith the p!ocessinE the system "ill c!eate the 1etu!ns Sales O!de!- theassumption 3ein that the !eui!ed $!icin/ Discount/ Ta# conditions a!e al!eady availa3le as
maste! data in the system+ In case this is not availa3leE the document "ill 3e incomplete andmiht not 3e saved+
)appin0 the Returns +rder 9ypes 8or 9ransition Returns %and Returns /o Re8erence'The follo"in !ules "ill 3e follo"edB
hannel Returns +rder 9ype
JA/ MT MT 1etu!ns O!de! Type-
8/11/2019 SAP FunctionSpecification_Sales Returns 2.0.Mod
33/42
Hindustan Levers LimitedProject Fusion SAP R/3 implementationFunctional / Technical Specification
;sin the Function Module 89SD?ST?C1)DIT?CAIM?$)1IOD:E $ass the3illin date and the 1eion of Sendin plantE >et the ST?C1)DIT indicato!E if it is8P:E
Set 9.71$-1T?TIM)?IMITK:P: //can claim ST 3enefit 5e#cept if
CST sales is !etu!ned as local6 //
;e ReAuireent added on 7C3C26
// ,+ 1efe!ence num3e! field fo! .AT States
Chec2 in ta3le T&0 fo! >;M+ Find H)1JS fo! >;M+H)1JS KT&0-H)1JS+>et 1)>IO fo! H)1JS f!om T00,H+ 1)>IO KT00,H-1)>IO+$ass T00,H-1)>IO to R?,I.AT1)>IO ta3leE If field .ATID K:P: 1ef no field to 3eena3led fo! input and mandato!y f ield+//
=alidations ReAuiredThe follo"in validations need to 3e ca!!ied out on the sendin plantB
//tae o88 8ro here -eloCC added on 12 ept 2"
#ransition Returns will happen onl" in the plant and warehouse from where the goodswere originall" dispatched* this is since 1(! can handle Returns onl" to the sendinglocation* and the legac" invoice reference will exist in the 1(! s"stem
o .ence the receiving plant location will $e gra"ed out* the user will enter the
sending plant which will $e the receiving plant also
.ere we cannot identif" the /ow BO! components* hence the" will $e taken $ack as
normal items* this is due to the fact that we do not have a forward reference for this
Consignment Returns not allowed for #ransition Returns
.alidation fo! Sto!ae ocation
o Should 3e lin2ed to the Sendin $lant ente!ed- chec2 ta3le T00,
8/11/2019 SAP FunctionSpecification_Sales Returns 2.0.Mod
34/42
Hindustan Levers LimitedProject Fusion SAP R/3 implementationFunctional / Technical Specification
MAT1 to have M.J) vie" fo! the SO/DC com3ination
7OM to e#ist fo! the sendin plant
o
$!ice ot !elated chec2s fo! no!mal and 7OM mate!ials O! do "e assume these"ould 3e al!eady done du!in 7OM c!eation via 9SD7OM and mate!ial c!eationfo! no!mal mate!ials
reation o8 Returns ales +rders
//Issue- If "e use !etu!ns "/o !efe!ence document typeE then ho" to identify if it is a memo !etu!no! a !etu!n of paid oods Also ho" to influence p!icin acco!dinlyE assumin that "e come to2no" this
//AlsoE if "e use !espective document types- ho" do "e identify the same
//%ence !etu!ns "/o !efe!ence should al"ays have some p!edefined o!de! types li2e thosedefined fo! >T/ MT/ CSD/ etc
//He need to identify that the o!de! c!eated is a T!ansition 1etu!ns document- can "e loo2 at.7JD-I%1)< 5Custome!:s Inte!nal 1efe!ence6//Hhat a3out M.>1& fo! the $!ice ot
Issue- the!e may 3e some 3atch manaed mate!ials fo! "hich 3atches "ould not 3e
found- "e p!opose that "e "ill not conside! these items fo! c!eatin the 1etu!ns SalesO!de!- the use! "ill have to invo2e a sepa!ate p!ocess fo! c!eatin the !eui!ed 3atch andthen e#ecutin this p!ocess aain
A ma#imum of t"o !etu!ns sales o!de!s can 3e c!eated th!ouh a sinle ite!ation of this
p!ocess- one fo! ood stoc2 and anothe! fo! damaed stoc2 5chec(up.. o( since localreturns for #T sales are not allowed in this option 6- the heade! info!mation fo! 3oththese o!de!s "ill 3e same- e#cept fo! +rder Reason
The!e "ill 3e t"o passes fo! assem3lin the data !eui!ed fo! c!eatin the sales o!de!s
8/11/2019 SAP FunctionSpecification_Sales Returns 2.0.Mod
35/42
8/11/2019 SAP FunctionSpecification_Sales Returns 2.0.Mod
36/42
Hindustan Levers LimitedProject Fusion SAP R/3 implementationFunctional / Technical Specification
@+' $!icin Fo!mula 1eui!ement
>o to .OFMFo!mulaCondition .alue
C!eate 1outine ,4 "ith the follo"in loicB
o To 3e t!ie!ed only if conte#t is sales o!de! if soE then see that follo"in chec2s
a!e positiveB Sales document cateo!y should 3e .7AJ-.7T9$K% //1etu!ns
Cu!!ent .7A$-$ST9. should 3e of type 7$1/ 7C1/ 7F1 //"ill 3e
the!e only in 1etu!ns "ith 1efe!ence documents
o >et .7A$-.>7) L .7A$-.>$OS fo! cu!!ent .7A$-5.7)G$OS16if thisdoes not !etu!n a .>7)/.>$OS valueE then do not t!ie! this codeE elseB
>et .71J-J;M% fo! .>7)/.>$OS
ue!y JO. "ith JO.-J;M.KJ;M%E J$OSK.>$OSE
JAA$K:.:E JSC%K:0,: fo! JO.-JH)1T Set PJH)1TKJO.-JH)1T
8/11/2019 SAP FunctionSpecification_Sales Returns 2.0.Mod
37/42
Hindustan Levers LimitedProject Fusion SAP R/3 implementationFunctional / Technical Specification
Assumptions / Special 1ema!2s
Output options li2e Display levels etc+ in the case of 1epo!ts e+ Company code "iseE $lant "iselistin etc+
Consinment 1etu!ns "ill 3e included he!e- only >OOD stoc2 can 3e !etu!ned- !etu!n of
I stoc2 is not allo"ed
All 3atch manaed mate!ials need to 3e 7atch Decla!ed in the 1etu!ns O!de!
The!e is no diffe!entiation 3et"een the Facto!y ocations- &$/ $/ O"n Facto!y assou!ce/ !eceipt locations in te!ms of !ules/ 3ehavio!
1etu!ns can 3e ta2en 3ac2 5su3ect to some validations- mentioned 3efo!e6 into any plant
5Facto!y/ 7uffe!/ RIT6 i!!espective of the plant f!om "he!e the sale occu!!ed- %o"eve!E the!espective depot ope!ato! p!ocessin !etu!ns "ill have autho!iation to p!ocess onlythose documents fo! "hich he is allo"ed- fo! e#ampleE a fo!"a!d sale happenin f!om%u3li is !etu!ned to 7analo!e- this can happen only in 7analo!e depot- the 7analo!edepot ope!ato! cannot ta2e in !etu!ns on 3ehalf of %u3li depot
Invoice Co!!ection- In case the 1S !eceives stoc2 "hich is diffe!ent 5uantity diffe!ent/
mate!ial diffe!ent6 f!om the invoice- this p!ocess "ill 3e handled th!ouh the 1Sac2no"ledement p!ocess- "hich is not in the am3it of this development// this "ill 3ehandled in the follo"in "ay
o Case ,- Mate!ial , invoiced Mate!ial & !eceived- this applies even fo! 3atch
mismatches 1etu!n fo! Mate!ial , 5via the app!op!iate option in 1etu!ns Development6
Sales O!de!/ Delive!y and Invoicin fo! Mate!ial &
o Case &- uantity mismatch
1eceived is mo!e- C!eate Sales O!de!/ Delive!y and Invoice fo!
diffe!ence1 i d i l C t 1 t f th diff tit i th
8/11/2019 SAP FunctionSpecification_Sales Returns 2.0.Mod
38/42
Hindustan Levers LimitedProject Fusion SAP R/3 implementationFunctional / Technical Specification
1etu!ns fo! the STO p!ocess "ill 3e handled th!ouh the STO p!ocess itself- it "ill not 3e
handled th!ouh this development
Immediate Delive!y is not p!oposed to 3e c!eated due to the follo"in !easonsB
o In case the 7A$I call fo! sales o!de! c!eation is not successfulE the use! "ill not
have an idea of the status of the p!ocess
Can "e assume that eve!y fo!"a!d invoice that is to 3e !etu!ned co!!esponds to a sinle
1etu!n O!de!
Do "e need to populate the default p!ice lot at the item level in 1etu!n Sales O!de!s The use! has to ente! the $!ice ot "hich "ill 3e used as an identifie! fo! C$ items- if the
$!ice ot is not ente!edE the system "ill not conside! o" 7OM $a!ent lines in thefo!"a!d !efe!ence invoice+ If the $!ice ot is ente!edE then all the item cateo!ies "ill 3econside!ed+ %o"eve!E if "e have to c!eate 1etu!ns "/o 1efe!ence fo! o!mal 1etu!nsItem "he!e $!ice ot is not decla!ed 3y the use!- it is possi3le that the system may pic2up a 3atch "hich is a C$ $!ice ot 5o" 7OM $a!ent6
App!oved/ on-App!oved 1etu!ns 5* Oct &00(6 a!e at the heade! level of any option- it
has to 3e chosen at the sta!t of the p!ocess and it "ill 3e stamped in all !etu!ns
documents c!eated th!ouh that option
,0 Custom / < ta3les
Delive!y Class Application
Ta3le maintenance !eui!ed 9es
Fi ld $ i D t t th / D i l Fi ld d i ti
Hi d L Li i d
8/11/2019 SAP FunctionSpecification_Sales Returns 2.0.Mod
39/42
Hindustan Levers LimitedProject Fusion SAP R/3 implementationFunctional / Technical Specification
Autho!iation O3ect
O3ect desc!iption
Autho!iationFields
Field desc!iption .alue
, Output Fo!mat fo! 1epo!ts/ayouts
In Ta3le fo!mat "ith TitleE column field headins and seuence
8/11/2019 SAP FunctionSpecification_Sales Returns 2.0.Mod
40/42
,4 Messae handlin
,( Test cases
$!e-!euisiteB
Sl+o Test case )#pected !esult Actual !esult
,+ Full T!uc2 1etu!ns- )nte! Shipmentnum3e! L 1eceivin H/% num3e! 1etu!ns of ST and C channel to3e e#cluded 1eceivin H/%
num3e! su3ect to validations
Invoice lines "ith !etu!ns !efe!ence
to 3e ino!ed T!uc2 1etu!n mo!e
than , month old not allo"ed ocal
1etu!ns fo! CST sales to 3e
allo"ed 1etu!ns fo! IC sales-
allo"ed plants to 3e of sendin
company code- not fo! C channel
>ood Sales cannot 3e accepted as
Damaed and vice-ve!sa
&+ Full Invoice 1etu!ns- )nte! Invoice o L
1eceivin H/% num3e!
1etu!ns of ST channel to 3e
e#cluded 1eceivin H/% num3e!
su3ect to validations Invoice lines
"ith !etu!ns !efe!ence to 3e
ino!ed ocal 1etu!ns fo! CST
Scena!io Messae te#t Type of messae
5)!!o!E Ha!ninESuccess6
Co!!ective Action if any
)+one
Hindustan Levers LimitedProject Fusion SAP R/3 implementationF i l / T h i l S ifi i
8/11/2019 SAP FunctionSpecification_Sales Returns 2.0.Mod
41/42
Functional / Technical Specification
sales to 3e allo"ed- not fo! C
channel 1etu!ns fo! IC sales-
allo"ed plants to 3e of sendin
company code- not fo! C channel
>ood Sales cannot 3e accepted as
Damaed and vice-ve!sa+ $a!tial Invoice 1etu!ns- )nte! Invoice o
L 1eceivin H/% num3e!
1etu!ns of ST channel to 3e
e#cluded 1eceivin H/% num3e!
su3ect to validations ocal 1etu!ns
fo! CST sales to 3e allo"ed- not fo!
C channel 1etu!ns fo! IC sales-
allo"ed plants to 3e of sendin
company code- not fo! C channel
>ood Sales can 3e accepted as
Damaed and not vice-ve!sa Only
accept !etu!ns aainst those invoice
lines "hich have 1esidual04+ 1etu!ns "ithout 1efe!ence- )nte!
1eui!ed %eade! and Item/ 7atch Data
1etu!ns "ith 1efe!ence and
1etu!ns "/o 1efe!ence to 3e
c!eated as outlined in the
document- chec2 fo! the p!icin
dates
(+ T!ansition 1etu!ns- )nte! 1eui!ed
%eade! and Item/ 7atch Data in addition
to eacy Invoice um3e!
1etu!ns "ithout 1efe!ence
5T!ansition 1etu!ns6 to 3e c!eated
as outlined in the document- chec2
fo! the p!icin dates
Request HN to insert test cases
,* Technical O3ect documentation
To 3e filled in 3y the Development Consultant
&4(&*(&4&+doc SD-MOD-004 $ae 4& of 4R
Hindustan Levers LimitedProject Fusion SAP R/3 implementationF nctional / Technical Specification
8/11/2019 SAP FunctionSpecification_Sales Returns 2.0.Mod
42/42
Functional / Technical Specification
Development type
$ac2ae
$!o!am name
Function >!oup
Function module
Messae class
$!ovide detailed technical documentation on the development+ )1 dia!ams have to 3e p!ovided "he!e data modellin has 3een used+ In case a functionmodule has 3een c!eatedE all pa!amete!s of the same have to 3e desc!i3ed+
&4(&*(&4&+doc SD-MOD-004 $ae 4 of 4