ITPub博客

首页 > 数字化转型 > ERP > 【Planning】APO - enhancement for CIF from APO

【Planning】APO - enhancement for CIF from APO

原创 ERP 作者:edison_tc 时间:2017-02-24 20:25:18 0 删除 编辑

Purpose:

这里我们要验证,从APO过到R3里的PV,qty.等Order data是否可以被人为控制,以及如何做好R3与APO integration

 

 

Approach:

 

FM: CIF_ORDER_INBOUND_30A ==> main prog,下面包含着类以于005的exit

Machine generated alternative text:
Display 1MG
Lj Existing BC Sets 6y払C S8tE ::rrty 慉ctPiated BC Sets for Act  Release Notes
Structure
SAP E-Recruiting
Time Management
Payroll
Training and Event Management
Management of Internal Controls
SEAL Systems AG Software
Incentive and Sales Force Management
Integration with Other SAP Components
b SAP Business Suite Integration Component for Ariba
Advanced Planning and Optimization
b Basic Settings for Setting Up the System Landscape
b Basic Settings for the Data Transfer
Application-Specific Settings and Enhancements
b Enhancements for Plant, Vendor, Customer, and Shipping Point
b Enhancements for Materials
b Settings for Resources
b Enhancements for Transportation Lanes
b Settings and Enhancements for Stocks
b Settings and Enhancements for Inspection Lots
b Settings and Enhancements for Requirement Reduction
b Enhancements for Reservations
b Enhancements for the Production Process Model
b Enhancements for Production Data Structure
b Enhancements for Integrated Product and Process Engineering CiPPE)
b Settings and Enhancements for Shipments
b Settings and Enhancements for Sales Orders
b Enhancements for Sales Scheduling Agreements
[ettings and Enhancements for In-House Productioni
b General Settings for Manufacturing Orders
b Inbound Processing of Planned Orders and Manufacturing Orders
b Outbound Processing of Planned Orders and Manufacturing Orders
b Inbound Processing of Manufacturing Orders
b Outbound Processing of Manufacturing Orders
b Enhancements for Networks
b Enhancements for Maintenance Orders

 

Machine generated alternative text:
LI , L! 1  L1 LI2 q桱 晅桱 .I桱 e桱 1jj IJ ?1 1
SAP Enhancements in Enhancement Project ZTC_ CIFI
E.   LEnhancement Components
Enhancement Text
Enhancement for In-House Prod. Order Inc.for Customer Fields
1 IL

 

Machine generated alternative text:
Change ZTC_ CIF1
Enhancement assignments Li Enhancement
Project
?
ZTC_CIF1 TC - CIF enhancement for Family care
Enhancement
Impl
?
Exp
CIFORDO3 Enhancement for In-House Prod. Order Inc.
Function exit
9
Q
EXIT_SAPLCORD_005
Include tables CI_APOINA
CI_APOOPA
CI_APODRA
CI_APOOUA

 

<img width="576" height="580" alt="Machine generated alternative text: ABAP Editor: Change Indude ZXC1FUJ1 - 慞fl C6?) ?* Ya Ii t? Pattern PrettyPrinter Incbde ZXCI11 Act裡 101 111 FIELD-SYMBOLS: cf s_apor? type CIF_APOORD. 121 FIELD SYMBOLS: <f _apoout;? TYPE CIF_APOOUT. 131 iiI s 151 ? IFZNwn<1. 161 exit. 171 * SNOrT. 181 191 - 鱁NDDO.I 201 211 221 231 SLOOP AT IT_APOORD 241 ASSIGNING 281, WHERE ORDERCUID = -CRDERGUID AND MATERIAL es ? (JJJ . 291. 3? ORDERQUAN 23. 311 321 MODIFY IT_APOOUT FROM . 34 ENDLOOP. 351, 361 N IF sy SUbZC 3. 371 -PRODVER = ?002? 381 391, MODIFY IT_APOORD FROM  

 

Machine generated alternative text:&#10;Planning Book: [Live] PGXXGLSNPOO3-GLOBAL DRP PLANNING BOOK/ UNCON WE&#10;? Selection profile&#10;CC5595&#10;. ? ED_FAMCARE_SNP_R3&#10;. ? ZFC_R3JrO_APO_DRP_MARK_01&#10;訨EAN1&#10;. ? ED-REORDER DATE&#10;Destination / Source Start D... Start Ti&#10;U017 14.08. 00:00:00&#10;1LiL? 4J[?? 4jLJ[J[ Aj[ []FDesiqn 1[DGraphic h E1F&#10;Selected Objects P&#10;100%&#10;Product Type&#10;84960000 &#10;84963128 ij&#10;84963128 ru靧&#10;84963128 Th&#10;84963128 !N&#10;84963128 ft!u&#10;84963128 I蚮lJ&#10;OAflfll O ji.44&#10;I b 1&#10;Unit&#10;Location&#10;U017&#10;1534&#10;1535&#10;1537&#10;4786&#10;4787&#10;5233&#10;C) n&#10;1[1[]L Aj[I Aj[I h [!]&#10;09.08.20, 10.08.20... 11.08.20 12.08.20.. 13.08.20&#10;DistrReceipt (TLB Confirmed)&#10;Product Short I&#10;CC 1210/12 FR ?Total Demand UNCON&#10;BOUNTY 24/9.&#10;BOUNTY 24/9.&#10;BOUNTY 24/9.&#10;BOUNTY 24/9.&#10;BOUNTY 24/9.&#10;BOUNTY 2419. :&#10;Cfi IMTV )A&#10;Ib&#10;CS&#10;In Transit CS&#10;CS&#10;Substitution Demand (Planned)&#10;CS&#10;10&#10;DistrReceipt (Planned)&#10;CS&#10;Production (Planned) __________ _________&#10;Production (Confirmed) CS&#10;Quality Inspection Lots&#10;Substitution Receipt (Planned) CS&#10;CS&#10;14.08.20 W 33.2016 W 34.2016 W 35.2016 W 36.2016 W 37.2016 W 38.2016 V&#10;?Total Receipts UNCON&#10;Stock on Hand&#10;CS&#10;CS&#10;? 10)&#10;r&#10;Projected Inventory UNCON CS&#10;10&#10;r-S.4... r4....i. re I&#10;Ib&#10;a  [j [1][  A.LA?J [J [蝅&#10;Order Numb It Schd.Ln.No AvaiVRe AvaiVRe Fix Rec./Reqmts Qt抷 Original Qty Total Qty Unit Category Category De.ion Product&#10;r1000122906? 1 0000 14.08.2 23:59:59 10 10 10 CS EE SNP: Planned order 84960000&#10;J ...&#10;I I I&#10;I

 

Machine generated alternative text:&#10;?Total Demand UNCON Cs&#10;10&#10;DistrReceipt (Planned)&#10;CS&#10;CS&#10;DistrReceipt (TLB Confirmed)&#10;In Transit&#10;CS&#10;Production (Planned)&#10;CS&#10;Production (Confirmed)&#10;CS&#10;10&#10;Quality Inspection Lots&#10;CS&#10;Substitution Receipt (Planned)&#10;CS&#10;?Total Receipts UNCON&#10;CS&#10;10&#10;Stock on Hand&#10;CS&#10;Projected Inventory UNCON&#10;CS&#10;r-S...-. ri-...-I.&#10;rr&#10;4]I 4][t$jt1&#10;Destination / Source Start D Start Ti End Da... End Ti Characteristics Source&#10;U017 14.08.... 00:00:00 14.08. 23:59: U017&#10;Destination Location Source of Supply&#10;U017 000000000084960000U0170001&#10;PPM/PDS De.ion Plan/PDS MTr&#10;S test Pv 00000

==>此时只有order number被修改了

 

Machine generated alternative text:&#10;Stock/Requirements List as of 02:59 hrs&#10;I ShowOverviewTree ? t 1%&#10;jJ Material ! 84960000 CC 1210/12 FROSTY 800697 ASH&#10;Plant U017j MRP type X0? Material Type FERT Unit CSH&#10;Date MRP ... MRP element data Rescheduli... E.. Receipt/Reqmt Available Qty Pr...&#10;[joe/09/2o16 Stock 0&#10;08/14/2016捬Ord. ?000122906/Stck ZEZ 20 20&#10;08/14/2016 IndReq VSF lo? 10

 

Run lead time scheduling:

Machine generated alternative text:&#10;Display Planned Order: Stock order&#10;Components  Components&#10;LA Stock order 1000122906 E Standard in-house ..&#10;Material 84960000 CC 1210/12 FROSTY 800697 ASH&#10;PLanning Plant U017 CAPE GIRARDEAU PLANT&#10;Header Assignment Master Data Detailed Scheduling Action Control&#10;Quantities&#10;Orderquantity 20 Cs Scrap quantity&#10;Dates/Times Basic Dates / ductionDat biier Dates&#10;End 08/14/201 08/13/2016?4:OO:001 A lableforMRP F08/14/201&&#10;Start 08/09/2016 ?O8/09If2O16i捳IL00. processing time 0&#10;Opening 08/09/2016&#10;Other Data Firming _________&#10;Production Plant U017 . .dnned Order&#10;Storage Location L] Components&#10;Production Version r00021 flCapauty Dispatched&#10;BUM Explosion Number&#10;J JConversion Indicator 

 

Machine generated alternative text:&#10;Planning Book: [Live] PGXXGLSNPOO3-GLOBAL DRP PLANNING BOOK! UNCON WE&#10;1LA1[ j[?  lA]&#10;Selected Objects&#10;Product&#10;Type&#10;Location&#10;Product Short I&#10;84960000&#10;U017&#10;CC 1210/12 FR&#10;84963128&#10;1534&#10;BOUNTY 24/9.&#10;84963128&#10;1535&#10;BOUNTY 24/9.&#10;84963128&#10;1537&#10;BOUNTY 24/9&#10;84963128&#10;4786&#10;BOUNTY 24/9.&#10;84963128&#10;4787&#10;BOUNTY 24/9&#10;84963128&#10;OAfl1 O&#10;L.&#10;5233&#10;BOUNTY 24/9.&#10;Oft IMTV )A ICW&#10;6 Selection profile&#10;CC5595&#10;. ? ED_FAMCARE_SNP_R3&#10;. ? ZFC_R3_TO_APO_DRP_MARK_01&#10;訨EAN1&#10;. ? ED-REORDER DATE&#10;PPM/PDS es n/PDS MTr&#10;S test PV2 00...&#10;[J.,Desgn j1 Graphic J  1?%J?  ][IrJ 111[ 41[t 1 [ 4] L1&#10;Unit 09.08.20 10.08.20 11.08.20 12.08.20 13.08.20.,.&#10;I&#10;14.08.20 W 33.2016 W 34.2016 W 35.2016 W 36.2016 W 37.2016 W&#10;Substitution Demand (Planned)&#10;CS&#10;?Total Demand UNCON&#10;CS&#10;10&#10;DistrReceipt (Planned)&#10;CS&#10;DistrReceipt (TLB Confirmed)&#10;CS&#10;.&#10;In Transit&#10;CS&#10;Production (Planned)&#10;Production (Confirmed)&#10;CS&#10;CS&#10;( 20&#10;Quality Inspection Lots&#10;CS&#10;____&#10;Substitution Receipt (Planned)&#10;CS&#10;?jotal Receipts UNCON&#10;CS&#10;20&#10;Stock on Hand&#10;CS&#10;Projected Inventory UNCON&#10;CS&#10;20&#10;10&#10;10&#10;10 10 10 10&#10;r-.C..+- r#,..-I.&#10;I &#10;Destination / Source Start D... Start Ti End Da... End Ti Characteristics Source&#10;U017 13.08.., 00:00:00 13.08. 23:59: U017&#10;Destination Lo rce o Supply&#10;U017 000000000084960000U0170002

 

==> 所以,类似于PV,quantity change后,并不会是initial CIF时(即APO->R3)就反cif回apo

 

 

如果R3里的PV,APO没有呢?

Machine generated alternative text:&#10;Production Version: Mass Processing&#10;Selection Condition5&#10;Material No&#10;MRP Controller&#10;Key date&#10;Production line&#10;CAPE GIRARDEAU PLANT&#10;84960000&#10;Detailed ping&#10;Rate-based ping&#10;Rough-Cut Ping&#10;Task List Type Group&#10;e&#10;e&#10;e&#10;Production versions&#10;Ap... Detailed... Gr... Type&#10;1 50000550&#10;1 50000551 1&#10;1 50000551 2&#10;e&#10;e&#10;Plant Material&#10;Pr... Text&#10;Lock&#10;M. P.. C.. Te... Check date&#10;Valid from&#10;Valid to From lot size&#10;To lot size U...&#10;Alt... B...&#10;U017 84960000&#10;000ltestPV&#10;No...&#10;No...&#10;No.&#10;No...e&#10;e&#10;GXDG 08/08/2016&#10;XZI 08/08/2016&#10;CC008/09/2016&#10;08/01/2016&#10;08/01/2016&#10;08/01/2016&#10;08/01/2017&#10;08/01/2017&#10;08/01/2017&#10;CS&#10;CS&#10;CS&#10;ED&#10;ED&#10;ED&#10;U01i owvuuuu&#10;]UO174960000&#10;U07&#10;uuuc  yy&#10;J3testPV3&#10;OB ref. material&#10;2 Ma... C&#10;2 Ma... e&#10;2 Ma... e&#10;Uni 7&#10;nrwrTrarl f,, ADfl c DDMIDIThC

 

Machine generated alternative text:&#10;ENDLOOP.&#10;35&#10;36 - IF sy-subrc = D.&#10;37. faaord::-PRODVE.&#10;3 MODIFY ITAPOORD FROM cts apord>.&#10;慓 O,&#10;ENDIF.&#10;42,

 

然后CIF from APO:

Machine generated alternative text:&#10;Stock/Requirements List as of 03:25 hrs&#10;ShowOverviewTree L &#10;1! A.. Date MRP ... MRP element data&#10;[joe/o9/2o16 Stock&#10;O8/14/2O16捬Ord. ?000122907/Stck&#10;08/14/2016 IndReq VSF&#10;CC 1210/12 FROSTY 800697 ASH&#10;XC MaterialType FE?! Unit&#10;Rescheduli... E.. Receipt/Reqmt Available Qty Pr...&#10;c20&#10;[Material&#10;Plant&#10;84960000&#10;U017I&#10;MRP type

 

Machine generated alternative text:&#10;LA Stock order 1000122907 E Standard in-house ...&#10;r&#10;Material 4960000 ?I 1210/12 FROSTY 800697 ASH&#10;L__ J&#10;Planning Plant U017 CAPE GIRARDEAU PLANT&#10;jHeader Assignment Master Data Action Control&#10;Quantities&#10;Order quantity 20 CS Scrap quantity O&#10;Dates/Times&#10;Basic Dates Production Dates Other Dates&#10;End 08/14/2016 00:00:00 AvailableforMRP 08/14/2016&#10;Start 08/14/2016 00:00:00 GRprocessingtime&#10;Opening 08/14/2016&#10;Other Data Firming&#10;Production Plant 0171 CPlanned Order&#10;Storage Location flComponents&#10;Production Version 慜OO3 [] Capacity Dispatched&#10;BOM Explosion Number&#10;r7lrnni,orcnn Tnrlintnr

 

Machine generated alternative text:&#10;Planning Book: [Live] PGXXGLSNPOO3-GLOBAL 蠷P PLANNING BOOK/ UNCON WE&#10;? Selection profile&#10;CC5595&#10;. ? ED_FAMCARE_SNP_R3&#10;. ? ZFC_R3_TO_APO_DRP_MARK_01&#10;. 訨EAN1&#10;. ? ED-REORDER DATE&#10;Forecast&#10;CS&#10;lo&#10;Sales Order&#10;CS&#10;DistrDemand (Planned)&#10;CS&#10;DistrDemand (TLB Confirmed)&#10;CS&#10;In Transit Correction&#10;CS&#10;[ 4I[]EZ1L ][][1[hiL4Z  ][Design jjjjGraphic j []j 100% j[J [][][][u 4j][[ 4j[ 4j [[  Rl&#10;Selected Objects ____________________________ Unit 09.08.20 10.08.20 11.08.20 12.08.20 13.08.20&#10;Product&#10;84960000&#10;84963128&#10;84963128&#10;84963128&#10;84963128&#10;84963128&#10;84963128&#10;OArlfll )O&#10;Type&#10;trn&#10;憌&#10;Location&#10;U017&#10;1534&#10;1535&#10;1537&#10;4786&#10;4787&#10;5233&#10;? &#10;Product Short I&#10;CC 1210/12 FR&#10;BOUNTY 24/9.&#10;BOUNTY 24/9.&#10;BOUNTY 24/9.&#10;BOUNTY 24/9.&#10;BOUNTY 24/9.&#10;BOUNTY 24/9. :&#10;Cfi II.ITV 4 ifl&#10;I &#10;CS&#10;Dependent Demand&#10;Substitution Demand (Planned) CS&#10;a Total Demand UNCON CS&#10;14.08.20. W 33.2016 W 34.2016 W 35.2016 W 36.2016 W 37.2016 W 38.&#10;Production (Planned)&#10;DistrReceipt (Planned) CS&#10;DistrReceipt (TLB Confirmed) CS&#10;In Transit CS&#10;CS&#10;lo&#10;n.-.,?, ..-+-..... f r.,.R...-....4. rr&#10;I &#10;1[[ 1[HW[1&#10;rder Numb . Schd.Ln.No Avail/Re Avail/Re Fix Rec./Reqmts Qty&#10;r10001229071 0000 14.08.2 23:59:59 10&#10;J ...&#10;In&#10;Original Qty Total Qty Unit Category Category De.ion Product&#10;10 10 CS EE SNP: Planned order 84960000&#10;Destination / Source Start D.. Start Ti&#10;U017 14.08. 00:00:00

 

Machine generated alternative text:&#10;CS&#10;CS&#10;nr in&#10;[4] 1[ 4IIL 1Ii] fJJ &#10;Start TL. End Da, End TL. Characteristics Source Destination  ?  PIan/PDs MTr&#10;00:00:00 14.08. 23:59: U017 U017&#10;00000.,.

 

而lead time 后再cif回apo:

Machine generated alternative text:&#10;LA Stock order 1000122 E Standard in-house ...&#10;Material ?o黲7? 1210/12 FROSTY 800697 ASH&#10;Planning Plant U017 CAPE GIRARDEAU PLANT&#10;Header Assignment Master Data Detailed Scheduling Action Control&#10;Quantities&#10;Order quantity 20 CS Scrap quantity&#10;Dates/Times&#10;Basic Dates oduction Dates ther Dates&#10;End 08/14/201 08/13/2016 24:00:00 A ilableforMRP 08/14/201?&#10;Start 08/13/2016 08/13/201604:00:0&1 processing time&#10;Opening 08/13/20161&#10;Other Data Firming&#10;Production Plant U017fl&#10;Storage Location&#10;Production Version 100031&#10;BOM Explosion Number

自动Cif back :

Machine generated alternative text:&#10;Planning Book: [Live] PGXXGLSNPOO3-GLOBAL DRP PLANNING BOOK! UNCON WE&#10;[ &#10;[L  41    JDGraphic ]  100%    4J[I  1L  L1&#10;Selected Objects __________________________ Unit 09.08.20, 10.08.20,.. 11.08.20... 12.08.20.. 13.08.20,,&#10;Product&#10;84960000&#10;84963128&#10;84963128&#10;84963128&#10;84963128&#10;84963128&#10;84963128&#10;OA(21 O&#10;Type&#10;Location&#10;U017&#10;1534&#10;1535&#10;1537&#10;4786&#10;4787&#10;5233&#10;Product Short I&#10;CC 1210/12 FR&#10;BOUNTY 24/9.&#10;BOUNTY 24/9.&#10;BOUNTY 24/9.&#10;BOUNTY 24/9.&#10;BOUNTY 24/9.&#10;BOUNTY 24/9.&#10;ori IMrv 靑 ln&#10;In Transit Correction&#10;Dependent Demand&#10;CS&#10;CS&#10;Forecast&#10;CS&#10;10&#10;Sales Order&#10;CS&#10;DistrDemand (Planned)&#10;CS&#10;D靤trDemand (TLB Confirmed)&#10;CS&#10;? Selection profile&#10;CC5595&#10;. ? ED_FAMCARE_SNP_R3&#10;. * ZFC_R3_TO_APO_DRP....MARK_01&#10;. 闖EAN1&#10;. ? EDREORDER DATE&#10;Substitution Demand (Planned) CS&#10;Total Demand UNCON CS&#10;DistrReceipt (Planned) CS&#10;14.08.20 W 33.2016 W 34.2016 W 35.2016 W 36.2016 W 37.2016 W 38.2016 I&#10;DistrReceipt (TLB Confirmed)&#10;In Transit&#10;CS&#10;Production (Planned)&#10;CS&#10;CS&#10;10&#10;n..A. .i-; &#10;4 &#10;i[LUJLi&#10;Order Numb? ItmN? Schd.L Avail/Re... Avail/Re... ix Rec./Reqmts Qty&#10;r1000122907 1 0000 13.08.2 23:59:5 20&#10;L J ...&#10;?&#10;Original Qty Total Qty Unit Category Category De.ion Product&#10;20 20 CS EE SNP: Planned order 84960000&#10;Destination / Source Start D Start Ti&#10;U017 13.08.... 00:00:00

 

Machine generated alternative text:&#10;In Transit&#10;Cs&#10;Production&#10;(Planned)&#10;CS&#10;.1 .桰.-;...&#10;(r,..,?...,..4t&#10;A&#10;Destination / Source Start D Start Ti End Da End Ti Characteristics Source Destination Locat&#10;1111[ 1 4] 1[ 4][ Aj[ 4j  PIan/PDS&#10;U017 13.08.... 00:00:00 13.08. 23:59: U017 U017&#10;00000... 

==> 所以,如果R3里有PV,而APO无PV,则反回到APO里,还是沿用先前的PV

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/17144169/viewspace-2134248/ ,如需转载,请注明出处,否则将追究法律责任。

上一篇: 【Planning】R3 Scrap
请登录后发表评论 登录
全部评论

注册时间:2009-07-18

  • 博文量
    64
  • 访问量
    227838