SO-Service Order - Change in qty

Dear Gurus,
I have a SO. But when i try to reduce the qty in line item in ME22N, I get the following error :
Quantity may not exceed quantity already entered
Message no. SE858
Please advice me on how I can reduce the qty. Thank you.

hi Siva,
You will not be able to reduce the quantity at the line item level as it take care of the service activity..
In ME22N But you can surely reduce the quantity at the service lien item level, for that go to service tab at the line item detail level and reduce the service line item quantity as per your requirement.
Note if the Service order is released first UN release it.
Regards
Sujoy

Similar Messages

  • How to read service order change document data

    Hi Experts,plz help me,my requirement is to read the service order change document data,for that one i need to read from cdhdr and cdpos tables,so what i need to do.in input parameters for cdhdr table in place of ibjectclass and objectid what i need to pass.plz help me.

    Same for CDHDR and CDPOS.
    OBJECTCLAS = 'ORDER'
    OBJECTID = combination of client(AUFK-MANDT) + Order category(AUFK-AUTYP) + Order number (AUFK-AUFNR)
    for example
    OBJECTCLAS = 'ORDER'
    OBJECTID = '10030004001108788'
    Chaiphon

  • Change WBS in CJ20N - Service Order change log

    Hi PS experts
    Scenario.
    Service order 1 has WBS element A.
    User goes into CJ20N and changes the WBS ID/ name to A2.
    Service order 1 now automatically has WBS element A2. However, if you look at the change logs on the service order, there isn't one for the allocation of this WBS change. Is there a way of updating the change order log for the service order? When saving in CJ20N it must update the service order through the back door.
    Thanks for looking.

    System stores the WBS element using external and internal numbers. What the user has changed in your case is only the external number and the internal number (which is system generated) would remain the same.
    That's the reason the external ID is updated in SO. Don't think you can get his logged in change log of order. Is change document activated for the order type? Even if checked I really doubt if this would be logged using standard.
    Let's see other views on this.
    Regards
    Sreenivas

  • Exit IWO10005(Profit center ) didn't work for service order change mode

    Dear Guru,
    I have built exit IWO10005 to substitute profit center, but it only work for the first initial profit center determination, it didn't work for the below scenario:
    1) Change mode on service order
    2) before service order save, change some field , it also didn't trigue profit center determination.
    And other Badi and exit can help?
    Thanks.

    GGB1?

  • Service order status change

    Hi,
    I am working on interfacing CRM with a third party system. The integration should trigger when the user status of the service order change to say "status1" or "status2".
    Also I want to update the user status programatically from another third party system.
    Quetion-
    1. Which function module/BADI can be called to update the User status?
    2. Which function module/BADI will be called after the User status updated?
    thanks in advance,
    KP

    Hello,
    Question 1.
    To update the user status, you can use crm_order_maintain or more specific CRM_STATUS_MAINTAIN_OW.
    Question 2.
    After the user status update, you can use the method after_change of badi CRM_ORDER_STATUS.
    You can also use transaction CRMV_EVENT and create your own after_change event with your own FM.
    Hope this will help you,
    Regards,
    Frédéric

  • How to track Service Order Status Change (IW31/IW32).

    I have a requirement to send the customer an Email if the status of service order has been changed say from unconfirmed to confirmed. So i have to find out whether the status of the service order has been changed on the current date.
    As per my understanding, Changes corresponding to any object are stored in tables CDHDR and CDPOS if the change document creation is enabled for that object. But in case of service order status, the changes are not being captured in these tables because change document creation is not enabled for the data element (J_STONR) of service order status.
    Anyone having any knowledge about it please help me.
    Edited by: Gagan Garg on Feb 23, 2009 6:52 AM

    Hi,
    Thanks for your reply. I have found out the way to track the service order changes. Function module STATUS_READ_MULTI can be used for the same. Pass service order number in OBJNR_TAB and the change document for status is returned in JCDS_TAB

  • Blocking the Creation of PO in Service Order

    Hello SAP folks,
    I have got an issue where I have to block the Creation of Purchase Requisation Number(BANFN) which is generated  in the background after the creation of the Service order(IW31)  I have tried the user exit EXIT_SAPLCOIH_009 but while coding i could'nt trace the field which is holding the value of PR number.Please let me know is it possible to stop the creation of PR if Yes, Please guide me in this issue in terms of coding.
    Thanxs in advance.
    Regards,
    Indira

    Hi Indira,
    Try these User Exits.
    CNEX0013  Order: Cust. enhancement: Default item category comp. a
    CNEX0026  Customer enhancement for general inspection of material
    CNEX0027  Customer enhancement: Plant, storage loc. finding for c
    IWO10004  Maintenance order: Customer check for order completion
    IWO10005  Maintenance order: Cust.-specif. determination of profi
    IWO10006  Maint. order: Fcode exclusion through cust. enhancement
    IWO10007  Maint.order: Customer enhancement - permits in the orde
    IWO10008  Cust. enhancement: Determination of tax jurisdiction co
    IWO10009  PM Order: Customer Check for 'Save' Event
    IWO10010  Maint. order: Cust. enhancement for determining WBS ele
    IWO10011  Maint. order: Customer enhancement for component select
    IWO10015  Maintenance order: F4 Help for user fields on operation
    IWO10016  PM Order: Cust. enhancement to check operation user fie
    IWO10017  Determine external order number by customer logic
    IWO10018  Maintenance order: User fields on order header
    IWO10020  Maintenance order: Automatically include task list
    IWO10021  Automatic task list transfer when creating order from n
    IWO10022  Determine calendar from user exit
    IWO10023  Service order: Change header data for advance shipment
    IWO10024  Service order: Changes to items for advance shipment
    IWO10025  PM/SM order: Finding responsible cost center
    IWO10029  Inclusion of bill of material in PM/SM order
    IWO10030  Preset Fields for Event Object
    IWO10031  Hide personnel number in PM/SM order
    IWO10033  Customer-Specific Authorization Check Maint./Service Or
    IWO10034  Operation status based on the status of capacity reqs
    Regards,
    Vijay

  • PIR Consumption - Sales Order & Service Order

    All -
    I've come across an issue in our system as it relates to PIR consumption.  We create a PIR forecast which is designed to be consumed by orders.  (MM strategy group 40, PIR consumption indicator 1).  PIR is successfully consumed upon sales order creation.
    In the same area of our business (aftermarket service and repair), we also require PIR consumption when component requirements are added to our repair service orders.
    With the current setup (strat 40, CI 1), the PIR is not consumed after service order component addition.  It adds to the total material requirements.
    I've altered our settings across the board to account for both order types, however, i am hitting a wall as to if my new settings are a help or a hinderance.
    New settings are (MM strat 40, MM mixed MRP mode 3, PIR CI 3).
    Visually, i can see that my total PIR count is actively reduced via MD04 monitoring, however, when looking at the PIR directly, I see that the PIRs have not been consumed.  Instead they are still active and the reqs are hidden.
    I don't know if consumption of PIR is allowed for multiple order types.  I know that strat 40 directly relates to sales order requirement planning.  I do not know if there is a strategy that works similarly for both sales order AND service order types.  I'm also very skeptical of using mixed MRP mode 3 to accomplish the PIR consumption.
    Could anyone enlighten me on this?  I can't find any information on this sort of order types with consumption.  If it's not possible to combine order types with PIR consumption, so be it.  I'd just like some info.
    Thank you in advance,
    Ehren

    Sure thing. I'm running in our test client for the results, but my settings are identical:
    Image 1 = MD04 result of addition of PIR using VSF with consumption indicator 3:
    Image 2 = Addition of sales order requirement for the same part, VQTEST1.  Successfully consumes qty 1 of PIR material:
    Image 3 = Modification of service order to add qty 1 of component VQTEST1. Rather than consuming one of the remaining PIRs, the order created a new requirement above the PIR forecast:

  • How can we restrict users from marking service orders as deleted

    Hi,
    Please guide me :
    Is it possible to restrict users (who are having authorization of marking service orders as deleted) from marking some service orders as deleted, if they have not created these service orders?
    In other words, requirement is : only the person creating the Service Order should be authorized to delete.
    Please guide.
    Thanks and Regards

    There are many BADI and EXITS available, you have find the appropriate place to put your code.
    USER - EXITS
    CNEX0013  Order: Cust. enhancement: Default item category comp. assgmt
    CNEX0026  Customer enhancement for general inspection of material
    CNEX0027  Customer enhancement: Plant, storage loc. finding for comp.
    IWO10004  Maintenance order: Customer check for order completion
    IWO10005  Maintenance order: Cust.-specif. determination of profit ctr
    IWO10006  Maint. order: Fcode exclusion through cust. enhancement
    IWO10007  Maint.order: Customer enhancement - permits in the order
    IWO10008  Cust. enhancement: Determination of tax jurisdiction code
    IWO10009  PM Order: Customer Check for 'Save' Event
    IWO10010  Maint. order: Cust. enhancement for determining WBS element
    IWO10011  Maint. order: Customer enhancement for component selection
    IWO10015  Maintenance order: F4 Help for user fields on operation
    IWO10016  PM Order: Cust. enhancement to check operation user fields
    IWO10017  Determine external order number by customer logic
    IWO10018  Maintenance order: User fields on order header
    IWO10020  Maintenance order: Automatically include task list
    IWO10021  Automatic task list transfer when creating order from notif.
    IWO10022  Determine calendar from user exit
    IWO10023  Service order: Change header data for advance shipment doc.
    IWO10024  Service order: Changes to items for advance shipment
    IWO10025  PM/SM order: Finding responsible cost center
    IWO10029  Inclusion of bill of material in PM/SM order
    IWO10030  Preset Fields for Event Object
    IWO10031  Hide personnel number in PM/SM order
    BADI
    Name of a BAdI Definition
    ARC_PM_ORDER_CHECK
    ARC_PM_ORDER_DELETE
    ARC_PM_ORDER_PREPROCESSING
    ARC_PM_ORDER_WRITE
    ARC_PM_QMEL_CHECK
    ARC_PM_QMEL_DELETE
    ARC_PM_QMEL_PREPROCESS
    ARC_PM_QMEL_WRITE
    IWO1_ORDER_BADI
    IWO1_PREQ_BADI
    IWO1_SCREEN_MODIFY
    IWO1_TL_INTEGRATION
    IWO1_TL_INTEGRATION2
    Edited by: Manish  Bisht on Jul 11, 2009 9:27 AM
    Edited by: Manish  Bisht on Jul 11, 2009 9:28 AM

  • Service Order Material Requirement

    Dear SAP consultants
    Need to check with you guys on this matter.
    I have a service order with list of components. I would like to do an advance shipment and create a quotation from it. Problem is , once the quotation is created the material requirement tab in the service order changes from Immediately to never and the whole line item is greyed out in the service order.
    Is there a way, I can create the quotation without transfering the material requirement to the quotation and allow the service order to still be open ? How can I do this with only 1 quotation type .... the others should work as usual ...
    Any thoughts or suggestions .. please feel free to let me know ..
    Thanks
    Moon

    Hi Paul,
    As you said "
    The requirement date is calculated as follows:                          
    1. The start date (earliest scheduled start) of the operation minus     
    2. The goods receipt processing time of the component and minus or plus 
    3. The lead time offset for the component in the order                  
    The above values (point 2 and 3) can be adjusted to manipulate the      
    delivery date."
    I have checked for stock & non stock item, but this calculation is not working for work orders. only i can change the date with offset. i checked material master record and change the GR processing time and planned delivery time but its not working. Do you have any idea why its not working?
    Thanks.
    Shahyan        

  • Unplanned Service orders.

    Hi..
    During creation of shipment cost, My automatic generation of PO against thth service agent is working fine for each shipment, thr should me only one PO for each shipment.
    System is taking  3or 4 shipments against same PO.
    Please tell wht to do and where we maintain settings for this.
    Regards
    Inder

    Hi Ravi,
    Do you mean to say that the status in the service order changes automatically after saving to TECO.
    Nilesh

  • Service Order status change thro' Action

    Hi all abaper
    After completing billing, thro the action I am changing service order user status as completed. i hv written my code in class method.
    After billing as action runs my code from method execute and changes the status properly and gets save into system but action status shows incorrectly processed and comes in red colour in action monitor. following is my code   plz help me        
    Moderator message - Please respect the 2,500 character maximum when posting. Post only the relevant portions of code
    Edited by: Rob Burbank on Oct 13, 2010 11:13 AM

    Are you processing status codes out of sequence?  Talk to your functional specialist or look at the status config for these documents...sounds like you're going to completed without first setting a status code that would have to be there prior to your status code...I seem to recall doing status changes for these documents that were a multi-step process...set TECO, then CLOSED or something like that?

  • Error while changing Service Order in CRM

    Hi,
    After creating Service Order in CRM, i click on change mode, it shows the following error:
    An error occurred in system ECC during account assignment
    Message no. CRM_ORDER_MISC 060
    Diagnosis
    Errors occurred when assigning an account assignment object to a business transaction. To view the error message, see the accompanying log file.
    Transfer Log
    Enter the business area (Notification E KO 136)
    Characteristics for Controlling object have errors (Notification E IAOM 034)
    What needs to check in R/3 to process this successfully to create an Internal Order in ECC referring this Service Order.
    tnx in adv.
    rgds,
    balu

    Hi Balu,
    You can refer to the note 966289 which talks about this problem if a service order template is used.
    Thanks
    Abishek

  • Error while  changing Service order through  BAPI_ALM_ORDER_MAINTAIN.

    Hi Frens,
    I am facing problem while  changing a service order .
    I am changing the  HEADER ( Planner group & Basic Finish date )   through
    BAPI_ALM_ORDER_MAINTAIN.
      lt_methods-refnumber = '000001'.
      lt_methods-OBJECTTYPE = 'HEADER'.
      lt_methods-METHOD = 'CHANGE'.
      lt_methods-OBJECTKEY = l_aufnr.
      append Lt_methods.
      lt_methods-refnumber = '000001'.
      lt_methods-OBJECTTYPE = ' '.
      lt_methods-METHOD = 'SAVE'.
      append lt_methods.
      lt_header-orderid = l_aufnr.
      lt_header-PLANGROUP = 'GE'.    " Hard coding for testing
      lt_header-FINISH_DATE = '20081114'.
      append lt_header.
      lt_headerup-orderid = L_AUFNR.
      lt_headerup-PLANGROUP = 'X'.
      lt_headerup-FINISH_DATE = 'X'.
      append LT_headerup.
      CALL FUNCTION 'BAPI_ALM_ORDER_MAINTAIN'
        TABLES
          IT_METHODS   = LT_methods
          IT_HEADER    = LT_header
          IT_HEADER_UP = LT_headerup
          RETURN           = LT_return.
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
         EXPORTING
           wait = 'X'.
    I am getting error No : IWO_BAPI2  ( 118 )"  *Order 5001887 cannot be saved, since no operation is maintained."*

    Hi Balu,
    You can refer to the note 966289 which talks about this problem if a service order template is used.
    Thanks
    Abishek

  • How to change the Partner in Service Order

    Dear Experts,
      I am working in SAP CRM 5.0.I want to change the Partners of Service Order Using the Function Module 'BAPI_ACTIVITYCRM_CHANGEMULTI'.Can anyone give me the Sample code for Changing the Partners.It is very Urgent Requirement.Please help me.
    Thanks & Regards,
    Ashok.

    Hi,
        Following is the code for changing partner: Please go through it:
    "fill the details of partner which is
              "to be added as main partner or in place of Interaction Agent
              wa_partner_new-ref_guid = w_guid_ref.
              wa_partner_new-ref_handle = '0000000000'.
              wa_partner_new-ref_kind = 'A'.
              wa_partner_new-kind_of_entry = wa_partner-kind_of_entry.
              wa_partner_new-ref_partner_handle = '0000'.
              wa_partner_new-ref_partner_fct = 'Z_IA'. "
              wa_partner_new-ref_partner_no = wa_partner-partner_no.
              wa_partner_new-ref_no_type = wa_partner-ref_no_type.
              wa_partner_new-ref_display_type = wa_partner-ref_display_type.
              wa_partner_new-display_type = 'BP'.
              wa_partner_new-no_type = 'BP'.
              wa_partner_new-partner_fct = 'Z_IA'.
              wa_partner_new-partner_no = w_partner_no.
              wa_partner_new-mainpartner = 'X'.
              INSERT wa_partner_new INTO TABLE it_partner_new.
              wa_partner_newx-display_type = 'X'.
              wa_partner_newx-no_type = 'X'.
              wa_partner_newx-partner_fct = 'X'.
              wa_partner_newx-partner_no = 'X'.
              wa_partner_newx-mainpartner = 'X'.
              INSERT wa_partner_newx INTO TABLE it_partner_newx.
               IF it_partner_new[] IS NOT INITIAL AND it_partner_newx[] IS NOT INITIAL.
        "maintain all changes to be done
        CALL FUNCTION 'BAPI_ACTIVITYCRM_CHANGEMULTI'
          TABLES
            partner  = it_partner_new
            partnerx = it_partner_newx.
        CLEAR : wa_guid1.
        REFRESH : it_guid1.
        wa_guid1-guid = w_guid_ref.
        APPEND wa_guid1 TO it_guid1.
        "save the changes
        CALL FUNCTION 'BAPI_ACTIVITYCRM_SAVE'
          TABLES
            objects_to_save = it_guid1.
        "commit the transaction
        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
      ENDIF.
    Please reply if anything else os required.
    Please reward points if useful.
    Regards,
    Ashlesha

Maybe you are looking for

  • HT1338 Trouble Updating Software

    Every time we go to update our software (from OS X 10.6.5) an error message comes up at the end of the downloading process that says that the update may be corrupted and could not be saved. Has anyone else had this issue? What can we do to get our sy

  • Cf inserts wrong date!

    Hi! I want the registered users of my site to send each other messages. I have a database with 2 tables for the messages: the first is for new messages, the second is for saved messages. When a user logs on & goes to their message inbox the page list

  • Trouble syncing to mini

    iTunes seems to recognize my mini: it shows the music I have tried to sync to the mini as having actually synced, but in fact there is nothing on my mini. When I sync (I've tried manual and automatic), iTunes spends a long time syncing, but where the

  • Connecting to the mobile device

    Hi , We have installed the MAM 2.5 Application successfully on the system. The Application is working fine now. We have to use the mobile device now we are planning to connect it to the system and then perform the sync. Are we supposed to install mob

  • Video only plays for a few seconds, then freezes

    The video, which I got from the apple website, plays fine in iTunes but once I upload it to the iPod it will only play for a few seconds before freezing and becoming nonresponsive. Is this a software problem? Anyone know of a solution? Thanks.