Item Category Determination during Sales Order Creation

Dear All,
This is Chee Wee, i'm new to SD, i would like to seek for an advice for the topic related to Item Category in Sales Order.
We have a material "Mat005" define as "Stocked" Item category in MM03,
*Stocked means our MM team will always keep stock for the material.
The document Item category assigned to this "Stocked" are "NoPo" --> No Auto Po creation and "AuPO" --> AutoPo  creation.
During the SO creation for Mat005 with Qty50 and warehouse stock availale for 60, i'm wondering when i select the itemCat "AuPO", the system automatic changed to "NoPO", but when i change the order qty to 70, then i'm able to changed the itemcat to "AuPo"!!
Can any Guru advice me what is the actual setting or configuration behind to determine which are the correct Item Category that i can choose?
Thank you very much,
Regards,
Chee Wee

Dear Chee Wee,
Basically tem category will determine based on these key combination
Item category group(Material master)+Sales document type(We enter doc type in the creation initial screen)--->Item category
For Example NORM+OR--->TAN.
As per your explanation
I hope In your case stock availability also one of the factor in the item category determination.This might have done some enhancement.
There are two item categories in your process one is  "NoPo" --> No Auto Po creation and  second one is "AuPO" --> AutoPo creation.
the system automatic changed to "NoPO", but when i change the order qty to 70, then i'm able to changed the itemcat to "AuPo"!!
60 Qty Stock available, you have created sales order for 50 Qt here requirement is less than stock availability so system will not allow you to enter AuPo item category Because there no need of auto PO creation for stock.
When you created sales order for 70 Qty, stock available only 60 so there is shortage of 10 Qty.now system needs to allow to create Auto PO to procure the shortage stock of 10 Qty, so system is allowing you to enter Yaupon item category.
There might be some work around kind take help of ABAPer to get the more details about your item category determination.
I hope this will help you,
Regards,
Murali.

