Trouble with Sequence of Product Allocation Procedures in GATP

Hi,
I have created two allocation procedures. ZATP1,  ZATP2.  The expected result is the total quantity confirmed by ZATP1 + ZATP2.  In the ATP simulation, I am getting only the output  confirmed by procedure ZATP1.  The following are my settings.
       1. Created a procedure ZATP1 : I checked this individually in simulation and it is working
       2.  Created another procedure ZATP2 : I checked this individually in simulation and it is working
       3.  Created a "Sequence of Product Allocation Procedure ZSEQ" containing allocation procedure ZATP2.
       4. In the product master "ATP" tab I have updated , "Allocation Procedure" =ZATP1  and  Procedure Seq = ZSEQ. 
Can any one you tell me what I am missing to achieve this business requirement?  Any one faced a similar problem ?   We are in SCM 5.0
/Shibu

Thanks for the reply. I maintained only location <b>independant</b> product allocation with allocation sequence.
To replicate the scenario :
     We have two organizations who can make the allocation. Both are independent and shouldn't distrub each other. (Only production allocation check is configured in the check instructions).
The planning area I maintained are
    <b>ZDP01 :</b>  CVC : Allocation object :ZATP1 , Commerical model : A100 , Customer : 1000
For Oct : total allocation : 2000   Consumed :800
For Nov : total allocation : 1000  
<b>ZDP02 :</b>  CVC :      Allocation object :ZATP2, Commerical model : A100 , Customer : 1000
For Oct : total allocation : 500   Consumed :300
For Nov : total allocation : 500  
THe customer "1000" is now placing an order of  1250:  He should get confirmation in oct because 1200 can be given up by ZATP1 and 50 can be given by ZATP2.
The result I am getting via ATP simulation is 1200: Oct  and 50 Nov. (Both consumed against ZATP1):
Thanks again for sparing time on this issue.
/Shibu

