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

Similar Messages

  • Change Item Category in Sales Order for KMAT materials

    Hi,
    How can I change item category in sales order/quote for KMAT materials?
    Currently in the sales order/quote, the item category field is grayed out for KMAT/configurable materials and I can change the item category.
    Please help me.
    Sincerely.
    Ketan

    Dear Ketan,
    I hav exactly the same problem.
    Did you finally succeed?
    Thanks.
    Ben.

  • Unable to Change Item Category in Sales order

    Hi all,
    I am creating sales order with reference to sales contract but at the time of sales order we don't have en off stock to deliver to customer , so we have deiced to Third party sales process
    But the problem is while creating a sales order with reference to Sales contract the line item of the sales order in grad Mode ( Not changeable mode )
    Can any one guide me how sales order line item should be in active mode so i can change the Item category as a TAS third party item category
    Help me regards this
    Thanks
    Rajesh

    hi,
    You can  the item category field (VBAP-PSTYV)  editable , if item is configurable (item category TAC), then change item category to TAS.
    by using include  MV45AFZZ -  FORM USEREXIT_FIELD_MODIFICATION.
    when screen 4001 or 4003.
       IF VBAP-PSTYV = 'TAC'.
               SCREEN-INPUT = 0.
              MODIFY SCREEN.
            ENDIF.

  • Changing item category in sales order

    Hi,
    For some of the materials in the sales order, the item category is grayed out and I cannot change it.
    I can access the drop down menu and see the various item categories assigned to the item category group.
    How can I change the item category for these materials in the sales order?
    Sincerely,
    Ketan

    hi.
    Ketan
    As u r saying that you can take drop down of the assign item catagory there then only one possibility is left that u have deliver some of the qty from the order. So system is not allowing u to change item catagory.
    Please check have u made any delivery from that sales order.
    if yes then u can not change item catagory.
    Hope this will help you.
    Thx.

  • Change Item Category in Sales Order

    Dear Sir,
    We require Item Category field to be editable in VA02. Ours is MTO scenario when we enter Material in SO the Item Category fields gets grey out we require the same to be editable. We have also maintianed the MItC in Item category determination in VOV4 still the fields gets greyed out.
    Please guide.
    Regards,
    Mahendra

    Hi
    Item category will only be in editable mode  in VA02 unless and until the delivery is not made or partial delivery has been done
    Manual item category is to change manually the automatic determination done by the system and not to input manually when there is no automatic determination
    Even make to order item category TAK is in editable mode in VA02 transaction
    May be something else in your setup controlling this
    Regards
    raja

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

  • 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

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

  • How to Change Item catgegory in sales Order

    Hi all,
    I am creating sales order with reference to sales contract but at the time of sales order we don't have en off stock to deliver to customer , so we have deiced to go for Third party sales process
    But the problem is while creating a sales order with reference to Sales contract the line item of the sales order line item in grad Mode ( Not changeable mode )
    Finally i find out why sales order line item in gray mode Due to Structure Scope Using in item category TAS as D to Explore the BOM In Contract and Sales order  that a reason system gray out sales order line item
    Can any one guide me how sales order line item should be in active mode so i can change the Item category as a TAS third party item category
    Help me regards this
    Thanks
    Rajesh

    Hi all,
    Thanks for replay
    all ready i maintain manual item category in VOV4 the movement i am creating sales order with reference to contract the sales order line item showing in GRAY  mode i cant choose manual item category while i choosing F4 its showing TAS but i cant select that item category because sales order line in gray mode
    and Find out the reason why sales order line item coming in Gray Mode because i am Using Structure Scope D  In Item Category
    to Explore Variant config 
    can any one suggest me how to change the item category
    Thanks
    Ram

  • 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

  • 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

  • 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

  • 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

  • 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

Maybe you are looking for

  • How to increase the horizon (in days) for a resource

    Hi experts, I'm trying to update my resources registered in the APO Master Data so that its bucket capacity list (which currently is valid from 06.2010 to 12.2010) to become valid until 2012. However, regardless of the value registered at the field D

  • Quicktime stopped playing audio online

    I have a powerpoint lesson online and there is audio attached that plays through quicktime but it has stopped working and instead of an audio player there is not just a small quicktime icon in its place. How do I fix it so it will play again? This is

  • Index ignored by optimizer

    Hi All, I have a table with email id as one of the column. There is a query generated by packaged application to search email id's along with some other details. This query has an in-definite elapsed time. After some research i found out that query i

  • Need info or docs on customizing eBusiness Center form in TeleSales

    I want to add one more field to the Organization search form and based on that the view should be populated. Any one having experience in customizing the above? Thanks in advance.

  • Aperture 2.1 hanging up with Leica M8

    Ever since I upgraded to the latest rev of Aperture 2...2.1. Aperture has not been able to download images from my Leica M8. Upon connecting the camera, Aperture eventually creates an empty dashed line box of the image. If I hover my cursor over the