Similar Messages

  • Item Category determination in Sales Order

    Hi
    How to know, how item category determined in Sales Order.  Is there any analysis available in Sales Order level, similar to output or text determination.
    Problem here is in a particular sales order, item category is different compared to configuration.  Nothing is recorded in change log.  How to know, whether system determined this item category or user changed manually.
    Regards
    Uma

    Hi
    Problem here is in a particular sales order, item category is
    different compared to configuration
    I cant take this arguement
    Sales order item cate will picked via the config maintained in VOV4
    item category is different compared to configuration
    Configuration someone might have changed after that sales order created
    Nothing is recorded in change log. How to know,
    whether system
    determined this item category or user changed manually.
    During order creation if you are inputting the allowed manual item category manually in salesorder then that is not a change
    Hence it doesnot get recorded (VA01 T code)
    During order creation  a default item cate gets determined if you chnge that to manual, then that is also not a change
    Hence it also doesnot get recorded (VA01 T code)
    But in VA02 if you change the item category manually then it is recorded in change log
    No item category determination analysis is available in standard and not reqd too
    In your case only this could have happened
    Configuration someone might have changed after that sales order created
    Regards
    Raja

  • Trigger Item Category determination in sales order via program

    Hi,
    We are changing item category through an exit based on a field at item level, which the user would enter manually.
    However once the exit changes the item category, if the user reverses his selection or gives another value for which item category should be the orginal one, i need to change the item category back to what was originally determined.
    Rather than looking up the config tables of item category determination, we would like to trigger item category determination through the exit itself.
    Can someone suggest if this is possible, if so what is the code to be written.
    Regards,
    KC
    SAP SD

    Hi,
    You can use the following user exit to change the item category in the include MV45AFZB..
    *&      Form  USEREXIT_SOURCE_DETERMINATION
    <b>*       This Userexit is used to add additional logic for finding      *
          the source of the plant or the item category.</b>                  *
          This form is called from form VBAP_FUELLEN                     *
    FORM userexit_source_determination.
    Thanks,
    Naren

  • Route determination during sales order creation!

    Hello all,
    I am having a problem with route determination in sales order. The issue is when I remove delivery block (LIFSK) on the sales order and select 'under minimun' in orther reason (AUGRU)field, the route is not getting determined when the partner at the header level is changed.
    When if there is a delivery block and other reason is empy, the route is correctly determined when the partner (intermediate consignee) is changed.
    Why is it behaving this way? Any siggestions?
    Thanks,
    Message was edited by:
            Naren Somen

    Hello all,
    Looks like if there is credit block for a customer, the sales order is not getting updated. Is there anyway to get around this?
    Thanks,

  • Item category determination during Purchase Requisition creation from APO

    I’m creating a  SNP Purchase Requisition in APO and when it is  published to R/3, a Purchase Requisition document is created in R/3.
    When this PR is created in R/3, I want the Item Category to be determined based on the Material master Special Procurement Type. ( eg: I’d like the Item category to be ‘L’ if the Material master Special Procurement Type = 30 (Subcontracting) ). But by standard, this field is coming as ‘Blank’ and this field could only be populated during the creation from APO.
    I found a user exit ( CIFPUR02 :  Enhancement of Purchase Order Interface (Inbound) ) on R/3 where I tried to populate the Item Category, but  when I do this, all the purchase order related data is getting deleted and hence no PR’s are getting created in R/3.
    Could anyone please tell me if this could be resolved using configuration and if not any  tips to do this technically would be very helpful.
    Thanks,
    Harsha

    Hi Karun,
    This is the code i'm using...
    select single * from marc into lit_marc
    where  matnr = c_eban-matnr
    and    werks = c_eban-werks.
    append lit_marc.
    read table lit_marc with key matnr = c_eban-matnr
                                 werks = c_eban-werks
                                 sobsl = 30.
      if sy-subrc = 0.
      c_eban-pstyp = '3'.
      endif.
    Here sobsl = 30 is the Special procurement type
    But when i try to populate c_eban-pstyp = '3', during the creation of Purchase Requisitions in R/3, in the program SAPLEMPI -> LMEPIF01
    this condition is encountered which deletes all the data in the tables that is used to create Purchase requisitions.
    <i>* get rsnum in the case of subcontracting
          IF XEBAN-PSTYP EQ PSTYP-LOHN AND                      "RB240999
             EXITFLAG_ORDID IS INITIAL.                         "RB240999
    refresh all component tables
            CALL FUNCTION 'ME_COMPONENTS_REFRESH'
                 EXCEPTIONS
                      OTHERS = 1.</i>
    Could you please suggest me anything to get around this.
    Thanks,
    Harsha

  • Item Category Determination for sales document- Item USAGE

    Hi dear all.
    I read already the discussions held around this subject, as I'm facing a similar problem for which I cannot find a solution.
    I have the need to set up a ItCat determination for sales order ZPD.
    The proposed ItCat must be <b>ZPDW</b>. However, for the NORM ItCat Group we have already a setup which cannot be changed.
    This is the present status.
    SaTy     ItCatGrp    Usage    HLevItCat        Proposed ItCat
    ZPD      NORM                                         ZPD
    I need that the proposed ItCat is ZPDW, under the same conditions
    SaTy     ItCatGrp    Usage    HLevItCat        Proposed ItCat
    ZPD      NORM       ?                                 ZPDW
    For that I believe that I'll have to play along with the Usage.
    But how?
    What triggers an USAGE during sales order creation? Is it related to the entered material. In a NORM material, how can a usage be deducted?
    Thanks for your feedback on this issue.
    Rui Viegas

    It is possible , either one of the item category u can make as proposed and another one as manual. So while creating sale order u need to change it manually
    Sam

  • 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

  • Update error in  RV_SALES_DOCUMENT_ADD during Sales order creation

    I get an Update/ ABAP runtime error during Sales order creation. The error occurs during processing of the update module -RV_SALES_DOCUMENT_ADD.
    This error does not occuring always, as I am sometimes able to create a Sales order without getting update error. I am getting the error of all types of Sales orders and even contracts.
    Am I missing any configuration parameters?
    Thanks,
    Chitra

    Yes , I can see the error in ST22.
    While exceuting VA01 (Oder type OR, Entering Sold-to-party, Purchase order NO, Material, Qty, Plant),
    - I get run-time error "Run-time error "GETWA_NOT_ASSIGNED" occurred".
        Analysis of error shows:
         Update terminated in "Update module: RV_SALES_DOCUMENT_ADD"
          Fails in the Read table in one of the form
            Termination occurred in the ABAP program "SAPLV45U" - in "VBAP_BEARBEITEN"
    The main program was "RSM13000 ". In the source code you have the termination point in
    line 147 (READ TABLE FYVBAP WITH KEY VBAP_KEY.)
    of the (Include) program "LV45UF0V".
    The ABAP's say the functional module is trying to do an 'UPDATE' instead of 'INSERT" in the internal table FYVBAP.
    Thanks,
    Csuman

  • SD - Manual entries allowed for item category in the Sales Order

    Hi experts,
    please do you know any OSS note related to SD, in order to increase the number of Manual entries allowed for item category in the Sales Order (table T184)?
    Thank you very much
    Andrea

    Hi,
    I searched OSS notes and did not find any OSS Note related to add more than 11 Manual Item categories or append T184 Table.
    Has any found solution for this, will this be a CORE MOD.
    Pavan Verma

  • 100% advance payment during sales order creation

    Dear Experts,
               One of our international client is having one requirement for collecting the 100% advance payment from customer during sales order creation itself. Our customer is in Germany.
    For high risk customers they want to collect the advance payment for 100%. And if this 100% advance payment was not paid by customer then, sales order should not be processed.
    And during regular sales invoice creation the same down payment also needs to be displayed in the invoice as advance payment.
    Is it possible to setup this process using milestone billing.?? .or some other process is available to setup this process.
    Thanks for your cooperation.
    Warm Regards,
    Velmurugan

    Hi
    Try with this with Credit management.Put High Risk with Error message.
    When ever you will Create Sales Order it will Block due to Credit Chech.For this scenario Enter the Parking  Vale at F-66.
    Then make a entry for Customer-CR to BANK-DR.
    This may solve ur requirement.
    Regards
    JS

  • Dump during sales order creation for a config material (uding order BOM)

    Dear all,
    I am getting the following error during sales order creation for a configurable material
    When I click on 'Engineering' tab in the characteristics value assignment for the parent material i.e. sales order material I get dump with following message,
                                   'Field symbol has not yet been assigned'
    Thanks,
    Yogesh

    Yogesh,
    what was the problem ?
    Thanks,
    Pavan Verma
    Edited by: Pavan Verma on May 11, 2010 9:31 AM

  • Capacity check during sale order creation

    hi,
      i have the following doubts,
    1. During sale order creation i need capacity availability check for that i make settings, its working good,if i put the order in the evening time but system take the start time as morning shift starting time.can any one guide me to take the time as the order creation time. and also help me how the system check the capacity.
    2. During sale order creation , if suppose capacity is loaded means it will show a pop up with the name capacities with overload,
      Here i need the clarification how the system calculate the requirements and requirements order, capacity load, from where the system get the information for these calculation.
    Muthamil

    Hello, you are working with a make to order scenario, that means that a planned / production order must be created to address specifically your customer requirement ??
    By standard SAP you can have a capacity availabily check once the production order is in the creation phase....but this should be too late for you.....

  • 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

  • User Exit during Sales Order Creation - New Line Item needed

    I have a situation during the process of sales order creation. If a Material in a line item has say 27 EA and the Base Unit is EA. But the Sales Unit is CSE. Then whenever the user enters 27 EA and presses enter he should get two line items.
    The first line item needs to convert to maximum number of CSE posible and the rest will be the second line item with the remaining EA. The order isn't important but that is what is needed. Question is how do I approach this problem and code my user exit accordingly and where do I code it.
    I was looking at SAPMV45A and saw the program MV45AIZZ which is meant as a user exit for any PAI event handling. If anybody has encountered this kind of requirement can you please share your view on this.
    I will definitely reward points for useful answers.
    Clark

    Hello Mahendra
    The requirement is as follows :
    PART 1:
    Sales Order Enter: 
    1.     When a line item is entered on a sales order (VA01 or VA02), at enter, check the sales unit of measure (VBAP-VRKME).
    •     Do not check line items where item category (VBAP-PSTYV) = TANN, TAPS or ZTAP.  TANN are free goods that should not be considered for consolidation.  TAPS & ZTAP are lower level materials as a result of product selection.  They will be attached to a higher-level material with an item category of TAX, which is relevant for consolidation.
    •     Do not check items where VRKME <> EA
    2.     If VRKME = EA, go to MARM for MATNR.
    3.     Go to record where alternate unit of measure (MEINH) = CSE, get the value from the numerator field (UMREZ).
    4.     Divide the order quantity (VBEP-WMENG) by UMREZ.
    5.     If the result is greater than 1.0, the customer has ordered more than one case and a new line item needs to be added to the sales order for the case quantity.
    6.     Add a new line to VBAP for the same material with the case quantity.  If not a whole value, the remainder of eaches (bottles) should update the qty on the first item on VBAP.
    •     Part 1 is relevant for order types ZCA, ZOR, ZSO, RE, ZSM
    PART 2:
    Batch Job to run prior to the Delivery Due List:
    1.     Read VBUK for Delivery Status (LFSTK) = A (delivery not processed).  Get all of the document numbers (VBELN).
    2.     Go to VBEP for those document numbers to get the goods issue date for the order.  There will be many records in VBEP for the same sales order.  Look at all orders with a goods issue date (WADAT) of next day.
    3.     Go to VBAK for those document numbers to see if there are multiple sales orders for the same Sold To party (KUNNR).
    4.     For customers who have more than one order in VBAK, search all line items (for all orders).  If there are no duplicate materials across sales orders, do nothing.
    •     Do not check line items where item category (VBAP-PSTYV) = TANN, TAPS or ZTAP.  TANN are free goods that should not be considered for consolidation.  TAPS & ZTAP are lower level materials as a result of product selection.  They will be attached to a higher-level material with an item category of TAX, which is relevant for consolidation.
    •     Do not check line items where reason for rejection (VBAP-ABGRU) is not blank
    5.     If there are duplicate materials, go through the same logic as in part 1.  If the quantity across the sales orders adds up to greater than one case, add the appropriate quantity to a new line item on the first sales order.   If there is a remainder qty, update the line item on the first sales order with this qty. In this case, the quantities on the second sales order needs to be closed out with a reason for rejection code of 50, ‘Line Item Consolidation’. If there is no remainder,  update the qty on this item directly.
    •     Part 2 is relevant for order types ZOR, ZCA, ZSM
    •     This batch job will have to be run manually for Day Pick orders.  The end of this program should automatically kick off the delivery due list for Day Pick orders, shipping condition 02.
    Business Justification:
    The business requires that like order line items be consolidated to one line item prior to the order going to the warehouse for picking.  This will aid in picking at the warehouse as well as result in the customer invoice not reflecting more than one line item for the same material.  In the case where the customer has truly ordered more than a case, i.e;, 1 case, 2 bottles, the documents in SAP will still reflect 2 lines.

  • Item Category determination based on Order Reason

    Hi experts,
    There is a requirement where for a particular sale order type ( ZSC in this case ), there are 6 types of order reasons available.
    And depending upon the order reason chosen, the corresponding item category needs to be determined automatically. It is a 1:1 relationship. That is for each order reason, there is an item category. This is not defined anywhere yet.
    Is there any way of configuring this through customization or programatically in any user-exit available?
    The user is ok with creating a customization table for mapping the order reason to item category. In this case, which exit should I write the code to automatically assign the item category according to the order reason chosen by checking this table.
    Please help.
    Thanks.

    Since the Order Reason (AUGRU) is at header level (VBAK) and Item Category (PSTYV) at item level and the requirement is to check both these fields, you can try with any of the following exits:-
    =>  User exits in the program MV45AFZZ - USEREXIT_MOVE_FIELD_TO_VBAP
    =>  User exits in the program MV45AFZZ - USEREXIT_READ_DOCUMENT
    Also I am not clear on this
    That is for each order reason, there is an item category. This is not defined anywhere yet
    Do you mean to say that you have not made assignment in VOV4 ??  If so, what assignment is made. 
    In fact, in the exit, the coding should be in such a way that system should ignore this table T184, and check for the combination you mentioned for which you need to have a zee table with the combination of
    a)  Sale Order Type
    b)  Order Reason
    c)  Default Item Category and
    d)  Manual Item Category
    thanks
    G. Lakshmipathi

Maybe you are looking for

  • HP Mini 110 MI Skype microphone problems

    I have a new mini running Ubuntu.I can't get the microphone to work with the installed version of Skype. I found  earlier posts that indicated a OP system problem, but that was in 2008. Any updates?

  • How to uninstall iTunes

    Hello all, recently, iTunes on my iMac stopped being able to access the gracenote database to identify CDs, track listings, etc.  The problem is very similar to that described by those on Yosemite:  Getting error 'user not registered for online use'

  • Save as previous version causes events to disappear in event structure

    I am using 2009 and I am trying to save a VI as previous version...saved it in 8.6, 8.5,8.2 and 8.0. I mass compiled the Main VI in 8.6 and tried to open it.  I get about 30 errors one for each event case and the event structure has no events added. 

  • Mac book pro charger

    My Mac Book pro charger has broken. The Mac is from the u.k but I am living in South Korea now. Can I buy a charger out here and it will work ok ???

  • Copy G/L accounts Questions???

    Hello, I have created new company code (without copying Just New Entries), chart of accounts 4040 for Canada. There is no G/L accounts yet in charts of accounts or company code accounts. One can copy G/L accounts from either charts of accounts or com