Modify ATP Category of an Order

Hi,
  I have to modify the Category(AI) of an Order during the CTM run. I looked into the BADI /SAPAPO/CTM_ORDERS But it seemd not to work.
  Appreciate If you please let me know where we can modfiy it.
Thanks

Hi,
  Business wants CTM generated planned orders to be differentiated between sales order related and forecast related.  The first option to achieve this was by converting SNP planned orders to PPDS orders and hence it changes the category from AI to AJ.  This conversion failed the test due to date rescheduling of the orders with date earlier than today’s date.
Hence  differentiation can be achieved by using a different order category in CTM.
Thanks
Pradeep

Similar Messages

  • How to find atp category of planned order in APO

    Hello experts,
    I have to change planned order ATP category in APO system. Is that category stored in any database table?
    I'm using /SAPAPO/OM_ORDER_CHANGE to achieve this, but I want to know current ATP category of order before changing it.
    Thanks in advance!
    Kind regards!
    Emanuel

    Hello Emanuel,
    The planned order ATP categories in APO are
    AI PlOrd. Planned order (not firmed, unconfirmed)
    AJ PlOrd. (F) Planned order (firmed, unconfirmed)
    AK PlOrd.(NC) Planned order (not firmed, confirmed)
    AL PlOrd.(CF) Planned order (confirmed, firmed)
    Not sure whether you are asking how to find out the ATP category within the SAPAPO/OM_ORDER_CHANGE .
    Regards
    Gk

  • ATP category assignment in APO

    Hi Experts,
    how is it decided in APO which ATP category will be assigned to which material doc.
    why is it that ATP cat "CC" is for stock. If I want to use CS instead what are changes do I need to perform in R/3 and in APO.

    Dear VS03,
    the ATP categories are defined in customizing (transaction SPRO) to an "ATP Group" and "Business Event". This "ATP Group" can be then assigned to an appropriate material and the business event is assigned to the document category. Sales order = A , Delivery =B etc.
    You can change also the assigned Stock categories in SPRO: APO- GATP - Product availability check - Maintain check control.
    Regards,
    Tibor

  • Change of ATP Category via CIF

    Hi,
      We have to change the ATP Category of a Delivery of type 'EQ' during the transfer of the data from R3 to APO via CIF.
    Could you please help me to find out the suitable position where we can overwrite it.
    Thanks

    Dear Pradeep,
    It is possible to change the ATP category. As far as I remember, there are 2 things which have to be done
    (1) There is an User Exit in between the time from when the data is sent from the Delivery in r3 to APO.
    Function Module: EXIT_SAPLCSLS_002
    Include Program ZXCIFU16
    <b>Change ATP Category from BM To BI.</b> :
    ICT_REQ-ATPCAT is equal to  ‘EQ’.
    MODIFY internal table CT_REQ.
    End the loop.
    (2) Make corrections to the CCR report in APO
    Hope this helps.
    Please work with an ABAP person to look into the details. I have provided you with the logic.
    Regards
    KA

  • User exit in ATP Check for sales Order to trigger notification

    Hi All
    please let me  know is there any user exit after ATP check or in ATP check for sales order to trigger a notication mail.
    Regards
    Kishore

    Hi,
    User Exits For Availability Check are given below:-
    The user exits named here are planned for projects that are to be carried out in agreement with SAP development as they may only be used in consultation with SAP.
    USEREXIT_PLANT_SELECTION in program RV03VFZZ is an exception to this rule (see below).
    User exits in program FV45VFZZ
    USEREXIT_ADD_FIELD_TO_HEADER
    USEREXIT_ADD_FIELD_TO_LINE
    User exits in program FV45VFZY
    USEREXIT_DELIVERY_GROUPS
    USEREXIT_MVERF_INIT
    USEREXIT_QUOTA_KEY_VALUE
    User exits in program RV03VFZZ
    USEREXIT_AVAILABILITY_IN
    USEREXIT_AVAILABILITY_OUT
    USEREXIT_DARA_REFRESH
    USEREXIT_PLANT_SELECTION
    This user exit is used to adjust the flow during plant transfer. A list of permitted plants, where this material is created, is determined and checked in the standard R/3 delivery. A dialog box appears where you can select the plants. The user exits allow you to modify the plant table so that plant selection takes place in advance for every flagged selection and a dialog box becomes unnecessary.
    regards
    Vivek.

  • How to Overrride ATP values during sales order creation

    Hi all,
    How i override ATP values during sales order creation.
    The scenario is that we need to migrate open orders from an existing legacy system to SAP.
    While migrating these orders, we need to make sure that dates on the schdule lines are same as they are in the old system. Hence we need to override ATP.
    Any suggestion welcome..
    Regards,

    Hi Kantur Shekar madhuri,
    Would you confirm the whether in your schedule line category is activated for "Product Allocation" or not.
    if not please activate and re run your scenario.
    Regards
    Arun

  • How to control Changing of item category in sales order Manually

    Hello Gurus,
    How to restrict manual changing of item category in sales order?
    Reason for it:
    When ever they want to give some free goods to customer , they are changing Item category in  Standard Sales order at item level  then deliverying free goods to  customer
    looking for your inputs
    Thanks in advance
    Regards
    Venkat

    Hello,
    There are two possible ways:
    1. In Item Caterogy Determination remove the Manual Item Categories so that system will determine the Item Category only from defined options.
    2. Use T-SHDO - create Screen Variant & make the item Category Feild as Display only.
    Hope this helps..
    Thanks,
    Jignesh Mehta

  • Authorization check based on item category on sales order (VA01 or VA02)

    I want to be able to restrict authorization of users based on item category. We only want certain users to be able to select a certain item category.  I know I'm going to have to check one of the userexits in MV45AFZZ. The issue I'm having is the authorization object .
    The item category is field VBAP-PSTYV.
    What we are going is having a item category for emergency orders. But this requires more manual steps to associate with the original order. We already have the emergency item categories defined and working (no credit check etc) so there's no reason not to have them added to the original order. The issue is its use has to be restricted so when the user selects an alternative item category it checks whether they have the authority.   
    Any help would be appreciated

    Hi,
    You can achieve this through authorization objects.
    Transaction
    SU20 - Authorization Fields
    SU21 - Authorization Objects
    Create the field PSTYV in the Authorization Fields.
    Then Create the authorization object and include this field along with the standard field ACTVT (which determines what activities can be performed by a certain user i.e. Create, Change or Display) & user-name
    In your your-exit, you can either use the ABAP command AUTHORITY-CHECK or the function-module AUTHORITY_CHECK and pass the values for these fields. The system can perform the test based on this values & based on the sy-subrc value you can restrict the users that are not having the authorization to select item-categories for emergency orders.
    Following link should help you:
    [SAP Authorization Concept|http://help.sap.com/saphelp_wp/helpdata/en/52/671285439b11d1896f0000e8322d00/content.htm]
    Hope that helps you.
    Regards,
    Saurabh

  • ATP Issue in Sales Order change

    Hi Experts,
    I have implemented ATP exit "EXIT_SAPLATPC_002" for Sales Order. Every thing is fine and working as per my logic. There are two tables from the exit and they are T_ATPCSX and T_MDVEX. This is coming into the exit with some values. Based on my logic I have to search for a batch and if it successful then I will update tables T_ATPCSX and T_MDVEX. Everything is working fine till I found an error in standard SAP. In change Sales Order (Va02) when I select a line item and clicks on ATP button then it is not performing as per my logic even after updating the tables and when I change date for any item and then press enter then it is working as per my logic. In both the cases the same ATP logic is running but still I am unable to understand why system is behaving weird based on the activity I do in Sales Order.
    The problem is with the ATP button in sales order. There might be a problem even in Sales Order creation also.
    Please help me. ?????

    Kindly check might be for that material , you have already created Delivery (without PGI ).
    Also go to MMBE with that material & check where this quantity is lying there.
    Best Regards,
    Ankur

  • Free Good Qty as non modifiable field in the Sales Order Level

    Dear Friends,
    I have successfully done the config change for the Free Goods, But now i want make the free good line item qty as a non modifiable field in the Sales Order Level.
    How can i do this.. Please advice.
    Thank U,
    Uwanthi

    Hi
    This is a standard behaviour in the system
    kindly use the below program and user exitexit
    MV45AFZZ and use "Userexit_filed_modification"
    Regfards
    Damu

  • Change item category in delivery order

    Hi everyone
    Issue: Can not change item category in delivery order.
    Phenomenon:
    1:Create purchase order and receive item based on it. complete invoice verification.
    2:Use MIGO to create return delivery based on material document that is created during above process.
    3:Based on system settings, (Sales org, ship-to party etc), outbound delivery is automatically created in background.
    4:Try to change item category which is already determined during delivery order creation, but it is grayed out.
    Can we change item category in this situation?
    I have checked thread "Number of attempts to change Item Category
    This looks same issue but I still do not know how to control item category in delivery order.
    In material type, is there any place I can configure to allow user to change item category
    in delivery order?
    Please advise.
    Satoru

    Hi,
    Check whether this link would help you,
    [Change item category in delivery|Change item category in delivery]
    It looks you need to use user exit: MV50AFZ1 to acheive your requirement.
    Regards,

  • Issue while changing Item Category during Sales Order Creation

    Hi,
    Requirement:
    Requirement is to change the item category of Sales Order item while creating the sales order.
    Rule is: If item category is IRAT then it should be changed to IRLN.
    For this, I am using the user exit "USEREXIT_SAVE_DOCUMENT_PREPARE" available in the include MV45AFZZ.
    Issue:
    Using the above mentioned exit, Item category is getting changed to the desired value in the created sales order BUT value of Billing Status (VBUP-FKSAA) which is supposed to get changed is blank.
    For example, Sales order is created from VA01 and item category is changed manually to the value mentioned above, then for the sales order created we have VBUP-FKSAA = 'A'. But when value of Item category is not changed manually and it is changed from the exit, then value of VBUP-FKSAA is blank.
    I have to find a solution which would change the value of Billing Status according to the change in the value of Item Category.
    Please suggest a relevant solution.
    Thanks a lot for responding.
    Abhinav.
    Edited by: Abhinav Jain on Apr 9, 2010 6:47 PM

    Hi Abhinav,
    I have a simmilar problem. In my case I am changing Reason of Rejection in the user-exit, but net value is not getting updated. Did you solve your problem? Any other way to change a field of a sales order item?
    Thanking you in advance,
    Nisha

  • Reg: Default Requirement type Based on Sales Item category in Sales Order

    I have a question, regrding Make to order and Make to stock .
    I am using a Material that is default Make to Stock, based on customer requirement same material also used as a Make to order.
    When i generate sales order perticular material default Make to stock Item category will pick up, for this Requirement type KSV is comming, If i Change Item category Make to Order, requirement type is not changing,
    My query is when i change Item category i want default requirement which has assigned  for item category.
    Thanks and Regards,
    Prasad.

    Hi
    Just try  by removing the STRATEGY GROUP in MRP3 view of material master if you are maintaining any.
    regards
    Prashanth

  • Function module of querying item category in sales order generating

    Hi everyone,
    would you please help to tell me which function module can fetch the item category in sales order generation?
    any help will be appreciate.
    Thanks.
    Eric

    Hi Eric,
    When we create a sales order with VA01 and enter in a material the system gets the item category from the following function module:
    Main Program     SAPFV45P
    Source code of   FV45PF0V_VBAP-PSTYV_PRUEFEN
      CALL FUNCTION 'RV_VBAP_PSTYV_DETERMINE'
        EXPORTING
          T184_AUART   = TVAK-AUART
          T184_MTPOS   = MAAPV-MTPOS
          T184_UEPST   = HVBAP-PSTYV
          T184_VWPOS   = T184_VWPOS
          VBAP_PSTYV_I = VBAP-PSTYV
        IMPORTING
          VBAP_PSTYV   = VBAP-PSTYV.
    VBAP-PSTYV will contain your item category.
    I hope this helps.
    Best regards,
    Ian Kehoe

  • Object key to make Item Category in sales order..

    Dear All,
    Can you please let me know the object to make Item category at sales order (create & change mode) in Display mode only.
    Thanks,

    Hi,
    Please take a look below. I suggest you dont allow manual entry for that item category.
    item category field in sale order screen to be greyed out

Maybe you are looking for