PM ORDER COMPLETE USER EXIT

Hi there,
In the system we have disable the "complete" - TECO of an order if there is Still "Open sub.Orders still exists"...
BUT...
In some case we want this to be possible. Is there any badi, user exit or what-so-ever exists... to allow bypassing the customizing and all "Complete action" of the order...
Is this any clear ?
Thanks in advance.
Stephan

Hello Stephan,
In some case we want this to be possible. Is there any badi,
user exit or what-so-ever exists... to allow bypassing the
customizing and all "Complete action" of the order...
Is this any clear ?
Please try out the following User Exit with the help of technical consultant to check as per your requirement :-
1:- IWO10026 User check on setting status 'Do not perform'
2:- IWOC0001 Create PM/SM notification: Determine reference object
3:- IWOC0002 PM/SM notification: Check whether status change is allowed
If you question is answered then please close this thread.
Regards,
Sarthak
PS : Please ensure to post your query related to SAP PM module in "Enterprise Asset Management (EAM)".

Similar Messages

  • Sales Order Pricing User Exit Problem

    Hi,
    I am facing a problem related to coding in Sales Order pricing user exits. Scenario is as mentioned below:
    Based on Material Entered and Sold To in Sales Order, auto determination of a manual pricing condition happens. For doing this, coding has been done in USEREXIT_PRICING_PREPARE_TKOMP by changing XKOMV table. Auto determination of the manual price is happening properly.
    From Sales Overview Screen when user goes to the Conditions tab, Net Value is not getting calculated. When we navigate away to Schedule line tab and then come back to COnditions tab, Net Value is automatically getting calculated.
    AM i missing something in the coding part? As the data is getting populated automatically I guess some piece of code needs to be triggered. Can anyone shed some light into this.
    Thanks in advance,
    thunderans.

    Prabhu: After filling in XKOMV structure, I am calling FM PRICING. On doing this, the Sales Pricing is getting calculated but even then net value of order at header i.e VBAK-NETWR is not getting populated when we are in Sales Overview screen. When, I am getting into Conditions tab and coming back to Sales Overview screen, Net value is getting populated correctly. This portion of everything not getting populated at the same time is bothering me. The pricing conditon that I am  filling is a manual pricing condition.
    I put a breakpoint after FM PRICING which correctly populates XKOMV structure. How do I properly update Order Net Value in Sales Overview screen wihtout having to navigate to any other tab?
    Nicklas: I am looping at Order line within the user exit USEREXIT_PRICING_PREPARE_TKOMP and determining price. Once all line items are processed, I am using the FM PRICING for calculating Sales Prices.
    J@Y: Request to send me a bit more details into your approach.

  • Creating line item for a sales order in user exit

    Hi
    I have to create a line item through user exit "userexit_save_document_prepare" when saving the sales order.I am doing this by appending a row to the internal table XVBAP in the user exit.
    The row is getting appended to the internal table but the line item is not getting created in the sales order .I dont getting any error also.
    Can anyone tell me what could be the reason for this and is there any other means by which i can create a line item through the user exit.

    You have to set the creation flag UPDKZ to 'I'.
    to correctly use the user exit refer to OSS note 0381348 Using user exit, customer exit, VOFM in SD.
    pls reward if helpful
    Roberto

  • Supress  some fiels in sales order? user exit?

    can  somebody help me  regarding this. i want to  supress  some fields  in a standard  sales order. i dont want to  delete . i just   want  to supress  some fields  in a standard  sales  order. is there  a  user  exit  for  it? if yes   do tell  me  which  user exit is it and  how to use it?

    hi,
    To make optional / mandatory you can use in IMG - S&D-> Basic > Functions-> Log of incomplete Procedures =>  select the fields > from the tables and the system will check for them (OVA2/VUA2)
    To make a filed entry enabled or grey (non-entry allowed):
    User exits in the program MV45AFZZ-USEREXIT_FIELD_MODIFICATION
    This user exit can be used to modify the attributes of the screen  fields.
    To do this, the screen fields are allocated to so-called modification groups 1 - 4 and can be edited together during a modification in ABAP.
    If a field has no field name, it cannot be allocated to a group. The usage of the field groups (modification group 1-4) is as follows:
    Modification group 1: Automatic modification with transaction MFAW
    Modification group 2: It contains 'LOO' for step loop fields
    Modification group 3: For modifications which depend on check tables or on other fixed information
    Modification group 4: is not used
    The FORM routine is called up for every field of a screen. If you require changes to be made, you must make them in this user exit. This FORM routine is called up by the module FELDAUSWAHL.
    Actually suppressing fielding sales orders userwise is quite easy. We are doing it in our company. For this we use userexit FORM USEREXIT_FIELD_MODIFICATION in MV45AFZZ.
    Below is the sample code
    IF SCREEN-NAME = 'VBKD-ABSSC'.
    AUTHORITY-CHECK OBJECT 'ZMV45AFZZ' ID 'SCRFNAME' FIELD SCREEN-NAME.
      IF sy-subrc = 0.
        SCREEN-INPUT = 1.
      else.
        SCREEN-INPUT = 0.
      ENDIF.
    endif.
    You place the authority check object in authorization profile in the role of the users, who should have access to the field (in this case it is VBKD-ABSSC), and there assign the corresponding fields that are to be accessed via this userexit.
    pls reward points if the answer is helpful
    REgards,
    Murali

  • Disable the characteristic window in sales order and user-exit to pick up

    Hi Freinds,
    I am working on 1 VC assignment in which
    1. I have to pick up the characteristic values selected in VA02 in sales order before saving the change sales order.
    2. I have to Disable the characteristic window (with characteristic name and value) appear after click on u2018item detail : configurationu2019 button in sales order (if the chracterstic say 'Approval' having the value 'Yes')
    3. I have to disable the characteristic window after selecting the one of the characteristic value to 'Yes' in VA02
    So I need to fetch this character value witnin sales order before saving the change sales order and need to restrict the user to change any other characteristic value(disable the characteristic window) .
    Please guide for any user exit at configuration side to export and import the values in sales order and disable the characteristic window to restrict the user from changing any other characteristic value for the item.
    Please do the needfull.
    Best Regards,
    Vikram Chavan

    Hi,
    Check....
    Exit Name               Description     
    LMR1M001               User exits in Logistics Invoice Verification     
    LMR1M002               Account grouping for GR/IR account maintenance     
    LMR1M003               Number assignment in Logistics Invoice Verification     
    LMR1M004               Logistics Invoice Verification: item text for follow-on docs     
    LMR1M005               Logistics Inv. Verification: Release Parked Doc. for Posting     
    LMR1M006               Logistics Invoice Verification: Process XML Invoice     
    MRMH0001               Logistics Invoice Verification: ERS procedure     
    MRMH0002               Logistics Invoice Verification: EDI inbound     
    MRMH0003               Logistics Invoice Verification: Revaluation/RAP     
    MRMN0001               Message output and creation: Logistics Invoice Verification
    Reward points if useful....
    Regards
    AK

  • Availability check run requirement in the Sales order Save user Exit.

    Hi Gurus,
    As per the requirment we are using a user exit SAVE SALE ORDER PREPARE for BOM purpose to reconfirm the confirmation qty.
    Now we need to add one more logic in the same user exit, which will run the availabilty check run for each of the line items of the BOM and consider latest confirmation qty from it. So my concern is it possible that we can call the availabilty check run event with in the user exit SAVE SALE ORDER PREPARE or this not advisable?
    Please let me know..
      Regards,
      Babs

    HI Venkat,
    Thanks for your reply.Yes you are right availability check runs automatically at sub item level.
    But please note the customer requirment iteself is is little different from std BOM configuration.
    Currently the availabilty check is activated both at header and sub item level. They are maintaining the stock for header and sub item level.Also the these sub items are some time being sold as invidual materials. hence there exist a mismatch in the stock value between header and sub items.
    when a sales order is created both header and sub items will have confirmation with different value between each and the same mismatched values are being passed in to delivery. But the deliveries can not be processed for PGI because of the mismatched confirmation qty between header and item level.
    I guess now you the rrequirment.
    So we are using the SAVE SALE ORDER exit which will re check the confirmed qty between header and item and takes lowest confirmed qty and change the confirmed quantities from all the line items to lowest one, so that confirmation qty among all the line items are same. This is the first logic we are planning.
    Further there is one more additional process BOP need to be run for this header and sub items, which will change the confirmed qty based on the latest stock for individual line item. even in this case also the user exit SAVE Sale order is being called but we need to run the availability check run additionally because of which our requirment will be taken care.
    Regards,
    Babs

  • Creating line item in a sales order by user exit

    Hi
    I have to create a line item through user exit "userexit_save_document_prepare" when saving the sales order.I am doing this by appending a row to the internal table XVBAP in the user exit.
    The row is getting appended to the internal table but the line item is not getting created in the sales order .I dont getting any error also.
    Can anyone tell me what could be the reason for this and is there any other means by which i can create a line item through the user exit.

    You may also need to add an entry to the internal table XVBEP for the schedule lines.

  • EDI order change - user exit

    Hi group
      Quick question...while doing a PO change ( IDOC_INPUT_ORDCHG)....sales order line items are to be deleted....I know that this needs to be done in a user exit...i am trying to nail down to the right user exit......
    I found only one user exit ( customer function 002 ) dealing with BDCDATA...but the problem is this one is called multiple times in the program...and I want to run this code only once....have you guys encountered similar situation / have any clue....Plz let me know

    Hi,
    I did not get your question. What is the relationship between changing PO data and deleting sales order line item.
    I do not recommend changing sales order line in some userexit while processing PO idoc. Eventhough you find an userexit to do this, when sales order line item is deleted and commit happens in not only commits the sales order data but also other outstanding updates. This might cause database inconsistency.
    Please clarify your exact requirement.
    Regards,
    RS

  • Order entry user exit flags

    I have a problem that I have tracked down to the code below.
    In order entry through EDI, if a material is not on the customers buying list it is rejected by setting ABGRU. The problem occurs when the last 2 lines are rejected we get strange error messages like customer not maintained in dist channel xx or posting date is in the past.
    At the end of the inbound orders user exit (EXIT_SAPLVEDA_001  include ZXVEDU03), we do this (see below) but I do not know why we set flag PBES = 'X' ?
    What does it do?
    When I remove the line setting PBES, it is OK
    But before I can make a change to the live system I need to know what this does. Pls help
      Update output parameters
        IF NOT xvbap-abgru IS INITIAL.
          d_flag_p      = dd_flag_p.
          d_flag_p-pbes = 'X'.
          d_flag_p-pde1 = 'X'.
          dd_flag_p     = d_flag_p.
          dxvbap        = xvbap.
      Update Material No if mapped from EAN Code
        ELSE.
          dxvbap        = xvbap.
        ENDIF.

    Hi,
    You can maintain Production Storage location in BOM as well as you can maintain also in Material Master--> MRP-2 View--> Production Storage location.
    So system will by default take the respective storage location and user need not select each time manually.
    For this purpose, you need not implement any exit.
    Revert in case any doubt.
    Hope this solves your problem.
    Regards,
    Tejas

  • Production order create: User exit

    Dear All ,
    I want the user exit name while :in create mode of Production order while saving the production order i want to check the production order Qty and other data entered by users ?
    Pl guide with the User Exit name ?
    Regards ,

    Dear,
    For your requirement, you need to use the User Exit: PPCO0007
    PPCO0001 enhancement when saving the order can be used to get the your requirement
    BADI workorder_update with methode at_save might be also helpfulll for you
    Regards,
    R.Brahmankar

  • To Populate the profit center field in the sales order by user Exit.

    Hi All,
    Please let me know :
    How the user exit is used to populate the Profit center field in the Sales order?
    Please gurus answer  as quickly as possible as I require this urgently.

    If you want to overwrite the profit center in sale order (determined from the materail master) with a different profit center based some other criterion you can use profit center substitution rules. Check the wiki:
    [Profit Center Substitution in Sales Orders|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/erplo/profitCenterSubstitutioninSales+Orders]
    Regards,
    GSL.

  • Maintenance Order - Reservation User Exit

    Dear,
    If there is any change in the order for adding new material / delete material / any change in quantity.
    We need to send an email to the concerned person if there is any change in component tab. What will be the user exit for the same to be achieved?
    Senthil

    Hi,
    You can use user exit - CNEX0026.
    Regards,
    Mihir Popat

  • Process order release - user exit ?

    Hi experts,
    I need to build an interface where all the released (and all the updated)process orders need to be transfered from SAP to a warehouse system thru XI.
    I have identified an IDoc(LOIPRO01) which fullfill my needs but didn't find yet where to generate it.
    I'm searching for an user-exit triggered at the release of a process order.
    I have found this one:
    PPCO0007(Exit when saving production order) but the documentation says "a lot of data in the order header is only set once the customer exit has been processed"
    Any suggestions on how I can do this is greatly appreciated.

    Hi Fabien,
    Welcome to SDN.
    You can execute t/code <b>POIT</b> or standard SAP program <b>RCCLTRAN</b> to generate IDoc LOIPRO01.
    Prior to execute, please ensure you have done the configuration for ALE and IDoc.
    Hope this will help and let me know if you need further assistant.
    Regards,
    Ferry Lianto
    Please reward point if helpful.

  • Sales Order Create - User Exit

    Does anyone have experience using available user exits to split sales order line items before saving SO?
    After user enters a line item, we'd like to split the line item into 2 or more line items and schedule lines (VBEP).  We are achieving this using exit "USEREXIT_CHECK_VBKD".  However, we get the error "Item 000020 for schedule line 000011 is in the work area" (Message no. V1 357).
    Error occurs when VBAP-POSNR is not equal to VBEP-POSNR.
    Any suggestions?
    Thanks,
    David Guerrero

    Thank you all for your responses.
    The trick was to get table SVBEP populated with the proper values for field TABIX.  We
    achived this using MV45AFZZ user exit as follows:
    FORM USEREXIT_MOVE_FIELD_TO_VBKD.
      TABLES KNB1.
      DATA    PMTHD(10)   TYPE C.
      DATA L_SVBEP_LINES(06) TYPE N.
      CLEAR: KNB1,
             PMTHD.
    re-indexing after splitting lines...
      DESCRIBE TABLE SVBEP LINES L_SVBEP_LINES.
      IF L_SVBEP_LINES GT 0.
        loop at SVBEP WHERE TABIX NE 0.
          READ TABLE XVBEP INDEX SY-TABIX.
          IF SY-SUBRC EQ 0.
            MOVE SY-TABIX TO SVBEP-TABIX.
            MODIFY SVBEP.
          ENDIF.
        ENDLOOP.
      ENDIF.
    This corrects SVBPEP tabix entries after lines have been changed/added
    programatically, via program MV45AFZB, FORM USEREXIT_CHECK_VBKD.
    Thanks again!
    -David

  • Order Confirmation user exit for storage location

    hi all
    while confirming order, no one should select any other storage location other than fix : 1003,
    user selects 1001, 1002, 1003.
    actual posting location is 1003..
    Can i control this activity with the help of user exit ? if yes please suggest.

    Hi,
    You can maintain Production Storage location in BOM as well as you can maintain also in Material Master--> MRP-2 View--> Production Storage location.
    So system will by default take the respective storage location and user need not select each time manually.
    For this purpose, you need not implement any exit.
    Revert in case any doubt.
    Hope this solves your problem.
    Regards,
    Tejas

