Deriving/ change the item category from handling unit

Hi SAP GURUS,
In vl01n I want to derive the item category based on the handling unit. Hnadling unit is derived from the payment terms.
Please let me know the required configuration or the development for this.
Thanks

i need ur help regarding the Sales order item category redetermination.
         we are having two item categories YNAE and YNAG and it contain schedule  line categories CP and CB ( i.e for item category  YNAE schedule line category is CP and 
         for item category  YNAG schedule line category is CB), for YNAG Purchase Requisition is automatically created becz of functional setting on save and it is working fine.
         For every line item in sales order line item level item category YNAE will be determined by default as per functional settings.
         Now my requirement is that, if sales order line item doesn't contain 100% confirmed quantity, than i needs to change the default line item category YNAE to YNAG
         which i am trying to do it in USEREXIT_PRICING_PREPARE_TKOMP becz in this exit i am getting the values in XVBAP and XVBEP and  it is working fine .
         But schedule line category is not getting redetermined automatically what i mean is, if i change the item category to YNAG from YNAE in user exit corresponding schedule line category CB of YNAG is getting determined automatically at the schedule line level and if ichange the schedule line categories in XVBEP in exit USEREXIT_PRICING_PREPARE_TKOMP, changes are reflecting at the schedule line level but Purchase requisation is not getting created for schedule on SAVE and its delivary dates are also not getting determined properly. If press the option ATP check at the schedule line level than very things will getting corrected in the order.
i am using UPDKZ = U  in both xvbap and xvbep for changes
I feel that i am not doing this in proper way, do u have any idea about how to redetermine item category. please let me know if u have any idea .
Regards,
Vaddepally Manoj

