IW31 - Copy planned cost to estimated cost cost - user exit/BADI

Hi all,
My requiremnt is such. While creating an order via IW31:
- the user clicks on the release button directly and saves.
- the user does not click on the cost calculate button.
The value of planned cost in the cost tab should be copied to estimated cost.
I have tried using exit IWO10009 but I am somehow not able to achieve this.
Can anyone help me regarding this!
Regards.

Hi,
     We had a similar functionality  ...I have checked the code in our system and we have used user Exit :IW010009 and below is the code :
The code was something as below :
the following function selects all the costs that have to do with the
work order. All costs in each line.
  CALL FUNCTION 'PM_WORKORDER_COSTS_LIST'
       EXPORTING
            LIST_CURRENCY  = caufvd_imp-waers
            PMCO_DETAIL    = 'X'
            ALL_CURRENCIES = 'X'
            EXTERNAL_CALL  = 'X'
       TABLES
            LIST_AUFK      = i_caufvd_imp
            LIST_PMCO      = i_list_pmco
            COMP_PMCO      = i_comp_pmco
       EXCEPTIONS
            NO_ORDERS      = 1
            NO_CURRENCY    = 2
            NO_COSTS_FOUND = 3
            OTHERS         = 4.
  IF SY-SUBRC EQ 0.
We will import the totals information
    READ TABLE i_list_pmco INTO wa_list_pmco INDEX 1.
    caufvd_imp-user4 = wa_list_pmco-pkosten.
Hope the above would be helpful for you ,,
regards
pushpa