Maybe you are looking for

  • So sick of having trouble with Java and Mac!

    I bought myself a brand new MacBook Pro OS X 10.5.8 for around a year ago. Since the first month I've had so many problems with my Java. It's eighter not working, or its is so slow that you can't work with it, at all. Yesterday I was playing a game,

  • Problems installing Mac OS X v.10.3

    This is for a friends PowerPC G4. Its running v10.2.8 and I have the install discs for v10.3. When I go to install 10.3 I get a message bundled software cannot be installed on this computer. The computer specs check out OK so I don't know what the pr

  • Down Payments to Stcok Vendors

    Hi, I need to create a down payment for stock vendors, If I create an invoicing plan but then I get this error saying "Invoicing plan not possible in case of GR-based invoice verification". My scenario is that do make down payments to Stock vendors b

  • ITunes sync can't find a song but I can

    I have a smart playlist that contains 771 songs. One of the songs is titled "Rock And Roll Strategy". In "iTunes Library.xml", it is assigned a track ID of 6121: <key>6121</key> <dict> <key>Track ID</key><integer>6121</integer> <key>Name</key><string

  • I did it, I bought an I book! some questions.

    I made the switch in March with a mini and haven't looked back. I just ordered a 14" iBook with a 1.42 gigahertz proccessor, 60 gig, superdrive, so on and so forth. I will be using this machine as my sole computer and want to use my 17" flat panel do