Similar Messages

  • Unable to change the item category in existing Scheduling Agreement

    HI,
    I have a schedule agreement where there are already list of line items but saved without the appropriate item category field in all of the line items. Now I see that the Item category column is greyed out & unable to edit or change thru ME32 T.code.
    I am already aware that deleting the item codes & adding again with resolve the issue. But when try to delete, those codes shows that they have GR & PO not completed one.
    My question is :
    Is there a way to edit/change the Item category field without deleting the item?
    Whethere is it possible to do it in bulk update for group of items in SA?
    If it is possible, pls provide how to do it with steps.
    Kindly advice.
    Thanks. in advance!
    -Umesh

    Please try using MASS tcode with object BUS2013
    or MEMASSSA
    Its a direct table update where you can select the Table Item and Field Item category and input the document number to change the value os item category and try with one sample data then do it in mass.
    Before cahngin the item categry Please make sure all the dependancies are met then nly the system will allow you to save.
    Refer for Mass upload function it is common for all
    [Mass update|http://www.sapkshare.com/user/image/mass-maintenance---mm17.pdf]
    Edited by: Karthik on Jul 29, 2011 2:44 PM

  • Changing the item category in the order

    Hi Experts,
    According to my rek,
    I need to change the item category based on a condition, for this For this in the order_save BADI I used the FM crm_order_maintain and passing the ct_input_fields as item_category and ct_orderadm_i.
    But the values is not changing the order , do I need to pass any other import or chanage tables.
    Thankn in Advance,
    Praveen

    Pls use the BADI CRM_ORDERADM_I_BADI. Wtire you condition and populate the field
    cs_orderadm_i_badi-ITM_TYPE. Use the method CRM_ORDERADM_I_MERGE

  • Change in Item category in Sales order

    Hi,
    We have one requirement to change the quantity in the Billing document
    our requirement goes like this,
    Order was created with 10 Qty and PGI also done with 10qty, But physically customer receives 9 qty and Billing done with 10qty.
    Now customers will not accept for the Billing and Business has to change the quantity in the Billing without reversig PGI
    As per the legal regulations, we cannot reverse the PGI and change the quantity in Billing
    But as per the standard, we cannot  change the ITEM category in the sales order once the subsequent document is created.
    can you please let me know is there any solution to change the Item category in the sales order using User exit of any other way
    regards,
    santosh

    Since I was handling similar scenarios quite frequently when I was in domain, from my experience, I can share the same.
    It is known to customer also that billing cannot be changed once it is generated.  Hence, the client can request the customer to either deduct the amount to that extent while releasing the payment against that billing document or the client can give one number extra or credit in the subsequent shipment.  Any customer will accept for this.
    Meanwhile, I also dont understand why you want to change the item category after billing and what you would like to achieve over this.  If the above options is not acceptable to client, then the best approach would be generating a credit note straightaway against that billing document and set right the records.
    thanks
    G. Lakshmipathi

  • Updating the Item category in a Free of Charge order

    Hi all,
    I am currently working in a requirment on Free of Charge orders.
    Existing scenrio is : In Free of Charge orders, if there is a BOM material is associated in the sub item, then the particular product's item category is not editable, so we can't alter it manually. SAP Note : 796926 says there are restrictions for usage of free of charge transaction types when the sub item involved is BOM.
    Requirement: To make this item category editable in this scenario.
    So we are currently looking for an option to make an enhancement to SAP standard program for this.  I tried to debug standard modules from the point where we open an order. But not able to find any significant place which deals with disabling this item category.
    Any suggestions on the SAP CRM program which deals with this will be very helpful.  Thanks in advance.

    hi
    Once the BOM is created it is not possible to change the item category,either you have to delete the material and re-enter the material with different item category
    regards
    thyagarajan

  • Changing the  item categories of Sales order in web IC

    Hi experts,
    We are working on CRM 5.0 with Web IC
    We have a scenario where we need to change the item categories of some of the items in sales order.
    But in a standard sales order I cant see the item categories of line items in WebIC.
    Now the issue are
    1. How to make the item categories available in web ic?
    2. Is there any standard config to do this or we have to go for development ?
    3.Is it possible to change the itemcategories in Web IC?
    Can any body suggest me with suitable solution
    Points shall be rewarded for sure
    Regards,
    Madhu

    Hi,
    you dont change the item category at the header level. The item category will be changed at the item level and the code to do this is
    lv_entity_items->set_property( EXPORTING iv_attr_name = 'ITM_TYPE' iv_value = lv_itemcat ).
    here lv_entity_items is one of the entity in the collection for AdminI . lv_itemcat is the value you want your item category to be set to.
    hope this helps.
    Reward useful answers.
    Regards,
    S Sarma.

  • *How to change the Valuation Category & Price control in material master*

    Hello SAP Gurus,
    I have a requirement to change the valuation category from 'X' to '  ' in accounting view of material master.
    -> I have cancelled all the open PO's & SO's for the material
    -> I have ensured that there is no stock for the material in that valuation area.
    But still I get an error message that batch already exists for the material. When I check entries in MCHB I find that there are previous entires in MCHB with zero stock.
    I have gone through the SAP note 155874 which recomends the archiving the effected objects.
    Please let me know is there any work around to change the valuation category from 'X' to '  ' & price control 'V' to 'S'. I also need to change from '  '  to 'X' for a few materials.
    Thanks for your advise.
    Best Regards,
    Narayan.

    Note 155874 cleary describes what has to be done to be able to change.
    There is no workaround, and if you change anything in the tables directly, then this will cause inconsitencies, as described in this note as well.

  • Bom massive change of item category

    dear
    can you suggest a valid tool for a massive change of item category.
    I need to change the item category of many bom component.
    The old value is L , the new value is N.
    In transaction CS02 is very difficult to change the item category of a component.
    Thanks.

    Hi,
    It is not possible to change the Item Category. You would need to delete the line & re-create back with the new item category.
    You may use CEWB as suggested above, or you may go for a Z program.
    Regards,
    Vivek

  • SO Delivery date change when item category is modified

    Hi expert,
    When i change the item category on my SO, the delivery date change.
    Can you please give me the configuration, or exit to check how the delivery date is calculated?
    Regards.

    - Set a breakpoint at function module SD_SCHEDULING
    - Change your item category
    - This should trigger your breakpoint (if SD_SCHEDULING is changing the delivery date)
    - Post screenshot of call stack back here.
    Looking at the call stack will give us an idea of why a new scheduling is triggered.
    If SD_SCHEDULING is not called, then I assume it must be a user exit causing the issue - check your coding in the SD user exits of include MV45AFZZ.

  • How to change stock category of handling units at mass level without Development

    Hi,
         We have hundreds of handling units with stock category "blank" in our returned stock storage location which is HU managed. MMBE shows different
         value in Return stock  what  we see in HUMO is  only One HU with very less qty. visible with stock category "R".inventory stock is different than the    
          HU  stock visible in HUMO
         can some one help in explaining how can we change the stock category of HU's from Blank to R. is there any standard process offered by Sap.
         Development of program to get it done is out of scope right now
         Thanks,

    i am struggling to figure this out too.right now we if i look into MMBE i see the returned stock
    value.but HUMO does not show any handling units with stock category R when searched
    though Storage location is HU managed.i suspect user has done GR without delivery which cause the dependency.
    Thanks for quick response.

  • VBU-FKSAA field not updated when the item category is changed

    Hi,
    The sales order is created with the item category ZZZZ which is not relevant for billing. So the VBUP-FKSAA value is blank which means not relevant for billing.
    Now in the change mode, the item catg is changed to XXXX. this is relevant for billing. But even after changing the item catg the billing status is not changed. so the sales order can not be billed.
    Please let me know if anyone has come across this problem and also the soution.

    Thank You Vincent. It works for finish goods that currently have cost in the sap-bo (taking std or avg) . Do you what should I do when the item is receiving the first-transation and it is an inventory entry coming from DTW ? Because when I test this conditions, the field "price" is ignored and when I check the inventory entry sent using dtw the recorded cost is "cero".
    Thank a lot
    Salomon Ponce

  • 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

  • R3 to CRM - pass value from Handling unit in R3 to CRM One Order

    Hi all,
    Scenario is that CRM (v7.0) One Order gets replicated in R3. Delivery and Handling unit documents are created in R3.
    From handling unit, I need to pass Customer packaging material (VEKPVB-VHILM_KU - can be seen at the item level, additional data tab) back to CRM One Order. Is there any way to do this?
    Thanks
    Vinoth

    <-I guess maybe the root of my question is how to reference a text box in a report through Javascript or basic HTML?->
    Reference the item in JavaScript with like this
    var parentWindow = window.opener;
    parentWindow.document.getElementById(itemId).value = someValue;
    You can set the id of the item in your report by utilizing the sixth parameter of the apex_item.text function, which is defined in the documentation as:
    APEX_ITEM.TEXT(
    p_idx IN NUMBER,
    p_value IN VARCHAR2 DEFAULT NULL,
    p_size IN NUMBER DEFAULT NULL,
    p_maxlength IN NUMBER DEFAULT NULL,
    p_attributes IN VARCHAR2 DEFAULT NULL,
    p_item_id IN VARCHAR2 DEFAULT NULL,
    p_item_label IN VARCHAR2 DEFAULT NULL)

  • Pass info to CRM Order from Handling unit in R3

    Hi all,
    Scenario is that CRM (v7.0) One Order gets replicated in R3. Delivery and Handling unit documents are created in R3.
    From handling unit, I need to pass Customer packaging material (VEKPVB-VHILM_KU - can be seen at the item level, additional data tab) back to CRM One Order. Is there any way to do this?
    Thanks
    Vinoth

    Dear
    i think you can transfer in MB1B 411k M.Type

  • Change billing item category

    Dear Experts,
    How to change billing item category in sap? We want to change SD Doc Item Category as M for order related billing document.
    Regards
    BK GAIKWAD

    Hi,
    So, you want to change from Delivery related billing to Order related billing.
    In that case you doNOT directly ONLY change the billing item category. Follow the below -
    1.  Take your item category say ZTN3, in VOV7 change "Billing Relevance" to B (Relevant for Order related billing.....)
    2. In your Sales Doc type (say Z1OR), in VOV8, field "Order - Related Biling" give = Billing Type (say Z1F2)
    3. In "Assign item category" for Sales Doc type, Item cat gr. give ZTN3
    4. In copy control, VTFA, for Z1OR | Z1F2, copy item category TAD and rename it as ZTN3 (if Z1OR | Z1F2 is NOT yet created then create that copying OR | F2)
    5. Test - Create sales order in VA01
    6. Create bill in VF01, give your sales order number and create bill

Maybe you are looking for