ATP control in ABAP code, product allocation

Hello,
Scenario is like this:
I am creating sales order for 10 PC of material. Material is fully available on unrestricted stock but product allocation is allowing me to use only 3 PC of material.
Question:
I am searching for ABAP code which tells me what is the reason of 'incomplete' availability control?
So in other words I would like to know (in ABAP) whether the quantity is blocked due to the product allocation or due to the stock shortage.
Regards,
Piotr

Hi,
Please check the below code, MODULE should be in between Loop and End loop.
PROCESS BEFORE OUTPUT.
LOOP AT ITAB WITH CONTROL EMPTABLE CURSOR EMPTABLE-CURRENT_LINE.
   MODULE STATUS_0001.
ENDLOOP.
PROCESS AFTER INPUT.
MODULE USER_COMMAND_0001.
LOOP AT ITAB.
ENDLOOP.
Thanks,
Sriram.

Similar Messages

  • 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

  • Product Allocation Control OV4Z

    I am confusing on active checkbox in OV4Z.
    As I want to extend valid date for Product allocation.
    last year, I put it as 31.08.2008 and acitve
    for this year, I want to change it like 31.12.2999 but it is not allow me to change. So, I have to add new line for this. And of course, it should be activated.
    My question is, for the 31.08.2008. Should I leave it actived like that?
    If I remove active checkbox, what is the effect?
    If I leave it checked, what is the effect?
    Thank you in advance for your answers.
    Darin
    P.S. I think I logged it under incorrect forum..
    Edited by: Darin Yamrubboon on Jul 17, 2008 10:26 AM

    I am not sure if we can control it with the configruation done in this OV4Z t code. One approach might be , you have code in MV45AIZZ to control the allocation qty agaianst the order qty.
    Hope this helps
    Regards
    Sai

  • 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.

  • BAPI to check ATP Against Product Allocation

    My client has a requirement to check the ATP Against allocation when he create Sales Order Thr SAP CRM. Can anyone suggest which BAPI suits this requirement.?
    In brief - I required a Function Module that will return the quantity of material availability based on Product Allocation (from info structure) is needed by CRM to perform the check from CRM custom program. Thanks in advance.

    Hi
    Check these 2 Bapi's
    1)CRM_ATP_PROCESS_PARID
    2)CRM_AUC_PROD_ATP_CHECK
    Check if this helps
    Regds.....
    Sumit

  • ABAP Code to get Production Order Quantity for a material-Status REL,CRTD

    hi all,
    I am new to SAP. I am stuck with a problem while writing a abap code for getting all the production order quantities for a material with System Status REL and CRTD. Please help me out. This is what i tried to do.
      IF t_mat[] IS NOT INITIAL.
        t_mat2[] = t_mat[].
        SORT t_mat2 BY matnr.
        DELETE ADJACENT DUPLICATES FROM t_mat2 COMPARING matnr werks.
        SELECT auaufnr afgamng af~plnbez INTO CORRESPONDING FIELDS OF
        TABLE t_ord1 FROM afko AS af INNER JOIN  aufk AS au ON
          afaufnr = auaufnr
        FOR ALL ENTRIES IN t_mat2
        WHERE af~plnbez = t_mat2-matnr
        AND   au~werks  = t_mat2-werks
        AND   af~gltrs IN s_gltrs
        AND   af~gstri IN s_gstri
        AND   au~phas0 IN s_phas0
        AND   au~phas1 IN s_phas1.
      ENDIF.
    Thanks. Regards.
    Sandeep

    Hi
    There is one std tcode COOIS where u can get the information what u have asked
    Pls check
    regards
    Vijay

  • 3rd party process using product allocation for ATP-check

    Hi all,
    is there anybody out there who can share experience in setting up the 3rd party process using product allocation on APO for ATP-check? As the documentation is not that impressive any help is higly appreceated.
    Thanks
    Michael

    This will not be correct forum to reply to your query.
    Still, try following Hyperlink for some understanding,
    [Third-Party Order Processing by Product Allocation|http://help.sap.com/saphelp_scm70/helpdata/EN/7c/2b7941601b030de10000000a1550b0/frameset.htm]
    Thanks & Regards
    JP

  • Control product allocation

    Hi all,
    I am confusing on active checkbox in OV4Z as I want to extend valid date for Product allocation.
    last year, I put it as 31.08.2008 and acitve
    for this year, I want to change it like 31.12.2999 but it is not allow me to change. So, I have to add new line for this. And and active checkbox is checked.
    My question is, for the 31.08.2008. Should I leave it actived like that?
    If I remove active checkbox, what is the effect?
    If I leave it checked, what is the effect?
    Thank you in advance for your answers.
    Darin

    Hi Darin,
    You marked the message as answered. May I find out your solution for this? Did you remove the Active indicator for the entry that has the old date?
    I also have similar requirement and want to make sure that I am doing it right so would appreciate if you can let me know the solution.
    Cheers!
    SF

  • Product allocation is not working after setting all required config!

    Hello SD gurus,  Would you please help me to resolve this issue?
    I followed and configured all the required steps for product allocation  in ECC 6.0 Version still  the product allocation is not working as expected.
    Here are the steps performed
    1. Created procedure through OV1Z
    Maintained Product allocation procedureT.code OV1Z
    2.  Maintain product allocation object Transaction code: OV2Z
    3.   Create required info structure as per requirement T.code MC21
    4. Specify Hierarchy and Define the “Product allocation planning structure”
    Transaction code: OV3Z
    5.Define Consumption periods
    6. Control product allocation
    T. code: OV4Z
    Selected the product allocation procedure and given the required criteria and assigned to Info. Structure S991. Activated ‘Requirement category’ for product allocation
    8. T.code OVZ0
    Activate schedule line category for product allocation
    S991 Info structure Planning parameters updated
    Mc7F
    Create update
    T.code MC24
    Activate the update
    T.code OMO1
    Create planning Hierarchy
    T.code: MC61/62
    Maintain planning type
    . T.Code: MC8A/B
    Created the product allocation plan for required quantity  through MC94 IN spite of reserving stock as shown against the product allocation material specific and customer specific product allocation is not  worked and the regular Atp check allocated stock to some other customer when created  SO.
    Thanks for your help in advance
    Srini

    Hi Sumitra,
    Thanks a lot for your quick response!
    Actually to say availability check is working but not product allocation.
    I checked the settings in Material master MRP 3 view for strategy group  and it is 40.
    Availability check is 02 assigned. OVZ9 settings are assigned correctly 02-A- SD Order.
    Not knowing what is preventing to reserve the stock against product allocation!
    Do you or any one know where to see the product allocation stock?
    Best Regards& Thanks a lot for your help!
    Srini

  • 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

  • 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

  • Leading zeros in the Product allocation characteristic combinations.

    Hi All,
    I am copying Characteristic combination from planning area to product allocation group, after i complete the transaction system is automatically preceding the zeroes to the product number.
    I have one the following activities before copying CVC of planning area to product allocation group.
    against all the Product allocation settings.
    2.Created the MPOS with product (characteristic length of Product is 18), Customer and Allocation object.
    3.Created planning area and planning book.
    4.Copied cvc combination from planning are to product allocation group and also copied planning area values in to Product allocation group.
    5.Tried to check in the ATP simulation mode, while I was doing system has given no characteristic combination found, when I checked Product is preceding zeros as per the filed MATNR length 40 and this MATNR is selected from the Product allocation field catalog, But when I add zeros to product system is performing Product allocations in simulation mode.
    6.Tried triggering gATP Product allocations by creating Order in ECC, here also it has given same error No characteristic combination exists.
    When I did initial R&D on this. I found that material number in the product allocation characteristic combination is leading by zeros for ex:- 000000000000000002200325.
    Could any one please suggest me what to do on this.
    Thanks and Regards,
    T.Muthyalappa

    Hi Muthyalappa ,
    If i have understood your question properly , then my guess is you should be facing this problem only for numeric material codes. Try out the following things
    1. Execute the same test condition for a non numeric material. I believe it will work perfectly .
    2. For numeric material codes it is not working because of the difference in MATNR length between ECC and APO. In ECC the maximum possible MATNR length is 18 char whereas it is 40 chars in APO. So as per std SAP functionality the numeric materials get concatenated with leading zeros when you try to transfer it (or carry out any kind of processing ) from ECC to APO.
    ex consider material 12345. In ECC it will be stored internally as 13 leading zero's followed by12345 . But in APO it will be stored as 35 leading zero's followed by 12345.  Your issue is the system does not recognize the CVC that has this material as characteristic. At the time of cvc creation / change make sure your material characteristic ( especially for numeric material codes) totally has 40 chars . Pack it with leading zeros and make the material length 40.
    Try this out and update me .
    Thanks
    Saradha

  • Updating product allocations

    Hi,
    Product allocation is maintained at component. When I create sales order at parent material, allocation check takes place at component level (MATP is used). e,g ,incoming quantity (allocation) is 20 units.
    When I delete the corresponding ATP tree, the allocation quantities from the DP planning book in which allocations of the component are maintained is not getting updated.
    But when I delete sales order, the allocation situation in DP planning book is getting updated i.e. incoming order quantity (which was 20 units earlier) becomes 0.
    Query - so what is the element based on which the allocation quantity in DP planning book is getting updated when sales order is created ?
    Is it not based on ATP tree structure?
    thanks in advance..
    Regards,
    RS

    Hi Michael,
    Thanks for your response,
    So sales order is the element which controls the updation of the allocation table.
    If ECC is already working and allocation functionality is to be started using APO. Are the following steps correct ?
    1. Maintain allocations in APO
    2. Transfer only sales orders (existing) from ECC to APO
    3. Carry out availability check based on sales order priorities, in order to consume allocations. This is for initial consumption of allocations.
    4. Tranfer receipt elements data (e.g. stock, SNP planned orders)
    5. Re-ATP check for the sales orders in order to give the cofirmation dates based on receipt elements.
    The scenario is MTS....
    Insights in this area will be appreciated.
    Regards,
    RS
    Edited by: sap_apo31 on Dec 13, 2011 9:41 AM

  • Skip product allocation under certain conditions

    Hi everyone. We are trying to use EXIT_SAPLQUOT_001 which is supposed to be running prior to product allocation, so we can set up parameter E_AFLAG so that this functionality is skipped under certain conditions.
    Exit documentation says:
    User Exit: SD Product Allocation, Enhanced Checks
    Functionality
    The user exit is called up before reviewing the confirmed quantities against discrete allocations (from 3.0F).
    Before this happens, the availibilty check is carried out if this is switched on in Customizing (ATP or against pre-planning). The results of this are transferred to product allocation.
    You can carry out the following tasks with this function module:
    1. You can switch off or miss out product allocation (E_AFLAG). This can be general or depending on characteristic values. Other values to help make this decision can be imported from the order coding memory.
    However, the exit doesn't seem to be triggered during sales order processing. It takes us straight into the product allocation screen, ignoring the breakpoint and the skipping instruction.
    Any ideas? Anybody is using this exit for this purpose? We run product allocation without running ATP. Could this be the problem?
    Thanks!

    sounds like this the problem.
    as I understand,
    if running ATP, EXIT_SAPLQUOT_001 is hit, based on your logic, prod alloc is skipped.
    elseif ATP is turned off, EXIT_SAPLQUOT_001 is skipped, by default prd alloc is executed.
    try setup break points on prod. alloc to see if you could have alternative flag to control...
    go to debug mode and check call stacks to find another place to set break point.

  • ;product allocation

    what is product allocation respective to ATP and how do we do that and  when????
    swetha

    Hi Shwetha,
    Product allocations allow you to allocate and control goods in short supply of stock. Enabling product allocation, checks whether an order requirement can be confirmed according to the products allocated to the customer. During configuration of production allocation, at one step we assign product quantities customer wise. So apart from the regular ATP (available to promise) check which is carried out during order entry, a product allocation check is also carried out using the confirmed quantity from the ATP check. If an ATP check is not carried out, the product allocations are checked using the order requirement.
    You have define to define product allocation determination procedure and it will involve a little contribution from PP guy as well.
    For step by step procedure of configuration please follow the nodes under SPRO> Basic Function> Availability check & Transfer of Requirements--> Availability Check Against Product Allocation.
    Reg,
    KK

Maybe you are looking for

  • Can't convert any movies in itunes for ipod touch no more.

    I cannot convert movies no more in itunes for ipod touch after latest update.

  • Mac mini Server mid.2010 upgrade to Mavericks?

    Hi, my Mac mini Server (2.66GHz Intel Core Duo, 8Gb RAM) running OS X 10.8.5 does not propose me to upgrade to Mavericks through "Software Update". Does it mean it's not safe to upgrade? Why do I read that a Mac Mini more recent than 2009 can run Mav

  • Save Interactive PDF Form as static form

    I have an Interactive form in a Web Dynpro page. I fill in out, hit submit, it creates a PDF file on the server. This is great but when I open up the PDf that got created, it is still editable. How do I make Web Dynpro create a static or non-editable

  • Will the 24" LCD work on the last version iMac

    Hello, I have a 24" iMac (previous generation) with a mini-DVI. How would I go about connecting it a 24" LCD Apple Display?

  • Why do photos take up so much space on my phone?

    I have an iPhone 5, 16 gigs. I have 174 photos and 22 videos and it says that the photos take up 3.6g of my memory... My friend has over 2k photos and hers is at 4gigs. I saved my photos to iPhoto and I deleted all my photos and ran a test, I made su