Similar Messages

  • Bypassing  product allocation procedure

    hi my requirement is that based on the delivery priority ( for sales order or stock transport order) , i need to bypass the product allocation procedure.
    i also know the name of enhancement names.
    however i cannot find which transaction code do i need to refer to on scm side ?
    is this automatically done via cif , or do u need to specifically execute transaction on scm side ?
    the exits given to me are on apo side , however i not able to find a transaction to trigger it ?
    where can i find the technical name for this delivery priority field ?

    Why dont you change the Check mode in AVAILABILITY_CHECK on R/3 side and send it through field catlog and drive different chek instructions in APO to not do Prod allocation chk?

  • Troubles with Sequences

    I have tried unsuccessfully to use different methods in gumbo to replace tweenmax and had very little success the closest I have come is with parallel sequences but still not really achieving what I was hoping to do , targeting objects is the first issue(even with sequencing) as the only way I have suceeded so far is to target an object before playing a sequence as below, but I want to include multiple targets within a series of effects and declaring the target within a sequence just fails.
    PageL.rotationY=180;
    flipper.target=paperMod;
    flipper.play();
    TweenMax.to(PageL,2,{rotationY:1, delay:0.100});   <------ I really don't want this here
    this is the sequence
    <mx:Sequence id="flipper">
    <mx:Parallel duration="500">
    <mx:AnimateProperty property="force" fromValue="0" toValue="1.8"/>
    <mx:AnimateProperty property="angle" fromValue="-1.00" toValue="-0.25"/>
    <mx:AnimateProperty property="offset" fromValue="1" toValue="0.3"/>
    </mx:Parallel>
    <mx:Parallel duration="750">
    <mx:AnimateProperty property="force" toValue="0" fromValue="1.8"/>
    <mx:AnimateProperty property="angle" toValue="-1.00" fromValue="-0.25"/>
    <mx:AnimateProperty property="offset" toValue="1" fromValue="0.3"/>
    </mx:Parallel>
    </mx:Sequence>
    this is the tweening I want to replace
    protected function button2_clickHandler(event:MouseEvent):void
    PageL.rotationY=180;
    paperMod.force = 0;
    paperMod.offset = 0.95;
    paperMod.angle =  0;
    rev=true;
    myTween = new TweenMax(paperMod, 0.75, {force:1.7, offset:0.22, angle:-0.35, bezier:[{offset:1.2, angle:-0.7, force:1}],
    onComplete:reverseMe});
    TweenMax.to(PageL,2,{rotationY:1, delay:0.100});
    private function reverseMe():void
    if (rev==true)
    rev=false;
    myTween.reverse(false,true);
    http://gumbo.flashhub.net/flip/  - my test bed app
    So am I totally off-track or is there a way I can replace the tweening cleanly, I've tried motionpaths, animation etc... but nothing seems to work, and the big one is can I have multiple targets in a set of sequences/animations that could rival tweening.
    David

    Hi David,
    You should definitely be able to do this. The effects version is actually simpler than what you have below in Flex 4 beta (because of the new RepeatBehavior functionality and the ability for Animate to target multiple properties) (are you on Flex 4? Or using Flex 3?), but the key thing is that you have to specify the target (or multiple targets) either in the effect declaration or in the play() method when you launch it. Assuming you're okay with declaring the targets in the effects, here's how I'd rewrite your code using Flex4 effects:
    <s:Animate targets="{[paperMod, bezier]}" repeatCount="2" repeatBehavior="reverse"/>
        <s:SimpleMotionPath property="force" valueFrom="0" valueTo="1.8"/>
        <s:SimpleMotionPath property="angle" valueFrom="-1" valueTo="-.25"/>
        <s:SimpleMotionPath property="force" valueFrom="0" valueTo=".3"/>
    </s:Animate>
    If this is a question about Flex 3 effects, then I think the only thing you're missing is the targets. Add 'targets="{[paperMod, bezier]}"' to your Sequence declaration (the targets of composite effects propagate to the children unless the children override the targets).
    Does this help?
    Chet.
    ps: I have various tutorial videos on effects (Flex3 and Flex 4) on my blog at http://graphics-geek.blogspot.com - check it out if you want to get the bigger picture on how this stuff works.
    <mx:Sequence id="flipper">
    <mx:Parallel duration="500">
    <mx:AnimateProperty property="force" fromValue="0" toValue="1.8"/>
    <mx:AnimateProperty property="angle" fromValue="-1.00" toValue="-
    0.25"/>
    <mx:AnimateProperty property="offset" fromValue="1" toValue="0.3"/>
    </mx:Parallel>
    <mx:Parallel duration="750">
    <mx:AnimateProperty property="force" toValue="0" fromValue="1.8"/>
    <mx:AnimateProperty property="angle" toValue="-1.00" fromValue="-
    0.25"/>
    <mx:AnimateProperty property="offset" toValue="1" fromValue="0.3"/>
    </mx:Parallel>
    </mx:Sequence>
    >

  • Trouble with SEQUENCE, loosing numbers

    Hi all, I use a sequence to generate the number of an invoice like this:
    Insert into table
    values(owner.sequence_name.nextval);
    But, if an error occurs this number get lost because of the way the sequence works, how can I avoid this??, there is another way to do it??? It doesnt matter if that solution doesn't use the sequence, but my design cannot accept numbers like 1,3,4,5,7, it has to be 1,2,3,4,5,6,7....
    Leo
    null

    Unfortunately, this is another one of those concepts that sounds simple but isn't.
    Yours is not an Oracle (or any other DB) problem; it is a design problem.
    The reason that none of the suggested alternatives solve your problem is that there are undefined elements in your requirements.
    There are actually two aspects to your of problem: 1) generating unique sequential numbers and 2) using those numbers.
    I would suggest starting over and try to clearly define the problem and the requirements.
    For example your stated requirements appear to be something like:
    1. Invoice numbers must to be unique
    2. Invoice numbers must be numeric
    3. The first invoice number must be 27 (modify per your requirements)
    4. Each new invoice must be numbered one higher than the previous invoice.
    5. Invoice numbers must be sequential with no missing numbers.
    While the above list seems to be complete there are some very important questions that are not yet answered.
    1. When does an invoice become an invoice? That is, when is the invoice number assigned? Is the number assigned before or after the invoice record is committed to the database? If the number is assigned before committing (e.g. when the user begins processing an invoice) but the invoice is then abandoned and never committed there will be a gap in invoice numbers.
    2. Can invoice records ever be deleted? If a committed record is deleted there will be a gap in the numbers. Some systems handle deletions by either flagging the records as deleted without actually deleting them or moving the records to a deleted table so that all invoice numbers are always accounted for.
    Check printing applications used to print on pre-numbered check forms. The line printers that were used had sprockets to feed the checks and the first check could not be printed on since the sprockets were above the print head. The operator would enter the first check number into the system and the application created a check record marked VOID for that check number. This ensured that all pre-printed checks were accounted for and had not been misplaced or stolen.
    Oracle's sequence generator can generate sequence numbers in sequential order and ensure that there are no gaps in the generation process.
    Oracle cannot ensure that your application uses those numbers in a way that avoids gaps.
    Even a normal INSERT trigger that might be used to get the next sequence value cannot be certain that the record it is inserting will actually be committed unless the COMMIT operation is performed within the trigger.
    Sorry to 'rain on your parade' but withouth a better problem definition we can't give you a better solution.

  • BAPI for product allocation Check gATP

    Hi all,
    I read in the SAP documentation that we can use gATP on APO to check order item coming from non R/3 OLTP on product allocations.
    Is someone test it, which BAPI or BAdi do we use?
    Many thanks in advance.

    Hello,
    Following enhancement is available for Product allocation.
    Maintain Enhancement Projects for Product Allocation
    In this IMG activity, you can edit customer exits for the global availability check.
    Product allocations
    The enhancement for the initialization is APOQT001 .
    The user exits for product allocations are divided into two different call sequences:
    Product allocations is the requirements check against the product allocation time series from planning. A complete check is executed for this call sequence.
    The enhancements for product allocations are:
    APOQT010 copy parameters
    APOQT012 product allocations control
    APOQT021 product allocations
    APOQT022 consumption at beginning situation
    APOQT023 order consumption
    APOQT032 results control
    APOQT033 sequence of product allocation procedures
    APOQT007 product allocation assignment of partial deliveries
    APOQT018 adjusting field catalog
    The comparison adjusts the results of product allocations to the results of the other basic methods. This adjustment is necessary when product allocations is not the last basic method executed.
    The enhancements for the comparison are:
    APOQT011 copy parameters
    APOQT014 product allocations control
    APOQT024 consumption
    APOQT034 results control
    APOQT035 sequence of product allocation procedures
    The sequence of the basic methods is configured in the check instructions.
    When comparing, the entries in the table for the product allocation assignment and the temporary quantity assignments (delta records) are adjusted to the final results of the ATP check.
    If the behavior of product allocations is changed by the user exits, the behavior of the comparison must be adapted accordingly in the corresponding user exits!
    Thanks and Regards

  • Issue with Product Allocation Scenario

    I am Trying out Product Allocation in APO (SCM 5.0).
    Relevant setup in SPRO - Product Allocation Object, Group, Procedure, Sequence etc., Planning Object Structure, Planning Area, CVC generation, Connection between Planning Area and Product Allocation object in GATP, assignment in Location Product Master (at Customer Location) Product Allocation Procedure, Check mode, ATP Group has been done in APO.
    After entering data in appropriate keyfigures (Allocated Qty) it shows up under GATP>> Reporting >> Product Allocations >> Time Series per CVC
    Have carried out ATP Simulation to check that for a given product at Customer the Product Allocation against a Required Quantity takes place correctly.
    Now trying to carry out the Product Allocation check by creating a Sales Order in ECC. In that case during the material availability check screen in APO, the product allocation does not show up.
    I believe it is related to master data settings for the product in ECC. My questions are as follows:
    1. In ECC the product exists at the manufacturing plant only (and not at customer as in APO). There in MRP3 tab Strategy Group is maintained. Is this along with Availability Check field responsible for determining the check instruction (combination of check mode + business event) in APO for the Product Allocation check.
    2. If so (which I guess it is) I can see the check instruction picked up in APO while creation of sales order in ECC is different from the check instruction I ran simulation with. How can I ensure the same check instruction is chosen (in which case I believe the availability check result will be same as the ATP Simulation carried out in APO).
    3. In APO I ran simulation for the product at customer location (and maintained the required ATP settings in the product master). In case of Sales Order creation in ECC how does system pick up the Check Mode and Business Event for the product (having Sold-to as customer and Supply Plant as the plant code) and use it in APO.
    4. Any other setting/configuration that is missed causing this behaviour.
    I guess some of the questions is a bit hazy but I would appreciate if someone can outline the Product Allocation Scenario. I am trying out based on Building Block S59 Demand Planning for Product Allocation but of course it does not detail out enough.
    Disclaimer: My knowledge of GATP is almost nil but am exploring.
    Thanks,
    Somnath

    Hi Somnath,
    It will be a pleasure to help you out.
    Firstly I will list out all the steps which I can think of:
    (1) R3-You have moved all the ATP customizing from R3 to APO via ATP integration model.
    (2) APO- goto SPRO>APO>GATP>General Settings>Maintain Check Instructions
    Here go to Check Mode- 041 and Business Event- A and maintain the following settings manually in development and migrate it all the way to Production
    I am assuming here that you want to first do an allocation check and then availability check**
    Product Allocation: Change from NO CHECK to First Check
    Product Check: Change from First Check to Second Check
    This check mode and business event is the most common one which is triggered while placing a sales order
    See the following blog for DETERMINATION OF CHECK MODE
    http://solution-timezone-issue.blogspot.com/
    There might be other check modes( 030, 050) which might also require this change. However you can judge that while placing a sales order and when you go to the availability screen, You have the tab - SCOPE OF CHECK CONTROL where you can see the Check Mode + Business Event
    Following guidelines can be used to modify Check Instrctions after Customizing Import from R/3 –
    1.     Business Event A*  is Sales Order Entry (The main scope of GATP) so define check instructions for all check modes since it is not possible to identify the requirement class that may come over on an order. For Business Event A* if availability check was being done in R3, then define check instructions with Allocation as first step, then Availability check as second step. Else if no availablity check in R3 then define check instructions with no availability and no allocation checks.
    2.     Business Event B* is  normally for deliveries but is also required for Rush Sales Orders. An R/3 configuration showed that 041 is the only requirement class that will come across for this business event. Hence defined only for 041 check mode. For Business Event B* if availability check was being done in R3, then define check instructions with Allocation as first step, then Availability check as second step. Else if no availablity check in R3 then define check instructions with no availability and no allocation checks.
    3.     Business Event 03 required for Inventory Transaction availability check such as MB1C. For such transactions, the APO Product Master Check Mode is used. Hence check instructions for all Check Modes are maintained. For Business Event 03 if availability check was being done in R3, then define check instructions with Availability check as first step. Else if no availablity check in R3 then define check instructions with no availability checks.
    (3) Maintain the Product Alllocation Procedure:
    <b>a-</b> Create a Product Alloc Object -- Example: PAO-001
    In this step, we define the product allocations objects - product allocations are saved per object for a characteristics combination in the product allocation group.
      Product Allocation Procedures can be used to maintain different Product Allocation Objects for different time validity periods.
      Generally Product Allocation Objects are used to model the different ‘reasons’ for the need for allocation – material shortage, capacity constraint, etc.
    <b>b-</b> Product Alloc Group--PAO-1234
    A product allocation group defines a group of characteristics against which allocation checking is done.
       Creating a Product Allocation Group creates a characteristics directory in the APO database and an area in Live Cache where the key figures are maintained.
       If ‘Check Planning Area’ is set to No then allocation and incoming order quantitiy data can be seen in table /SAPAPO/QTTAB. If the ‘Check Planning Area’ is set to Yes then no data is stored in this table and the allocation check is done directly against the data in the Planning area.
       Detials of allocationconsumption by sales orders are maintained in table /SAPAPO/QTVB in APO and in QTVB in R/3.
      If ‘Check Planning Area’ is set to ‘Yes’ and if there are users are in the change mode in the Planning Book, Sales Order Entry can get locked out.
      If ‘Check Planning Area’ is initially set to yes and then deactivated later you will no longer see data in /SAPAPO/AC42.
    Settings:
    Check Planning Area – Yes. The reason being that users are not expected to lock planning books as they would be defaulted into the display mode (through a development object). Also most allocation uploads will be through batch jobs. Setting it to ‘Yes’ reduces one step of moving data between the planning area and the allocation group.
    Check Date - Material Availability Date. Consumption of allocation quantity and checking of available allocation quantities is determined by the check date.
    Time Bucket Profile – Week
    Characteristics – Product Allocation Object (1), Product (2), Plant(3), Customer(4)
    Consumption Period – Bwd Consumption 1  
    Meaning that first the order will consume from current week allocation and then go 1 week backward to consume.
    <b>c-</b> Product Allocation Procedure --- PAO-4567
    Step Sequence:
    <i>Step</i> -
    <i>Step Name-</i> -
    Prod Alloc Group -
    Wild card
    1                      First Step             PAO-1234                     9
    <i>Alloc Procudure</i> - PAO-4567
    <i>Prod Alloc Step</i> -1
    <i>Control</i>
    <i>Valid from -
    Valid to---- -
    Object -
    Active -
    Factor</i>
                            12/31/2037      PAO-001    Check the Box                  1
    <b>d-</b> Maintain Connection to Planning Area (APO) 
    In this step, we maintain the assignment of the planning area to the product allocation group. We must make this assignment because characteristics of the product allocation group have different names from the info objects of the planning area.
      All characteristics of a product allocation group must be assigned to an info object. But multiple info objects can be assigned to one info object. It is not always necessary to assign every info object to a characteristic. It is possible for aggregation and disaggregation (depending on the direction of transfer) to take place with info objects that are not assigned.
    <i>Product Alloc Group -
    Planning Area -
    Version -
    Time Buckets</i>
    PAO-1234                         xxxxx                     000             W
    <i>Characteristic</i>
    KONOB - Prod Alloc Obj
    MATNR --- Material
    WERK -
    Plant
    XXXXX---- Customer
    <i>Key Figures</i>
    Order Qty - AMENGE
    Alloc Qty - KCQTY
    <b>e-</b>  Check the Product Alloc Settings
    This is only a check- Everything should be green and OK .
    (4) You have planned the Characteristic Combination on which you want to do ALLOCATION.
    <b>Create a new POS-</b> Which has your chracateristics as PRODUCT, PLANT,CUSTOMER, Product Alloc Object ( 9AKONOB)
    <b>Planning Area,-</b> Key figures required are Alloc Qty, Order Qty( Sales Order Qty)
    <b>PLannig Book, Data View</b> which has the following characteristics- Product, PLant
    Assuming you are allocating at the following CVC level- Product, PLant,Customer
    Step 1:
    /n/sapapo/MC62-Create Time Series- Basicallly your CVCs -
    Example: Product 1234, Plant INDIA, CUstomer WALKART
    Step 2:
    Move Characteristic Values Combination to Allocation Group (APO) 
    /SAPAPO/ATPQ_PAREA_K
    INput :
    Planning Area: xxxx
    Prod Alloc Group: PAO-1234
    (5) In the INtegration MOdel - Activate the ATP CHECK Integration model for the Plant and material
    THis is the KEY which decides whether availability should be done in R3 or APO
    Material Active in the integration model -- Means Availability( GLOBAL AVAILABILITY: Prod Alloc+Prod Availability) is done in APO
    Material not active in the integration model --- Means Availability Check is done in R3
    (6) APO MASTER DATA SETTINGS:
    Material Master:  On the ATP Tab, Assign Loc Dep Procedure ( Prod Alloc Procedure)
    Location Master: Calendar Tab> Create a shipping time stream calendar
    Additional Info: Please contact your R3-SD people as this involves a lot of understanding and I have not listed all the details here.
    This config shown here is a very basic one which not even 25% of the companies might be using.
    If you have any questions on this part- please see my business card and email me**
    (7) SCHEDULING: This is a major task which determines the route and transit times for calculating the
    Material Availability date
    Goods Issue Date
    Delivery Date
    on the sales order line item- schedule line
    I dont know whether you need info on this**There are many ways of doing this
    a- Configurable Scheduling
    b- COndition records
    c- User Exit
    You can find documentation in SPRO or else let me know*
    For simplicity- Let me take the easiest to create and difficult to maintain master data- Condition Records
    Step1 --Define Field Catalog for Condition Table (APO) 
    /SAPCND/AU01
    Require Plant and Route defined here in the field catalog
    Step 2- Define Condition Table for Scheduling (APO) 
    /SAPCND/AU03
    Create a new table- 901
    901 -  Pick Time based on Route with key as Route
    902- Route Time based on route
    Step 3- Maintain Access for Scheduling (APO) 
    /SAPCND/AU07
    Take the important ones- PICK and TRAN
    I am assuming again as I dont know what kind of Scheduling is maintained on R3 Side. Mostly 80% companies have only two lead times- Pick and Route Transit time.**
    PICK- Select pick and click on accesses > <i>Acno</i>-10-- <i>Table</i>-901
             >> Then save it > and go in again
    Select PICK and click on Fields> A popup will appear > Enter the access sequence as PICK--- Enter the access as 10  and click on the GREEn ARROW and save it
    TRAN- Select TRAN and click on accesses > <i>Acno</i>-10-- <i>Table</i>-902
             >> Then save it > and go in again
    Select TRAN and click on Fields> A popup will appear > Enter the access sequence as TRAN--- Enter the access as 10  and click on the GREEn ARROW and save it
    Now coming to maintaining the Condition records in APO EASY ACCESS
    /SAPCND/AU11
    Create  SCheduling Step for PICK : Enter condition type- PICK
    <i>Enter Route</i>- USCAN --- <i>Duration</i> -24:00 (Hrs)
    Create  SCheduling Step for TRAN: Enter condition type- TRAN
    <i>Enter Route</i>- USCAN --- <i>Duration</i> -48:00 (Hrs)
    Now Let me answer your questions:
    (1) Question 1- <i>In ECC the product exists at the manufacturing plant only (and not at customer as in APO).</i>     
    I did not undertsand what you mean here. As we can create a Material at the following locations in APO( Dist Center(DC), Manu Plant(PL), Cusomter, Vendor, etc)
    For GATP all we need is the material at a PLant location
    STrategy Group on MRP3 tab: This is purely used for determining the CHECK MODE value on APO Product Master.
    When this is blank on R3, the check mode will be blank on APO.
    However SAP recommends Putting in a strategy group value on R3 Material Master
    or
    a default Check MOde value for all those Products who have blank check mode-   041 is the best value * This piece SAP hasnt recommended but I found that there is No harm in anyway and it is MANDATORYfor inventory transactions like GOODS ISSUE otherwise you will get a QUEUE in SYSFAIL **
    Even if this is blank this has no effect on the GLOBAL ATP as the Check mode for a SD transaction is determined as follows
    98% of the SD transactions will generate a CHeck mode of 041 and Business Event- A ***
    Through the item category and the MRP type in the MRP view
    The item category is derived from the item category group in the Sales view of the material master record and from the order type of the sales document. Together with the MRP type in the MRP view of the material master record, the item category determines what requirements type is selected. The advantage of this method is that the selection of the requirements type depends on the business process (such as quotation, sales order, or repair).
    (2) Question 2 - I guess now you must have understood why when you do a simulation in APO, it is taking the Check mode from APO product Master
    and when you do a ATP Check from R3, the check mode(041) is different
    You dont need to ensure that they are the same- It doesnt matter in anyway.
    (3) Question 3- <i>In APO I ran simulation for the product at customer location (and maintained the required ATP settings in the product master).</i>I
    When you run ATP simulation- AC04, you generally run it for the plant as that is the supplying location and not the customer.
    <i>In case of Sales Order creation in ECC how does system pick up the Check Mode and Business Event for the product (having Sold-to as customer and Supply Plant as the plant code) and use it in APO.</i>
    PLease look above for this answer.
    (4) Question 4 - <i>Any other setting/configuration that is missed causing this behaviour.</i>
    To my best knowledge, whatever I could remember I have listed out. However there are some more steps which might be needed.
    Follow all the steps as I have mentioned and whenever you get struck somewhere, shoot me a message and I will help you.
    ONe more pointer here to what you have mentioned
    Relevant setup in SPRO - Product Allocation Object, Group, Procedure, Sequence etc., Planning Object Structure, Planning Area, CVC generation, Connection between Planning Area and Product Allocation object in GATP, assignment in Location Product Master (at Customer Location) Product Allocation Procedure, Check mode, ATP Group has been done in APO.
    After entering data in appropriate keyfigures (Allocated Qty) it shows up under GATP>> Reporting >> Product Allocations >> Time Series per CVC
    <u><i>Have carried out ATP Simulation to check that for a given product at Customer the Product Allocation against a Required Quantity takes place correctly.</i></u>
    Somnath, I believe you might have a wrong picture here. The concept of allocation is  Controlling Supply against huge Demand which is in this case coming from SALES ORDER
    When you place a sales order, the supplying location is your plant and that is where you would like to put in allocation quantities
    Say for example for a material 12345 - You have stock of 100 Qty in Plant KING fo this week and it shows as follows in the planning book
    Customers say are WALKART, GE-FUG, MACROGUN
    The CVCs which we have to create are as follows
    Similar to Demand PLanning**
    Material 12345 -PLant KING-Cust WALKART-Prod Alloc Obj
    Material 12345 -PLant KING-Cust GE-FUG-Prod Alloc Obj
    Material 12345 -PLant KING-Cust MACROGUN-Prod Alloc Obj
    And this is how it appears in the planing book when you go into DETAILS ALL
    You basically enter the Allocation Quantities just as how you enter forecast quantities in DP Book*
                            Wk1   |  WK2     WK3   WK4  WK5
    Alloc Qty                     |
    Material 12345                |
    Plant KING                    |
    Cust WALKART            50    |
    Cust GE-FUG             30    |
    Cust MACROGUN           20    |
    Incoming Order Qty               |
    Material 12345                   |
    Plant KING                       |
    Cust WALKART           <u>50</u>|
    Cust GE-FUG            <u>25</u> |
    Cust MACROGUN          <u>20</u> |
    <u>50</u> : Say the Cust WALKART has ordered 250 for this week, however only the allocated quantity -50 will be confirmed for him and the remaining 200 qty will be confirme at a later week when he is given the allocated amount.
    <u>25</u> :Similarily say this customer GE-FUG has ordered 20 qty. So his remaining allocation is basically 5 which cannot be used by any other customer.
    <u>20</u> : Say this customer MACROGUN has ordered exactly the allocated amount of 20. So his remaining allocation will be 0.
    This is the basic idea of how Allocation Concept is used in GATP.
    Ofcourse you can add the other functionalities like
    Rules Based ATP(LOcation Substitution, Product Substitution)
    Multi ATP( BOM-COmponents)
    Check Aginst Forecast
    Etc Etc
    Like any other module of SAP- this module has much to offer which unfortunately I cannot list here**
    GOOD LUCK and let me know If you need additional help.
    Regards
    KUMAR AYYAGARI
    Message was edited by:
            Kumar P Ayyagari

  • Global ATP with product allocations and SD returns

    Dear all,
    We have  been setting up an implementation scenario with an ECC 6.0 and SCM 5.0 system which verifies SD orders versus SCM product allocations.
    With SD orders and SD contracts everything works fine. But we have a problem with using SD returns (same material and plant used like the SD orders): We would expect the system also to check the returns for product allocation quantities but it seems that the SCM availability check does not enter the product allocation procedure at all (we have some user-exits in use but these are only accessed when we go via SD orders, no access at all for SD returns).
    Is there any special setting which we have to activate in order to have the SD returns properly processed with product allocations? (Customizing "Set the Transfer of Returns to SAP APO" within ECC is activated) The system somewhere gets stuck during the check within the SCM system.
    Thanks for providing assistance regarding this matter.
    Kind regards,
    Klemens

    Hi folks, did you resolve your issue here? I assume what you are wanting is for the Returns order to free up allocations qtys that had previously been consumed by the originating sales order, that is, incoming orders qty should be reduced by the amount of the returns order. I know that when a sales order line item is rejected the incoming order qty is reduced, but I'm not sure it is possible for a returns order to do this.
    ATP Man, are you saying that as category BZ is not supported by Allocations that it is therefore not possible for the Incoming Orders Qty to be reduced  by a Returns Order? I have a business reequirement to do exactly that.
    If it is not possible to do this through the automatically via the ATP check, the only way I can think to address this, would be to try and transfer the Returns qty to SCM after the order is saved and then to have a macro that reads the returns qty and reduces the Incoming Orders qty by the qty of the return.
    Paul.

  • GATP: Product allocation with SD Scheduling Agreements ?

    Hello experts,
    we want to use Product allocation in APO-GATP (SCM5.0 SP13) to do shipping capacity leveling. The location is fulfilling following DocTypes :
    SD Sales Orders
    SD Scheduling Agreements
    MM Stocktransfers
    Does somebody know if SD Scheduling Agreements can be used with GATP product allocation ? I'm asking since this document type is NOT supported for Rules-Based-ATP (substitution etc.) for example.
    Thanks
    Thomas Schulze

    Hi Thomas,
    Just have a look into the SAP Help:
    Check Against Product Allocations
    You can use the check against product allocations in SAP APO for the following documents:
    ·         Sales orders
    ·         Sales scheduling agreements
    ·         Free-of-charge deliveries
    ·         Stock transport orders
    -> Yes, Scheduling Agreements can be checked against Prodcut allocations !
    best regards,
    Michael

  • Adding new field to product allocation catalog?

    We are configuring product allocations in SCM 7.0 and have a requirement to add a new field to the standard field catalog for the allocations check.  We have followed the procedure outlined by SAP to add our new field to the structure /SAPAPO/KOMGOZ, add the field to the field catalog, and copied the source code to ERP.
    The issue that we are having is that new custom field that we added to the field catalog is not being populated when we execute /SAPAPO/ATPQ_PAREA_K - Characteristics Combinations from Planning Area.  The product allocations group that is being used in /SAPAPO/ATPQ_PAREA_K has three characteristics. The first two which are SAP provided fields are being populated correctly, but the last custom field we added to the field catalog is not. It is just blank.
    Is there a step that we missed during the configuation.  We are only using this field for the product allocations check (we do not use Rules Based ATP).

    Hi Arnel,
    I was expecting with examples but anyway.
    consider the examples of your CVC
    Country Region brand SO DV DC mat plant  etc...
    now you want to first get confirmation on SO and DV  , Prd allo group with these 2 characteristics
    same goes for all other combinations.
    now if you want to go with Either Or   /And.. decides if you need to go with one product allocation procedure with many prod allocation group  /or/ a sequence product allocation procedure.
    Its very straight forward as such... if you come up with examples, i can give better details.
    Looking at point 3 it looks like you want to go with 'OR' so you will have to go with sequence.
    (tcode: /SAPAPO/ATPCQ_GENER)-  is to check the customizing,  sometime you might move the Prod allocation from dev system and just to make sure there is no issue in transport /missing config.. it will check with transaction code.  I don't think you have to run this every time. After every transport..may be you have too as a caution check.
    Imp:  just to check @ different levels i dont think you will have to create different planning area.  If all the characteristics on which you want to (combinations) is available in one planning area , you should be good with one planning area only.
    Hope this is helpful.  I would suggest to follow what we have discussed so far and then you can create another message after the configuration/approach you finalized  with new issues/concerns you will be facing.
    If issue are really bothering you much, you can reach out to me directly. Let me know
    Pravin M

  • How is the product allocation  work?

    How is the product allocation  works? (material master: Basic Data 1,) where is the place to maintain the parameters?
    point will given

    Product Allocation
    Configuration Overview; Allocation Specific Usage
    1.Allocation Procedure (OV1Z) The product allocation procedure is the parent of the entire allocation process. All materials that are to be included in the allocation scheme are required to have an allocation procedure assigned to it in the material master. In addition, as of release 4.0, it is in the procedure that the method of allocation is defined. The user has the opportunity to set an indicator to identify their choice of two different methods (discrete and cumulative allocation) to evaluate the quantities to be considered for product allocation.
    2.Allocation Object (OV2Z) The allocation object is the root level of the allocation process where actual data is entered and planned in LIS. The object allows the user to further break down a procedure into smaller parts for future validation of components comprising a specific material
    3.Allocation Hierarchy Mapping (OV3Z) Primarily, this transaction permits the assignment of an allocation procedure to an LIS information structure. Secondly, a character is assigned to the information structure to permit collective planning. Finally, the user can assign a step level to the procedure and information structure to sequence the order in which allocation quantities are checked. This functionality allows the user the opportunity to check product allocation against several product allocation scenarios, before the required quantity is confirmed
    4.Define Consumption Periods (OV5Z) The allocation consumption periods functionality is only valid if the allocation method flag has been set (OV1Z). If you have de-selected the method field, this functionality is not available. The consumption window indicates the number of past and future periods to be used in the allocation check.
    5.Control Product Allocation (OV4Z) In order for the allocation process to function properly, allocation control records are created primarily to map allocation procedure steps to their corresponding objects so that the allocation data records can be located for validation. Secondly, validity periods must be established to indicate when the allocation control records are active. Finally, the user has the option of establishing a conversion factor per allocation control record to accommodate BOM listings of constrained materials
    6.Activate Allocation for Requirement Class (OVZ0) In order to turn on allocation in the standard order processing functionality, the requirements class must have a flag indicating that allocation is relevant.
    7.Activate Allocation for Schedule Line Category (OVZ8) In order to turn on allocation in the standard order processing functionality, the schedule line must have a flag indicating that allocation is relevant
    8.Create Planning Hierarchy (MC61) In order to adequately establish allocation quantities, the user must initially determine the level at which the allocation is to take place and the aggregation factor of the allocation quantities. In this step, the levels for the collective allocation search procedure are also identified.
    9.Generate Masking Character (OV7Z) Upon completion of the level determination for the planning hierarchy, the collective allocation masking character must be generated to allow aggregation indicators to be established. This transaction simply reads the hierarchy established in the planning table and then generates a collective mask character for each level of the hierarchy
    10.Modify Planning Hierarchy (MC62) This step is a repeat of MC61 where the initial hierarchy was established. In order to complete the hierarchical set up, the collective allocation (mask character) hierarchy must now be maintained with the appropriate aggregation factors
    11.Allocation Procedure Assignment to Material Master (MM02) At the root level of the allocation process are the materials. Each material that is to be considered in allocation scenario must be mapped to an allocation procedure. In order entry, then, when a material is entered with a valid allocation procedure in the material master, the allocation data is verified prior to confirming the line item ordered
    12.List of Suitable Structures (OV9Z) This report is used to identify potential LIS information structures that can be used in the product allocation process. This report simply reads through the data dictionary and selects all the active information structures that contain the field product allocation object (KONOB) as the first field. This data can then be utilized in the mapping transaction (OV3Z) to link the allocation procedure step to an information structure (previous step).
    Regards
    Jitesh

  • Product allocation not working even after complete setup at sales order lvl

    Hi All,
    I have setup product allocation as detailed in forum earlier links, still I am not gettin sales order to use ATP with product allocation. I have tried with S140 and S700 with no success. Already went thru all the steps starting with OVZ* tcode. And during allocation check I can see the part number which has PRODUCT ALLOC procedure assigned. So, what is missing?
    Appreciate if someone can provide me with a SAP documentation to make sure I can recheck the settings one final time.
    Thanks.
    Naren

    It worked but doesn't seem to suit business requirement.

  • Product Allocation in OM17

    Hi Experts
    I am new to APO GATP.We have implemented GATP Basic methods product availabilty check and allocation check in our project.
    When i run OM17 for product allocations we are getting following inconsistencies:
    000     Shortage of incoming orders quantity     @5F\QNo long text exists@     ZCS_S999     32oyIy8a043X0000meaTaW     12.04.2010     18.04.2010     0     0     1,222     1,222
    When i run correct inconsistencies , inconsistencies are not getting removed.following message is prompting:
    Message Number: /SAPAPO/OM_SYNC082
    Diagnosis
    The incoming orders quantity in liveCache could not be adjusted using product allocation assignment. This can have a number of causes. Check the following causes and try again:
    Procedure
    Check:
    If the planning area to be adjusted is locked
    If the time series are initialized (after liveCache has been initialized)
    If all characteristics combinations exist in the planning area
    1)What is the problem and why i am getting this error message?
    2) How to remove or resolve the above inconsistency?
    Regards
    Vicky

    Hi Senthil
    Thanks for your reply.
    When i run OM17 for product allocations we are getting following inconsistencies:
    000 Shortage of incoming orders quantity @5F\QNo long text exists@ ZCS_S999 32oyIy8a043X0000meaTaW 12.04.2010 18.04.2010 0 0 1,222 1,222
    1) Based on the planning object number(32oyIy8a043X0000meaTaW) from om17, i went to the transaction /SAPAPO/ATPQ_CHKCHAR - Characteristic Combinations  and i dont find the characteristic value combination of the Planning Object Number.
    2) I ran the transaction /SAPAPO/ATPQ_CHKUSG - Product Allocation Assignment Check  based on the product allocation group and planning object number (32oyIy8a043X0000meaTaW ) with Assignment w/o order quantity i found it with red lght.
    1) Check whether if the allocation group is used in several product allocation steps. (We are using only single product allocation step )
    2) Check the product allocation procedure is maintained correctly( Yes its maintained correctly)
    3) Check whether any lock created in planning area(How and where to check this )
    4) Check whether the planning area is initialised(yes Planning area is intialized )
    5) Run /SAPAPO/TSCONS and check for any errors(No errors)
    6) Run /SAPAPO/ATPQ_CHKUSG and look for any errors
    (I ran the transaction /SAPAPO/ATPQ_CHKUSG - Product Allocation Assignment Check  based on the product allocation group and planning object number (32oyIy8a043X0000meaTaW ) with Assignment w/o order quantity i found planning object number with red colour.I dont understand what need to done in this transaction. I tried to delete but Delete option is greyed Out)
    What would be the reason for this error?
    How to resolve this inconsistency?
    Regards
    Vicky
    Edited by: vicky999 on Jun 24, 2010 4:17 PM

  • Product Allocation--Can we Have in MC94 Planning for 2 or 3 materials

    Hi,Experts ,
    As MC94 shows only one column for every Months allocation ,example 07.2009,08.2009.........
    then--->
    1>can we have 2 or 3 materials and 2 or 3 customers for same Production allocation Procedures
    like can we have 0000000000001-Product Allocation procedure same for all materials and same customer groupe like 01 for 3 or more customers .
    2> MC94 for Product allocation Planning can we product allocation for 2 or more materials and 2 or more customers for reserving quantities like 03 for product allocation,if yes how?
    if ,no then how can we have allocation for different materials say for 6 quantity in MC94.
    If I have to book for material A 8 quantity,material 2--9, material --10 quantity for product Allocation and same for customer 1 ,customer 2 then how will i do in MC94,all this in simultaneously though I have assigned the same allocation procedure and allocation object assigned and work out in MC94 at a time for all of these then How do i reserve all of them in single instance for Product allocation.
    3>Can we have ordered quantity in sales order as 10  and if in MC94 we have 4 as product allocations then what would be resultant schedule lines 4 or 10.
    if  confirmed quantity is 10 in sales order  then whats use of product allocation of 4 quantity in MC94.
    Experts Pls clarify with your contacts and emails.
    Thanks

    For Point No 3
    Can we have ordered quantity in sales order as 10 and if in MC94 we have 4 as product allocations then what would be resultant schedule lines 4 or 10.
    if confirmed quantity is 10 in sales order then whats use of product allocation of 4 quantity in MC94.
    In in MC94 you have allocated 4 pieces then schedule line will also be of 4 only..And the remaining quantity will be confirmed for next month schedule line in case you have allocated sufficient quantity for next month also in MC94.

  • Issues with Sequence Generator

    I'm having trouble with Sequence generator not generating continuous numbers starting from 1, each time I run the mapping.
    I want the Sequence to start from 1, each time the mapping is run. For this to happen, I'm using a pre-mapping operator which uses an oracle procedure to reset the sequence.
    But, the sequence generates the numbers from some weird number, say 3508 and then jumps to 5006 and so on. I'm not able to track what's wrong with the sequence. I have stopped the caching in Sequence but still it hasn't helped. I'm sure and have verified that the procedure being used to reset the sequence is running fine.
    Please suggest some additional parameters/properties at OWB level to be checked for the sequence, if any OR any thoughts on why the sequence is not starting from 1. Thanks in advance.
    Thanks,
    Sachin
    Edited by: 850549 on Apr 23, 2011 11:43 AM
    Edited by: 850549 on Apr 23, 2011 11:44 AM

    Could you check whether the sequence you use has a cache value greater than 1 defined in the database. This way if your database regularly should be stoped, e.g for offline backup, you'll loose the sequence values that were unused in memory at that time. That way the gaps in your surrogate ids would be explainable.

  • Unable to confirm quantity on the sales order --- Product allocation issue

    The following configuration steps were completed in the APO system.
    1.     Maintain Product allocation object
    2.     Maintain Product allocation group
    3.     Maintain Product allocation procedure
    4.     Create planning object structure with the necessary characteristics
    5.     Maintain characteristic combination
    6.     Create Planning area with necessary key figures
    7.     Create Planning book and data view
    8.     Maintain connection to planning area
    9.     Generate Product allocation group objects
    10.     Generate characteristic combination from planning area
    11.     Allocate the stock for the CVC combination
    12.                 Assigned the product allocation group to the APO product
    Regardless of quantity in the planning book, it is confirming all the quantity on the ECC sales order. This is due to the material availability date being pushed out to 12/31/2011 which seems to be the last date of the planning area time series. The values on the planning book were maintained online (manual step).
    Also when I run the simulation of product allocation under GATP>Reporting>Product allocation,
    For the product allocation group and the combinations that I have, I get the message "No allocations defined for the current characteristic combination"
    Any help would be greatly appreciated.
    Thanks
    Ashwin

    Dear Ashwin,
    I would recommend to use the transaction /SAPAPO/ATPQ_CHKUSG. Enter the PAL group and do the following:
    First: run the transaction with the 3rd option. Select all assignments found by the report then press the button delete with incoming order qty -> this deletes all assignments without any order number                                                                               
    Second: run the transaction again with the 1st option. Select all entries. press the button "merge PAL assignments", press button execute, choose on the first popup "yes" and on the second popup "no"  -> this should correct the shortages.                                                                               
    Check the note 676128 to get further information about the //ATPQ_CHKUSG and the options.                                             
    I hope this helps.
    Regards,
    Tibor

Maybe you are looking for