Automatic Item category change

Dear Gurus,
How can the below be achieved?
We want the item category of a line item be automatically changed to TAS after ATP check (no stock available condition) when saving the sales order in order to create a Purchase requisition.
Customer is not willing to check the stock and manually create a item category.
Thank You
Regards
Kumar

Hi
It was my post which got posted multiple times. I didn't comment about your post.
Your requirement can be achieved. You have to do the required coding in the userexit. Please consult your ABAPer and explain the requirement. The system should check the confirmed quantity in the first schedule line and if it is zero, then the item category should be changed to TAS. If there is some quantity, that quantity should be checked with the line item quantity and if it is not equal, then create a second line item with the balance quantity and the item category for this line item should be TAS. This is just an outlook.
Thanks,
Ravi

Similar Messages

  • Automatic Item Category determination

    Hi guys
    When I create a work order and add a component, I would like that the system automatically fill the field Item Category (L or N).
    The maintenance guys doesn't know if the material needs a reservation or a purchase requisition.
    Is it possible to do it?
    Thanks

    HI davidson
    Item category L in SAP means normally you keep stock of this item & N means you dont keep the stock intentionally.  It doesnt mean that when ever stock out of an item happens its item category changes so by default you keep the  item category as L(this also you can make it based on material type as per the setting as I told earlier). While processing order the item category will be default L & you can change it to N also if you wants to generate PR for this item.
    Shakti

  • Item category change in contract load of CRM

    Hi Guys,
              i am loading contracts into CRM-intellectual property Management. i have to create 2 to 3 line items for same product in one contract with higher level items. generally item category is determined and can be changed via GUI. my requirement is i want to change item category through FM CRM_ORDER_MAINTAIN by the time it creates contract but item category is not changing, showing what ever was determined.
    i am passing item_type in ORDERADM_I and passing item_type field name for input fields but it is not helping me. Please let me know if any body has any clue..
    Thanks for your help
    Siva

    Do you want to change the item category just before order (contract) save? Or after the save? Try looking at crm_orderadm_i_badi.
    Another idea ... try manually changing the item category in CRM Online, BUT .. do a /h and place a breakpoint at ABAP statement "call function CRM_ORDER_MAINTAIN". This way you can see the input parameters for CRM_ORDER_MAINTAIN when CRM itself is changing the item category, the correct way. Then from these input parameters you can get the hint of what parameters must be passed to CRM_ORDER_MAINTAIN to change the item category by a direct call. I hope that made sense....
    Hope it helps,
    Rahul
    PS. Please mark all helpful answers, and please mark the question as "ANSWERED" if the responses are satisfactory. This helps to keep the forum clean!

  • Return Sales order - update of Item category change

    Hi
    We are creating the Return Sales order with respective original sales order.
    After copying the line item details in to return sales order, we are not able to change item category to another.  Since item category is in display mode(grayed out).
    We tried with
    1.Transaction varant, it is not helpful.
    2.Maintained the item category which is required in item category determination(Manual entries)
    Though we are able to change the item catgory in the sales order through some user exit, price condition are in active status. we are doing price update, but still condition types are still in-active.
    Please help, how to change the item cateogry and to redetermine the price based on the item category in sales order.
    Thanks & Regards,
    Rajesh.

    Then how do you settle it with the customer? He has still paid for the original materials and has returned some or all of them. He is still going to be invoiced for the full quantity. There should be some way to either replace the materials or give him a credit memo
    but coming to Gunda's query, the only way I see to map this is to create a different order type ZRE which is a copy of RE and item category ZREN which is a copy of REN. In ZREN, turn on Pricing. Maintain copy controls from OR to ZRE and keep the pricing condition type Manual. Then whenever the business decides not to give the customer a refund, go to the item conditions, set the pricing condition value to 0 and save the order

  • Item category change issue

    Hi,
    We have implemented scenario A settings for return orders to exchange and edit in both ECC and CRM systems. We are having a scenario where item category for an item in return order will be changed to the other  in ECC system. In our case we have the status profile assigned to the item category which was initial and we dont have any status profile for the item category which is changed to in both ECC and CRM systems. We are gtting errors in CRM and the document is locked when the item category is changed in ECC and saved. The error is 'The status procedure  could not be set from item category XXX'. Can you please suggest how can we fix this issue?
    Thanks,
    Rajinikanth. G

    Hi Rajinikanth,
    Were you ablo to solve the issue? I too am facing a similar situation.  Can I kindly request you to share your solution with me?
    Kind regards,
    VSK.

  • Item Category Change using UserExit/Enhancement

    Hi,
    Require your valuable inputs on the below requirement:
    We have a requirement where we have to determine the Shipping Point, Plant, Storage Location and Item category from a Custom table using header Shipping Conditions.
    As per the SAP standard, Shipping point and default item category are determining in Order. Currently, we will only use NORM as Gen item category group in all the material masters.
    We have maintained the Custom Table with the below fields:
    Sales Document Type
    Sales document item category
    Sales Organization
    Distribution Channel
    Division
    Shipping Conditions
    Shipping Point/Receiving Point
    Plant
    Storage Location
    Based upon the fields we have to determine the above in the Sales Order in Create and Change and further processing.
    We have already use the User Exit: MV45AFZZ, but there is inconsistency in updation of billing etc., Profitability segment, PR Etc.., we also tried with MV45AFZB, this User Exit is not getting triggered from Header level because we want to update the ItCat, ShpCon, Plant,S.Loc & Shpnt from the shipping conditions in custom table.
    Please suggest me in which User Exit/Enhancement  trigger point to determine the above and subsequent process should follow as per the standard process and not to deviate with other tables.
    Looking for your valuable inputs on these. We were totally struck in providing this solution.
    Regards,
    Kumar                            

    Dear MoazzaM,
    Using the Exit: MV45AFZZ, in Routine: USEREXIT_MOVE_FIELD_TO_VBAK, we have triggered our custom code to change the Item Category, Plant, Storage Location and Shipping Point. It is working fine at the Sales Order level.
    But we found these are partially not updated properly
    1) There is a Inconsistency in Creation of the Purchase Requisiton, where for the Individual PO, the    Storage Location remains the old one.
    2) When we create the PO from the
    2) In billing, at the item level, the plant and shipping point is also wrong which is not the source one from sales order and delivery, but the delivery details are correct
    3) In accounting doc also, the plant is wrong.
    Below is the piece of Code:
    IMPORT gv_vsbed FROM MEMORY ID 'VSBED'.
    IF gv_vsbed IS NOT INITIAL.
          SELECT SINGLE * FROM *Custom Table*
                    INTO gs_shippoint
                    WHERE auart = xvbak-auart
                    AND   vkorg = xvbak-vkorg
                    AND   vtweg = xvbak-vtweg
                    AND   spart = xvbak-spart
                    AND   vsbed = xvbak-vsbed.
    IF  gv_vsbed NE xvbak-vsbed.
          LOOP AT xvbap INTO lwa_xvbap.
            idx = sy-tabix.
            IF xvbak-vsbed IS NOT INITIAL.
              IF NOT gs_shippoint IS INITIAL AND
                 lwa_xvbap-pstyv NE gs_shippoint-pstyv.
    *** Update the Item category , plant, storage location and Shipping/Receiving point.
                lwa_xvbap-pstyv = gs_shippoint-pstyv.
                lwa_xvbap-werks = gs_shippoint-werks.
                lwa_xvbap-lgort = gs_shippoint-lgort.
                lwa_xvbap-vstel = gs_shippoint-vstel.
                MODIFY xvbap INDEX idx FROM lwa_xvbap.
                UPDATE vbap  FROM TABLE xvbap.
    Any Suggestions
    Regards,
    Kumar

  • PP02 item category change

    Hi, when the system creates any PR against PP02 control key in order operation, it will have L item category, is it possible to change that to D type ?

    Yadav,
    Services Item category is possible only in PM, and only in PM Control key you would have Services option.
    In PP Services is not possible
    Regards,
    Prasobh

  • Sales Order Item Category change of all line items on Save

    Dear all,
                I want to change the sales order line item category of all sales order lines on save. i tried to write the logic to change the values of item category in USEREXIT_SAVE_DOCUMENT_PREPARE. it changing the SO line item category but it not changing corresponding shedule line item category and even i try to change the corresponing shedule line item category,  than system not prompting new schedule lines according to changes in the item category and its dates. Kindly, if any one knows any exit or process to change the item category of schedule line let me know
    Regards,
    Manoj

    Dear,
             Thanks for your reply, i changed the item category of SO line item and shedule line item in the xvbap and xvbep and i changed updkz to U. i have two item categories ( i.e YNAA and YNAB ) for YNAB system automaticallty creates Purchase requisation, If i change the item catergory  in the user exit TO_VBEP . system not creating the PR for YNAB. by the time control comes to TO_VBEP user exit system already detemining shedule line and sale order line items category in XVBAP and XVBEP . if  i change any thing at this place system giving error while saving .
                  Thanks in advance.
    Regards,
    Manoj
    Edited by: manoj kv on Dec 26, 2010 4:40 PM

  • Automatic item category determination for STO

    there are 2 item categories for document type UB.One blank and one U.I want item category U to get populated while creating the Stock transfer order.How is it possible.

    Hi,
    Item category U has to be deleted form SAP Configuration.
    Go to SPRO -> Material Management -.> Purchasing -> Purchase order -> Define document type
    Select the document type UB and double click on 'Allowed Item category'. Delete the Blank Item Category from there and save.
    Now the system will give Item category U by default for order type UB.
    Regards

  • Item category changes

    We have 5K-8K Items we want to change categories only.
    We use inventory category and purchasing category.
    Item 10005 inventory category (05 - Carparts) Change to (15-Autoparts)
    Purchasing category (Automotive - Tires) Change to (Automotive - Other)
    What is a good way to change update can some one advice
    Plus we have open Standard & Blanket PO's against those items will that
    change automatically in the PO's.
    We are on 11.5.7
    Thanks

    you could either use something like dataload (www.dataload.net ) that would provide you a way to do this (slowly)

  • Automatic Requriement Category Changed while making a Delivery (VL01N)

    Hi Experts ,
    I am using AFS Sap in footwear industry . I am facing one major problem.  I  have created Sales Order with ABC Material and select Requirment Category (A) . after the Post good Issue  Stock picking from (A1 )category instead of (A) Category .
    and  In the invoice Requirment Cat is showing( A).
    For Example.
    1) First of all I create (ZCOR)Quation with ABC Material  and Select Requriment Category (A)
    2) In the Next Tranction VA01 ( ZOR) SALES ORDER  I  put Quation Ref......
    3)  I did  Allocation Run (J3AT) is also for (A CATEGORY)
    4) IN VL01N I put sales order Ref.
    5) IN  VF01 I put Delivery ref. and create billing document
    AFTER CREATE THE BILLING DOCUMENT I FOUNTD THAT  STOCK PICK FROM A1 CATEGORY INSTEAD OF A  .
    IN  the Invoice is showing (A) CATEGORY .
    PLEASE HELP ME.
    Regards
    Jaspreet Singh

    hi Thimmappa,
    In the user exit 'USEREXIT_SAVE_DOCUMENT' which you have found, you can use the following function modules to read and save the long text
    1. READ_TEXT - Read text in case you want to append
    2. SAVE_TEXT - Modify and Save the text
    Pass the xthead line to the SAVE_TEXT function module to attach you long text.
    Revert back if any doubts
    Reward pts if you find my solution helpful.

  • Item Category--Revenue Recognition

    Dear All,
    system is not allowing me to assign revenue recognition field in VOV7 as it is grey field.
    As well when I tried through IMG/S&D/Basic Function/Account assignement/Revenue Recognition Item Category-Change mode system is showing grey field for revenue recognition here also.
    Please guide on how can I assign here.
    Regards,
    Sainath

    Hi,
    In order for this to work, the revenue recognition functionality has to be activated in the system (because of important financial implications and risks, it isn't activated by default).
    You need to raise a message to SAP for this.
    Please check OSS note 820417.
    Best of luck,
    Cosmin

  • 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

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

  • 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

Maybe you are looking for

  • Photo transfer IMac to IPad

    When syncing my photo albums from the IMac to the IPad, the vertical photos rotate to the horizontal. I had 260 photos on the album. I also have 17000 photos on the IPad, but I have 11.1 gb space remaining. How do I prevent this from happening?

  • HTML in Java best practices?

    I have developed an application that performs some data analysis. When the data is analyzed I create a result file in XML using JDOM. This information is then transformed into HTML using XSLT (xalan). The resulting HTML is launched in the standard br

  • How to get string from jtextpane along with its attributes

    sir, How to get string from jtextpane along with its attributes i,e font,size,style,color etc. please help me out. my mail id is [email protected]

  • RMD metadata for R3D clip not always loaded

    I'm getting a bug where 'sometimes' the RMD metadata for a clip is not automatically loaded by Premiere for R3D clips (from Red cameras).  I have to right click on the clip, select 'source settings', and then click on 'Reload from RMD'.  These R3D fi

  • Sent and Deleted items not showing up

    I'm not able to see sent or deleted items in outlook. I am not using a ost and if I log onto OWA I can see both.