Académique Documents
Professionnel Documents
Culture Documents
Dependencies
Make sure to have the purchase order (destination to SAP), and Inbound Order to be inserted.
Make sure to have the proper information to be included for the inbound information in order to link.
(Insert the Inbound order based from the Shipping Record which came from the Supplier)
Make sure to register the necessary code conversion value to the code conversion table.
2
2.1
Process
Process Description
1) If the movement type of the goods receipit item and the plant is the same as the values in the parameter table,
the following procedure is executed.
2) Obtain the tax calculation prcedure from the company code.
3) Using the tax calculation procedure, the the planned delivery cost condition type is the same as tax
calculation procedure CVD Condition Type A/P or ECS Condition Type A/P Imports or ADC Condition Type
A/P, the planned condition cost (KWERT, KWRFW) needs to be set to zero
4) If the planned delivery condition type is J1CV, the planned delivery cost (KWERT, KWRFW) needs to be set
to zero
1. Inbound Process: Extract target data from the Add-On Table (Purchase Order/Stock
Transfer)
Extract the following data:
Item F/#=11
DATA Segment=A10A20U10U20V10N30
Add-On Table: Status(D or C)
(When Status=E (Error), then set as re-processing item)
Add-On Table: Status = Value fetched from the Screen
1.1 Order Existence Check
Obtain from the parameter table the method of entering the goods movement (Select
Single
Search Condition
Parameter TableFUNC_AREAMM
Parameter TablePROJAS
Parameter TableLOCATG1
Parameter TableBUKRS3894
Parameter TableLEG_SYS3PL
Parameter TableFUN_ID0520102
Parameter TableCONV_OBINB_METHOD
When no records can be obtained from the above search condition, the current record should not
be processed and an error message should be outputted to the error file. MessageInbound
Processing Method is not maintained in the Parameter Table.
-1CIN Master Check
-1.1 Using the material and the plant from the inbound information , the
Material andChapter-ID combination master needs to be
checkedJ_1IMTCHID
If the master does not exist, an error mssage needs to be outputted
and the current record shlould not be prcessed. Error Message
Material and ChapterID combination for Material
&1MaterialPlant&2Plant does not exist.
-1.2 Using the material and the plant from the inbound information, the
CENVAT Determination needs to be checked(J_1IMODDET)
If the master does not exist, an error mssage needs to be outputted
and the current record shlould not be prcessed. Error Message
CENVAT Determination not maintained for Material:&1Material
Plant:&2Plant.
1.5.1 Inbound Process
Please set to Hold Stock (Blocked Stock), for the following conditions:
In order for the above Move Type 105, 915, 101, set the Delivery completion segment
(EKPO-ELIKZ) Flag to X.
In order for the above Move Type 105, 915, 101, set the system time: 2 digits,
munites; 2digits in Inbound deliverys item text(MSEG-SGTXT).
1.5.2 Update the order quantity on the purchase order
Add-On Table: Actual Inventory Quantity/Actual Inbound QuantityEKPO:MENGE
(Order Quantity)
Update to the actual inbound quantity using the received data for Order Quantity
(EKPO-MENGE)
Even no change in number of quantity, insert the original order quantity in the item text
Initial order quantity
1.5.3 Update item status on the Purchase Order
Update status to EKPO: LABNR
Status to 6 YYYYMMDD. YYYYMMDD will be the system date.
1.5.4 Update the process status on the Add-On Table
Update the status to C for the target process record
2. Inbound Process: Extract the target data from the Add-On Table (Return Goods order)
Extract the following data:
Item F/#=11
DATA Segment = H30, G30, K30
Add-On Table: Status(D or C)
(When Status=E (Error), then set as re-processing item)
Add-On Table: Status = Value fetched from the Screen
2.5 Order existence check
Check if Purchase Order Item Text: Sales Order No. (TEXTID=15) exists in
the Add-On Table.
OK
Go to 3.2
NG
Go to 5 error process
3.11 Inbound check for corresponding Issue No.
When in the Add-On Table, there exists a same Issue No. with F/#=11, and holds a
status=C.
(For Purhcase case) Delivery Completion Segment (EXPO: ELIKZ) = X, in the case
for Sales, Inbound document status as Delivery Complete. ((VBUK: BUCHKLFGSK=C
VBUK: WBSTK=C)
OK
Go to 3.3
NG
Go to 5 error process
3.12 Inventory Quantity Check
When there is not exist a same Issue No. in the Add-On Table with the record of F/#=12
(STATUS=C)
Add-On Table: Delivery Instruction Quantity <> (Inventory Quanity + Inventory
Remainder Quantity)
NG
Go to 5 error process
Add-On Table: Delivery Instruction Quantity = (Inventory Quanity + Inventory Remainder
Quantity)
OK
Go to 3.4
When there exists a same Issue No. in the Add-On Table with the record of F/#=12
(STATUS=C)
Add-On Table: Inventory Quantity > Previously received F/# = 12 in the Add-On Table:
Inventory Remainder Quantity
NG
Go to 5 error process
Add-On Table: Inventory <= Previously received F/# = 12 in the Add-On Table: Inventory
Remainder Quantity
OK
Go to 3.4
Add-On Table: (Inventory Quantity + Inventory Remainder Quantity) <> Previously
received F/# = 12 in the Add-On Table: Inventory Remainder Quantity
NG
Go to 5 error process
Add-On Table: (Inventory Quantity + Inventory Remainder Quantity) = Previously
received F/# = 12 in the Add-On Table: Inventory Remainder Quantity
OK
Go to 3.4
Please refer to Inventory Check for more information
Inventory Process Execution (Stock Transfer) forMoveType 343, use the movement type
obtained from above
Maintain the process target Issue No. in the Goods Order Item Text
3.14.2
EKPOLABNR
7 YYYYMMDDYYYYMMDD
3.14.2 Update Process Status (for purchase order only)
When, Inventory Remainder Quantity = 0, Update the Status to EKPO: LABNR
Status to 7YYYYMMDD, YYYYMMDD will be the system date.
3.14.3 When Purchase Order Type = UB, then update the Inventory Quantity in the Add-On
Table (Shipping Instruction)
Sales Order Number from the Add-On Table: Shipping Instruction = 1st row of the item
text from the Sales order (Sales Order No.)
Item Number from the Add-On Table: Shipping Instruction = 2nd row of the item text from
the Sales order (Sales Order No.)
Add-On Table: Shipping Instruction Data Segment = U30 or U40 (maintain U30, U40 in
the parameter table)
Update the quantity in the field Inventory Quantity (ALCQUN BNQUN) when the
above condition matches. Updating method is to update the total of the addition of the
existing quantity in the field with the new quantity for the field.
3.14.4 Update the process status on the Add-On Table
Update status to C for the process target record
Return Inbound Execution (Not Used)
If the same Issue No with Add-On Table: F/#=12 record does not exist when processing the
Existence Process Target record (i.e. when there is only 1 record), execute the Inbound Cancel
(Move Type 122: Return Goods) for the quantity of {Delivery Instruction Quantity (Inventory
Quanity + Inventory Remainder Quantity)}, then change the inbound quantity to the actual
inbound quantity.
4. Defect Goods Process: Extract the Target Data in the Add-On Table (All patterns will be the
target)
Extract the following data:
Item F/#=12
DATA Segment = A12A22U12U22V12N32H32G32K32
Add-On Table: Status(D or C)
(When Status=E (Error), then set as re-processing item)
Add-On Table: Status = Value fetched from the Screen
When there exists a same Issue No of F/#=11with status=C in the Add-On Table
(For Purhcase case) Delivery Completion Segment (EXPO: ELIKZ) = X, in the case
for Sales, Inbound document status as Delivery Complete. ((VBUK: BUCHKLFGSK=C
VBUK: WBSTK=C)
OK
Go to 4.3
NG
Go to 5error process
4.17 Invenroty Quantity Check
When there is not exist a same Issue No. in the Add-On Table with the record of F/#=12
(STATUS=C)
Add-On Table: Delivery Instruction Quantity <> (DefectGoods Quantity + Inventory
Remainder Quantity)
NG
Go to 5 error process
Add-On Table: Delivery Instruction Quantity = (DefectGoods Quantity + Inventory
Remainder Quantity)
OK
Go to 4.4
When there exists a same Issue No. in the Add-On Table with the record of F/#=12
(STATUS=C)
Add-On Table: DefectGoods Quantity > Previously received F/# = 12 in the Add-On
Table: Inventory Remainder Quantity
NG
Go to 5 error process
Add-On Table: DefectGoods Quantity <= Previously received F/# = 12 in the Add-On
Table: Inventory Remainder Quantity
OK
Go to 4.4
Add-On Table: (DefectGoods Quantity + Inventory Remainder Quantity) <> Previously
received F/# = 12 in the Add-On Table: Inventory Remainder Quantity
NG
Go to 5 error process
Add-On Table: (DefectGoods Quantity + Inventory Remainder Quantity) = Previously
received F/# = 12 in the Add-On Table: Inventory Remainder Quantity
OK
Go to 4.4
Please refer to Inventory Check for more information
4.18 Hold Stock Quantity Check
Hold Location Move Process Execute for Move Type 909 (Move the Stock Status by
Hold Stock)
Maintain the process target Issue No. in the Goods Order Item Text
4.19When Purchase Order Type = UB, then update the Inventory Quantity in the Add-On Table
(Shipping Instruction)
Sales Order Number from the Add-On Table: Shipping Instruction = 1st row of the item
text from the Sales order (Sales Order No.)
Item Number from the Add-On Table: Shipping Instruction = 2nd row of the item text from
the Sales order (Sales Order No.)
Add-On Table: Shipping Instruction Data Segment = U30 or U40 (maintain U30, U40 in
the parameter table)
Update the quantity in the field Inventory Quantity (BNQUN) when the above condition
matches. Updating method is to update the total of the addition of the existing quantity in
the field with the new quantity for the field
20.20 Defect Goods Execution
If all process from 4.5.1 to 4.5.4 is NOT finished successfully, then return to original state, and end as an
error
4.19.2 Defect Goods Process
Hold Location Move Process Execute for Move Type 909 (Move the Stock Status by
Hold Stock)
Maintain the transferred Store Location per Plant in the parameter table.
4.19.3 Update the process status (for Purchase only)
For Inventory Remainder Quantity 0, then update the status to EKPO: LABNR
Status to 7 YYYYMMDD, YYYYMMDD system date
4.19.4 Update the process status on the Add-On Table
Update the status to C for the process target record
20.21 Return Inbound Execution (Not Used)
If the same Issue No with Add-On Table: F/#=12 record does not exist when processing the
Existence Process Target record (i.e. when there is only 1 record), execute the Inbound Cancel
(Move Type 122: Return Goods) for the quantity of {Delivery Instruction Quantity (Defect
Goods + Inventory Remainder Quantity)}, then change the inbound quantity to the actual
inbound quantity.
ZASG1XXT002-FUNC_AREA=MM
ZASG1XXT002-PROJ=AS
ZASG1XXT002-LOCAT=G1
ZASG1XXT002-BURKS=VBAK-BURKS_VF
ZASG1XXT002-FUN_ID=0520102
ZASG1XXT002-FLD1=VKORG
ZASG1XXT002-FLD2=VTWEG
ZASG1XXT002-FLD3=VSTEL
ZASG1XXT002-SAP_V1=VBAK-VKORG
ZASG1XXT002-SAP_V2=VBAK-VTWEG
Process Name
Program ID
Key Information: Supplier code(EKKO:LIFNR), Parts Number, Issue No, Data
Segment, (Purchase Number, Item Number, or Sales Number, Item Number), Inbound
Number, Parts Number, Delivery Instruction Quantity, Actual Inbound Quantity,
Inventory Remainder Quantity (Before), Actual Inventory Quantity, Defect Goods
Quantity, Inventory Remainder Quantity (After), Inventory Remainder
Quantity(Calculation), Difference Quantity, Goods Order Number, Status (Procurement
process status)
Delivery Instruction Quantity : Inbound Process : Delivery Instruction Quantity
Other
: - (Zero)
Actual Inbound Quantity : Inbound Process : Actual Inbound Quantity
Other
: Delivery Instruction Quantity
Inventory Remainder Quantity (Before) : first data; Delivery Instruction Quantity,
other; Previously received Inventory Remainder Quantity
Actual Inventory Quantity : Inbound Process : - (Zero)
Other
: Actual Inbound Quantity
Defect Goods Quantity : Defect Goods Quantity
Inventory Remainder Quantity (After) : Inventory Remainder Quantity
Inventory Remainder Quantity(Calculation) : Inventory Remainder Quantity
(Before) (Actual Inventory Quantity + Defect Goods Quantity)
Difference Quantity : Inventory Remainder Quantity (After) - Inventory
Remainder Quantity(Calculation)
Information
When finished successful: Goods Order number
When finished Error: Error Code, Error Description
When the quantity is revised b/c the inbound quantity differs for Sales Order and
Purchase Order: Output the quantity for the change before & after.
10