Exit / Enhancement point for Prod order settlement screen

Hi
I am looking for Exit / Enhancement or how to restrict putting cost center / order belongs to different company other than the Production order company code.
For example In Controlling Area 0001, i have 2 co codes 000A & 000B, if a prod order is created in CO code 000A then i do not want user to put Cost center / internal order belongs to Code code 000B.
I can use validation during settlement but business wants to prevent this upfront while order creation. I also continue to use cross code Controlling.
I have checked Exit PPCO0018 (Prod order Header save) but my ABAPER is facing problem with this exit since settlement rule is created in diff screen not in the header screen where this exit is called.
Thanks
Aravind

Hi
You can use BADI WORKORDER_UPDATE...
This badi is called at every save / change of prod order
there are 2 methods AT SAVE and AT RELEASE.. Depending on whether you want to check before SAVE / RELEASE, you can choose the desired method
Br, Ajay M

Similar Messages

  • How can we identify what are all user exits are there for sales orders,deli

    Dear All,
    How can we identify what are all user exits are there for sales orders,deliverys and invoices
    thanks
    nitchel v

    Hi Nitchel
    There are many ways to find out the user exits..
    For example for VA01.
    Goto Transaction ie VA01:
    goto System-- Status
    doubleclick on the program name ie SAPMV45A
    SE38 -> Enter the program name and in the program( SAPMV45A) goto -- attributes
    get the package name from here ie VA
    note the package(VA) and get back to main screen
    goto SMOD tcode  and click on find button in the package spec giv the package name ie VA and execute it
    you will find list of exits available
    check out the exit that suits ur requirement
    goto cmod and create a new project and implement in that user exit.
    You will get the following exits in SMOD..
    SDTRM001  Reschedule schedule lines without a new ATP check
    V45A0001  Determine alternative materials for product selection
    V45A0002  Predefine sold-to party in sales document
    V45A0003  Collector for customer function modulpool MV45A
    V45A0004  Copy packing proposal
    V45E0001  Update the purchase order from the sales order
    V45E0002  Data transfer in procurement elements (PRreq., assembly
    V45L0001  SD component supplier processing (customer enhancements
    V45P0001  SD customer function for cross-company code sales
    V45S0001  Update sales document from configuration
    V45S0003  MRP-relevance for incomplete configuration
    V45S0004  Effectivity type in sales order
    V45W0001  SD Service Management: Forward Contract Data to Item
    V46H0001  SD Customer functions for resource-related billing
    V60F0001  SD Billing plan (customer enhancement) diff. to billing
    For Delivery you will get .. here the package name will be VL.
    V02V0001  Sales area determination for stock transport order
    V02V0002  User exit for storage location determination
    V02V0003  User exit for gate + matl staging area determination (h
    V02V0004  User Exit for Staging Area Determination (Item)
    V50PSTAT  Delivery: Item Status Calculation
    V50Q0001  Delivery Monitor: User Exits for Filling Display Fields
    V50R0001  Collective processing for delivery creation
    V50R0002  Collective processing for delivery creation
    V50R0004  Calculation of Stock for POs for Shipping Due Date List
    V50S0001  User Exits for Delivery Processing
    V53C0001  Rough workload calculation in time per item
    V53C0002  W&S: RWE enhancement - shipping material type/time slot
    V53W0001  User exits for creating picking waves
    VMDE0001  Shipping Interface: Error Handling - Inbound IDoc
    VMDE0002  Shipping Interface: Message PICKSD (Picking, Outbound)
    VMDE0003  Shipping Interface: Message SDPICK (Picking, Inbound)
    VMDE0004  Shipping Interface: Message SDPACK (Packing, Inbound)
    For Billing VF01..Package is VF..
    SDVFX007  User exit: Billing plan during transfer to Accounting
    SDVFX008  User exit: Processing of transfer structures SD-FI
    SDVFX009  Billing doc. processing KIDONO (payment reference numbe
    SDVFX010  User exit item table for the customer lines
    SDVFX011  Userexit for the komkcv- and kompcv-structures
    V05I0001  User exits for billing index
    V05N0001  User Exits for Printing Billing Docs. using POR Procedu
    V60A0001  Customer functions in the billing document
    V60P0001  Data provision for additional fields for display in lis
    V61A0001  Customer enhancement: Pricing
    Or another way is ..
    - Get the program name for that T-Code
    - Go to that program
    - In that program, search for word 'EXIT' or 'CUSTOMER-FUNCTION' by using where-used list which will give u the list of user exits for that program
    And also you can check in the tables in SE16 for user exits..
    MODSAP - Stores SAP Enhancements
    MODSAPT - Stores SAP Enhancements - Short Texts
    MODACT - Stores Modifications
    And there are other ways as well , pls check the forum for this ,
    Regards,
    Vvieks
    Note : If you have any specific requirement then pls let us know , we will guide you

  • User Exit and BADI for Sales Order

    Dear Experts,
                        please give me available user exits and BADI for sales order .i want to take the data from sales order at the time of sales order posting .

    Hi,
    In debugging you can find some Enhancement Spots where you can implement your code. This lets you ignore the need for access key, but its a time consuming process spotting out the exact enhancement point.
    Regards
    Karthik D

  • User Exit / Enhancement Point to set exchange rate using GR date in MIRO

    Dear experts,
    I'm trying to set exchange rate not as default but using GR date (When I input the PO number and click enter, the exchange rate should be set). So when system set the exchange rate, it will use the PO date, not GR date.
    What user exit / enhancement point / BADI should I use?
    I've already tried all user exit and BADI for MIRO but still not succeed. Is there anyone who could help me?
    Thank you very much..
    Regards,
    Shirley

    Hi,
    So as to capture Exchange Rate w.r.t PO date, it is suggested to go for Development/Enhancement with required import purchasing doc types in it. While doing GR and before posting the document you need to capture the Exch Rate as per PO date and replace with GR date Exch rate present in it through development.
    Regards,

  • Define back ground job for Maintenance Order Settlement through KO8G

    Hi Experts,
    I need to define back ground job for Maintenance Order Settlement through KO8G transaction code.
    Here are the requirements
    1. The job should run on weekly basis automatically.
    2. The settlement period and posting period should be taken care by the job dynamically. i.e. if the job runs in July, the job should pick up Settlement period and posting period as 7 automatically.
    Kindly let me know the steps to define the back ground job as per above requirement.
    Sanjeev

    To run the KO8G  each week, the a RECURRING job has to be created.  At my job, Basis/Ops department would create and schedule the job.
    To have the posting periods, dates etc dynamically determined at the time the job runs:
    Create the variant and save.
    In 5.0, KO8G does not save a variant, therefore, go to SE38 and create a variant for program: RKO7KO8G
    When you go to the ATTRIBUTES screen, to add a name and description, you will see a list of all the fields that are part of the selection criteria. 
    For an example, I frequently use the Posting Date. To the right of the screen is a field called Selection Variable, click on the drop box and select D - Dynamic Date Calculation.
    Go to field NAme of variable, click on drop box and select the variable you want.
    Each field has its own list of selection variable and name of variable depending on how it works in the progra.
    If you look at Posting period you will see:
         T: Table Variable from TVARVC
         B: User-defined variables
    I do not know about User defined variables, but for TVARC there is thread that leads to a "how to" blog
    [How create a variable in the TVARVC that calculate the last week]
    do some more searching and you should find more answers
    Good luck
    Althea

  • GR for Purchase order and GI for prod. order simultaneously

    Hi Guys,
    My client current has an external system, which does both GR for puchase order and GI for Prod. order at the same time. He is now migrating into SAP and he wants the same functionality. Do you have any idea how to do this.
    For eg., Pick list(CO27) will pick and issue the components to production order, if the component is in inventory. if it is not there, it will give error.
    Can we add, if material is not there, it should do GR and GI. is it possible with any customer exit in CO27?
    Thanks
    Srini

    Hi,
    In KANBAN, we have the possibility to do the GR (Goods Invard) if th container is Full and GI (to the production Order) if the Container is Empty.
    It's just a thaught..
    Regards,
    Siva

  • Authorization check for production order settlement

    Hi All,
    Production order settlement currently can be done by any user of any company code. there is a high risk involved in the same since unauthorized postings may happen. Hence we need to add authorization check for production order settlement. Can we maintain the same at the plant or the company code level?
    Waiting for your replies. Thanks in advance!
    Regards,
    Aman Goel

    hi
    What venki has told abt the exit, its absolutely correct.Even i have used the same exit
    •     From table CAUFV pick Material(PLNBEZ),Basic Start Date(GLTRP),Plant(WERKS) .
    •     Pass parameter Material(PLNBEZ) and Plant(Werks) in table MBEW in respective fields i.e. Material(MATNR) and Plant(WERKS).
    •     Pick the latest record for the current period(LFMON) and year(LFGJA).
    •     Pick Product Cost Estimate number(KALN1) from the record and pass it to table KEKO.
    •     Check if Production Order Basic Start Date(GLTRP)<= BIDAT, if NO post Error Message.
    This is the FS for EXit PPco0007
    Reward if useful
    Amit

  • WIP calculation for Prod.order with status DLV

    Dear experts,
    Is there any way to change WIP calculation method for Prod.order status ?
    In t-code OKGC:: By default system will set:
    Order status      Status number         RA type
    REL                          2                             WIP Calculation on Basis of Actual Costs
    DLV                          3                            Cancel Data of WIP Calculation and Results Ana
    PREL                  1                            WIP Calculation on Basis of Actual Costs
    TECO                  4                            Cancel Data of WIP Calculation and Results Ana
    I can not change any thing in t-code OKGC (gray after insert: CO, RA version, RA key).
    As I understanding: Prod.order with status DLV will not be considered to calculate WIP.
    But I want to calculate WIP for Prod.order with status DLV. Could you pls guide me how to configure the system?
    Thank you!

    Hi,
    I suppose it is positive variance as the yield from the order is 10 pieces more than the planned quantity of 1000 and it is always a variance and no WIP involved in this case. It can be settled to FI/PCA and to CO-PA by variance categories (if you have configured accordingly)
    Therefore the accounting entry would be:
    1. Delivery to stock of 10 pieces:
    FG Debit
    Change in Stock Credit
    2. Variances will post the difference:
    Change in Stock Debit
    Price Difference is Credit
    Concerning the valuation method it needs to be tested before it can be implemented.
    Kind Regards
    Umapathi G

  • WIP calculation for Prod.order with status TECO

    Hello all.
    My question is the similar to WIP calculation for Prod.order with status DLV
    But I need that
    - if the Production order has status TECO - the system calculate WIP
    - if the Production order has status DLV u2013 the system settle the order.
    1.     I try to change u201CStatus Numberu201D in TCODE OKGC. But I have receive two different result:
    - if I change u201CStatus Numberu201D for status DLV from 3 to 2, then during WIP calculation of the order with status DLV u2013 WIP have been calculated.
    - but if I change u201CStatus Numberu201D for status TECO from 4 to 2, then during WIP calculation of the order with status TECO u2013 WIP have been CANSELED.
    2.     I try to change results analysis key for status TECO from u201CZu201D to u201CFu201D in TCODE OKG3. BUT during WIP calculation the system create error message KJ 363 which require that results analysis key must be change to u201CZu201D
    How can I resolve my problem?

    Hi,
    I don't have the answer if the requirement is that even after producing the materials, till the time accountant checks the order and does this action, it should remain in WIP. Honestly it doesn't make any sense to me or i have not understood this problem. Anyways as per my current understanding I can suggest the following process for your scenario.
    Once production is stopped in between the process, the order should be in PDLV status (partial confirmations happened in the order)
    Now go and clear the reservations manually from the production order .( delete the component line items from the order). Now depending on whether you are following WIP at actual cost, system will post the difference between credit and debit of that production order as WIP for the month end process.
    Once Accountant okays the entries in the production order, he can do the TECO and settle the order. Now WIP will be reversed and variance will be posted.
    To avoid the already produced goods mixing up with your other stock, u might want use Quality Management with the help of your PP consultant.
    Best Regards
    Vimal

  • SAP format for prod. order

    Is there any std. SAP format for prod. order? I want to print prod. order.

    Hi,
    I'm not able to understand your question properly.
    <b>But in SAP the T code CO04N is meant for printing production orders.</b>
    If useful reward your points.
    Thanks & regards
    Karthik @ Mangal
    Message was edited by:
            Mangal

  • For internal order settlement rule amount column is requied instead %

    Hi Gurus,
    For internal order settlement rule percentage is there but business wants  to settle from AUC to final asset by amount wise how can we do this.
    I tried to change the investment profile but it is coming amount field while saving it is not displaying.
    Please help in this regard
    Thank you.
    Ranganadh

    Hi
    Check the path
    IMG>Controlling>Internal Orders>Actual Posting>Settlement>Maintain Settlement Profile>Maintain Settlement Profile.
    Here there is a tick for amount settlement under Indicators. You need to maintain this check box for your requirements.
    Regards
    Sanil Bhandari

  • Change pointer for Sales Order

    Hi,
    Using change pointers I want to create an IDOC when ever a specific field in the sales order line item is changed. I have activated the change pointer for message type ORDRSP. Also maintained the following entries in BD52
    VERKBELEG(Object) VBAP(Table) ABGRU(field).
    After this when I change this field at the sales order line item, it inserts entries into change pointer table.
    But my problem is creating IDOC's from those change pointer entries. I am not sure which function module (MASTERIDOC_CREATE_XXXXX) works for this.
    Anyhelp on this highly appreciated.
    Thanks
    Ram

    Hi Ram,
    I don't think so you can use change pointer for sales order changes. Usually, it is done through transaction code<b> NACE</b> - configuring condition for output type.
    You can setup requeirement in procedure control to trigger IDoc ORDRSP for any changes in item level.
    Hope this will help you and give an idea.
    Regards,
    Ferry Lianto

  • Need a Badi to look the good issue status for prod order before good receipt in MIGO

    Hi ,
    Need a Badi to look the good issue status for compoents for prod order before good receipt in MIGO.
    Example : There are 10 comps need to be issued to production order to make any assy but 6 comps were issued
    and remaining 4 comps are not yet issued.,in this situation if I try to do goods receipt for prod order through MIGO.,system should populate the warning
    message saying still goods issue are pending for prod order.
    Please advise .
    Thanks
    Prasad

    Hi Prasad,
    Before trying with a BAdI, have you tried to control this behaviour thru the Order confirmation parameters (OPK4)?
    Note that you can have a termination in case of having problems in the goods movements..
    Take a look of this and the SAP help:
    Termination of Confirmation if Incorrect Goods Movements
    Controls if the confirmation is terminated in the event of incorrect goods
    movements.
    Use
    This enables you to terminate the confirmation in the event of incorrect
    items, for example, to prevent postprocessing records.
    Dependencies
    The indicator is only evaluated if either no process control key or one
    process control key has been stored that enbles the goods movements to be posted
    in dialog AND for which the "provide error handling for goods movements"
    indicator is active. If there are incorrect goods movements, the system behaves
    as follows:
    A log is issued that gives information on the incorrect goods movements
    If these incorrect goods movements are determined by inventory management,
    then the option of correcting these errors is offered in the error handling
    If the correction is not successful, the confirmation is terminated
    Kind Regards,
    Mariano

  • RE G.I Problem for prod order in MTO

    Hi All,
             I am having stock as sales order stock in unrestricted. when I want to issue goods for prod order in MTO through MIGO. when I am checking I am getting the error as sales order stock not available. Any solutions for this Issue.

    Vachanala,
    If the stock is assigned to the perticular sales order & line item, the error won't be there.
    Agin check the stock in MMBE, & ensure that it is assigned to that perticular sale order number & line item.
    If it's not there then do the assignment to the desired sales order with movement type 413 E in t code MB1B.
    Hope this helps you.
    SmanS

  • Workflow for prod. order

    Hi all,
    Can any one tell me how to activate workflow for prod. order
    Std. template WS20000387.?
    Thanks and regards.

    Hi Rohit
    SInce the steps are too many I am sending you the below documantation on Workflow scenarios in PP which may be useful to you
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMPP/BCBMTWFMPP.pdf

Maybe you are looking for

  • Equium L10-300: Cannot see my Wlan router!

    I have a Toshiba Equium L10 300 laptop with an internal Infocomm IPN 2220 wireless network card. The laptop is running Windows XP Home SP2 and ConfigFree. I have updated the wireless drivers to the latest version. I am trying to connect the laptop to

  • HELP PLZ - RESOLUTION PROBLEMS

    I am currently using Photoshop Elements to design JPEG's for a websites front page (which scrolls across many images like adverts etc) but I can't seem to be able to change the image resolution after designing the image that is wanted. Does anyone kn

  • Print too small and does not fit page.

    Using windows XP and a Brother printer. Have tried several steps listed for solving this problem. In trying to reset firefox printer instruction , cannot locate the print.print_printer in the list to see if that will work. It is not there. How do I s

  • IDOC monitor for shipping notification- EMASN

    Hello experts, Anybody know that is IDOC monitor for shipping notification-EMASN. what are the input we have to enter as defualt for this transaction. can anybody help, very urgent.

  • Dropped my ipod in water.  They said my wi-fi card is finished... now what ?

    I was able to get my music back on, and most of the apps... but no more wi-fi... the guy at the micro-boutique (apple) told me the wifi card is finished and that it would be the same price to get a new ipod than to change the part ... any other solut