Sap Afs
Sap Afs
Sap Afs
Index
SAP AFS
Page1
2.
Season
.......................................................................................................... 3
Features................................................................................................................. 3
Activities................................................................................................................. 4
Limitations.............................................................................................................. 5
3.1.1.1 Technical Information: Grid Master Data
...................................................6
...................18
..........................................................................................................24
.............................................................................................24
Features...............................................................................................................24
AFS Restrictions...................................................................................................25
3.2.7 IDoc Error Handling for Inbound IDocs
......................................................41
Features...............................................................................................................41
AFS Special Features...........................................................................................41
5.
Mapping
......................................................................................................83
Features...............................................................................................................83
Prerequisites.........................................................................................................84
8.2 Coverage Strategy
........................................................................................91
Features...............................................................................................................91
9.1 Material Grids: Overview
...............................................................................93
Prerequisites.........................................................................................................93
Features...............................................................................................................93
Activities...............................................................................................................94
9.1.1 Master Grids
..............................................................................................94
Features...............................................................................................................94
9.1.3 Condition Technique for the Creation of Grid Control Data
........................96
Features...............................................................................................................96
Activities...............................................................................................................98
9.1.5 Sort Sequence for Dimension Values
.........................................................98
Features...............................................................................................................98
9.2 Grid History
...................................................................................................99
Features...............................................................................................................99
9.4.1 Item-Based Dimension Value Conversion
10.
Material Master
................................................102
......................................................................................103
Features.............................................................................................................104
10.2 Direct Input: Material Master
SAP AFS
.....................................................................104
Page2
Prerequisites.......................................................................................................104
Activities.............................................................................................................104
Page3
Purchase-to-Order
Make-to-Order
You can find information on these topics in the documentation of Sales and Distribution and
Materials Management.
2. Season
In the fashion industry, seasons are an integral part of the business processes. Originally,
seasons were only available in Sales and Distribution (SD). It has now been enhanced so that it
can also be used for Materials Management (MM), Production Planning (PP), and Inventory
Management (IM).
Now the process has even been extended for the Allocation Run (ARun), to ensure that the
season-related information is considered while creating assignments.
Features
This function offers the following options:
Seasonality in ARun
This includes the following functions:
If you have activated the Season field check in the allocation rule attached to the
allocation type, ARun will consider the requirement and stock season before assigning
stock to requirements.
A validation check is performed to check whether or not deallocation has to be triggered,
if the seasonal information is changed in an allocated purchase order or production order
on the basis of deallocation rule settings for purchase orders or production orders.
A validation is performed during goods receipt (GR) for an allocated purchase order or
production order when the season information is changed. The deallocation rule settings
for goods receipt handling will check whether the season information is appropriate, and
then trigger deallocation if customized.
A validation is performed to check whether or not deallocation has to be triggered on the
basis of the deallocation rule settings for sales orders, when season information in these
allocated sales order is changed.
SAP AFS
Page4
Seasonality in MM and PP
A season is determined when a purchase requisition or purchase order is created, either
manually or by material requirements planning (MRP). In a purchase requisition, the season is
determined based on the delivery date of the purchase requisition. However, in a purchase
order, a season is determined based on theCreation Date and Delivery Date.
For multiple valid seasons, MRP selects the first valid season.
Material enabled for a season must find a valid season as the purchase requisition or purchase
order is created, otherwise the document cannot be saved.
After initially determining a season, manual changes made to the season data invokes a season
check. If a season is not valid, a message (based on the message type maintained in the
condition records) is displayed. For a planned or production order, the behavior corresponds to
a purchase requisition and purchase order, respectively.
Seasonality in IM
This option is enabled only if the Season Active in IM indicator is set in the material master.
The Season Fixed indicator is a display only field and cannot be set for the new materials.
The information regarding season, collection, and theme is stored in the stock tables, in the
batch tables, and in the material movement documents. In addition, the season, collection, and
theme fields are validated during goods movement.
Stock determination and batch determination are based on grid value, stock category, season,
collection, and theme.
Limitation
Materials with Season Active in IM indicator cannot be processed using MBXX transaction.
Activities
Seasonality in ARun
To activate seasonality for ARun during allocation:
Activate the Season field check during allocation for a particular allocation rule in
Customizing by choosing AFS Allocation Run ARun Detail Define Allocation
Logic Allocation Rule.
To activate seasonality for ARun during deallocation:
1. Maintain the deallocation rule for a season change in allocated purchase orders (POs) in
Customizing
by
choosing AFS
Allocation
Run Cross
Applications PO
Handling Deallocation Rule. Here you define what action you want the system to take
when the season in an allocated purchase order is changed. To attach this deallocation
rule to the plant, in Customizing choose AFS Allocation Run Cross
Applications PO Handling Assign PO Rules to Plant.
2.
3.
Maintain the deallocation rule for a season change in allocated production orders in
Customizing
by
choosing AFS
Allocation
Run Cross
Applications PP
SAP AFS
Page5
Handling Deallocation Rule. Here you define what action you want the system to take
when the season in an allocated production order is changed. To attach this deallocation
rule to the plant, in Customizing choose AFS Allocation Run Cross
Applications PP Handling Assign PP Rules to Plant.
4.
Maintain the deallocation rule for a season change in allocated sales orders in
Customizing
by
choosing AFS
Allocation
Run Cross
Applications SD
Handling Deallocation Rule. Here you define what action you want the system to take
when the season in an allocated sales order is changed. To attach this deallocation rule
to the order type, in Customizing choose AFS Allocation Run Cross
Applications SD Handling Assign Rule to Order Type.
Seasonality in MM/PP/IM
To activate seasonality for MM/PP/IM:
...
1.
2.
3.
Limitations
SAP AFS
Page6
3. AFS-Interfaces
The following sections contain information on the AFS interfaces.
Providing legacy or external systems with changes and/or newly created grid data
Direction
Logical Message
IDoc type
Operation code
Grid
Receipt
J3AGRI
J3AGRI02
J3AN
Grid
Issue
SAP AFS
J3AGRI02
Page7
Fields
Explanation
Origin
Function
No processing
J_3APGNR
J_3APGDH-J_3APGNR
J_3AVDAT
J_3APGDH-J_3AVDAT
J_3AKTXT
J_3APGDH-J_3AKTXT
J_3ADLKZ
Delete indicator
J_3APGDH-J_3ADLKZ
J_3AUSED
J_3ACRDT
Date of creation
J_3APGDH-J_3ACRDT
J_3AEDDT
Date changed/deleted
J_3APGDH-J_3AEDDT
J_3AUSER
User name
J_3APGDH-J_3AUSER
J_3ABZD1
J_3APGDH-J_3ABZD1
J_3ABZD2
J_3APGDH-J_3ABZD2
J_3ABZD3
J_3APGDH-J_3ABZD3
J_3ABZDX
Selection dimension ID
J_3APGDH-J_3ABZDX
J_3ASGTP
J_3APGDH-J_3ASGTP
J_3ABYT1
J_3APGDH-J_3ABYT1
J_3ABYT2
J_3APGDH-J_3ABYT2
J_3ABYT3
J_3APGDH-J_3ABYT3
J_3ARGTP
J_3APGDH-J_3ARGTP
J_3ARGNR
J_3APGDH-J_3ARGNR
J_3ARDAT
J_3APGDH-J_3ARDAT
J_3AMGNR
J_3APGDH-J_3AMGNR
J_3AMDAT
J_3APGDH-J_3AMDAT
J_3ASODI1
J_3APGDH-J_3ASODI1
J_3ASODI2
J_3APGDH-J_3ASODI2
J_3ASODI3
J_3APGDH-J_3ASODI3
J_3AGFILL
J_3APGDH-J_3AGFILL
J_3AGCONV
J_3APGDH-J_3AGCONV
J_3AGSORT
J_3APGDH-J_3AGSORT
J_3ADOCALL
J_3APGHDJ_3ADOCALL
J_3ARECNOT
J_3APGHDJ_3ARECNOT
J_3ARECNO
J_3APGHD-J_3ARECNO
J_3ABZD1_NEW
J_3APGHD-J_3ABZD1
J_3ABZD2_NEW
J_3APGHD-J_3ABZD2
J_3ABZD3_NEW
J_3APGHD-J_3ABZD3
J_3APGHD-J_3ABZDX
E1J3AGH1 MSGFN
grid
SAP AFS
Page8
E1J3AGE
J_3ABXDX
J_3APGHD-J_3ABXDX
J_3ABYDX
J_3APGHD-J_3ABYDX
/AFS/GRIDBLKZ
J_3APGHD-/AFS/GRIDB
LKZ
J_3APGHD-/AFS/GRIDB
LKZ2
J_3APGHD-/AFS/GRIDB
LKZ3
J_3AGCONV2
J_3APGHDJ_3AGCONV2
J_3AGCONV3
J_3APGHDJ_3AGCONV3
MSGFN
Function
No processing
J_3APGNR
J_3APGEN-J_3APGNR
J_3AVDAT
J_3APGEN-J_3AVDAT
J_3AKORD1
J_3APGEN-J_3AKORD1
J_3AKORD2
J_3APGEN-J_3AKORD2
J_3AKORD3
J_3APGEN-J_3AKORD3
J_3AKORDX
Grid value
J_3APGEN-J_3AKORDX
J_3ADLKZ
Delete indicator
J_3APGEN-J_3ADLKZ
J_3ATDAT
J_3APGEN-J_3ATDAT
J_3AFDAT
J_3APGEN-J_3AFDAT
MSGFN
Function
No processing
KNUMH
J_3AGRCD-KNUMH
J_3APGNR
J_3AGRCD- J_3APGNR
J_3AVDAT
J_3AGRCD- J_3AVDAT
J_3ASIZE
J_3AGRCD- J_3ASIZE
KAPPL
Application
J_3AGRCD-KAPPL
KSCHL
Condition type
J_3AGRCD-KSCHL
MINAU
J_3AVMNG
J_3AGRCD-J_3AVMNG
VRKME
Sales unit
J_3AGRCD-VRKME
J_3AHSIZ
J_3AGRCD-J_3AHSIZ
J_3ASPRO
J_3AGRCD-J_3ASPRO
J_3ASZGR
J_3AGRCD-J_3ASZGR
TAXKM
J_3AGRCD-TAXKM
DWERK
Delivery plant
J_3AGRCD-DWERK
J_3AVEMA
J_3AGRCD-J_3AVEMA
J_3AROF
Rounding factor
J_3AGRCD-J_3AROF
J_3AUSED
E1J3AGC
J_3AVEMA_N
SAP AFS
Page9
This type of number assignment is only relevant for the initial transfer of data. This type is never
used during the distribution of data using ALE because grids always retain their numbers from
the source system during the distribution of data.
You can use this type of number assignment for the initial transfer of data as well as for the data
distribution, provided that the grid numbers are transferred unchanged from the legacy system.
Checks in ALE
During the transfer and distribution of data using ALE, all transferred data undergoes the same
checks as in the dialog.
Error Handling in ALE
If a logical error caused by grid maintenance occurs during the processing of an IDoc, the
system terminates the corresponding maintenance transaction and the IDoc receives the
status incorrect. If no logical error occurs, the IDoc receives the status successful.
For IDocs with the status incorrect or successful, the status record receives the messages that
were issued during processing. After the logical errors have been resolved, you can reprocess
the corresponding IDocs.
You can find information on troubleshooting and resolution of technical errors in the ALE
documentation. To find errors, you should first check the settings that you have made in
Customizing of the Distribution (ALE).
Customer Enhancements (User Exits)
Using the following user exits, you can extend the grid master by adding your own table fields.
The data in the user-defined fields can also be processed using ALE.
In order to process user-defined data using ALE, you need to:
You can find further information in the documentation BC - Changes to the SAP-Standard.
create the necessary source text for the user exit EXIT_SAPLJ4AI_102, which is
included in the system enhancement J_3AIMM1
SAP AFS
Page10
During data transfer and distribution, you can maintain all materials with all required data exactly
as you would in the dialog. This is not, however, valid for the following data:
Product versions
The actual material data is transferred in an IDoc and the additional data is transferred in a
separate IDoc. This is due to the following reasons:
IDocs and associated distribution and transfer functions already exist for most of the
additional data.
It must be possible to distribute additional data separately because there is normally a
separate maintenance option for this data in addition to the integrated maintenance in
the material master.
You must therefore enter the sequence in which each related IDoc should be processed. If you
do not do this, terminations may occur in the system during processing (for example, if the
system attempts to create a purchasing info record for a material that does not yet exist in the
database). For this reason, you can define dependencies between objects in Customizing
for Distribution (ALE). In doing so, you are ensuring that the changes in a superior object are
executed simultaneously when changes are made to dependent objects so that both IDocs are
created in the correct sequence. Just as is the case during the creation of the IDocs by the
sender, the IDocs are first processed by the recipient after the arrival of all related IDocs in the
target system has been reported.
Typical application examples:
Distribution of changed and/or newly created material data between SAP systems (in
which, for example, a system can be located on another computer)
Providing legacy or external systems with changes and/or newly created material data
SAP AFS
Page11
Direction
Logical
Message
IDoc Type
Process Code
Material
Inbound
J3AMAT
/AFS/MATMAS04
MATM
Material
Outbound
RBDSEMAT
/AFS/MATMAS04
Field
Explanation
Origin
E1J3MRA
MSGFN
Function
No processing
J_3AMIND
MARA-J_3AMIND
J_3AMSTAT
MARA-J_3AMSTAT
J_3APGNR
MARA-J_3APGNR
J_3AKALSV
MARA-J_3AKALSV
J_3AKALSM
MARA-J_3AKALSM
J_3ASMAT
MARA-J_3ASMAT
J_3APROFP
Plant profile
MARA-J_3APROFP
J_3APROFC
Category profile
MARA-J_3APROFC
J_3APROFG
Grid profile
MARA-J_3APROFG
J_3APROFT
Period profile
MARA-J_3APROFT
J_3AGMID
MARA-J_3AGMID
J_3ANOGRID
AFS material without grid (DUMMY grid with MARAonly one dimension)
J_3ANOGRID
J_3AFCC
MARA-J_3AFCC
J_3AGEND
Gender
MARA-J_3AGEND
J_3ACOL
MARA-J_3ACOL
J_4KCSGR
Category structure
MARA-J_4KCSGR
SAP AFS
Page12
E1J3ASE
E1J3AQD
E1J3MRC
SAP AFS
/AFS/SCLAS
MARA-/AFS/SCLAS
/AFS/SCHNITT
Cut
MARA-/AFS/SCHNI
TT
J_4KCOVSA
Coverage Strategy
MARA-J_4KCOVSA
MSGFN
Function
No processing
J_3ASEAN
Season indicator
J_3AMSEAJ_3ASEAN
J_3ASIZE
J_3AMSEAJ_3ASIZE
J_4KRCAT
Requirements Category
J_3AMSEAJ_4KRCAT
/AFS/COLLECTION Collection
J_3AMSEA-/AFS/C
OLLECTION
/AFS/THEME
Topic
J_3AMSEA-/AFS/T
HEME
MSGFN
Function
No processing
J_3AMQCA
Quota category
J_3AQDSTJ_3AMQCA
MSGFN
Function
No processing
J_3AMIND
MARA-J_3AMIND
J_3AMSTATC
MARCJ_3AMSTATC
J_3AMSTAT
MARC-J_3AMSTAT
J_4KCOVS
MARC-J_4KCOVS
J_3ADISPKZ
MRP indicator
MARCJ_3ADISPKZ
J_3AHORIZ
Horizon key
MARC-J_3AHORIZ
J_3APRFC
Category profile
MARC-J_3APRFC
J_3APRFG
Grid profile
MARC-J_3APRFG
J_3APRFT
Period profile
MARC-J_3APRFT
J_3ASGRID
MARC-J_3ASGRID
J_3AVERPR
MARC-J_3AVERPR
J_3AVERMR
MARC-J_3AVERMR
J_3AVERSS
MARC-J_3AVERSS
J_3AVERPU
MARC-J_3AVERPU
J_3AVERSD
MARC-J_3AVERSD
J_3AEKORG
MARCJ_3AEKORG
J_3APRCM
Consumption priority
MARC-J_3APRCM
J_3ABUND
MARC-J_3ABUND
Page13
E1J3AAD
SAP AFS
J_3ACHINT
MARC-J_3ACHINT
J_3ABAINT
MARC-J_3ABAINT
J_3ARISK
MARC-J_3ARISK
J_3ADEFSI
MARC-J_3ADEFSI
J_4KDEFSC
MARC-J_4KDEFSC
J_4KCOVS_4
Coverage Strategy
MARCJ_4KCOVS_4
J_4KDEFSC_4
MARCJ_4KDEFSC_4
J_4AATPSI
MARC-J_4AATPSI
J_3ASLHMOD
MARCJ_3ASLHMOD
J_3AMROUND
MARCJ_3AMROUND
J_3AMRDMENG
MARCJ_3AMRDMENG
MSGFN
Function
No processing
J_3AKORD
J_3AMADJ_3AKORD
J_4KSCAT
Stock Category
J_3AMADJ_4KSCAT
EISBE
Safety stock
J_3AMAD-EISBE
BSTMI
J_3AMAD-BSTMI
BSTRF
J_3AMAD-BSTRF
J_3ASIGR
J_3AMADJ_3ASIGR
REFVAL
J_3AMAD-REFVAL
J_4ASTAT
J_3AMADJ_4ASTAT
J_4ADTFR
Date
J_3AMADJ_4ADTFR
J_3ARISK
J_3AMADJ_3ARISK
LGRAD
J_3AMAD-LGRAD
WZEIT
J_3AMAD-WZEIT
WZEITSG
J_3AMADWZEITSG
J_3APQTY
J_3AMADJ_3APQTY
J_3APQUN
J_3AMADJ_3APQUN
Page14
E1J3AKA
/AFS/E1MLGN1
SAP AFS
J_3ACASE
J_3AMADJ_3ACASE
VMSTA
J_3AMAD-VMSTA
VMSTD
Validity start date of the distribution chainspecific material status no longer used
J_3AMAD-VMSTD
REFSD
J_3AMAD-REFSD
BRGEW
J_3AMAD-BRGEW
NTGEW
J_3AMAD-NTGEW
VOLUM
J_3AMAD-VOLUM
REFDIM
J_3AMAD-REFDIM
AUSDT
Expiry date
J_3AMAD-AUSDT
NFMAT
Follow-up Material
J_3AMAD-NFMAT
NFWRK
Value
J_3AMAD-NFWRK
/AFS/NFSIZE
J_3AMAD-/AFS/NF
SIZE
MSGFN
Function
No processing
J_3AKORD
J_3AMADKAJ_3AKORD
J_4KSCAT
Stock Category
J_3AMADKAJ_4KSCAT
J_3AKALSW
Preference SKU
J_3AMADKAJ_3AKALSW
J_3AKALGR
J_3AMADKAJ_3AKALGR
TVERS
J_3AMADKATVERS
VPRSV
J_3AMADKAVPRSV
PRICE
Standard price
J_3AMADKAPRICE
EKALR
J_3AMADKAEKALR
ZKPRS
Future price
J_3AMADKAZKPRS
ZKDAT
J_3AMADKAZKDAT
J_3ASRD
J_3AMADKAJ_3ASRD
J_3ARKALGP
J_3AMADKAJ_3ARKALGP
MSGFN
Function
No processing
Page15
/AFS/E1MLGN2
/AFS/E1MLGN3
SAP AFS
LGNUM
Warehouse number/complex
/AFS/MLGN1LGNUM
J_3ASIZE
/AFS/MLGN1J_3ASIZE
LHMG1
/AFS/MLGN1LHMG1
LHMG2
/AFS/MLGN1LHMG2
LHMG3
/AFS/MLGN1LHMG3
LHME1
/AFS/MLGN1LHME1
LHME2
/AFS/MLGN1LHME2
LHME3
/AFS/MLGN1LHME3
LETY1
/AFS/MLGN1LETY1
LETY2
/AFS/MLGN1LETY2
LETY1
/AFS/MLGN1LETY1
MSGFN
Function
No processing
LGNUM
Warehouse number/complex
/AFS/MLGN2LGNUM
J_3ASIZE
/AFS/MLGN2J_3ASIZE
J_4KSCAT
Stock Category
/AFS/MLGN2J_4KSCAT
LTKZA
LGBKZ
/AFS/MLGN2LGBKZ
BSSKZ
/AFS/MLGN2BSSKZ
L2SKR
/AFS/MLGN2L2SKR
LTKZE
BLOCK
/AFS/MLGN2BLOCK
KZMBF
/AFS/MLGN2KZMBF
KZZUL
/AFS/MLGN2KZZUL
MSGFN
Function
No processing
Page16
LGNUM
Warehouse number/complex
/AFS/MLGN3LGNUM
J_3ASIZE
/AFS/MLGN3J_3ASIZE
J_4KSCAT
Stock Category
/AFS/MLGN3J_4KSCAT
MKAPV
Capacity consumption
/AFS/MLGN3MKAPV
BEZME
/AFS/MLGN3BEZME
Function
No processing
LGNUM
Warehouse number/complex
/AFS/MLGTLGNUM
J_3ASIZE
/AFS/MLGTJ_3ASIZE
J_4KSCAT
Stock Category
/AFS/MLGTJ_4KSCAT
LGPLA
Storage bin
/AFS/MLGT-LGPLA
LPMAX
/AFS/MLGT-LPMAX
LPMIN
/AFS/MLGT-LPMIN
MAMNG
Control quantity
/AFS/MLGTMAMNG
NSMNG
Replenishment quantity
/AFS/MLGTNSMNG
KOBER
Picking area
/AFS/MLGT-KOBER
RDMNG
Rounding quantity
/AFS/MLGTRDMNG
MSGFN
Function
No processing
J_3AVASG
J_3AMVKEJ_3AVASG
J_3APIND
J_3AMVKEJ_3APIND
MSGFN
Function
No processing
MEINH
/AFS/MARM-MEINH
J_3ASIZE
Grid value
/AFS/MARMJ_3ASIZE
J_4KSCAT
Stock Category
/AFS/MARMJ_4KSCAT
VOLUM
Volume
/AFS/MARMVOLUM
BRGEW
Gross weight
/AFS/MARMBRGEW
NTGEW
Net Weight
/AFS/MARMNTGEW
/AFS/E1MLGTM MSGFN
E1J3MKE
/AFS/E1MARM
SAP AFS
Page17
REFDIM
/AFS/MARMREFDIM
Function
No processing
J_3AKORDX
Grid value
/AFS/MEANJ_3AKORDX
/AFS/EANBLOCK
Category value
/
AFS/MEAN-/AFS/E
ANBLOCK
/AFS/CAT_APPL
Category type
/
AFS/MEAN-/AFS/C
AT_APPL
MSGN
Function
No processing
J_3ASIZE
Grid value
/AFS/MVKEJ_3ASIZE
J_4KRCAT
Requirement category
/AFS/MVKEJ_4KRCAT
VMSTA
/AFS/MVKE-VMSTA
VMSTD
/AFS/MVKEVMSTD
/AFS/REFVMS
/
AFS/MVKE-/AFS/R
EFVMS
J_3APQTY
/AFS/MVKEJ_3APQTY
J_3APQUN
/AFS/MVKEJ_3APQUN
J_3ACASE
/AFS/MVKEJ_3ACASE
/AFS/REFPQ
/
AFS/MVKE-/AFS/R
EFPQ
J_3AGEND
Target group
/AFS/MVKEJ_3AGEND
/AFS/REFGEND
/
AFS/MVKE-/AFS/R
EFGEND
/AFS/E1MEANM MSGFN
/AFS/E1MVKE
Page18
SAP AFS
Page19
You can find further information in the documentation BC - Changes to the SAP-Standard.
create the necessary source text for the following user exits, which are included in the
system enhancement MGV00001.
EXIT_SAPLMV01_002
EXIT_SAPLMV03_002
You can find further information in the system enhancement MGV00001 and user exit
documentation.
create a new IDoc segment
Error messages
Error number Possible causes
Solution
8J670
8J671
Transferred data is duplicated, for Check IDoc and correct duplicate entries.
example, the same season code
is used twice for the same
dimension
The sender transfers a partially or completely planned shipment to the forwarding agent
(shipping order SHPMNT).
The sender or the forwarding agent provides the customer with information about a
shipment to be expected (shipment notification SHPADV).
SAP AFS
Page20
Logical Message
IDoc Type
Output type
Partner Type
Process Code
SHPMNT/SHPADV
/AFS/SHPMNT03
SEDI
WE or SP
SHPM
(Outbound)
Technical Information
The AFS specific segments are filled in exactly the same way as in the IDoc /AFS/DELVRY02.
CARNOT (issue): Shipping order. With the notification of the forwarding agent, the
delivery data is transferred so that the forwarding agent carries out the pickup and
inbound delivery of the goods according to the customer's request. (EDI)
The sending of a pick order works as of Release 4.0 via message control in the delivery.
PICKSD, SDPICK and SDPACK are therefore all replaced by the new IDoc types (DELVRY02).
Non-implemented Functions
A batch split is not permitted in the confirmation. The batch that must be verified is the
one that is also in the delivery.
Overpicking of a stockkeeping unit (SKU) is not permitted.
IDoc Type
Output Type
Partner Type
Process Code
Page21
WHSORD
WHSCON
/AFS/DELVRY02
/AFS/DELVRY02
WSOR
LS LS
DELV (outbound)
DELV (inbound)
SHPORD
SHPCON
/AFS/DELVRY02
/AFS/DELVRY02
SHOR
LI LI
DELV (outbound)
DELV (inbound)
CARNOT
/AFS/DELVRY02
CANO
LI
DELV (outbound)
DESADV
/AFS/DELVRY02
LAVA
KU
DELV (outbound)
Fields
Explanation
E1EDL24
KDMAT
EAN11
J_3ALNGR
/AFS/E1EDL24
/AFS/E1J3AKG
J_3ADEPM
J_3AKVGR6
to
J_3AKVGR10
E1J3AI2
J_3AQFREF
SAP AFS
Page22
J_3AOBIDQF
E1J3AIT
J_3ASTORE
J_3ATLTYP
Ticketing/labeling type
Unique key that determines the type of label.
E1J3AITX
J_3ATLMAT
Ticketing/labeling material
J_3ACHARC
Code determining the price charged when the customer pays for
ticketing/labeling.
J_3ATLTXT
J_3ATLORD
J_3ATLITEM
J_3ATLSIZE
E1J3AIP
E1J3AIS
Segments that contain data for special services. The fields are
identical to E1J3AIT.
E1EDL41
QUALI
POSEX
SAP AFS
Page23
Weight and volume are confirmed for the entire delivery or for each individual batch.
The item number for the SKU must be entered in field POSNR. All other fields are filled
in the SAP standard.
Shipping units are confirmed in the same way as in the standard. The item number for
the SKU must be entered in field E1EDL44-POSNR.
EXIT_SAPLV56K_001
Customer enhancement for modifying the control record. The control record and all relevant
tables for the delivery are transferred.
EXIT_SAPLV56K_002
Customer enhancement called after each individual standard segment. This customer
enhancement is used to fill specific z-segments. The control record, the current segment name,
all the relevant delivery tables and the IDoc data records are transferred
3.2.2 Sales
Available Document Types
The following table shows an overview of the supported document types, their assigned logical
messages, and the IDoc type to be used.
Remember that this documentation always refers to the most recent version of an IDoc type,
unless specified otherwise. SAP recommends, therefore, that you use the most recent IDoc type
version.
Document
Type
Direction
Logical
Message
IDoc Type
Orders
Inbound
ORDERS
/AFS/ORDERS05
J3AA
ORDERS
/AFS/ORDERS05
J3AA
ORDCHG
/AFS/ORDERS05
J3AC
Order
Confirmation
Outbound
ORDRSP
/AFS/ORDERS05
BA00
SD10
Quotations
Outbound
QUOTES
/AFS/ORDERS05
AN00
J3AJ
SAP AFS
Page24
To use enhanced error handling options, see section IDoc Error Handling for
Inbound IDocs.
The current release uses IDoc type /AFS/ORDERS05. This IDoc type is now in the fifth version
(after J3AORD01, J3AORD02, /AFS/ORDERS03 and /AFS/ORDERS04).
You must always use the most recent version of an IDoc type.
AFS Restrictions
When creating an MSO explosion, the splitting of the created order into individual
documents is not automatically triggered.
The delivery order is not supported.
Conditions in the incoming sales order cannot be changed at the header level, item level
or dimension level. Read the Notes in the documentation for segments E1EDK04,
E1EDK05, E1EDP04 and E1EDP05.
You cannot use the IDoc interface to automatically copy contracts to a sales document
as an attachment with reference to a contact. A contract reference can be made for each
individual item or dimension.
VAS data or MSOs cannot be changed in AFS.
AFS does not support adding individual components by means of an order change IDoc
(ORDCHG) to a bill of material (BOM) that has already been exploded in a sales
document.
Creating MSOs with VAS data
In order changes per IDoc, the partner functions AG, RE, RG, and SB cannot be
changed (this is also valid when adding new items and/or dimensions).
Only the partner functions RE, WE and RG are processed at item level.
AFS does not support changes to the material number or the dimension of an already
existing stock keeping unit (SKU). SKUs can only be flagged with one deletion indicator.
Contracts: AFS does not support the transfer or additional contract data (table VEDA)
using the IDoc interface.
The purchase order (PO) number will get deleted when you have created a sales order
with reference to a contract via IDoc and the PO number is passed at the item level by
entering the document field (BSTKD) in the segment EIEDP02 of the IDoc.
SAP AFS
Page25
The workflow basic settings for error handling must be maintained (transaction SWU3).
You must assign the EDI pricing conditions JED1 and JED2 to the pricing procedure of
the respective document type of the sales area. These pricing conditions serve to
transfer the expected customer price / customer value to the sales document.
You must maintain the translation of EDI internal item categories into SD item
categories in Customizing (transaction code VOE1) in the table EDPST (see also notes
for the documentation for segment E1EDP01, Field PSTYP).
IMG:
Sales
and
Distribution Electronic
Data
Messages Convert SAP Item Category to IDoc Item Category.
Using the table EDPAR, you can convert external partner numbers into internal partner
numbers as needed. Maintain the table using transaction VOE4. Read also the notes in
the documentation for the segments E1EDKA1 and E1EDPA1.
IMG:
Sales
and
Distribution Electronic
Data
Interchange EDI
Messages Configure EDI Partners Convert External to Internal Partner Numbers.
You can control the determination of the sales area data (sales organization, distribution
channel, division) with the table EDSDC. Since an EDI partner will only rarely transmit
this data (see notes for the documentation on segment E1EDK14), the sales area can
be determined for the transfer to the application depending on the customer and vendor
number. To do this call the transaction VOE2.
IMG:
Sales
and
Messages Configure
Organization Data
Interchange EDI
Distribution Electronic
Data
Interchange EDI
EDI Partners Assign Customer/Vendor To Sales
SAP AFS
Page26
Field
Explanation
Processing
action
No processing
kzabs
No processing
curcy
Currency code
hwaer
No processing
wkurs
Exchange rate
zterm
Term of payment
kundeuinr
No processing
eigenuinr
No processing
BSARt
Document type
No processing
BELNR
No processing
ntgew
Net Weight
No processing
brgew
Gross weight
No processing
gewei
Weight Unit
No processing
fkart_rl
No processing
ABLAD
Unloading point
No processing
BSTZD
VSART
Shipping condition
VSART_BEZ
No processing
recipnt_no
Number of recipient
No processing
kzazu
autlf
augru
Order reason
augru_bez
No processing
abrvw
abrvw_bez
No processing
fktyp
Billing category
No processing
lifsk
lifsk_bez
No processing
empst
Receiving point
abtnr
Department number
No processing
delco
No processing
wkurs_m
No processing
SAP AFS
Page27
Short text
Explanation
POSEX
Item Number
ACTION
PSTYP
Item Category
KZABS
No processing
MENGE
Quantity
MENEE
Unit of Measure
BMNG2
No processing
PMENE
ABFTZ
No processing
VPREI
Price (net)
PEINH
Price Unit
Price Unit
NETWR
ANETW
No processing
SKFBP
Discountable amount
No processing
NTGEW
Net Weight
No processing
GEWEI
Weight Unit
No processing
EINKZ
No processing
CURCY
Currency
Currency code
PREIS
Gross price
No processing
MATKL
Material class
No processing
UEPOS
GRKOR
No processing
SAP AFS
Page28
EVERS
Shipping Instruction
No processing
BPUMN
No processing
BPUMZ
ABGRU
ABGRT
Description
No processing
ANTLF
FIXMG
No processing
KZAZU
J_3APOSNR
Item Number
Internal usage
J_3AMSOM
Equal mix of products in a multi-store order The mix key is only then processed, if
the flag J_3AMSOFLG is set in
segment E1J3AHO. It is used for the
grouping of store and/or distribution
centers that should be delivered.
J_3ABZUS
Requirements grouping
J_3ADEPM
Department
J_3ASPLIT
J_3ASEAN
Season indicator
J_3ASIZE
J_3ALNGR
J_4KRCAT
Requirements Category
J_4KSCAT
Stock Category
No processing
BRGEW
Total Weight
No processing
VOLUM
Volume
No processing
VOLEH
Volume Unit
No processing
J_3AVASIT
No processing
J_3AEBTYP
No processing
J_3AMSOF
PSTYV
SAP AFS
Page29
application.
EMPST
Receiving point
ABTNR
Department number
No processing
ABRVW
Usage indicator
No processing
WERKS
Plant
LPRIO
Delivery priority
No processing
LPRIO_BEZ
Description
No processing
ROUTE
Route
No processing
ROUTE_BEZ
Description
No processing
LGORT
Storage location
No processing
VSTEL
Shipping point
No processing
DELCO
No processing
MATNR
Material identification
No processing
Note: The material identification and
determination is controlled by using
segments E1J3AIM and/or E1EDP19.
The document item segment E1J3P01 starts the transfer of data per item. Below the segment
you find further item-related segments with detailed information for the respective item. A
prerequisite for correctly processing the segment is that the external item number in field
POSEX is uniquely filled. If the field remains initial, error message /AFS/IDOC 018 is
displayed. In view of automatic order changes with the message type ORDCHG you must note
that the external item number is uniquely transferred to the created document. After the creation
of the order, it is the unique identification and reference criterion of an item.
Bills of Material
For the processing of bills of materials in incoming orders, there are some special features.
There are basically two ways of BOM processing:
In the IDoc, only the header material of a BOM is sent.
Both header and component materials are sent.
In both cases the BOM is exploded in the sales document, according to the settings in the IMG.
Make sure when using item categories that the correct item categories are transferred for both
header and component items. An automatic item category determination only takes place if
neither field PSTYP nor field PSTYV are filled in segment E1J3P01. The sales document
contains more items after the transfer of IDoc data than were sent in the IDoc. This has to do
with the fact that during the BOM explosion in individual components, new items are generated.
If both header and item materials are sent as mentioned in the second case, the relation
between the two can be created using field UEPOS in segment E1J3P01. Here, the value of the
superior item always refers to the external item number (POSEX) of the header material. We
strongly recommend that you send related components and their respective header material as
groups in the sequence of the individual E1J3P01 segments.
It is possible to send a material as an individual item without reference to a header material,
even if it belongs to a BOM as component. In this case you must not fill field UEPOS.
The processing of BOMs in multi-store orders per IDoc interface is currently not supported.
SAP AFS
Page30
In the first case a 1:1 ratio exists between the sent E1J3P01 segment and the created
document item. Normally the item contains a delivery schedule line.
In the second case an n:1 relation exists between the sent E1J3P01 segment and the created
document item. The ordered dimensions are first grouped by material numbers and combined to
items with the same material number. Different dimensions of the same material (for the same
recipient) are combined to one item. The individual dimension is reflected in a schedule line on
the document. All the relevant data is "copied" from the item header to the schedule line for the
identification of the individual purchase order items. That means that the external item number
POSEX is not connected to the document item itself, but rather to the schedule line at
dimension level.
In the third case (no grid material) the processing is similar to the standard material without
combining at item level.
Sort Criteria
The grouping of AFS materials and their dimensions is controlled by the following sort criteria:
Material number
Goods recipient
Plant
Cancellation date
Department
Item Category
SAP AFS
Page31
A series of customer enhancements are available in the incoming order via the IDoc interface.
To activate the customer enhancement, first create a project. The customer enhancements of
the inbound processing are summarized in the SAP enhancement J_3AEDS0.
3.2.3 Contract
Inbound processing for contracts is implemented using the IDoc interface for the incoming order.
Basically, there is no difference between the data processing and the incoming order process. A
sales document type for the sales document category G (= contract) is to be transferred in the
IDoc as the order type (see Customizing).
Features
The automatic referencing of contracts for contract release orders is controlled using two
customer enhancements (EXIT_SAPMJ3AS_601 and EXIT_SAPMJ3AS_701) (for more
information, see the documentation for the appropriate function modules).
AFS Restrictions
AFS does not support the transfer of additional contract data (table VEDA) using the IDoc
interface.
Short text
Explanation
QUALF
Organization Indicator
SAP AFS
Page32
Organization Indicator
Division
007
Distribution Channel
008
Sales Organization
010
Sales Group
012
Order Type
016
Sales Office
019
J01
Department
For the creation of contracts the order type flagged as sales document category contract (G) in
Customizing must be transferred with the indicator 012. If the order type is not sent directly with
the IDoc, it can also be changed using the customer enhancement exit_saplj4as_002. The
default setting for the purchase order type (indicator 019) is also DFUE for contracts. Please
note that the valid purchase order types are to be maintained for each order type in
Customizing. If this assignment does not exist, the error message 00058 is displayed.
Document Header: Date Segment (Segment E1J3K03)
Mandatory segment: NO
Field
Short text
Explanation
IDDAT
DATUM
Date
UZEIT
Time
J_3AQUALF
Indicator
014
Please note that the AFS cancellation date for contracts is interpreted as the validity end date.
SAP AFS
Page33
The validity start date (014) and the validity end date (006) are checked by the inbound function.
This means that if one of these dates is in the past (the reference date is the current system
date), the processing terminates with the error message V1437. However, this error only leads
to termination in the first processing of an IDoc (IDoc is set to status 51). If the incorrect IDoc is
processed a second time (for example, with transaction BD87 or report RBDMANI2), the
incorrect date only leads to a warning message which does not interfere with the update of the
data.
If the end date is earlier than the start date, the error message V1444 appears. If this occurs,
please correct the date entries.
3.2.4 Quotation
Requests for quotations can be sent to the vendors via the IDoc interface. The general
conditions are sent in the IDoc so that the vendor can specifically create a quotation.
Short text
Explanation
QUALF
BELNR
Document number
Document number
POSNR
Item Number
DATUM
Date
Document date
UZEIT
Time
Explanation
QUALF
IDTNR
Material identification
KTEXT
Short text
MFRPN
MFRNR
Manufacturer number
The segment is not used in the outbound quotation. The object identification is sent with the
segment E1J3AIM.
SAP AFS
Page34
Short text
Explanation
POSEX
Item Number
ACTION
PSTYP
Item Category
KZABS
N/A
MENGE
Quantity
MENEE
Unit of Measure
BMNG2
N/A
PMENE
ABFTZ
N/A
VPREI
Price (net)
PEINH
Price Unit
Price Unit
NETWR
ANETW
N/A
SKFBP
Discountable amount
N/A
NTGEW
Net Weight
GEWEI
Weight Unit
EINKZ
CURCY
Currency
PREIS
Gross price
N/A
MATKL
Material class
UEPOS
GRKOR
EVERS
Shipping Instruction
N/A
SAP AFS
Page35
BPUMN
N/A
BPUMZ
N/A
ABGRU
ABGRT
Description
ANTLF
FIXMG
KZAZU
N/A
J_3APOSNR
Item Number
J_3AMSOM
J_3ABZUS
Requirements grouping
J_3ADEPM
Department
J_3ASPLIT
J_3ASEAN
Season indicator
J_3ASIZE
N/A
J_3ALNGR
J_4KRCAT
Requirements Category
N/A
J_4KSCAT
Stock Category
N/A
BRGEW
Total Weight
VOLUM
Volume
N/A
VOLEH
Volume Unit
N/A
J_3AVASIT
J_3AEBTYP
N/A
J_3AMSOF
N/A
PSTYV
N/A
EMPST
Receiving point
ABTNR
Department number
N/A
ABRVW
Usage indicator
N/A
WERKS
Plant
N/A
LPRIO
Delivery priority
N/A
LPRIO_BEZ
Description
N/A
ROUTE
Route
N/A
ROUTE_BEZ
Description
N/A
LGORT
Storage location
N/A
VSTEL
Shipping point
N/A
DELCO
N/A
SAP AFS
Page36
MATNR
Material identification
N/A
In contrast to the order confirmation, the dimension values and category values are not
transferred in segment E1J3P01 (J_3ASIZE, J_4KRCAT, J_4KSCAT) in the inbound quotation.
A change in MSOs and in orders with VAS data via IDoc is not supported.
Conditions in the incoming sales order cannot be changed at the header level, item
level or dimension level. Please also read the documentation of the segments
E1EDK04, E1EDK05, E1EDP04, E1EDP05.
AFS does not support changes to the material number or the dimension of an already
existing stock keeping unit (SKU). SKUs can only be flagged with one deletion indicator.
AFS does not support adding individual components by means of an order change IDoc
(ORDCHG) to a bill of material (BOM) that has already been exploded in a sales
document.
Short text
Explanation
POSEX
Item Number
ACTION
PSTYP
SAP AFS
Item Category
N/A
MENGE
Quantity
MENEE
Unit of Measure
BMNG2
N/A
PMENE
ABFTZ
N/A
VPREI
Price (net)
PEINH
Price Unit
Price Unit
NETWR
ANETW
N/A
SKFBP
Discountable amount
N/A
NTGEW
Net Weight
GEWEI
Weight Unit
EINKZ
CURCY
Currency
PREIS
Gross price
N/A
MATKL
Material class
UEPOS
GRKOR
EVERS
Shipping Instruction
N/A
BPUMN
N/A
BPUMZ
ABGRU
ABGRT
Description
ANTLF
FIXMG
KZAZU
N/A
SAP AFS
Page38
J_3APOSNR
Item Number
J_3AMSOM
Equal mix of products in a multi-store order Mix key for multi-store order.
J_3ABZUS
Requirements grouping
J_3ADEPM
Department
J_3ASPLIT
J_3ASEAN
Season indicator
J_3ASIZE
J_3ALNGR
J_4KRCAT
Requirements Category
J_4KSCAT
Stock Category
BRGEW
Total Weight
VOLUM
Volume
N/A
VOLEH
Volume Unit
N/A
J_3AVASIT
J_3AEBTYP
N/A
J_3AMSOF
N/A
PSTYV
N/A
EMPST
Receiving point
ABTNR
Department number
N/A
ABRVW
Usage indicator
N/A
WERKS
Plant
N/A
LPRIO
Delivery priority
N/A
LPRIO_BEZ
Description
N/A
ROUTE
Route
N/A
ROUTE_BEZ
Description
N/A
LGORT
Storage location
N/A
VSTEL
Shipping point
N/A
DELCO
N/A
MATNR
Material identification
N/A
The output sequence of E1J3P01 segments depends on the sorting within the sales document
(item number + schedule line number) and not on the sequence of the order receipt according
to the external item number. Therefore, due to the internal sort and grouping logic of the
inbound processing, an outbound IDoc can have a different sequence of items or schedule lines
than the corresponding inbound document.
Document Header: General Data (Segment E1EDK01)
Field
SAP AFS
Short text
Explanation
Page39
ACTION
kzabs
CURCY
Currency code
HWAER
N/A
WKURS
Exchange rate
ZTERM
Term of payment
kundeuinr
N/A
eigenuinr
N/A
BSARt
Document type
BELNR
Document number
Order number
ntgew
Net Weight
N/A
brgew
Gross weight
N/A
gewei
Weight Unit
N/A
fkart_rl
N/A
ABLAD
Unloading point
N/A
BSTZD
VSART
Shipping condition
VSART_BEZ
REcipnt_no
Number of recipient
kzazu
autlf
augru
Order reason
augru_bez
abrvw
abrvw_bez
fktyp
Billing category
lifsk
lifsk_bez
empst
Receiving point
abtnr
Department number
N/A
delco
N/A
wkurs_m
N/A
SAP AFS
Page40
3.2.8 Invoice
The invoice IDoc can be used for EDI communication and for the ALE scenario Stock Transfers
Between Distributed Systems.
SAP AFS
Page41
Features
An E1J3P01 segment is created in the IDoc for each SKU in the invoice. The net and gross
prices are always calculated at SKU level and are independent of the billing type (billing at SKU
level or item level).
Two billing types can be used in the application:
Page42
Description
Comments / Remarks
J_3APOSNR
Item number
J_3ADEPM
Department
J_3ASIZE
Grid Value
J_3ALNGR
AFS Line Group indicator Line Group indicator specified several schedule
lines for one delivery
J_4KRCAT
Requirement Category
J_4KSCAT
Stock category
Description
Comments / Remarks
J_3ASTORE
MSO Stores
J_3ATLTYP
VAS Ticketing/Label
Type
J_3ATLMAT
VAS Ticketing/Labelling
Material
J_3ACHARC
J_3AFIELD1
J_3AFIELD2
J_3AFIELD3
J_3AVASPQ
Quantity
J_3AVASPO
J_3AVASETE
Description
Comments / Remarks
J_3ATLTXT
SAP AFS
Page43
J_3ATLORD
VAS Text1
J_3ATLITEM
VAS Text1
J_3ATLSIZE
VAS Text1
Description
Comments / Remarks
J_3ASTORE
MSO Stores
J_3APTYP
J_3APMAT
J_3ACHARC
J_3AINCREM
J_3AMIXID
J_3AFIELD1
J_3AFIELD2
J_3AFIELD3
J_3AVASPQ
Quantity
J_3AVASPO
J_3AVASETE
Description
Comments / Remarks
J_3ASTORE
MSO Stores
J_3ASSTYP
J_3ASSMAT
J_3ACHARC
J_3AFIELD1
J_3AFIELD2
J_3AFIELD3
J_3AVASPQ
Quantity
J_3AUPDKZ
Update indicator
SAP AFS
Page44
J_3AVASPO
J_3AVASETE
3.3.1 Purchasing
The following table shows an overview of the supported document types, their assigned logical
message, and the IDoc type to be used.
Remember that this documentation always refers to the most recent version of an IDoc type,
unless specified otherwise. We therefore urgently recommend that you use the most recent
version of an IDoc type for the respective document type.
SAP AFS
Page45
Logical
Message
IDoc Type
Output type
Process
Code
Request for
Quotation
Outbound
REQOTE
/AFS/ORDERS04
NEU (new)
ME12
Purchase Order
Outbound
ORDERS
/AFS/ORDERS04
NEU (new)
ME10
Purchase Order
Change
Outbound
ORDCHG
/AFS/ORDERS04
NEU (new)
ME11
Purchase Order
Confirmation
Receipt
ORDRSP
/AFS/ORDERS04
Contracts
Outbound
BLAORD
/AFS/BLAORD03
J3AV
/AFS/ME15
Contract
Change
Outbound
BLAOCH
/AFS/BLAORD03
J3AV
/AFS/ME16
Delivery
Announcement
Receipt
DESADV
/AFS/DELVRY02
DELS
Invoice Receipt
Receipt
INVOIC
/AFS/INVOIC02
INVL
ORDR
3.3.2.1 Technical
(Purchasing)
Information:
Request
for
Quotation
Logical
Message
IDoc Type
Output type
Process
Code
Request for
Quotation
REQOTE
/AFS/ORDERS04
NEU (new)
ME12
Outbound
Field
Explanation
E1J3K03
IDDAT
SAP AFS
Origin
Page46
E1J3K03
DATUM
IDoc: Date
001: Purchase order date
EKKO-BEDAT
EKKO-EINDT
EKKO-EINDT
EKKO-BWBDT
EKKO-ANGDT
EKKO-IHRAN
SY-DATLO
EKKO-BNDDT
EKKO-KDATB
EKKO-KDATE
POSEX
Item Number
EKPO-EBELP
PSTYP
Item Category
EKPO-PSTYP
KZABS
EKPO-KZABS
MENGE
Quantity
EKPO-KTMNG or
EKET-MENGE
MENEE
Unit of Measure
EKPO-MEINS
BMNG2
EKPO-KTMNG
PMENE
EKPO-BPRME
BPUMN
EKPO-BPUMN
BPUMZ
EKPO-BPUMZ
ABFTZ
EKPO-ABFTZ
VPREI
Price (net)
EKPO-NETPR or KOMVKBETR
PEINH
Price Unit
EKPO-PEINH
NETWR
EKPO-NETWR o.
KOMV-KWERT
AENTW
EKPO-NETWR
NTGEW
Net Weight
EKPO-NTGEW
GEWEI
Weight Unit
EKPO-GEWEI
MATKL
EKPO-MATKL
SAP AFS
Page47
E1J3AIM
EVERS
Shipping Instruction
EKPO-EVERS
BRGEW
Total Weight
EKPO-BRGEW
VOLUM
Volume
EKPO-VOLUM
VOLEH
Volume Unit
EKPO-VOLEH
J_3APOSNR
Item Number
EKET-ETENR
J_3ASIZE
EKET-J_3ASIZE
J_4KRCAT
Requirements Category
EKET-J_4KSCAT
J_4KSCAT
Stock Category
EKET-J_4KSCAT
J_3AOBIDQF
J_3ASIZE
J_3AIDTNR
EKPO-EMATN
EKET-J_3AVEMA
EKET-J_3AVIEAN
EKET-J_3AVIEAN
EKET-J_3AUCCMR
J_3AKTEXT
EKPO-TXZ01
J_3AKRCAT
Requirements Category
J_3AKSCAT
Stock Category
E1EDPO02 QUALF
BELNR
E1EDP19
IDDAT
DATUM
IDoc: Date
QUALF
SAP AFS
EKET-J_4KSCAT
EKET-J_3ASIZE
EKET-/AFS/ALE_ID.
EKPO-J_3ADAT
EKPO-J_3ADAT
EKPO-AGDAT
EKPO-ABDAT
SY-DATLO+EKPO-ETFZ1
SY-DATLO+EKPO-ETFZ2
Page48
Logical
Message
IDoc Type
Output type
Process
Code
Purchase Order
ORDERS
/AFS/ORDERS04
NEU (new)
ME10
Outbound
Field
Explanation
E1J3K03
IDDAT
E1J3K03
DATUM
IDoc: Date
SAP AFS
Origin
EKKO-BEDAT
EKKO-EINDT
EKKO-EINDT
EKKO-BWBDT
EKKO-ANGDT
EKKO-IHRAN
SY-DATLO
Page49
EKKO-BNDDT
014: Validity start date for outline agreement or request for EKKO-KDATB
quotation
EKKO-KDATE
015: Validity end date for outline agreement or request for
quotation
E1J3P01
POSEX
Item Number
EKPO-EBELP
PSTYP
Item Category
EKPO-PSTYP
KZABS
EKPO-KZABS
MENGE
Quantity
EKPO-KTMNG or
EKET-MENGE
MENEE
Unit of Measure
EKPO-MEINS
BMNG2
EKPO-KTMNG
PMENE
EKPO-BPRME
BPUMN
EKPO-BPUMN
BPUMZ
EKPO-BPUMZ
ABFTZ
EKPO-ABFTZ
VPREI
Price (net)
EKPO-NETPR or KOMVKBETR
PEINH
Price Unit
EKPO-PEINH
NETWR
EKPO-NETWR or
KOMV-KWERT
E1J3AIM
AENTW
EKPO-NETWR
NTGEW
Net Weight
EKPO-NTGEW
GEWEI
Weight Unit
EKPO-GEWEI
MATKL
EKPO-MATKL
EVERS
Shipping Instruction
EKPO-EVERS
BRGEW
Total Weight
EKPO-BRGEW
VOLUM
Volume
EKPO-VOLUM
VOLEH
Volume Unit
EKPO-VOLEH
J_3APOSNR
Item Number
EKET-ETENR
J_3ASIZE
EKET-J_3ASIZE
J_4KRCAT
Requirements Category
EKET-J_4KSCAT
J_4KSCAT
Stock Category
EKET-J_4KSCAT
J_3AOBIDQF
J_3ASIZE
SAP AFS
EKET-J_3ASIZE
Page50
J_3AIDTNR
E1EDP02
EKPO-EMATN
EKET-J_3AVEMA
EKET-J_3AVIEAN
EKET-J_3AVIEAN
EKET-J_3AUCCMR
J_3AKTEXT
EKPO-TXZ01
J_3AKRCAT
Requirements Category
J_3AKSCAT
Stock Category
QUALF
BELNR
E1J3P03
E1EDP19
IDDAT
DATUM
IDoc: Date
QUALF
EKET-J_4KSCAT
EKET-/AFS/ALE_ID.
EKPO-J_3ADAT
EKPO-J_3ADAT
EKPO-AGDAT
EKPO-ABDAT
SY-DATLO+EKPO-ETFZ1
SY-DATLO+EKPO-ETFZ2
IDTNR
SAP AFS
Page51
Header texts
Terms of delivery
Delivery and packing information
Material text
Item texts
Dimension
Category
Output type
Process Code
Purchase Order
Change
ORDCHG
NEU (new)
ME11
Outbound
/AFS/ORDERS04
Page52
Segment
Field
Explanation
E1J3K03
IDDAT
E1J3K03
DATUM
IDoc: Date
Origin
EKKO-BEDAT
EKKO-EINDT
EKKO-EINDT
EKKO-BWBDT
EKKO-ANGDT
EKKO-IHRAN
SY-DATLO
EKKO-BNDDT
EKKO-KDATB
EKKO-KDATE
POSEX
Item Number
EKPO-EBELP
PSTYP
Item Category
EKPO-PSTYP
KZABS
EKPO-KZABS
MENGE
Quantity
EKPO-KTMNG or
EKET-MENGE
MENEE
Unit of Measure
EKPO-MEINS
BMNG2
EKPO-KTMNG
PMENE
EKPO-BPRME
BPUMN
EKPO-BPUMN
BPUMZ
EKPO-BPUMZ
ABFTZ
EKPO-ABFTZ
VPREI
Price (net)
EKPO-NETPR or KOMVKBETR
PEINH
Price Unit
EKPO-PEINH
NETWR
EKPO-NETWR or KOMVKWERT
AENTW
EKPO-NETWR
NTGEW
Net Weight
EKPO-NTGEW
GEWEI
Weight Unit
EKPO-GEWEI
SAP AFS
Page53
E1J3AIM
E1EDP02
MATKL
EKPO-MATKL
EVERS
Shipping Instruction
EKPO-EVERS
BRGEW
Total Weight
EKPO-BRGEW
VOLUM
Volume
EKPO-VOLUM
VOLEH
Volume Unit
EKPO-VOLEH
J_3APOSNR
Item Number
EKET-ETENR or EKPOAFS_POSNR
J_3ASIZE
EKET-J_3ASIZE
J_4KRCAT
Requirements Category
EKET-J_4KSCAT
J_4KSCAT
Stock Category
EKET-J_4KSCAT
J_3AOBIDQF
J_3ASIZE
J_3AIDTNR
EKPO-EMATN
EKET-J_3AVEMA
EKET-J_3AVIEAN
EKET-J_3AVIEAN
EKET-J_3AUCCMR
J_3AKTEXT
EKPO-TXZ01
J_3AKRCAT
Requirements Category
J_3AKSCAT
Stock Category
QUALF
BELNR
E1J3P03
EKET-J_3ASIZE
IDDAT
DATUM
IDoc: Date
SAP AFS
EKET-J_4KSCAT
EKET-/AFS/ALE_ID.
EKPO-J_3ADAT
EKPO-J_3ADAT
EKPO-AGDAT
EKPO-ABDAT
SY-DATLO+EKPO-ETFZ1
SY-DATLO+EKPO-ETFZ2
Page54
E1EDP19
QUALF
IDTNR
All of the available material-specific data (for example, grid value, category).
If the ALE ID, item, and schedule line are not completely available, it may not be possible to
assign a confirmation to a purchase order/item/schedule line.
In texts in the shipping notification, an ,& must be used as a placeholder for the shipping
notification number in the segment E1TXTH8.
AFS Restrictions
Order Confirmation
If schedule lines have been deleted from a purchase order, the relevant confirmation will not be
deleted in the case of ALE/EDI. You might have to delete these manually from the order.
SAP AFS
Page55
3.3.5.1
Technical
(Purchasing)
Information:
Order
Confirmation
Direction
Purchase Order
Confirmation
Inbound
ORDRSP
Output type
/AFS/ORDERS04
Process Code
ORDR
Field
Explanation
E1J3K03
IDDAT
E1J3K03
DATUM
IDoc: Date
Origin
EKKO-BEDAT
EKKO-EINDT
EKKO-EINDT
EKKO-BWBDT
EKKO-ANGDT
EKKO-IHRAN
SY-DATLO
EKKO-BNDDT
EKKO-KDATB
EKKO-KDATE
POSEX
Item Number
EKPO-EBELP
PSTYP
Item Category
EKPO-PSTYP
KZABS
EKPO-KZABS
MENGE
Quantity
EKPO-KTMNG or EKETMENGE
MENEE
Unit of Measure
EKPO-MEINS
BMNG2
EKPO-KTMNG
PMENE
EKPO-BPRME
BPUMN
EKPO-BPUMN
BPUMZ
EKPO-BPUMZ
SAP AFS
Page56
E1J3AIM
E1EDP02
ABFTZ
EKPO-ABFTZ
VPREI
Price (net)
EKPO-NETPR or KOMVKBETR
PEINH
Price Unit
EKPO-PEINH
NETWR
EKPO-NETWR or KOMVKWERT
AENTW
EKPO-NETWR
NTGEW
Net Weight
EKPO-NTGEW
GEWEI
Weight Unit
EKPO-GEWEI
MATKL
EKPO-MATKL
EVERS
Shipping Instruction
EKPO-EVERS
BRGEW
Total Weight
EKPO-BRGEW
VOLUM
Volume
EKPO-VOLUM
VOLEH
Volume Unit
EKPO-VOLEH
J_3APOSNR
Item Number
EKET-ETENR
J_3ASIZE
EKET-J_3ASIZE
J_4KRCAT
Requirements Category
EKET-J_4KSCAT
J_4KSCAT
Stock Category
EKET-J_4KSCAT
J_3AOBIDQF
J_3ASIZE
J_3AIDTNR
EKPO-EMATN
EKET-J_3AVEMA
EKET-J_3AVIEAN
EKET-J_3AVIEAN
EKET-J_3AUCCMR
J_3AKTEXT
EKPO-TXZ01
J_3AKRCAT
Requirements Category
J_3AKSCAT
Stock Category
QUALF
BELNR
E1J3P03
EKET-J_3ASIZE
IDDAT
DATUM
IDoc: Date
SAP AFS
EKET-J_4KSCAT
EKET-/AFS/ALE_ID.
Page57
E1EDP19
QUALF
EKPO-J_3ADAT
EKPO-J_3ADAT
EKPO-AGDAT
EKPO-ABDAT
SY-DATLO+EKPO-ETFZ1
SY-DATLO+EKPO-ETFZ2
IDTNR
3.3.6 Contracts
Condition category J3AV is a copy of condition category VNEU delivered in the standard
system. VNEU uses a processing program defined by SAP, whereas J3AV uses the general
processing program RSNASTED. Both condition categories are integrated in message
determination schema RMBEV1.
Direction
Output type
Process Code
Contract
Outbound
BLAORD
J3AV
/AFS/ME15
/AFS/BLAORD03
Field
Explanation
Origin
E1J3P01
POSEX
Item Number
EKPO-EBELP
PSTYP
Item Category
EKPO-PSTYP
SAP AFS
Page58
KZABS
EKPO-KZABS
MENGE
Quantity
EKPO-KTMNG or
EKET-MENGE
MENEE
Unit of Measure
EKPO-MEINS
BMNG2
EKPO-KTMNG
PMENE
EKPO-BPRME
BPUMN
EKPO-BPUMN
BPUMZ
EKPO-BPUMZ
ABFTZ
EKPO-ABFTZ
VPREI
Price (net)
EKPO-NETPR or
KOMV-KBETR
PEINH
Price Unit
EKPO-PEINH
NETWR
EKPO-NETWR or
KOMV-KWERT
AENTW
EKPO-NETWR
NTGEW
Net Weight
EKPO-NTGEW
GEWEI
Weight Unit
EKPO-GEWEI
MATKL
EKPO-MATKL
EVERS
Shipping Instruction
EKPO-EVERS
BRGEW
Total Weight
EKPO-BRGEW
VOLUM
Volume
EKPO-VOLUM
VOLEH
Volume Unit
EKPO-VOLEH
J_3APOSNR
Item Number
EKET-ETENR
J_3ASIZE
EKET-J_3ASIZE
J_4KRCAT
Requirements Category
EKET-J_4KSCAT
J_4KSCAT
Stock Category
EKET-J_4KSCAT
Page59
Output type
Process Code
BLAOCH
J3AV
/AFS/ME16
/AFS/BLAORD03
Field
Explanation
Origin
E1J3P01
POSEX
Item Number
EKPO-EBELP
PSTYP
Item Category
EKPO-PSTYP
KZABS
MENGE
Quantity
EKPO-KTMNG or
EKET-MENGE
MENEE
Unit of Measure
EKPO-MEINS
BMNG2
EKPO-KTMNG
PMENE
EKPO-BPRME
BPUMN
EKPO-BPUMN
BPUMZ
EKPO-BPUMZ
ABFTZ
EKPO-ABFTZ
VPREI
Price (net)
EKPO-NETPR or
KOMV-KBETR
PEINH
Price Unit
EKPO-PEINH
NETWR
EKPO-NETWR or
KOMV-KWERT
AENTW
EKPO-NETWR
NTGEW
Net Weight
EKPO-NTGEW
GEWEI
Weight Unit
EKPO-GEWEI
MATKL
EKPO-MATKL
EVERS
Shipping Instruction
EKPO-EVERS
BRGEW
Total Weight
EKPO-BRGEW
VOLUM
Volume
EKPO-VOLUM
VOLEH
Volume Unit
EKPO-VOLEH
J_3APOSNR
Item Number
EKET-ETENR
J_3ASIZE
EKET-J_3ASIZE
J_4KRCAT
Requirements Category
EKET-J_4KSCAT
SAP AFS
Page60
J_4KSCAT
Stock Category
EKET-J_4KSCAT
ALE ID
E1J3AI2: QUALF ("J30") BELNR(ALE-ID) or
Item
E1J3AI2: QUALF (001) J_3APOSNR (item) J_3ABELNR (document) and
J_3AETENR (schedule line)
If the ALE ID, item, and schedule line are not completely available, it may not be possible to
assign a confirmation to a purchase order/item/schedule line.
3.3.8.1
Technical
(Purchasing)
Information:
Delivery
Notification
Delivery
Notification
DESADV
Inbound
Output type
/AFS/DELVRY02
Process Code
DELS
Field
Explanation
E1J3ABH
J_3AEVRTN
J_3ABILNR
J_3ABILDT
IDoc: Date
SAP AFS
Page61
/AFS/E1EDL24
/AFS/E1J3AKG
E1J3AI2
E1J3AIM
J_3ABILTY
/AFS/LANGUA_ISO
J_3ALNGR
J_3ADEPM
Department
J_3AKVGR6
BEZEI6
Description
J_3AKVGR7
BEZEI7
Description
J_3AKVGR8
BEZEI8
Description
J_3AKVGR9
BEZEI9
Description
J_3AKVGR10
BEZEI10
Description
J_3AQFREF
J_3ABELNR
J_3APOSNR
Item Number
J_3AETENR
J_3ADATUM
Date
J_3AUZEIT
Time
J_AZUDATR
Additional data
J_3AOBIDQF
J_3ASIZE
J_3AIDTNR
E1JAIP
SAP AFS
J_3AKTEXT
J_3AKRCAT
Requirements Category
J_3AKSCAT
Stock Category
J_3ASTORE
MSO Stores
Page62
E1J3AIS
E1J3ABI
SAP AFS
J_3APTYP
J_3APMAT
J_3ACHARC
J_3AINCREM
J_3AMIXIND
J_3AFIELD1
J_3AFIELD2
J_3AFIELD3
J_3AVASPQ
Quantity
J_3AUPDKZ
Update Indicator
J_3AVASPO
J_3AVASETE
J_3ASTORE
MSO Stores
J_3ASSTYP
J_3ASSMAT
J_3ACHARC
J_3AFIELD1
J_3AFIELD2
J_3AFIELD3
J_3AVASPQ
Quantity
J_3AUPDKZ
Update Indicator
J_3AVASPO
J_3AVASETE
J_3AUPCNR
J_3AUCCNR
UCC Number
J_3ABALNR
J_3ADLNR
J_3ASHGR
Shade group
J_3APCNR
Piece number
J_3ACTNR
Cut number
J_3ASQNR
J_3AWDTH
Width
J_3ASEDE
Flag: Deltas
J_3ADERL
Page63
J_3ADERA
J_3ADERB
/AFS/LANGUA_ISO
Language ID
ALE ID
E1J3AI2: QUALF ("J30") BELNR(ALE-ID) or
Item
E1J3AI2: QUALF ("001")
J_3AETENR (schedule line)
J_3APOSNR (item)
J_3ABELNR
(document)
and
If the ALE ID, item, schedule line are not completely available, it may not be possible to assign a
confirmation to a purchase order/item/schedule line.
Technical Description of the IDoc Type
Document
Type
Direction Logical
Message
IDoc Type
Invoice
Receipt
Inbound
/AFS/INVOIC02
INVOIC
Output Type
Process
Code
INVL
SAP AFS
Page64
Segment
Field
Explanation
Origin
E1J3P01
POSEX
Item Number
EKPO-EBELP
PSTYP
Item Category
EKPO-PSTYP
KZABS
EKPO-KZABS
MENGE
Quantity
EKPO-KTMNG or
EKET-MENGE
MENEE
Unit of Measure
EKPO-MEINS
BMNG2
EKPO-KTMNG
PMENE
EKPO-BPRME
BPUMN
EKPO-BPUMN
BPUMZ
EKPO-BPUMZ
ABFTZ
EKPO-ABFTZ
VPREI
Price (net)
EKPO-NETPR or
KOMV-KBETR
PEINH
Price Unit
EKPO-PEINH
NETWR
EKPO-NETWR or
KOMV-KWERT
AENTW
EKPO-NETWR
NTGEW
Net Weight
EKPO-NTGEW
GEWEI
Weight Unit
EKPO-GEWEI
MATKL
EKPO-MATKL
EVERS
Shipping Instruction
EKPO-EVERS
BRGEW
Total Weight
EKPO-BRGEW
VOLUM
Volume
EKPO-VOLUM
VOLEH
Volume Unit
EKPO-VOLEH
J_3APOSNR
Item Number
EKET-ETENR
J_3ASIZE
EKET-J_3ASIZE
J_4KRCAT
Requirements Category
EKET-J_4KSCAT
J_4KSCAT
Stock Category
EKET-J_4KSCAT
J_3ASTORE
MSO Stores
J_3APTYP
J_3APMAT
J_3ACHARC
J_3AINCREM
E1JAIP
SAP AFS
Page65
E1J3AIS
J_3AMIXIND
J_3AFIELD1
J_3AFIELD2
J_3AFIELD3
J_3AVASPQ
Quantity
J_3AUPDKZ
Update Indicator
J_3AVASPO
J_3AVASETE
J_3ASTORE
MSO Stores
J_3ASSTYP
J_3ASSMAT
J_3ACHARC
J_3AFIELD1
J_3AFIELD2
J_3AFIELD3
J_3AVASPQ
Quantity
J_3AUPDKZ
Update Indicator
J_3AVASPO
J_3AVASETE
During the data transfer you can maintain all stock with all required data exactly as you would in
the dialog. If you use the data transfer with ALE, the data is transferred in an IDoc.
Typical application examples are:
SAP AFS
Page66
Direction
Logical
Message
IDoc type
Process Code
WMMBXY
/AFS/WMMBID02
WMMB
Explanation
E1J3XYI
LFBJA
LFBNR
MSEG-LFBNR
LFPOS
MSEG-LFPOS
J_3ASIZE
AFS grid value (required field for AFS material with MSEG-J_3ASIZE
dimensions)
J_3ABZUS
Requirements grouping
MSEG-J_3ABZUS
J_3AUANR
MSEG-J_3AUANR
J_3AUPOS
MSEG-J_3AUPOS
J_3AUEPS
MSEG-J_3AUEPS
J_4KSCAT
MSEG-J_4KSCAT
J_3AETENR
MSEG-J_3AETENR
J_3AVBELN
MSEG-J_3AVBELN
J_3APOSNR
MSEG-J_3APOSNR
J_3ALINUM
Delivery number
MSEG-J_3ALINUM
J_3ALIPOS
Delivery item
MSEG-J_3ALIPOS
J_3AUMSIZ
J_4KUMSCA
Origin
MSEG-J_4KUMSCA
MSEG-J_4KUMSCA_4
Page67
create the necessary source text for the user exit EXIT_SAPLLMDE_002, which is
included in the system enhancement MWMIDO08
You can find further information in the system enhancement MWMIDO08 and
user exit documentation.
Page68
You can use the new AFS IDoc type to create AFS material BOMs. Only material BOMs are
created. AFS does not currently support changing and deleting BOMs.
Mapping of Grid Values
Using ALE, grid values are mapped in the same way as in the dialog
transaction.
Mapping of Categories
Using ALE, categories are mapped in the same way as in the dialog
transaction.
Direction
Logical
Message
IDoc Type
Process Code
Bill of material
Inbound
J3ABOM
J3ABOM01
J3AP
Field
Explanation
Origin
E1J3ABG
MSGFN
Function
No processing
J_3APGNR
J_3ABOMD-J_3APGNR
J_3AKORDX
Grid value
J_3ABOMD-J_3AKORDX
E1J3ABC
J_3ABOMDJ_3AKORDXL
MEINS
Unit of Measure
J_3ABOMD-MEINS
MENGE
Quantity
J_3ABOMD-MENGE
J_3AZFLG
Quantity is zero
J_3ABOMD-J_3AZFLG
MSGFN
Function
No processing
J_4KSCAT
Stock Category
J_4KBOMC-J_4KSCAT
J_4KKZEXCL
Categories: excluding
indicators
J_4KBOMC-J_4KKZEXCL
J_4KKZINCL
Categories: including
indicators
J_4KBOMC-J_4KKZINCL
ALE
When data is transferred using Application Link Enabling (ALE), it is subject to the same checks
as in dialog.
If a logical error caused by BOM maintenance occurs when the IDoc is processed, the system
terminates the corresponding maintenance transaction and the IDoc receives the
status incorrect. If no logical error occurs, the IDoc receives the status successful.
SAP AFS
Page69
For IDocs with the status incorrect or successful, the status record receives the messages that
were issued during processing. After the logical errors have been resolved, you can reprocess
the corresponding IDocs.
You can find information on troubleshooting and resolution of technical errors in the ALE
documentation. To find errors, you should first check the settings that you have made in
Customizing for Distribution (ALE).
Customer Enhancements (User Exits)
Using the following user exits, you can enhance the BOM creation function by adding your own
table fields. The data in the user-defined fields can also be processed using ALE.
In order to process user-defined data using ALE, you need to:
create the required source text for user exit EXIT_SAPLJ4AI_003 contained in system
enhancement J_3ABOM
create a new IDoc segment
Logical Message
IDoc Type
Operation code
Inbound and
Outbound
/AFS/DISREQ
/AFS/DISREQ01
/AFS/DISREQ
AFS-Specific Fields
Segment
Field
Explanation
Origin
/AFS/E1DR_HDR
STYPE
Value determined by
generation program
SPROF
Distribution Profile
J_3APLPR-PROFP or
J_3ACAPR-PROFC or
J_3AGRPR-PROFG or
J_3APEPR-PROFT
SAP AFS
Page70
MATNR
Material
J_3APLPR-MATNR or
J_3ACAPR-MATNR or
J_3AGRPR-MATNR or
J_3APEPR-MATNR
/AFS/E1DR_TEXT
SP_M_DESCR
LANGU_ISO
MAKT-MAKTX or
MAKT-SPRAS or
J_3ASPRT-SPRTX
J_3ASPRT-SPRAS
/AFS/E1DR_OVR
SPRTP
Profile Category
Value determined by
generation program
WERKS
Plant
J_3ACAPR-WERKS or
J_3AGRPR-WERKS or
J_3APEPR-WERKS
RCATE
Requirements Category
J_3AGRPR-RCATE or
J_3APEPR-RCATE
SEASO
J_3APLPR-SEASO or
J_3ACAPR-SEASO or
J_3AGRPR-SEASO or
J_3APEPR-SEASO
VERSB
J_3APLPR-VERSB or
J_3ACAPR-VERSB or
J_3AGRPR-VERSB or
J_3APEPR-VERSB
PRGRS
J_3APEPR-ENTLI
ENTLUE
Period Indicator
J_3APEPR-ENTLI
converted with table TPRG
COVST
Coverage Strategy
J_3ACAPR-COVST
MARA-J_3APGNR or
/AFS/E1DR_PGHD J_3APGNR
J_3ASPR-MGRID
SAP AFS
J_3AVDAT
J_3AGRPR-VDATE
J_3ABZD1
J_3APGHD-J_3ABZD1
J_3ABZD2
J_3APGHD-J_3ABZD2
Page71
J_3ABZD3
/AFS/E1DR_PLPR
J_3APGHD-J_3ABZD3
J_3APGHD-J_3ABZD1
J_3APGHD-J_3ABZD2
J_3APGHD-J_3ABZD3
WERKS
Plant
J_3APLPR-WERKS
FLWEI
J_3APLPR-FLWEI
PERCE
Value determined by
generation program
SISQU
J_3APLPR-SISQU
ISOCODE_UNIT
J_3APLPR-MEINS
Requirements Category
Function:
J_4KG_GET_VALID_CAT
/AFS/E1DR_CAPR RCATE
Parameter:
J_3ACAPR-WERKS,
J_3ACAPR-COVST,
R and PRC
FLWEI
J_3ACAPR-FLWEI
PERCE
Value determined by
generation program
SISQU
J_3ACAPR-SISQU
ISOCODE_UNIT
J_3ACAPR-MEINS
Grid value
J_3APGEN-J_3AKORDX
J_3AKORD1
J_3APGEN-J_3AKORD1
J_3AKORD2
J_3APGEN-J_3AKORD2
J_3AKORD3
J_3APGEN-J_3AKORD3
FLWEI
J_3AGRPR-FLWEI
PERCE
Value determined by
generation program
SISQU
J_3AGRPR-SISQU
ISOCODE_UNIT
J_3AGRPR-MEINS
Period Part
J_3APEPR-PPART
FLWEI
J_3APEPR-FLWEI
PERCE
Value determined by
generation program
SISQU
J_3APEPR-SISQU
/AFS/E1DR_GRPR J_3AKORDX
/AFS/E1DR_PEPR PPART
SAP AFS
Page72
ISOCODE_UNIT
/AFS/E1DR_DITX
J_3ABZD1_NEW
J_3APEPR-MEINS
J_3APGHD-J_3ABZD1 or
J_3APGHD-J_3ABZD2 or
J_3APGHD-J_3ABZD3
J_3ABEZT
J_3ADITY-J_3ABEZT
LANGU_ISO
J_3ADITY-J_3ASPRA
Material number
WERKS
Plant
IDPL
Indicator: Distribution of
Requirements to Plants
Value determined by
generation program
IDCA
Indicator: Distribution of
Requirements to Categories
Value determined by
generation program
IDGR
Indicator: Distribution of
Requirements to Grid Values
Value determined by
generation program
IDPE
Indicator: Distribution of
Requirements to Periods
Value determined by
generation program
MSGFN
Function
No processing
SPRAS
Language Key
MAKT-SPRAS
MAKTX
MAKT-MAKTX
SPRAS_ISO
MAKT-SPRAS
WERKS
Plant
J_3ASEAS-WERKS
SEASO
J_3ASEAS-SEASO
NPERI
Number of Occurrence
J_3ASEAS-NPERI
DATE_FROM
J_3ASEAS-DATE1
DATE_TO
J_3ASEAS-DATE2
PRGRS
J_3APEPR-ENTLI
PRGBZ
TPRG-PRGBZ
PRGTX
TPRG-PRGTX
PRITX
TPRG-PRITX
LANGU_ISO
TPRG-SPRAS
/AFS/E1DR_USED MATNR
E1MAKTM
/AFS/E1DR_SEAS
/AFS/E1DR_PRG
Remember that there are seven user exits for the IDoc /AFS/DISREQ01. You can find a
description of these user exits in the enhancement J_3ADREQ. To see the relevant
documentation, call transaction SMOD.
SAP AFS
Page73
Overview: The AFS IDoc type can be used to create AFS confirmations.
Mapping grid values: The mapping of the grid values using ALE works the same as in
the dialog transaction.
Logical Message
IDoc type
Process Code
Confirmation
CONF21
/AFS/CONF21
CON2
Inbound
Field
Explanation
Origin
/AFS/RUECKJ_3ASIZE
J_3AMKID
/AFS/RUECKJ_3AMKID
J_3AMKNR
Marker number
/AFS/RUECKJ_3AMKNR
J_3AMSECT
Marker section
/AFS/RUECKJ_3AMSECT
J_3ALMNGA
/AFS/RUECKJ_3ALMNGA
/AFS/E1MARKER J_3ASIZE
SAP AFS
/AFS/RUECKJ_3AXMNGA
J_3AMEINH
/AFS/RUECKJ_3AMEINH
Unit of Measure
Page74
For technical reasons, you are required to use unique marker indicators for each size for
production orders that were created with markers. (The marker indicators are created based on
the field contents of the marker ID, marker number and marker section.) If this is not done, the
data record cannot be uniquely identified in the database.
The reason for this is that the markers in the production order are identified internally using a
sequence number. In the case of the IDocs, however, only the user ID can be used.
ALE
When data is transferred using Application Link Enabling (ALE), it is subject to the same checks
as in the dialog.
If a logical error caused by confirmation maintenance occurs when processing the IDoc, the
system terminates the corresponding maintenance transaction and the IDoc receives the
status incorrect. If no logical error occurs, the IDoc receives the status successful.
For IDocs with the status incorrect or successful, the status record receives the messages that
were issued during processing. After the logical errors have been resolved, you can reprocess
the corresponding IDocs.
You can find information on troubleshooting and resolution of technical errors in the ALE
documentation. To find errors, you should first check the settings that you have made in
Customizing for Distribution (ALE).
Note that the PDC data records should be posted later to ensure that this is done efficiently.
This can be done manually using the menu option or automatically in a batch job. You can
configure your system via Customizing settings to ensure that the data records are posted
immediately. We would recommend, however, that you do not do this to ensure that data and
performance are not negatively affected. IDoc handling only creates the data records. You must
process errors that occur when posting is done subsequently, using the error handling function
for confirmations.
Logical Message
IDoc Type
WMTORD
WMTREQ
WMTRID01
WMTOCO
WMTCID02
WMCATO
WMCAID01
WMINVE
WMIVID01
Page75
Before using WM IDocs, ensure that each batch is assigned to a grid value and a category
(SKU). In all inbound IDocs, the batch number is a required field and must be transferred in the
IDoc.
AFS tables
MARA
J_3AQDST
J_3AMSEA
SAP AFS
Page76
J_3AGMD
MARC
J_3AMAD
J_3AMADKA
J_3ATRAME
For application-specific information on archiving, please see the SAP library under CrossApplication Components Archiving Application Data, then the relevant application area, for
example, Logistics General (LO) or Materials Management (MM).
For general information on archiving, visit the SAP Marketplace at http://sapnet.sap.com/dataarchiving.
J_3AMSO
J_3AVBUE
J_3AVBFAE
With application V1
J_3AVATL
J_3AVAP
J_3AVATLX
J_3AVASSO
J_3AVBFAE
With application V3
J_3AVATL
J_3AVAP
SAP AFS
Page77
J_3AVATLX
J_3AVASSO
J_3AVAP
J_3AVATLX
J_3AVASSO
J_3ABDSI
J_3AWESBS
J_4AFLELKPO
Page78
J_3ABSSI
J_3ABDSI
J_3AMSEA
MARC
J_3AMAD
J_3AMADKA
J_3ATRAME
MLGN
/AFS/MLGN1
/AFS/MLGN2
/AFS/MLGN3
MLGT
/AFS/MLGT
MVKE
/AFS/MVKE
MARM
/AFS/MARM
SAP AFS
Page79
Operations (AFW)
Reservations (RESB)
Routings (PLKO)
BOMs (STKO/STPO)
J_3ABUNDL
AFRU (confirmation)
J_3ABUAFRU
AFVV (operation)
J_3ABUAFVV
RESB (reservation)
J_3AFSRESB
J_3ABDSI
SAP AFS
Page80
J_4KPLKOC
AFS categories
J_4KBOMC
Grid header
J_3APGEN
Grid items
J_3APGTX
Programs
J_3AGRIA
Archive grids
J_3AGRID
Delete grids
J_3AGRIR
Reload grids
The above programs provide detailed documentation on the scope of functions in grid archiving
and how to carry it out.
SAP AFS
Page81
5. Mapping
The aim of mapping is to arrive at the most accurate distribution profiles for a material or set of
materials based on historical sales data. In the AFS system mapping means to copy SKU data
with quantities and periods from SIS into distribution profiles. The system uses the total
quantities for certain SIS data to calculate the corresponding ratios in the distribution profiles.
Mapping enables you to create an accurate distribution profile based on any desired
combination of SIS data for materials, plants, categories, grid values and periods.
Features
You can save the information about which source criteria you want to base a distribution profile
on in variants and any particular emphasis of certain criteria inmapping profiles.
The S430 info structure has been enhanced with SKU fields.
When defining the periods for the SIS source data you can use presizing validity
periods or enter time intervals.
You can also set up mapping to run as a batch job by creating a variant in MultiProfile Mapping.
When maintaining distribution of requirement versions you must also take into
account that they determine which SIS interface variant is used in mapping.
Procedure
There are two main transactions to carry out mapping:
You can use the SIS interface in distribution profile maintenance for single profile
mapping. If you access mapping from distribution profile maintenance you can only copy
the SIS data to that particular distribution profile version and context which you are
maintaining, such as distribution profile periods-00001version 00 for periods in
plant 0002.
You can use Multi-Profile Mapping for mass processing to compute all of the relevant
distribution profiles for multiple materials according to all 4 criteria at once.
Prerequisites
You must set up SIS and record sales quantities to use as a source.
You must have created a distribution profile for the target material or grid, made an entry
and saved. When mapping you overwrite any entries in distribution profile.
Source Plant
Percentage
0011
0001
105%
0012
0002
100%
SAP AFS
Page82
The system reads the actual SIS quantities for plants 0001 and 0002 and then adds 5% to 0001
and then copies the ratio to the distribution profile for plants 0011 and 0012.
You can base a distribution profile for plants (winter-plants) on the SIS quantities for all
materials during a certain period from the previous year and emphasize the quantities found for
plant 0002 by 10% and reduce 0003 by 10% in the plant mapping profile (plant 0001 - 100%,
plant 0002 - 110%, plant 0003 - 90%).
You only need mapping profiles when there is not a one-to-one relationship between the data in
SIS and in the distribution profile. That is, for example, if you have the same grid values for the
source material in SIS and the target material, you do not need to define a mapping profile for
grid values. The system only needs a mapping profile to define any deviations in the
relationships between characteristics to map.
The goal of mapping to arrive at a ratio between certain criteria for the distribution profiles. If you
create new grid values or plants there is no way to base the new ratio on the old. You must run
mapping for all old values and then manually define how the new values such as plants or grid
values appear in relation to the others in the distribution profiles.
Grid Value Mapping Profile
White is a new grid value and is to be based on red.
Target Grid Value
Percentage
Blue
Blue
100%
Green
Green
100%
Red
Red
100%
White
Red
100%
SIS Quantities
Profile
Blue
1000
Blue
1000
25%
Green
1000
Green
1000
25%
Red
1000
Red
1000
25%
White
1000
25%
Period selection data for the source must be maintained completely. If a validity period
is not found in the reference mapping profile, no data will be selected.
Names of mapping profiles are unrelated to the names of distribution profiles.
You cannot have differing grids for the source and target material, but you can have grid
values in the target which differ from the grid values in the same grid in the source.
You cannot assign categories in one coverage strategy to one in another coverage
strategy.
SAP AFS
Page83
To carry out mapping, you can use the SIS Interface from the distribution profile maintenance or
use the Multi-Profile Mapping for mass processing. The latter gives you the option of carrying
out mapping for multiple distribution profiles simultaneously. This is useful when updating
mapping regularly. To use this function, you need to select the mapping criteria as to whether
mapping is to be based on materials or grids and the distribution of requirements version. The
distribution of requirements version contains all important data on the source and targets. In this
mass calculation transaction, you enter the distribution profile version that the system uses to
determine the mapping variants (AFS Customizing). The system then uses these mapping
variants to determine the relevant mapping profile and target distribution profiles. You must
maintain the distribution of requirements versions and profiles in order to carry out this
transaction.
The figure below shows the relationship between the individual objects in the mapping process:
The main difference between using mass processing to perform mapping and using the SIS
Interface from distribution profile maintenance is that in the mass processing screen, the
distribution profile version determines the target distribution profiles, and in individual mapping
you enter the target information when maintaining the distribution profile to be mapped.
For more information on the distribution of requirements versions, see Mapping and the IMG
text for SIS in AFS Customizing.
SAP AFS
Page84
6. Distribution Profile
Distribution profiles are templates, which you can, for example, apply to materials when trying to
determine the SKU data for a material quickly and easily. If you have a quantity for an AFS
material and want to specify the SKU data for a purchase order, for example, you can carry out
presizing based on distribution profiles to speed up the process and maintain accuracy. You
can create distribution profiles based on historical data by using mapping. Distribution profiles
are either material-dependent or material-independent. You can manage distribution profiles for
the ratio of an AFS material in multiple plants according to the validity period and version. You
can only use distribution profiles for plants, categories and periods in conjunction with AFS
planned independent requirements.
The system offers the following levels for maintaining distribution profiles:
Plants
Version
Validity Period
Categories
Plants
SAP AFS
Validity Period
Version
Page85
Grid values
Plants
Validity Period
Version
Category
Periods
Plants
Validity Period
Version
Category
Period Part
You can manage distribution profiles at client or material level. That is, you define which
distribution profile the system is to use by defining which distribution profiles are valid for a
particular plant and category, for example, and which are valid for the entire client if no specific
plant version exists.
In a distribution profile, you determine a relationship for a particular AFS material or set of
materials with the same grid between multiple
Plants
Categories
Periods
Grid values
After carrying out presizing and copying a quantity from material level to SKU level in an
application such as the purchase order, you can make manual changes to the quantity.
Presizing describes how to bring a quantity from material level to SKU level, based on the
relevant distribution profiles but does not prevent you from making exceptions and overriding
the quantities at SKU level after presizing has run. The distribution profile is therefore only a
template for breaking down material quantities to SKU level. You can also make changes to the
distribution profiles themselves at any time and at any level.
Distribution profile versions also play a decisive role in mapping.
Prerequisites
You must create valid versions and validity periods for distribution profiles in AFS Customizing.
Features
You can maintain default distribution profile versions for presizing to access the following three
levels (material level has the highest priority and client level the lowest):
Material Master and Plant Level AFS MRP view
You can override the default distribution profile when accessing presizing from planned
independent requirements maintenance. You cannot override the default distribution profile in
Purchasing.
By accessing Input Help for material-independent distribution profiles, you gain an overview of
which profiles have been maintained for categories, grid values and so on.
7. Presizing
Various forms of presizing are supported in the following areas:
SAP AFS
Page86
SD sales orders
Periods
Grid values
This can be done without distribution profiles or increasing certain factors, for example,
categories, grid values or periods.
When you carry out presizing, the system searches for the relevant distribution profile based on
the plant and category for one or more materials, recalculates the quantities based on the
distribution profile, then rounds all values according to the settings. From the maintenance
transaction for the planned independent requirements, you can manually choose a rounding
strategy, distribution profile per factor and target period, for example, when running presizing in
the system. If no corresponding distribution profile version is determined for a factor, the
requirements are evenly distributed for the valid factor (for example, plant, category, period and
grid value). When running presizing in your system, you can also change the requirement
quantities by using all four factors at the same time. You can determine different distribution
profile versions for each individual factor.
You can copy requirements to new versions of the planned independent requirements as soon
as presizing has been run in the system. Alternatively, you can replace existing versions. You
can also work with requirement plans.
Presizing for Single or Multiple Materials
There are two main methods for running presizing for planned independent requirements. You
can access presizing from planned independent requirements maintenance, or carry out
presizing for multiple materials.
You can use distribution profiles to define customers purchasing behavior, for example. If
customers usually purchase more goods at the end of the week, you can define the distribution
profile to put more weigh on delivery dates at the end of the week or you can distribute more
quantities to a certain plant or category.
Planned Independent Requirement Versions
You can maintain different versions of planned independent requirements and run presizing for
all versions together or for each version separately.
Prerequisites
You have to assign a default distribution version for all applications that use presizing. The
default version can be assigned at client or plant level (in Customizing) or in the material master
record.
Example: Presizing for Planned Independent Requirements for Plants
SAP AFS
Page87
In this example, you define a distribution profile to define the requirements for individual plants.
When you carry out presizing in the maintenance function for planned independent
requirements, you must define the plants and categories. You can, however, choose if you also
want to run presizing for grid values and periods.
8.
Categories
AFS materials are based on a large volume of data. To order this data volume, AFS uses
categories. Categories are used to logically segment materials. You can enter a specific
schedule line for a material per grid value. You can distinguish a material by color and size, for
example. Using categories you can also order the grid values at different quality levels,
customer segments, and countries of origin.
SAP AFS
Page88
Features
There are two types of categories:
Requirements categories
Stock categories
Requirements categories are important in Sales, for example in sales orders, planned
independent requirements, and dependent requirements.
You can subdivide your requirements into the following criteria: quality and customer segment.
Incoming requirements, for example sales orders, are divided by the requested quality 001, 002,
or 003, and by customer segment A, B, or C.
Stock categories are used for the logical distribution of the existing and planned stock.
Therefore stock categories are assigned both to the physical stock and the procurement
proposals, such as planned orders, production orders, purchase requisitions, and purchase
orders.
You segment your stock by the same criteria as the requirement, by quality and country of
origin, for example. You subdivide your stock into different quality levels 001, 002 or 003 and
into countries of origin, for example, Australia, Canada, and Germany.
The categories influence the entire logistic chain. You can include or exclude components in the
bill of material or processes from routing on the basis of categories.
The difference between grid values and categories should be emphasized at this point. You
assign a certain grid to a material in the material master. The grid values defined here are
assigned to this material and do not change during the entire logistic process.
You assign categories to a material using the category 'structure' and the Coverage Strategy in
the material master. Within the coverage strategy you define the sequence in which the stock
categories satisfy the requirements categories. Depending on availability, the system assigns
different stock categories to the requirements categories in the defined sequence, meaning that
the category can change in the logistic process.
SAP AFS
Page89
For internally and externally procured materials during the planning run. That means
during the creation of planned orders and purchase requisitions.
For their components. That is, the dependent requirements and the fulfillment of those
requirements.
For the consumption of the planned independent requirements by means of the actual
customer requirements during the planning run.
Features
During the planning run, the system determines which requirement categories can be covered
by which stock categories. You can specify a certain sequence for the above mentioned stock
and requirements elements and their MRP-relevant procedures.
For example, you determine the following sequence for your categories using your coverage
strategy: You receive a requirement, such as a sales order, for category 001A. Category 001A
includes the following information: The customer requesting the requirement belongs to your
customer segment A. This customer has a requirement for quality 1 (which is the best quality).
Using the coverage strategy, you define that this customer will receive the requested category
first if you have the category in stock. If the requested category is not in stock, you decide that
the customer will then receive the next lower quality.
Using the coverage strategy, you can uniquely assign the stock to the requirement in the MRP
run. You can read the status of the assignment of the requirements categories to the stock
categories after a planning run in the MRP list using the MRP status.
SAP AFS
Page90
For example, the MRP status T (temporary) means that a requirements category is temporarily
assigned to a stock category. A sales order that arrives later and is subject to an earlier
requirements date than the sales order that has already been planned, can be reassigned to the
already planned stock. The assignment of a requirements category to a stock category is not
fixed until after the allocation run. This requirement is then open for the delivery.
You define your coverage strategy in Customizing. You assign the coverage strategy to a
material in the material master in the AFS Basic Dataview at client level. If you set the AFS
status, no other coverage strategy can be assigned to this material.
9. Material Grids
You use material grids to determine the characteristic values in which you carry a material within
the entire logistics. The mapping of your AFS materials in the form of grid values simplifies the
maintenance of large volumes of data.
Features
This is a basic enhancement of the material master that affects the entire chain of logistics. AFS
materials are processed and valuated using their grid data in:
Page91
Prerequisites
You have defined characteristics by going to the SAP Easy Access screen for
characteristics
and
choosing Cross-Application
Components Classification
System Master Data Characteristics (Transaction CT04) and assigned them
characteristic values.
Features
Grid structure
You determine the structure of your grids in the AFS system using dimensions. A maximum of
three dimensions is allowed of which the total length must not exceed eight characters. You
form grid values using a combination of individual dimension values
For your material jeans which you carry in various colors, (waist) sizes, and lengths, you create
a three-dimensional grid from the dimensions color, size, and length. In the header lines of your
grid you enter the individual dimension values that are relevant for your material - color shades,
individual sizes, and different lengths. By combining these dimension values, you enter the grid
values of your material. A valid grid value of your jeans could in this case be RED3432.
Grids in the Application
Using the one time assignment of a master grid to a material, you specify the grid values in
which this material can occur. This assignment applies as long as you carry your material.
The actual control of your material takes place via grids. You can thus maintain sales and
purchasing related condition records, for example, using master grids and application grids.
Using the application grids you can also specify which grid values you want to have in stock or
sell in which season.
You specify the valid application grids for your material depending on the master grid for the
material. In contrast to the master grid, you can replace the application grids of your material
with other ones. Only grids that are based on the master grid of the material are permitted. You
enter the reference between application grids and materials via grid control data.
Grid views
Grid values for AFS materials are entered, maintained, and processed in logistical processes
such as MRP, sales order processing, and others using two views:
In the line entry view the system lists the grid values vertically from top to bottom. You
can determine which values are listed at the top by defining sorting sequences for the
individual dimension values. For example, you use this view for the availability check.
In the grid entry view, the system shows the grid values in the pattern, that is, how you
have combined them in the grid maintenance. For example, you use this view to enter
quantities in the sales order.
Activities
To create grids, go to the SAP Easy
Functions Grids Material Grid Create
Access screen
and
choose AFS
Central
Page92
1.
2.
3.
You can add grid values to the master grid any time. These values then apply for all referenced
materials.
For each dimension you can also specify (and change any time):
Which ranking it has in the sorting sequence of the line entry screen
Whether you want all dimension values to be displayed in the grid entry or only the valid
ones
SAP AFS
Page93
Changes in the master grid also affect all application grids that refer to the master grid
You decide to create your material with the master grid displayed in the above graphic and
include gray as well. You add the color gray to the master grid as an additional dimension value
and enter additional grid values. The system automatically updates all dependent application
grids, but does not transfer the new combinations of grid values. You can decide in which
application grids you want to permit the new grid values.
Application
Application grids allow you to coordinate and plan the purchasing and sale of materials.
You want to wait to sell your material until you have purchased sufficient stock. You do this by
assigning the material a purchasing grid whose validity corresponds to the time period that you
have planned for the purchasing. You also enter a sales grid for this material and make it valid
for the time period during which you want to sell the material.
The validity periods of the two grids can overlap in this case. If you want a material to be
discontinued, for example, you can extend the validity of the sales grid over that of the purchase
grid. You thus ensure that the remaining stock continues to be available for sale, but that
purchasing does not replenish the material.
The connection between material and application grids is variable, unlike the master grid, which
is a fixed component of the basic data of your AFS material and which you must enter when you
create an AFS material in order to be able to work with the material. You can assign sales or
purchasing grids to a material, but you do not have to. You can also undo or change a
connection any time.
You create a relationship between application grids and a material by using the Condition
Technique for Creating Grid Control Data. Here you specify the period for which you want a
purchasing or sales grid to be valid for a certain material. You can also restrict the validity of the
application grid according to criteria of your choice (for example, sales organization and sales
area).
You can also enter additional information for purchasing and sales.
You know that customer A never requests variants of size XS of your material Y with the master
grid in the above graphic. For this case you can create a sales grid in which you exclude all the
grid values combined with XS. Using the grid control data SD, you condition the sales grid within
the relevant sales area for customer A and material Y. When creating an order for this customer,
the system only offers you the grid values for material Y that you have permitted in the sales
grid.
SAP AFS
Page94
Grid control data for master grids are normally valid at material level. As soon as you have
specified control data for a master grid, and the grid has been assigned to a material, the control
data for the master grid is also valid for the material. The master grid and the grid control data
for the material are valid for all plants.
A number of different key combinations are available for the condition types for maintaining grid
control data for the application grids. You use the key combinations to determine the area of
validity of your grid control data.
You can define grid control data for Sales, for example, according to a key combination Service
Area - Customer - Material. This is useful if one of your customers always orders particular grid
values of this material.
If you use a material in different service areas but only sell certain grid values of the material
according to the service area, you can create grid control data on the basis of a key combination
Service Area - Master Grid. Here you can enter a service grid containing the material grid values
in which the material exists in this service area. Only these grid values are permitted during
order entry.
Activities
In AFS purchasing or sales Customizing, check whether the existing settings for grid
determination meet the requirements of your company. Make new settings if required.
You can maintain grid control data from the AFS application menu
SAP AFS
Page95
SAP AFS
Page96
By changing the sort sequence in the master grid you can sort the grid values according to the
second dimension, which in this example is size.
SAP AFS
Page97
Which application grids are dependent on a master grid or vice versa which master
grid belongs to an application grid
Features
Report: Usage of Master Grids in the Material Master
Using this report you get an evaluation showing you the materials for which you have used the
master grids you entered in your selection.
Report: Dependency between Master and Application Grids
Using this report you get:
All dependent application grids for the master grids you entered in your selection
All superior master grids for the application grids you entered in your selection
You can make your selection in one evaluation using master and application grids at the same
time. In this case you get a report in two parts. The application grids appear on the left, and the
master grids on the right. The application grids are highlighted on the right in the first part of the
report; the master grids are highlighted on the left in the second part. If you want information on
certain interdependencies, this division makes the results list easier to use.
Report: Display of Changes in Material Grids
Using this report you can display the changes you have made to grids. You only get results for
grids for which you have explicitly entered in the grid maintenance that you want the system to
log future changes.
With this report you can find out when you added or removed grid values, and with which
dimension values you combined them.
Customer/Vendor
ID
You can define a customer/vendor ID in Customizing: Logistics General AFS
SAP AFS
Page98
User
ID
You can define a user ID by selecting System User profiles Own Data. On
the Parameter tabstrip, enter J31 in the Parameter column and a user ID consisting of
up to three characters in the Value column.
User Parameters
Description
J31
Defines a user ID
J35
/AFS/No_size_conv
User ID
Sequence
1
2
3
4
Base Values
If the system cannot determine any conversion types defined by you, it uses conversion
type SY Base Values. The grid values are then displayed exactly as they were created in the
system. You can also select conversion type SY Base Values manually to enter grid values for
which conversion into a different conversion type has not been fully maintained.
If you create and process new material grids, always use the base values and do not work with
converted values.
Selection Screen: Document Conversion Type
In every AFS program with dimension conversion you can display a list containing all relevant
conversion types by selecting
Base Values and
All Conversion Types. You can then
choose a different conversion type from the default conversion type.
For example, if you use user ID 01 to process a document for customer C1, the system only
displays the conversion types to which:
SAP AFS
Page99
The system highlights the conversion types assigned user ID 01 and customer ID C1.
Prerequisites
To be able to use dimension value conversion, you must:
1. Activate conversion in the material grid:
a. Select Logistics AFS Central Functions Grids Material Grid Change.
b.
Enter the material grid number and the validity date and confirm your entries by
choosing Continue.
c.
Select the Grid Value Conversion indicator and save your changes.
2. In Customizing, define and update the user, customer/vendor or material IDs (only for
item-specific conversion).
3. Define the conversion types in Customizing.
4. Make a clear assignment of base values to conversion values for each conversion type.
You can also make these assignments using a special function in Customizing. To do
this, select Check Conversion.
Features
Current Grid Value Display
To see how a specific grid value has been converted, what the base value is, and which criteria
have been used to determine the conversion type, select a grid value in the line display for the
LMW detail screen, then choose
Document Conversion Type. The system documents the
conversion type and the grid value at the time at which it was first created, meaning that the
user can always check the conversion type used in a specific conversion and how the grid value
was originally created.
If you change a document with converted grid values, the system determines the conversion
type again and does not automatically display the original conversion type. If you can select a
grid value and choose
Document Conversion Type, you can display the conversion type
used when the document or item was created.
SAP AFS
Page100
Item-based dimension value conversion is inactive if you have set up a document conversion
type. You can switch off the document-based conversion method completely in the user
parameters.
User Parameters
Description
/AFS/No_Auto_Convtyp
The system uses the following logic to determine the conversion type for the dimension value
conversion where a material ID is used:
Material ID
Customer/vendor ID
User ID Sequence
Material Conversion ID
The material conversion ID is a key that links the material with a conversion type. You can
create a material conversion ID and then use it for multiple materials for which you want to
convert dimension values.
You can enter the material conversion ID in the screen AFS Basic Data in the material master.
You cannot enter the material conversion ID when you are creating new materials. However, if
material conversion ID were already entered before the upgrade to this release, it would still
work.
AFS recommends using document-based conversion as this involves less maintenance and
ensures that all conversion entries are maintained consistently.
SAP AFS
Page101
The AFS Basic Data view has also been enhanced for the Retail data. You can assign the
merchandise category to the AFS material, which is used while creating articles in Retail by
doing the AFS material transfer to Retail.
Features
In addition to the additional views, AFS has also added direct input capabilities and an
EAN/UPC number generation program specifically for AFS materials.
You can also control AFS warning messages by industry to warn the user that they are creating
either a standard material or an AFS material in a certain industry. This is useful if you want to
only create AFS materials in one industry and only standard materials in another. Refer to
Customizing for more information about setting up the AFS warning messages.
Converting Standard Materials to AFS Materials
With this function you can convert an AFS material to a standard material and vice versa, as
long as the material has not been used in any documents, nor has any basic data been
maintained for this material, such as a BOM or routing. You can convert materials to AFS or
standard at material level or you can set AFS MRP at plant level and run the program in
simulation mode or update mode.
Activities
All AFS specific data at material level, plant level, and sales organization level can be
transferred using structure BMMH1. The following transfer structures are available for AFS data
at SKU level and quota categories:
SAP AFS
Page102
SAP AFS
Structure
Description
Record type
J_3ADI1
Quota categories
J_3ADI2
J_3ADI3
Season
J_3ADI5
/AFS/DI6
/AFS/DI7
/AFS/DI8
/AFS/DI9
/AFS/DI12
/AFS/DI13
Page103