Similar Messages

  • User exit / Badi for iw31

    Dear all,
    When i create a maintenance order(iw31) with reference to equipment it defualts teh equipment cost center, in the location tab.
    I have a requirement to change the cost center based on the workcenter / priority, when i save the order.
    Is there is any user exit / Badi available for my requirement?
    Regards
    Murali

    Hi
    Enhancement/ Business Add-in            Description
    Enhancement
    IWO10012                                Maintenance order: Priority handling on central header
    Business Add-in
    IWO_UI_USEFLEX                          BAdI for Calling Up an Alternative UI
    No.of Exits:          1
    No.of BADis:          1
    Arunima

  • User exit/ badi needed for planned order create/change,collective ATP check

    Dear All,
    I'm looking for a user exit/ badi which can be used for planned orders at the stage of
    mass collective availability check (COMAC tcode) update; or at some other relevant stages of mass update of planned orders.
    I need after collective availability check to perform the following:
    1) to copy date from "total comitment" field on header tab of planned order and paste it (replace old date) to order finish date on header screen
    then
    2) to start a scheduling.
    Very appreciate your help.
    Best Regards,
    Andrey
    Edited by: Andrey Kruglov on Apr 15, 2010 3:06 PM
    Edited by: Andrey Kruglov on Apr 15, 2010 3:07 PM

    Dear,
    Use the BAPI : BAPI_PLANNEDORDER_CHANGE
    Or use the function module MD_SET_ACTION_PLAF for Schedule planned order.
    and the transaction MDAC Execute action for planned order
    This function module includes the following actions:
    Explode BOM
    Explode BOM, check availability
    Check availability, only explode BOM in the case of a requirement
    Check availability, do not explode BOM
    Reset availability
    Change planned order data
    Schedule planned order
    Delete planned order
    Assign the key for the respective action control to the materials in the material master (MRP 4 view).
    Please refer this thread,
    Re: MDVP for collective orders
    Regards,
    R.Brahmankar

  • User Exit/Badi to change the billing plan date when create sale order

    Experts,
    Please advise which user exit/badi can be used to change the billing plan date wen create sale order.
    My requriement is based on some rules to dynamically change the line item billing plan start date and end date when create sales order.
    I tried some user eixt in MV45AFZZ, but the date got revert to the orginal date from billing plan.

    Hi,
      check the include MV45AFZB.
    Thanks & Regards,
    Sateesh.

  • User Exit / BADI for Transaction IW31 to create a POP-UP.

    Hi,
    I need to have a POP-UP Message in transaction IW31 on the press of ENTER. Could you give me the name of the EXIT or BADI which can be used for this purpose.

    Hi!
    In IW31/IW32, there is no user-exit/badi for pressing Enter. User-exits are attached to well determined event (enabling, closing, saving the order and so on).
    If you wanted to solve it, it seems, you have to modify the standard COIH function group. Use SE80 transaction for it. The first dynpro is 3000.
    Regards
    Tamá

  • PM/CS Order:Copying Planned Cost to Estimated Cost

    Hi All,
    There is a requirement to copy all the planned costs to estimated costs while releasing a PM/CS order.
    Any ideas how to implement this?
    We have tried all the possible user exits , but we could not find anything helpful.
    Harmeet.

    Hi,
         We had a similar functionality  ...I have checked the code in our system and we have used user Exit :IW010009 and below is the code :
    The code was something as below :
    the following function selects all the costs that have to do with the
    work order. All costs in each line.
      CALL FUNCTION 'PM_WORKORDER_COSTS_LIST'
           EXPORTING
                LIST_CURRENCY  = caufvd_imp-waers
                PMCO_DETAIL    = 'X'
                ALL_CURRENCIES = 'X'
                EXTERNAL_CALL  = 'X'
           TABLES
                LIST_AUFK      = i_caufvd_imp
                LIST_PMCO      = i_list_pmco
                COMP_PMCO      = i_comp_pmco
           EXCEPTIONS
                NO_ORDERS      = 1
                NO_CURRENCY    = 2
                NO_COSTS_FOUND = 3
                OTHERS         = 4.
      IF SY-SUBRC EQ 0.
    We will import the totals information
        READ TABLE i_list_pmco INTO wa_list_pmco INDEX 1.
        caufvd_imp-user4 = wa_list_pmco-pkosten.
    Hope the above would be helpful for you ,,
    regards
    pushpa

  • User exit/BADI for condition type in shipment costing

    Hi! Does anyone know of any user exit or BADI or function module we can use to populate a value to a custom condition type we have created for shipment costing? We want to calculate the customs duty charges based on the purchase price of the item in the PO. As such, we need to go extract this information on the PO and populate it on the condition type.
    Appreciate any help on this.
    Cheers!
    SF

    Dear SF,
    These are the Exits available in the shipment cost process.Take help of ABAPer to choose the appropriate one.
    V54B0001  Shipment costing: Configure pricing                    
    V54B0003  Shipment Costs Calculation: Determine Rate Type and Cur
    V54B0004  Shipment Cost Calculation: Determine Status            
    V54C0001  Shipment costing: Description(s) shipement cost item(s)
    V54C0002  Shipment costing: Create shipment cost sub-items       
    V54C0003  Shipment Costs Processing: Determine Invoicing Party   
    V54C0004  Shipment Costs Processing: Determine Loc. for Tax Invoi
    V54D0001  Shipment Costing: Determining the Tax Countries        
    V54KSFRC  Determining the factors for apportionment of shipment c
    V54P0001  Extended Function Codes for Shipment Cost Information  
    V54U0001  Shipment cost processing: Check whether changes made   
    V54U0002  Check shipment costs for completion                    
    V54U0003  Specification of shipment cost number                  
    V54U0004  Formatting for update of new objects (shipment costs)  
    V54U0005  Updating new objects in shipment cost processing       
    V54U0006  Shipment Purchase Order - Header Data Supply           
    V54U0007  Shipment Purchase Order - Item Data Supply     
    I hope this will help you,
    Regards,
    Murali.

  • IW31 - User Exit / BADI for changing data in Component's Order.

    Hi gurus,
    I need to update the field WEMPF in the order components during the Order Creation (Tx IW31).
    Is there any User Exit or Badi I can use?
    Thanks in advance !!

    At WO10009 User Exit...we can use this FM:
    CO_BC_RESBD_OF_ORDER_GET -> Get RESB internal table.
    CO_BT_RESB_UPDATE -> Update RESB table.
    Althought during creation (IW31) when the order numer is temporal ($$$$$$$$$$$1), this FM works great, cause it reads from memory, not from database.
    Regards,

  • Copy project cost planning to budget only per year (IMCCP3)

    Dear All!
    Iu2019m trying to find a possibility in SAP Projectsystem to copy cost planning (done for more years) for various projects in planversion 0 to the budget for only one year. It seems that the transaction IMCCP3 only supports the copy of all years and it can not be restricted to e.g. copy costs only for year 2011 into the budget.
    Any clues would be helpful to me.
    Regards,

    Dear Praveen,
    thank you for your reply. Budgetprofile is set to values per year. Your idea is good but I fear that this is not suitable for a normal end user. I'm searching for a solution / transaction with the possibility to copy the costplanning to the budget for a specific year for more projects at a time.
    Interesing: It is possible to copy planned costs from one version per year to another version per year for more projects at the time with the transaction CJ9B but it is not possible for the budget...
    Take care,
    Peter

  • Diff bet Budgetted cost & Planned Cost

    Hi,
    I created a project with Planned cost of Rs 1000 & then i budgtted amt of Rs 800 against it.But when in cj20n I generate any Purchase requisition against it System gives Error as Error in commitment items.Is always we hv to budget the same amt as in planned cost ?

    Planned Costs are not binding but budgets are. You usually do planning first and then refer them to do you budgeting. Commitment check happens on Budget Values.
    You can transfer the plan values into budget, you can do this either in CJ40 using Copy View option (copy plan costs) else use IMCCP3.
    IMCCP3 is basically used for IM related planning and budgeting but it still works for copying the plan values as budgets.
    Regards
    Sreenivas

  • User Exit or BADI For MRP Planning

    Dear all ,
               I want to Control the MRP Planning ( MD01 ) only for Demand Orders..
    Tell me any User exits / Badi for that Issue..
    i checked in this enchancement M61X0001, this is correct or wrong ,,,,
    With Regards ,
       GJ

    HI
    Possible exits
    LMDR2001  User exits restr. profiles of opt. pur.ord.-based load bldg
    LMDZU001  User exits in additional planning.
    I hope there are no BADi's for this try for implicit enhancements if u r using ECC 6.0
    Regards
    Edited by: Rasheed salman on Dec 20, 2008 9:54 AM

  • BPS User Exit Variable based on Planning Package Selection

    Hi,
    I'm implementing a SAP BW-BPS planning layout to be integrated into the CRM we user interface.
    Most of the characteristic selections come from the CRM fields that need to be filled by the user when creates a trade promotion.
    The charcteristic selections work (as standard) just if in the planning level I flag "Selection in Package", then in package these selections are dinamically defined from what the user select in the CRM fields at runtime.
    My problem is that I have to build a BPS User Exit variable to filter, in the planning level, the proper Planning Area based on the CRM Sales Organization value.
    The characteristic CRM Sales Organization belongs to whose chararcteristic the value is determined dinamically in the planning package.
    Is it possible for a BPS user exit variable, set in the planning level, to catch the value of a characteristic selection made at planning package?
    Many thanks for your help.
    Alessandro

    Hi Indu,
    Many thanks for your answer.
    I have already took a look at the document posted by you but I didn't find the solution to my problem.
    This because i have to create a user exit variable that need to get the value of the characteristic selection in package.
    I mean in the planning level I will have the user exit variable that restrict the planning area and, his function module, need to read, at runtime, what is the value of the characteristic CRM Sales Organization restricted in package by CRM.
    So I don't have any idea to which BPS internal table I have referred to in my funcion module to catch the value of the CRM Sales Organization dinamically filtered by CRM.
    Many thanks,
    Alessandro

  • User-exit to copy collective number from sales order to purchase order

    Hi,
    Can any one help me  which user-exit/BADI  is used to copy collective number from sales order to purchase order?  please help me.
    Thanks,
    Alka

    hi
    copy control would be the better option to choose.. but still u can a give a search in list below and opt for the right one..Refer to the link below..
    http://www.planetsap.com/Userexit_List.htm
    User exits for Sales order
    1•USEREXIT_DELETE_DOCUMENT
    2•USEREXIT_FIELD_MODIFICATION
    3.•USEREXIT_MOVE_FIELD_TO_VBAK
    4.•USEREXIT_NUMBER_RANGE
    5.•USEREXIT_SAVE_DOCUMENT
    User exits for billing
    1.•USEREXIT_ACCOUNT_PREP_KOMKCV (Module pool SAPLV60A, program RV60AFZZ)
    2.•USEREXIT_ACCOUNT_PREP_KOMPCV
    3•USEREXIT_NUMBER_RANGE_INV_DATE (Module pool SAPLV60A, program RV60AFZC)
    4•USEREXIT_PRINT_ITEM (Module pool SAPLV61A, program RV61AFZB
    5.USEREXIT_PRINT_HEAD (Modulpool SAPLV61A, Programm RV61AFZB)
    Reward if Useful
    Thanx & Regards..
    Naren..

  • ME59n exit/BADI to copy purchase requisition custom field to purchase order

    I have added a custom field (Unloading Point) in the Purchase requisition customer screen. Now When a purchase order is created from the purchase requisition through t-code ME59N, I need to copy the unloading point value from the PR to Unloading Point in the shipping tab of the Purchase Order. Whch User-exit/BADI can be used for this purpose. <removed by moderator>
    Edited by: Thomas Zloch on Nov 23, 2010 12:44 PM - please do not offer ...

    Good you found out what was the answer. Please share your solution, that sort of the idea of a forum like this.........

  • User Exit in APO to change Planning version defaults

    Hi,
    Is there any user exit/BADI I can use to User Exit in APO to change Planning version defaults.
    Regards,
    Tarun

    Hi Emmanuel,
    I am searching for this exit in APO-DP.I have a requirement where we CIF master data (location) from SAP R/3 to SAP APO.However the location are saved in default planning version/model ( ie 000) I need to save these locations in another planning version and I am looking for an appopriate user exit/BADI which can accomplish this.
    Regards,
    Tarun

Maybe you are looking for

  • Frame in MAIN window

    Hi, in my print program i´ve got something like: LOOP AT itab. l_counter = l_counter + 1. IF l_counter <= 13. CALL FUNCTION 'WRITE_FORM' EXPORTING ELEMENT = 'SMALLFRAME' WINDOW = 'MAIN' EXCEPTIONS OTHERS = 1. ELSE. CALL FUNCTION 'WRITE_FORM' EXPORTIN

  • Printer will only print on new start-up

    I have an HP Officejet Pro 8500A 910, connected to a Dell laptop. It used to print fine, but now has a problem. When I first turn the printer on, it will print fine. However, if it sits awhile and the little printer screen goes blank, the next time I

  • IPhone and iPad not showing up in finder devices

    When connecting iPhone and iPad to iMac, they don't show up in the Finder under Devices.  I do have an external backup system connected to my iMac and it does show in Devices.  I believe I have everything set up correctly in Preferences.  What can I

  • Add extra step to approval workflow

    Hello, I have an approval workflow where it requires 2 people to approve the document, one after the other. All working nicely. Once both approvers have approved the document, I would like an extra step (task) added before the workflow initiator is e

  • Editing Nikon D800 RAW files from LR4 to CS6...Images are not appearing in PS6

    I just downloaded the latest PS6 and Camera Raw files.  If I'm in LR4 and chose to edit an image in CS6 the image does not load.  I never had the beta version of CS6.  The files are from Nikon D800.