Académique Documents
Professionnel Documents
Culture Documents
Meaning:
N
C
R
D
M
New
Change
Delete reservation
Delete
Goods movement
Content:
Mapping Table for APO R/3 integration................................................................................................ 1
1. Master data.................................................................................................................................. 4
2. Transaction Data.......................................................................................................................... 5
3. Location....................................................................................................................................... 6
Location: Customer.................................................................................................................. 6
Location: Customer Description............................................................................................ 6
Location: Supplier.................................................................................................................... 7
Location: Supplier Description................................................................................................ 7
Location: Plant.......................................................................................................................... 8
Location: Plant Description..................................................................................................... 8
4. Product........................................................................................................................................ 9
Product: Global Data............................................................................................................... 9
Product: Description data..................................................................................................... 10
Product: Unit Conversion data............................................................................................. 11
5. Product Location........................................................................................................................ 12
Product Location: General data.............................................................................................. 12
Product Location: Lot size data.............................................................................................. 14
Product Location: Demand profile data.................................................................................16
6. Product allocation...................................................................................................................... 17
7. Resource................................................................................................................................... 18
Resource: Capacity ID............................................................................................................. 18
Resource: Resource Data........................................................................................................ 18
8. Stock.......................................................................................................................................... 20
Stock: Storage Location ......................................................................................................... 20
Stock: Batch Stock ................................................................................................................. 20
Stock: Consignment Stock for Suppliers ..............................................................................21
Stock: Customers' Special Stock ........................................................................................... 21
Stock: Suppliers' Special Stocks ........................................................................................... 22
Stock: Project Stock ............................................................................................................... 22
Stock: Customer Order Stock ................................................................................................ 23
9. Purchase Requisition................................................................................................................. 24
10. Purchase Order......................................................................................................................... 26
11. Sales Order................................................................................................................................ 28
Sales order: Requirement........................................................................................................ 28
Sales order: Important document fields.................................................................................29
Sales order: Table of additional document fields..................................................................31
12. Production Order....................................................................................................................... 32
Production Order: Order Header............................................................................................. 32
Production Order: Order Operations......................................................................................33
Production Order: Capacity Requirement, Operations..........................................................35
Production Order: Input nodes............................................................................................... 36
Production Order: Output nodes............................................................................................ 38
Production Order: Operation Relationships..........................................................................40
13. Planned Order........................................................................................................................... 42
Planned Order: Order Header.................................................................................................. 42
Planned Order: Input nodes.................................................................................................... 43
Planned Order: Output nodes................................................................................................. 45
1. Master data
The relevant master data fields for data upload from R/3 to APO :
Category
R/3
Name
Location Customer
Plant
T001W
Vendor
LFA1
Material
Storage
Location
Material
Resource
Capacity
PPM
Allocation
APO
Table
KNA1
Name
Location
type 1010
Location
type 1001
Location
type 1011
MARA
MARC
MAKT
MARM
Mat. Class
Product
KAKO
Resource
Remark
Table
/SAPAPO/LOC
/SAPAPO/LOC
/SAPAPO/LOC
Not in GA
/SAPAPO/MATKEY
/SAPAPO/MATLOC
/SAPAPO/MATTXT
/SAPAPO/MARM
Mat. Class
/SAPAPO/RES_HEAD
Work
Center
The work
center is not
used in APO.
BOM
Not in GA
Routing
Not in GA
Product
Allocation
S140 or
User defined
table
Allocation
group
2. Transaction Data
The relevant transaction data fields for data upload from R/3 to APO:
Category
R/3
Stock data
Name
Receipt,
Issue,
Transfer posting
Purchase data
Purchase requisition
Purchase order
APO
Table
MARD
MCHB
MKOL
MSKA
MSKU
MSLB
MSPR
EBAN
EKKO
EKPO
Order type
0
1
2
Shipping notification
Sales order
Sales order,
Delivery note
Planned order
Production order
(incl. automatic
reservation)
Planned order
Production order
Reservation
(manually)
Reservation
Remark
Not in GA
VBAK
VBAP
VBEP
VBBE
VBKD
VBPA
PLAF
AUFK
AFKO
AFPO
AFVG
KBED
AFAB
RESB
5
6
3. Location
Location:
Customer
APO FIELD
Internal location number
LOC-LOCID
R/3 FIELD
NA
CONVERSION
Internal conversion for integration
Location type
1010
LOC-LOCTYPE
Customer number
KNA1-KUNNR
LOC-LOCNO
Default 1:1
You have the possibility to define your own data
mappings via user_exit.
Time zone
KNA1-LAND1
LOC-TZONE
KNA1-REGIO
NA
NA
NA
NA
NA
LOC-XPOS
Latitude position in GPS
LOC-YPOS
Production Calendar
LOC-PPCAL
Shipping Calendar
LOC-SDCAL
Storage Calendar
LOC-STCAL
Location:
APO FIELD
Language key
LOCT-SPRAS
Internal location number
LOCT-LOCID
Location type
LOCT-DESCR40
Customer Description
R/3 FIELD
CONVERSION
KNA1-SPRAS
NA
KNA1-NAME1
Location:
Supplier
APO FIELD
R/3 FIELD
NA
CONVERSION
Internal conversion for integration
LOC-LOCID
Location type
1011
LOC-LOCTYPE
Supplier number
LFA1-LIFNR
LOC-LOCNO
Default 1:1
You have the possibility to define your own data
mappings via user_exit.
Time zone
LFA1-LAND1
LOC-TZONE
LFA1-REGIO
NA
NA
NA
NA
NA
LOC-XPOS
Latitude position in GPS
LOC-YPOS
Production Calendar
LOC-PPCAL
Shipping Calendar
LOC-SDCAL
Storage Calendar
LOC-STCAL
Location:
APO FIELD
Language key
LOCT-SPRAS
Internal location number
LOCT-LOCID
Location type
LOCT-DESCR40
Supplier Description
R/3 FIELD
CONVERSION
LFA1-SPRAS
NA
LFA1-NAME1
Location :
Plant
APO FIELD
R/3 FIELD
NA
CONVERSION
Internal conversion for integration
LOC-LOCID
Location type
1001
LOC-LOCTYPE
Plant number
T001W-WERKS
LOC-LOCNO
Default 1:1
You have the possibility to define your own data
mappings via user_exit.
Time zone
T001W-LAND1
LOC-TZONE
T001W-REGIO
NA
NA
NA
NA
NA
LOC-XPOS
Latitude position in GPS
LOC-YPOS
Production Calendar
LOC-PPCAL
Shipping Calendar
LOC-SDCAL
Storage Calendar
LOC-STCAL
Location:
Plant Description
APO FIELD
Language key
LOCT-SPRAS
Internal location number
LOCT-LOCID
R/3 FIELD
Location type
T001W-NAME1
LOCT-DESCR40
CONVERSION
T001W-SPRAS
NA
4. Product
Product Global Data
APO FIELD
Internal number for product
MATKEY-MATID
Product number
MATKEY-MATNR
R/3 FIELD
NA
MARA-MATNR
MARA-MEINS
View: Basic Data
Screen: General Data
Field: Base unit of
measure
Low-level code
MATKEY-DISST
MARA-DISST
Gross weight
MATKEY-BRGEW
MARA-BRGEW
View: Basic Data
Screen:
Dimensions/EANs
Field: Gross weight
Weight unit
MATKEYX-GEWEI
MARA-GEWEI
View: Basic Data
Screen:
Dimensions/EANs
Field: Unit of weight
Volume
MATKEY-VOLUM
MARA-VOLUM
View: Basic Data
Screen:
Dimensions/EANs
Field: Volume
Volume unit
MATKEY-VOLEH
MARA-VOLEH
View: Basic Data
Screen:
Dimensions/EANs
Field: Volume unit
Product allocations
determination procedure
MATKEY-KOSCH
MARA-KOSCH
View: Basic Data
Screen: General Data
Field: Product allocation
CONVERSION
Internal conversion for integration
MATKEY-MATNR = MARA-MATNR
Default 1:1
You have the possibility to define your own data
mappings via user_exit.
MARA-LVORM = X =>
Method D of CIF Function module =>
MATKEY-LVORM = X
Product allocations
determination schema
MATKEY-KOSCH_GRP
Material group
MATKEY-MATKL
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
Product:
APO FIELD
Internal number for
product
MATTXT-MATID
Language
MATTXT-LANGU
Product description
MATTXT-MAKTX
MARA-MATKL
View: Basic Data
Screen: General Data
Field: Material group
(also available in the
Purchasing and Sales
Data View)
Description data
R/3 FIELD
NA
CONVERSION
Internal conversion for integration
MATTXT-MATNR = MAKE-MATNR
MAKT-SPRAS
View: Basic Data
Screen: Descriptions
Field: Language
MAKT-MAKTX
View: Basic Data
Screen: Descriptions
Field: Material decription
Product:
APO FIELD
Internal number for
product
R/3 FIELD
NA
MARM-MATID
Alternative unit of
measure for stock
keeping unit
MARM-MEINH
MARM-MEINH
View: Units of measure
Field: AUn
MARM-MATNR = MARM-MATNR
CONVERSION
Internal conversion for integration
MARM-UMREN
View: Units of measure
Field: X
MARM-EAN11
5. Product Location
Product Location: General data
APO FIELD
Internal number for
product
NA
MATLOC-MATID
Internal location number
MATLOC-LOCID
MARC-WERKS
MATLOC-LOCTYPE = 1001
MATLOC-LOCNO = MARC-WERKS
NA
NA
NA
NA
NA
Production planner
MATLOCPLANNER_PPS
SNP planner
MATLOCPLANNER_SNP
Demand planner
MATLOCPLANNER_DEMAND
Transportation planner
MATLOCPLANNER_TRANS
Indicator : material
memo exist
MATLOC-MANOT
ATP group
MATLOC-MTVFP
R/3 FIELD
CONVERSION
Internal conversion for integration
MATLOC-MATNR
= MARC-MATNR
MARC-MTVFP
View: Sales:General/Plant
Screen: General Data
Field: Avail. check
(also available in the MRP2
View)
Check mode
NA
MATLOC-ATP_CHMOD
Indicator : Which BOM is NA
to be
MATLOC-WHATBOM
Flag: Production
MARC-DIBER
planning areas exist
MATLOC-DIBER
Consumption of handling NA
capacity in volume unit
MATLOC-CONHAP
NA
Consumption of storage NA
capacity per material unit
MATLOC-CONINP
NA
size
MATLOC-IUNIT
Customer material
number
MATLOC-KDMATID
NA
NA
/SAPAPO/MATLOTSZ
Lot size profile for material master
NA
/SAPAPO/SNP01
SNP: Demand Profile
NA
/SAPAPO/SNP02
SNP: Supply profile
/SAPAPO/SNP11
SNP: Deployment profile
NA
NA in R/3 3.X
MATLOC- STOCK_UID
NA
MATLOC- SW_SCZPRF NA
/SAPAPO/MATRQ
Demand profile for the material master record
MARC-WEBAZ
View: Purchasing
Screen: Other data
Field: GR processing time
(also available in the MRP1
and the Quality
management View)
MARC-EISBE
View: MRP1
Screen: Net requirements
calculation
Field: Safety stock
2
MARC-EKGRP
View: Purchasing
Screen: General data
Field: Purchasing group
(also available in the MRP1
View)
Procurement type
MATLOC-BESKZ
MARC-BESKZ
View: MRP1
Screen: Procurement
Field: Procurement type
Delete mark
MATLOC-LVORM
MARC-LVORM
Service level
MATLOC-LGRAD
MARC-LGRAD
View: MRP1
Screen: Net requirements
calculation
Field: Service level%
MARC-LVORM = X =>
Method D of CIF Function module =>
MATLOC-LVORM = X
NA
R/3 FIELD
CONVERSION
Not used in R/3
NA
MARC-BSTFE
View: MRP1
Screen: Lot size data
Field: Fixed lot size
MARC-BSTMI
View: MRP1
Screen: Lot size data
Field: Minimum lot size
MARC-BSTMA
View: MRP1
Screen: Lot size data
Field: Maximum lot size
MARC-BSTRF
View: MRP1
Screen: Lot size data
MARC-AUSSS
View: MRP1
Screen: Lot size data
Field: Assembly scrap
Rounding Profile
MATLOTSZ-RDPRF
MARC-RDPRF
View: MRP1
Screen: Lot size data
Field: Rounding profile
T438M-SHZET
Category group
MATLOTSZ-CATGRP
NA
Lot-size calculation in
make-to-order
production
MATLOTSZ-LGKND
X or Space
X or Space
X or Space
NA
if t439a-loskz = F
p_cif_matloc-sl_lsz_fixed = X
p_cif_matloc-sl_lsz_exact = space.
p_cif_matloc-sl_lsz_range = space.
Else.
p_cif_matloc-sl_lsz_fixed = space.
p_cif_matloc-sl_lsz_exact = X
p_cif_matloc-sl_lsz_range = space.
Endif.
R/3 FIELD
CONVERSION
NA
Ext. number of PP
demand profile in material
master record
MATRQ-RQMKY
NA
Consumption Mode
MATRQ-VRMOD
MARC-VRMOD
View: MRP2
Screen: Planning
Field: Consumption mode
Consumption Period:
Backward
MATRQ-VINT1
MARC-VINT1
View: MRP2
Screen: Planning
Field: Bwd Consumption
per.
Consumption Period:
Forward
MATRQ-VINT2
MARC-VINT2
View: MRP2
Screen: Planning
Field: Fwd Consumption
per.
MARC-STRGR
View: MRP2
Screen: Planning
Field: Strategy group
Depending requirement
MATRQ-SBDKZ
MARC-SBDKZ
View: MRP2
Screen: BOM
explosion/dependent
requirements
Field: Individual/coll.
MARC-MISKZ
View: MRP2
Screen: Planning
Field: Mixed MRP
MATRQPEG_PAST_MAX
MATRQPEG_PAST_ALERT
MATRQPEG_FUTURE_MAX
Description of profile
MATRQ-RQMTX
NA
NA
NA
NA
if
marc-strgr = '10'.
cif_matloc-stra1 = '10'.
Elseif marc-strgr = '40'.
cif_matloc-stra1 = '20'.
Elseif marc-strgr = '50'.
cif_matloc-stra1 = '30'.
endif.
6. Product allocation
(example: the defined period is month )
APO FIELD
Product allocations:
Planning object
number; GUID able
NA
R/3 FIELD
CONVERSION
Internal conversion for integration
S140-VRSIO
S140-SPMON
QTTAB-PLUID
UTC time stamp in
short form
(YYYYMMDDhhmmss)
bisdat type d.
QTTAB-VODAT
vodat(6) = spmon.
vodat+6(2) = '01'.
UTC time stamp in
short form
(YYYYMMDDhhmmss)
S140-VRSIO
S140-SPMON
QTTAB-BISDT
bisdt = bisdt - 1.
Product allocation
quantity
S140-KCQTY
QTTAB-KCQTY
Incoming orders
quantity
QTTAB-AEMENGE
S140-AEMENGE
7. Resource
Resource:
Capacity ID
APO FIELD
Resource name
RESKEY-NAME
Internal location number
(customer, supplier or plant)
RESKEY-LOCID
R/3 FIELD
RES_HEAD-NAME
CONVERSION
RES_HEAD-NAME
KAKO-WERKS
Resource category
RESKEY-RESTYPE
NA
RESKEY-LOCID = LOC-LOCID
P : Production
NA
KAKO-KAPID
Capacity ID
RESKEY-RESUID
Object ID of capacity/work
center in R/3
RESKEY-R3KAPID
Object ID of capacity/work
center in R/3
CRCA-OBJID
RESKEY-R3ARBID
Resource:
Resource Data
APO FIELD
Internal key (GUID) of
resource
RES_HEAD-RESUID
Planning version (operative
or simulation version)
RES_HEAD-SIMVERSID
Base unit of measure for
capacity
RES_HEAD-UNIT
Capacity name
RES_HEAD-NAME
R/3 FIELD
NA
CONVERSION
Internal conversion for integration
000
KAKO-MEINS
Resource category
RES_HEAD-RESTYPE
KAKO-WERKS
Factory calendar ID
RES_HEAD-CALENDAR
KAKO-KALID
T001W-FABKL
Resource category
RES_HEAD-TYPE
KAKO-AZNOR
KAKO-BEGZT
KAKO-ENDZT
KAKO-PAUSE
Number of individual
capacities
RES_HEAD-NOINDIVRES
KAKO-AZNOR
KAKO-NGRAD
KAKO-VERSA
8. Stock
Stock: Storage Location (/SAPAPO/XMARD)
Core Interface FIELD In APO
Product number
XMARD-MATNR
R/3 FIELD
MARD-MATNR
Plant
XMARD-WERKS
MARD-WERKS
Storage location
XMARD-LGORT
MARD-LGORT
CONVERSION
MARD-INSME
Blocked stock
XMARD-SPEME
MARD-SPEME
Restricted-use stock
XMARD-EINME
MARD-EINME
R/3 FIELD
MCHB-MATNR
Plant
XMCHB-WERKS
MCHB-WERKS
Storage location
XMCHB-LGORT
MCHB-LOGRT
Batch
XMCHB-CHARG
MCHB-CHARG
MCHB-CINSM
Blocked stock
XMCHB-CSPEM
MCHB-CSPEM
Restricted-use stock
XMCHB-CEINM
MCHB-CEINM
CONVERSION
R/3 FIELD
MKOL-MATNR
Plant
XMKOL-WERKS
MKOL-WERKS
Storage location
XMKOL-LGORT
MKOL-LGORT
Batch
XMKOL-CHARG
MKOL-CHARG
MKOL-LIFNR
MKOL-SOBKZ
CONVERSION
MKOL-SINSM
Blocked stock
XMKOL-SSPEM
MKOL-SSPEM
Restricted-use stock
XMKOL-SEINM
MKOL-SEINM
R/3 FIELD
MSKU-MATNR
Plant
XMSKU-WERKS
MSKU-WERKS
Batch
XMSKU-CHARG
MSKU-CHARG
MSKU-SOBKZ
Customer number
XMSKU-KUNNR
MSKU-KUNNR
CONVERSION
MSKU-KUINS
Restricted-use stock
XMSKU-KUEIN
MSKU-KUEIN
R/3 FIELD
MSLB-MATNR
Plant
XMSLB-WERKS
MSLB-WERKS
Batch
XMSLB-CHARG
MSLB-CHARG
MSLB-SOBKZ
MSLB-LIFNR
CONVERSION
MSLB-LBINS
Restricted-use stock
XMSLB-LBEIN
MSLB-LBEIN
R/3 FIELD
MSPR-MATNR
Plant
XMSPR-WERKS
MSPR-WERKS
Storage location
XMSPR-LGORT
MSPR-LGORT
Batch
XMSPR-CHARG
MSPR-CHARG
MSPR-SOBKZ
CONVERSION
MSPR-PSPNR
MSPR-PRINS
Restricted-use stock
XMSPR-PREIN
MSPR-PREIN
Blocked stock
XMSPR-PRSPE
MSPR-PRSPE
R/3 FIELD
MSKA-MATNR
Plant
XMSKA-WERKS
MSKA-WERKS
Storage location
XMSKA-LGORT
MSKA-LGORT
Batch
XMSKA-CHARG
MSKA-CHARG
MSKA-SOBKZ
SD document number
XMSKA-VBELN
MSKA-VBELN
MSKA-POSNR
MSKA-KAINS
Restricted-use stock
XMSKA-KAEIN
MSKA-KASPE
Blocked stock
XMSKA-KASPE
MSKA-KAEIN
CONVERSION
9. Purchase Requisition
Core Interface FIELD In APO
Method to be executed while
transferring an object
CIF_PU_DOC-METHOD
Purchase requisition number
CIF_PU_DOC-DOC
Item number
CIF_PU_DOC-ITEM
R/3 FIELD
NA
CONVERSION
Purchase requisition closed
Depend of EBAN-EBAKZ : Indicator
deletion
EBAN-BANFN
EBAN-BNFPO
Material
CIF_PU_DOC-MATERIAL
EBAN-MATNR
Plant
CIF_PU_DOC-PLANT
EBAN-WERKS
EBAN-LGORT
EBAN-SOBKZ
1. EBKN-VBELN+EBKN-VBELP IF
EBAN-SOBKZ = E
2. EBKN-PS_PSP_PNR IF EBANSOBKZ = Q
1. EBKN-VBELN+/+EBKN-VBELP IF
EBAN-SOBKZ = E
2. EBKN-PS_PSP_PNR IF EBANSOBKZ = Q
Vendor
CIF_PU_DOC-VENDOR
EBAN-FLIEF
EBAN-WEBAZ
EBAN-MEINS
ISO-CODE FOR
EBAN-MEINS
batch
CIF_PU_DOC-BATCH
EBAN-CHARG
Quantity
CIF_PU_DOC-QUANTITY
Computed quantity
call function
'CIF_GEN_CONVERT_QUANTITY_ISO'
by eban-menge
eban-meins
and
get cif_pu_doc-uom_iso
EBAN-MENEG EBAN-BSMNG
Delivery date
CIF_PU_DOC-REQ_TSTAMP
EBAN-LFDAT
Fixed
CIF_PU_DOC-FIXED
EBAN-FIXKZ
ATP-Category
CIF_PU_DOC-ATPCAT
call function
'CIF_GEN_CONVERT_DATETIME'
by EBAN-LFDAT
AG , BH
EBAN-RSNUM
R/3 FIELD
NA
CONVERSION
Purchase order Closed
Depend of EKPO-LOEKZ : Indecator deletion
EKET-ETENR
Material Number
CIF_PU_DOC-MATERIAL
EKPO-MATNR
Location
CIF_PU_DOC-PLANT
PLANT
EKPO-WERKS
EKPO-LGORT
EKKN-SOBKZ
EKKN-VBELN + EKKNVBELP
OR
EKKN-PS_PSP_PNR
Account assignment
category
CIF_PU_DOCSP_STK_EXP
Vendor
CIF_PU_DOC-VENDOR
Goods receipt processing
time CIF_PU_DOCGR_PROC_TI
OR
EKPO-EMLIF
EKKN-VBELN + EKKNVBELP
OR
EKKN-PS_PSP_PNR
OR
EKPO-EMLIF
EKKO-LIFNR
EKPO-WEBAZ
EKPO-MEINS
batch
CIF_PU_DOC-BATCH
EKET-CHARG
Quantity
CIF_PU_DOC-QUANTITY
Computed quantity :
ekpoapor-menge
EKET-WEMNG
Delivery date
CIF_PU_DOCREQ_TSTAMP
EKET-EINDT
Fixed
CIF_PU_DOC-FIXED
EKET-FIXKZ
ATP-Category
CIF_PU_DOC-ATPCAT
call function
'CIF_GEN_CONVERT_QUANTITY_ISO'
by ekpo-menge
ekpo-meins
and
get cif_pu_doc-uom_iso
Number of reservation/
dependent requirement
CIF_PU_DOC-RES_NO
EKET-RSNUM
NA
R/3 FIELD
N
Vbbe-vbtyp
VBBE-VBELN
VBBE-POSNR
Schedule line
CIF_SL_REQ-SCHED_LINE
VBBE-ETENR
Product number.
CIF_SL_REQ-PRODUCT
VBBE-MATNR
Plant
CIF_SL_REQ-LOCATION
VBBE-WERKS
NA
Storage location
CIF_SL_REQ-STORE_LOC
VBBE-LGORT
Batch
CIF_SL_REQ-BATCH
VBBE-CHARG
Order type
CIF_SL_REQ-DOC_TYPE
NA
VBBE-OMENG
VBBE-VMENG
VBBE-PZMNG
VBBE-MEINS
Check mode
CIF_SL_REQ-CHECK_MODE
NA
Point in time
CONVERSION
NA
REQUIREMENTS DATE
CIF_SL_REQ-MS_DATE
VBBE-MDDAT
CALL FUNCTION 'TZ_LOCAL_TO_GLOBAL'
SOLD-TO PARTY
Customer number
CIF_SL_REQ-SHIP_TO
VBBE-KUNNR
VBBE-VBELE +
VBBE-POSNE
OR
VBBE-PSPEL
VBBE-SOBKZ
NA
VBBE-VBELE
VBBE-POSNE
R/3 FIELD
VBAP-UPDKZ
CONVERSION
Updkz_new
Updkz_update C
Updkz_delete. D
VBAP-VBELN
VBAP-POSNR
Not used
Document type.
CIF_SL_DOCDOC_TYPE
VBAK-VBTYP
Order type
CIF_SL_DOCORD_TYPE
VBAK-AUART
Sales organisation
CIF_SL_DOCSALES_ORG
VBAK-VKORG
Sales Division
CIF_SL_DOC-DIVISION
Distribution Channel
CIF_SL_DOCDISTR_CHAN
Sales Office
CIF_SL_DOC-SLSOFF
Sales group
CIF_SL_DOC-SLSGRP
VBAK-SPART
VBAK-VTWEG
VBAK-VKBUR
VB AK-VKGRP
Customer number
CIF_SL_DOC-SOLD_TO VBAK-KUNNR
Complete delivery
indicator
CIF_SL_DOCCOMPL_DLV
Item category of order
item
CIF_SL_DOCITEM_CATEG
Name of person who
created the item
CIF_SL_DOCITEM_CATEG
VBAK-AUTLF
VBAP-PSTYV
VBAP-ERNAM
Product number
CIM_SL_DOCPRODUCT
VBAP-MATNR
Product number
CIM_SL_DOCPRODUCT
VBAP-MATNR
Location
CIM_SL_DOCLOCATION
VBAP-WERKS
Storage Location
CIM_SL_DOCSTORE_LOC
VBAP-LGORT
ATP-Sublocation
Batch number
CIM_SL_DOC-BATCH
VBAP-CHARG
Product Version
Ship-to-party
VBPA-KUNNR for
CIM_SL_DOC-SHIP_TO VBAP-PARVW WE
In actual item
Shipping point for item
CIM_SL_DOCSHIP_POINT
VBAP-VSTEL
Route
CIM_SL_DOC-ROUTE
VBAP-ROUTE
Shipping Condition
CIM_SL_DOCSHP_COND
VBAP-VSBED
Delivery Priority
CIM_SL_DOCDLV_PRIO
VBAP-LPRIO
Partia Delivery
Agreement
CIM_SL_DOCPART_DLV
VBAP-KZTLF
Maximum Number of
Partials
CIM_SL_DOCMAX_PL_DLV
VBAP-ANTLF
Product Allocation
Procedure
CIM_SL_DOC- ALLOC
VBAP-KOSCH
Value of Transported
Field
CIF_SL_DOC-VALUE
R/3 FIELD
VBAP-VBELN
VBAP-POSNR
Fields predefined in
field catalogue for
product allocation resp.
Rules based ATP
Values for fields
predefined in field
catalogue for product
allocation resp. Rules
based ATP
CONVERSION
R/3 FIELD
AFKO-AUFNR
Simulation version or
version for long-term
planning
CIF_ORDER_HEADSIM_VERSION
NA
Method to be executed
while transferring an
object
CIF_ORDER_HEADMETHOD
NA
Number of reservation /
dependent requirements
CIF_ORDER_HEADRSNUM
AFKO-RSNUM
Location
CIF_ORDER_HEADPROD_PLANT
AUFK-WERKS
Production procedure
CIF_ORDER_HEADPROD_VER
NA
NA
NA
Material requirements
NA
quantity of order is firmed
CIF_ORDER_HEADINPUT_FIXED
Output of order is firmed
CIF_ORDER_HEADOUTPUT_FIXED
CONVERSION
NA
N, C, D
AFKO- AUFLD
Start time
CIF_ORDER_HEADORDER_START_DATE
AFKO- GSTRP
AFKO- GSUZP
End time
CIF_ORDER_HEADORDER_END_DATE
AFKO- GLTRP
AFKO- GLUZP
CALL FUNCTION
'CIF_GEN_CONVERT_DATETIME'
EXPORTING
IV_DATE = AFKO-AUFLD
* IV_TIME =
CALL FUNCTION
'CIF_GEN_CONVERT_DATETIME'
EXPORTING
IV_DATE = AFKO-GSTRP
IV_TIME = AFKO-GSUZP
CALL FUNCTION
'CIF_GEN_CONVERT_DATETIME'
EXPORTING
IV_DATE = AFKO-GLTRP
IV_TIME = AFKO-GLUZP
Procurement type
NA
CIF_ORDER_HEADPROCUREMENT_TYPE
Supplier
CIF_ORDER_HEADVENDOR
NA
Configuration (internal
object number)
CIF_ORDER_HEADCONFIG
AFKO-CUOBJ
Order priority
CIF_ORDER_HEADPRIORITY
NA
R/3 FIELD
AFKO-AUFNR
CONVERSION
SELECT * FROM AFVC
WHERE AUFPL = AFKO-AUFPL
AFVC-APLZL
NA
N, C, D
CIF_ORDER_OPRMETHOD
Operation number
CIF_ORDER_OPROPRNR
AFVC-VORNR
Sub-operation number
CIF_ORDER_OPRSUBOPRNR
NA
Object ID of
capacity/work center in
R/3
CIF_ORDER_OPRR3ARBID
AFVC-ARBID
Plan quantity
CIF_ORDER_OPRBASEQUANTITY
AFV V-BMSCH
AFV V-MGVRG
AFV V-BMEINS
CIF_ORDER_OPRSETUPTIME
CIF_ORDER_OPRPROCESSTIME
CIF_ORDER_OPRTEARDOWNTIME
CIF_ORDER_OPRWAITTIME
CIF_ORDER_OPRLAYTIME
AFV V-RSTZE
AFV V-RUEST
AFV V-BEAZE
AFV V-BEARZ
AFV V-ARUZE
AFV V-ABRUE
AFV V-WRTZE
AFV V-WARTZ
AFV V-LIGZE
AFV V-LIEGZ
X
CIF_ORDER_OPR-
CALL FUNCTION
'CIF_GEN_CONVERT_QUANTITY_ISO'
EXPORTING
IV_MATNR = AFPO-MATNR
IV_UOM
= AFPO-MEINS
IV_QUANTITY = AFVV-BMSCH
CALL FUNCTION
'CIF_GEN_CONVERT_QUANTITY_ISO'
EXPORTING
IV_MATNR = AFPO-MATNR
IV_UOM
= AFPO-MEINS
IV_QUANTITY = AFVV-MGVRG
CALL FUNCTION
'CIF_GEN_CONVERT_QUANTITY_ISO'
EXPORTING
IV_MATNR = AFPO-MATNR
IV_UOM
= AFPO-BMEINS
IV_QUANTITY = AFVV-MGVRG
CALL FUNCTION
'CIF_GEN_CONVERT_DURATION'
EXPORTING
IV_UOM = AFVV-RSTZE
IV_TIME = AFVV-RUEST
CALL FUNCTION
'CIF_GEN_CONVERT_DURATION'
EXPORTING
IV_UOM = AFVV-BEAZE
IV_TIME = AFVV-BEARZ
CALL FUNCTION
'CIF_GEN_CONVERT_DURATION'
EXPORTING
IV_UOM = AFVV-ARUZE
IV_TIME = AFVV-ABRUE
CALL FUNCTION
'CIF_GEN_CONVERT_DURATION'
EXPORTING
IV_UOM = AFVV-WRTZE
IV_TIME = AFVV-WARTZ
CALL FUNCTION
'CIF_GEN_CONVERT_DURATION'
EXPORTING
IV_UOM = AFVV-LIGZE
IV_TIME = AFVV-LIEGZ
X OR SPACE
UNPLANNED
CIF_ORDER_OPRRELEASED
NA
NA
CIF_ORDER_OPRDATE_FIXED
NA
CIF_ORDER_OPRSTARTED
Start time
CIF_ORDER_OPRSTART_DATE
NA
End time
CIF_ORDER_OPRFINISH_DATE
NA
R/3 FIELD
AFKO-AUFNR
CONVERSION
SELECT * FROM KBED
WHEN BEDID = AFKO-BEDID
AND BEDZL = AFVC-BEDZL
NA
NA
AFVC-APLZL
Capacity ID
CIF_ORDER_CAPREQCAPID
KBED- CAPID
N, C, D
KBEB- KRUESOLL
Planned capacity
requirements for
processing
CIF_ORDER_CAPREQCAPPROCESS
KBED- KBEASOLL
Planned capacity
requirements for
teardown
CIF_ORDER_CAPREQCAPTEARDOWN
KBED-KABRSOLL
KBED- KEINH
R/3 FIELD
CONVERSION
AFKO-AUFNR
Number of reservation /
dependent requirements
CIF_ORDER_INPUTRSNUM
RESB-RSNUM
Item number of
reservation / dependent
requirements
CIF_ORDER_INPUTRSPOS
RESB-RSPOS
NA
AFVC-APLZL
N, C, D
OPERATION
Product number
CIF_ORDER_INPUTMATERIAL
RESB-MATNR
Location
CIF_ORDER_INPUTPLANT
RESB-WERKS
Sublocation
CIF_ORDER_INPUTSTORAGELOCATION
RESBBT-LGORT
Requirements quantity
CIF_ORDER_INPUTREQMT_QUANT
RESB-BDMNG
Withdrawal quantity
CIF_ORDER_INPUTRECEIVED_QUANT
RESB-ENMNG
RESB-VMENG
RESB-MEINS
RESB-MEINS
RESB-BDTER
Batch number
CIF_ORDER_INPUTBATCH
RESB-CHARG
RESB-SOBKZ
NA
ATPCAT
Bill of material
RESB-STLNR
GENERATE_ATP_CATEGORY
CIF_ORDER_INPUTBOM_NUMBER
Inherited node number of RESB-STVKN
BOM item
CIF_ORDER_INPUTBOM_ITEM_ID
Location
CIF_ORDER_INPUTTRANSPLANT
NA
R/3 FIELD
CONVERSION
AFKO-AUFNR
AFPO-POSNR
NA
NA
Product number
CIF_ORDER_OUTPUTMATERIAL
AFPO-MATNR
Location
CIF_ORDER_OUTPUTPLANT
AFPO-WERKS
Sublocation
CIF_ORDER_OUTPUTSTORAGELOCATION
AFPO-LGORT
N, C, D
Receipt/issue quantity
CIF_ORDER_OUTPUTORDER_QUANTITY
AFPO-PSMNG
Scrap quantity
CIF_ORDER_OUTPUTSCRAP_QUANTITY
AFPO-PSAMG
AFPO-WEMNG
AFPO-MEINS
AFPO-MEINS
Start time
CIF_ORDER_OUTPUTSTART_DATE
NA
End time
CIF_ORDER_OUTPUTFINISH_DATE
NA
Batch number
CIF_ORDER_OUTPUTBATCH
AFPO-CHARG
AFPO-SOBKZ
AFPO-PROJN
NA
GENERATE_ATP_CATEGORY
IF AFPOBT-POSNR EQ 1.
R/3 FIELD
CONVERSION
NA
AFKO-AUFNR
AFKO-AUFNR
NA
NA
NA
AFAB-APLZL_VOR
Activity category/ID
CIF_ORDER_RELATIONOPRTYPE_PRE
NA
NA
AFAB-APLZL_NCH
Activity category/ID
CIF_ORDER_RELATIONOPRTYPE_SUC
NA
NA
N, C, D
OPRTIME_SUC
Relationship type (parallel or
alternative)
CIF_ORDER_RELATIONRELKIND
AFAB-AOBAR.
AFAB-ZEINH
AFAB-DAUER.
NA
CALL FUNCTION
'CIF_GEN_CONVERT_DURATION'
EXPORTING
IV_UOM = AFAB-ZEINH
IV_TIME = AFAB-DAUER
Order Header
(/SAPAPO/CIF_ORDER_HEAD)
R/3 FIELD
PLAF-PLNUM
Simulation version or
version for long-term
planning
CIF_ORDER_HEADSIM_VERSION
NA
Method to be executed
while transferring an
object
CIF_ORDER_HEADMETHOD
NA
Number of reservation /
dependent requirements
CIF_ORDER_HEADRSNUM
PLAF-RSNUM
Location
CIF_ORDER_HEADPROD_PLANT
PLAF-PWWRK
Production procedure
CIF_ORDER_HEADPROD_VER
PLAF-VERID
PLAF-UMSKZ
NA (3.1H),
PLAF-VRPLA
Material requirements
PLAF-STLFX
quantity of order is firmed
CIF_ORDER_HEADINPUT_FIXED
Output of order is firmed
CIF_ORDER_HEADOUTPUT_FIXED
CONVERSION
PLAF-AUFFX
PLAF-PALTR
Start time
CIF_ORDER_HEADORDER_START_DATE
PLAF-PSTTR
PLAF-PSTTI
End time
CIF_ORDER_HEADORDER_END_DATE
PLAF-PEDTR
PLAF-PEDTI
Procurement type
PLAF-BESKZ
CIF_ORDER_HEADPROCUREMENT_TYPE
Supplier
CIF_ORDER_HEADVENDOR
PLAF-FLIEF
Configuration (internal
object number)
CIF_ORDER_HEADCONFIG
PLAF-CUOBJ
Order priority
CIF_ORDER_HEADPRIORITY
NA
Planned Order:
Input nodes
(/SAPAPO/CIF_ORDER_INPUT)
R/3 FIELD
CONVERSION
MATM-AUFNR
Number of reservation /
dependent requirements
CIF_ORDER_INPUTRSNUM
PLAF-RSNUM
Item number of
reservation / dependent
requirements
CIF_ORDER_INPUTRSPOS
RESB-RSPOS
space
N, C, D
while transferring an
object
CIF_ORDER_INPUTMETHOD
General counter of order
CIF_ORDER_INPUTOPERATION
NA
space
Product number
CIF_ORDER_INPUTMATERIAL
RESB-MATNR
Location
CIF_ORDER_INPUTPLANT
RESB-WERKS
Sublocation
CIF_ORDER_INPUTSTORAGELOCATION
RESB-LGORT
Requirements quantity
CIF_ORDER_INPUTREQMT_QUANT
RESB-BDMNG
Withdrawal quantity
CIF_ORDER_INPUTRECEIVED_QUANT
RESB-ENMNG
RESB-VMENG
RESB-MEINS
RESB-MEINS
RESB-BDTER
Batch number
CIF_ORDER_INPUTBATCH
RESB-CHARG
RESB-SOBKZ
CALL FUNCTION
'CIF_GEN_CONVERT_QUANTITY_ISO'
EXPORTING
IV_MATNR = IS_R3RES-MATNR
IV_UOM = IS_R3RES-MEINS
IV_QUANTITY = IS_R3RES-BDMNG
CALL FUNCTION
'CIF_GEN_CONVERT_QUANTITY_ISO'
EXPORTING
IV_MATNR = IS_R3RES-MATNR
IV_UOM = IS_R3RES-MEINS
IV_QUANTITY = IS_R3RES-ENMNG
CALL FUNCTION
'CIF_GEN_CONVERT_QUANTITY_ISO'
EXPORTING
IV_MATNR = IS_R3RES-MATNR
IV_UOM = IS_R3RES-MEINS
IV_QUANTITY = IS_R3RES-VMENG
CALL FUNCTION
'CIF_GEN_CONVERT_QUANTITY_ISO'
EXPORTING
IV_MATNR = IS_R3RES-MATNR
IV_UOM = IS_R3RES-MEINS
IV_QUANTITY = IS_R3RES-VMENG
CALL FUNCTION
'CIF_GEN_CONVERT_QUANTITY_ISO'
EXPORTING
IV_MATNR = IS_R3RES-MATNR
IV_UOM = IS_R3RES-MEINS
IV_QUANTITY = IS_R3RES-VMENG
CALL FUNCTION 'CIF_GEN_CONVERT_DATETIME'
EXPORTING
IV_DATE = IS_R3RES-BDTER
* IV_TIME =
SPEC_STOCK
Key for special inventory
section
CIF_ORDER_INPUTSPEC_STOCK_KEY
NA
ATPCAT
Bill of material
CIF_ORDER_INPUTBOM_NUMBER
RESB-STLNR
GENERATE_ATP_CATEGORY
NA
Planned Order:
Output nodes
(/SAPAPO/CIF_ORDER_OUTPUT)
R/3 FIELD
CONVERSION
PLAF-PLNUM
RESB-POSNR
(only in case of coproduct)
NA
N, C, D
NA
space
Product number
CIF_ORDER_OUTPUTMATERIAL
PLAF-MATNR
Location
CIF_ORDER_OUTPUTPLANT
PLAF-PLWRK
Sublocation
CIF_ORDER_OUTPUTSTORAGELOCATION
PLAF-LGORT
Receipt/issue quantity
CIF_ORDER_OUTPUTORDER_QUANTITY
PLAF-GSMNG
Scrap quantity
CIF_ORDER_OUTPUTSCRAP_QUANTITY
PLAF-AVMNG
NA
PLAF-WEMNG (R/3 4.X)
PLAF-MEINS
PLAF-MEINS
PLAF-PSTTR
PLAF-PSTTI
Finish time
CIF_ORDER_OUTPUTFINISH_DATE
PLAF-PEDTR
PLAF-PEDTI
Batch number
NA
CALL FUNCTION
'CIF_GEN_CONVERT_QUANTITY_ISO'
EXPORTING
IV_MATNR = PLAF-MATNR
IV_UOM
= PLAF-MEINS
IV_QUANTITY = PLAF-GSMNG
CALL FUNCTION
'CIF_GEN_CONVERT_QUANTITY_ISO'
EXPORTING
IV_MATNR = PLAF-MATNR
IV_UOM
= PLAF-MEINS
IV_QUANTITY = PLAF-AVMNG
CALL FUNCTION
'CIF_GEN_CONVERT_QUANTITY_ISO'
EXPORTING
IV_MATNR = PLAF-MATNR
IV_UOM
= PLAF-MEINS
IV_QUANTITY = PLAF-WEMNG
CALL FUNCTION
'CIF_GEN_CONVERT_QUANTITY_ISO'
EXPORTING
IV_MATNR = PLAF-MATNR
IV_UOM
= PLAF-MEINS
IV_QUANTITY = PLAF-WEMNG
CALL FUNCTION
'CIF_GEN_CONVERT_QUANTITY_ISO'
EXPORTING
IV_MATNR = PLAF-MATNR
IV_UOM
= PLAF-MEINS
IV_QUANTITY = PLAF-WEMNG
CALL FUNCTION
'CIF_GEN_CONVERT_DURATION'
EXPORTING
IV_UOM = LV_UNIT_DAY : T006-MSEHI
IV_TIME = PLAF-WEBAZ
CALL FUNCTION
'CIF_GEN_CONVERT_DATETIME'
EXPORTING
IV_DATE = PLAF-PSTTR
IV_TIME
= PLAF-PSTTI
CALL FUNCTION
'CIF_GEN_CONVERT_DATETIME'
EXPORTING
IV_DATE = PLAF-PEDTR
IV_TIME
= PLAF-PEDTI
IMPORTING
EV_TIMESTAMP = CS_APOOUTFINISHDATE.
SPACE
CIF_ORDER_OUTPUTBATCH
Special stock indicator
CIF_ORDER_OUTPUTSPEC_STOCK
PLAF-SOBKZ
PLAF-PSPEL
NA
GENERATE_ATP_CATEGORY