User Exit for the Settle rule of a Production Order

Hello all
i got a requirement to change the settlement rule of a production order to multiple receivers.
suppose i have the following rule
Categeory | Settlement Reciever | Receiver Short text |   %   | Settlement Type | No | Source Assignment
    MAT             ZMDT89                   ZMDT88              100        FUL                 1            left as blank
now my requirement is that i have to default the source assignment as 200 (Materials) so as to allow the other reciever entered with the same settlement type as FUL and also the No should be 2
i.e. my req is like this
Categeory | Settlement Reciever | Receiver Short text |   %   | Settlement Type | No | Source Assignment
    MAT             ZMDT89                   ZMDT88              100        FUL                 1            200
    G/L             G/L A/C no                G/L shor text       100        FUL                 2            100
the bold one is i have to ADD
the T-Code is CO02.
your help is highly appreciated...
thanks in advance

hi,
check these exits in co02.
Transaction Code - CO02                     Change Production Order
Enhancement/ Business Add-in            Description
Enhancement
PPCO0010                                Enhancement in make-to-order production - Unit of measure
PPCO0012                                Production Order: Display/Change Order Header Data
PPCO0013                                Change priorities of selection crit. for batch determination
PPCO0015                                Additional check for document links from BOMs
PPCO0016                                Additional check for document links from master data
PPCO0017                                Additional check for online processing of document links
PPCO0018                                Check for changes to production order header
PPCO0019                                Checks for changes to order operations
PPCO0021                                Release Control for Automatic Batch Determination
PPCO0022                                Determination of Production Memo
PPCO0023                                Checks Changes to Order Components
STATTEXT                                Modification exit for formatting status text lines
PPCO0009                                Enhancement in goods movements for prod. process order
CCOWB001                                Customer exit for modifying menu entries
COIB0001                                Customer Exit for As-Built Assignment Tool
COZF0001                                Change purchase req. for externally processed operation
COZF0002                                Change purchase req. for externally procured component
PPCO0001                                Application development: PP orders
PPCO0002                                Check exit for setting delete mark / deletion indicator
PPCO0003                                Check exit for order changes from sales order
PPCO0004                                Sort and processing exit: Mass processing orders
PPCO0005                                Storage location/backflushing when order is created
PPCO0006                                Enhancement to specify defaults for fields in order header
PPCO0007                                Exit when saving production order
PPCO0008                                Enhancement in the adding and changing of components
reward points if hlpful.

Similar Messages

  • User Exit for maintaining Checking Rule while creating Sales Order

    Hi Gurus,
    I have a requirement where I need to assign a particular value to Checking Rule (VA02 -> Display Availability Button -> Checking Rule field (beside Checking Group field)) while creating a Sales Order in SD (via. IDOC's).
    In my requirement, within one Checking Group there are multiple checking rules assigned. When I am trying to assign the checking group in userexit_move_field_to_vbap (include MV45AFZZ), it is picking up the default checking rule ('A') and not the customized one defined for our requirement.
    Is there any other user exit within which I can directly assign the Checking Group and Checking Rule while creating the sales order, please suggest.
    Regards,
    Arvind.

    You can use userexit 'USEREXIT_MOVE_FIELD_TO_VBAP' in include MV45AFZZ. This is executed every time a user changes anything on a material (e.g. put in a material number) and hits return. Just raise your pop-up window there if the user puts in the particular material you are talking about. The material number is available in xvbap-matnr.
    Hope that helps,
    Michael

  • User Exit for CO01/CO02 : How to check production order before saving ?

    Hi all,
    I try to check production order before saving.
    if  AFPO-LGORT or RESB-LGORT  or some other field is initial, throw an error msg and stop saving process.
    I try using badi WORKORDER_UPDATE and user exit PPCO0001  EXIT_SAPLCOBT_001, find out that i can check the data but can't stop the saving process.
    Anyone knows some other user exits can do this?
    Thanks a lot.

    Solved.
    A wired solution from
    http://abaplog.wordpress.com/2007/03/01/reading-other-programs-data-using-field-symbols-in-abap/

  • User-Exit for the Me22n

    Hi,
       I am Mohan. I faced on Problem with the User Exit. I write the user exit for the ME21n for PO Creation. While Creation of the PO the Purchase Requition is mandatory. it is working for the ME21n. But PO creation is another two ways is there. Those are ME22N (Purchase order---> Create) and ME23N
    (Purchase order---> Create) for this case also my condition applicable but it is not working for this case. How to write the Code for this. by using Sy-ucomm  also. but it is not working.
    Please help me.
    Regards,
    Mohan

    Following the user exit's related to ME22N transaction.
    AMPL0001 User subscreen for additional data on AMPL
    LMEDR001 Enhancements to print program
    LMELA002 Adopt batch no. from shipping notification when posting a GR
    LMELA010 Inbound shipping notification: Transfer item data from IDOC
    LMEQR001 User exit for source determination
    LMEXF001 Conditions in Purchasing Documents Without Invoice Receipt
    LWSUS001 Customer-Specific Source Determination in Retail
    M06B0001 Role determination for purchase requisition release
    M06B0002 Changes to comm. structure for purchase requisition release
    M06B0003 Number range and document number
    M06B0004 Number range and document number
    M06B0005 Changes to comm. structure for overall release of requisn.
    M06E0004 Changes to communication structure for release purch. doc.
    M06E0005 Role determination for release of purchasing documents
    ME590001 Grouping of requsitions for PO split in ME59
    MEETA001 Define schedule line type (backlog, immed. req., preview)
    MEFLD004 Determine earliest delivery date f. check w. GR (only PO)
    MELAB001 Gen. forecast delivery schedules: Transfer schedule implem.
    MEQUERY1 Enhancement to Document Overview ME21N/ME51N
    MEVME001 WE default quantity calc. and over/ underdelivery tolerance
    MM06E001 User exits for EDI inbound and outbound purchasing documents
    MM06E003 Number range and document number
    MM06E004 Control import data screens in purchase order
    MM06E005 Customer fields in purchasing document
    MM06E007 Change document for requisitions upon conversion into PO
    MM06E008 Monitoring of contr. target value in case of release orders
    MM06E009 Relevant texts for "Texts exist" indicator
    MM06E010 Field selection for vendor address
    MMAL0001 ALE source list distribution: Outbound processing
    MMAL0002 ALE source list distribution: Inbound processing
    MMAL0003 ALE purcasing info record distribution: Outbound processing
    MMAL0004 ALE purchasing info record distribution: Inbound processing
    MMDA0001 Default delivery addresses
    MMFAB001 User exit for generation of release order
    MRFLB001 Control Items for Contract Release Order
    Regards.

  • Validation for the settlement rule of a wbs element

    Hi Experts,
    I have a requirement that in which i have to validate the settlement rule of the wbs done through t-code cj01/cj02/cj07,cj20n.
    If the settlement receiver object is an G/L account (settlement category g/l )  then i have to check that if it is an o&m project type
    wbs element  settling on some already mentioned G/L e.g 0001081340,0001081341, then  it should through some error  like settlement rule not valid etc.
    I have tried cjb1/cjb2 through badi WBS_SETTLEMENT_RULE by creating some strategy but it did not have any option for G/L
    settlement reciever. Also client will not agree to this as they want to create settlement rule manually.
    I have also tried the exit 'EXIT_SAPLCOI1_027 ' but its not getting triggerred during settlement rules assign mentand also i think it will not solve my purpose.
    Please help me as i am struck in this for long time now.
    Warm Regards,
    Hariom

    Hi Prabhu ,
    thanks for the quick update.
    I have tried many badi's and exits but they are not triggering at the saving time of the wbs.
    badi :
    PROJECTDEF_UPDATE
    WBS_FIELDS_FOR_ASSET
    WBS_USER_FIELDS_F4
    WORKBREAKDOWN_UPDATE
    WBS_SETTLEMENT_RULE
    exits :
    EXIT_SAPLCJWB_004
    EXIT_SAPLCJWB_005
    EXIT_SAPLCJWB_001
    These above exits i have tried either they are not implemented or they are not triggered during saving of a wbs element.
    please suggest any exit or badi's which you may have used.
    Thanks and regards,
    Hariom

  • User exit for the release of Purchase Order

    Hi Friends,
    I am searching for a user exit which should trigger at the time of Purchase Order release in ME29n transaction.
    If anyone can help me for the same....!!!
    I need the exact exit which triggers at the release of PO....
    Points will be rewarded for the needful replies.
    Regards,
    Mandeep.

    HI,
    Finding the user-exits of a SAP transaction code
    Enter the transaction code in which you are looking for the user-exit
    and it will list you the list of user-exits in the transaction code.
    Also a drill down is possible which will help you to branch to SMOD.
    report zuserexit no standard page heading.
    tables : tstc, tadir, modsapt, modact, trdir, tfdir, enlfdir.
             tables : tstct.
    data : jtab like tadir occurs 0 with header line.
    data : field1(30).
    data : v_devclass like tadir-devclass.
    parameters : p_tcode like tstc-tcode obligatory.
    select single * from tstc where tcode eq p_tcode.
    if sy-subrc eq 0.
       select single * from tadir where pgmid = 'R3TR'
                        and object = 'PROG'
                        and obj_name = tstc-pgmna.
       move : tadir-devclass to v_devclass.
          if sy-subrc ne 0.
             select single * from trdir where name = tstc-pgmna.
             if trdir-subc eq 'F'.
                select single * from tfdir where pname = tstc-pgmna.
                select single * from enlfdir where funcname =
                tfdir-funcname.
                select single * from tadir where pgmid = 'R3TR'
                                   and object = 'FUGR'
                                   and obj_name eq enlfdir-area.
                move : tadir-devclass to v_devclass.
              endif.
           endif.
           select * from tadir into table jtab
                         where pgmid = 'R3TR'
                           and object = 'SMOD'
                           and devclass = v_devclass.
            select single * from tstct where sprsl eq sy-langu and
                                             tcode eq p_tcode.
            format color col_positive intensified off.
            write:/(19) 'Transaction Code - ',
                 20(20) p_tcode,
                 45(50) tstct-ttext.
                        skip.
            if not jtab[] is initial.
               write:/(95) sy-uline.
               format color col_heading intensified on.
               write:/1 sy-vline,
                      2 'Exit Name',
                     21 sy-vline ,
                     22 'Description',
                     95 sy-vline.
               write:/(95) sy-uline.
               loop at jtab.
                  select single * from modsapt
                         where sprsl = sy-langu and
                                name = jtab-obj_name.
                       format color col_normal intensified off.
                       write:/1 sy-vline,
                              2 jtab-obj_name hotspot on,
                             21 sy-vline ,
                             22 modsapt-modtext,
                             95 sy-vline.
               endloop.
               write:/(95) sy-uline.
               describe table jtab.
               skip.
               format color col_total intensified on.
               write:/ 'No of Exits:' , sy-tfill.
            else.
               format color col_negative intensified on.
               write:/(95) 'No User Exit exists'.
            endif.
          else.
              format color col_negative intensified on.
              write:/(95) 'Transaction Code Does Not Exist'.
          endif.
    at line-selection.
       get cursor field field1.
       check field1(4) eq 'JTAB'.
       set parameter id 'MON' field sy-lisel+1(10).
       call transaction 'SMOD' and skip first   screen.
    *---End of Program
    USE THIS PROGRAM TO GET ANY USER EXIT BY GIVING THE TCODE.
    MMFAB001            User exit for generation of release order
    MRFLB001            Control Items for Contract Release Order
    REGARDS,
    PRIYA.
    Edited by: Priyadharshini Veluswamy on Mar 13, 2008 9:21 AM
    Edited by: Priyadharshini Veluswamy on Mar 13, 2008 9:40 AM

  • User Exit for the Funds Management Update

    Hi Experts ,
    My requirment is to make the movement type 261 as stastical . This should be reflected in COO11 T Code, Please suggest me the User Exit Or The BADI.
    Thanks in Advance,
    Regards,
    Manish

    Self Solved.

  • Shortdump upon calculating settlement rule in co-product-orders w/rule PP6

    Hello,
    We use production orders with co-products. Production Order Type contains distribution rule PP6 (settlement of co-products by actual cuantities). We have installed the MILL-funcionality
    If we create a production order for a small quantity, the system gives a shortdump upon calculating the distribution rules in the settlement rule in the order.
    Key-words in shortdump:
    COMPUTE_INT_TIMES_OVERFLOW
    CX_SY_ARITHMETIC_OVERFLOW
    in procedure "MILL_IT_CALCULATE_BASEQUANTITY" "(FUNCTION)"
    If we create the order with a sufficient big quantity, information messages appear, telling that are rounding errors creating the settlement rule in the order. The order nevertheless is created correctly and no shortdump appears.
    We already implemented notes 1349991 and 1524822 but they dont resolve this problem.
    Any clues?
    Thanks for any answer on this strange problem we face.
    Aart

    Thanks,
    We aplied the notes you suggested but it didnt sove the problem.
    Any sugestions?
    Thanks.
    Aart

  • User-exit to update material component in a production order with a batch

    I am looking for a solution to update a production order material component with a batch number what is stored in the configuration of a sales order. The production order is defined for salesorder related production. How can I update the field RESBD-CHARG in the production order.
    Tried already the exits PPCO0001, PPCO0008, PPCO0021. Also looked for a solutions with batch search stratgegies, but I have no idea kind of possiblities I have here. Other problem is that we are stil on release 4.7.
    Hopefully some can help me with a solution.
    Regards,
    Peter Geurts

    Dear
    You have to update the batch in a production order component via RFC Call of BAPI_ALM_ORDER_MAINTAIN.You should also pass operation number to T_COMPONENT and T_COMPONENT_UP
    T_COMPONENT-ACTIVITY = Operation Number
    You need to pass the following tables
    IT_METHODS should have 2 values
    Refnum - '000002'
    Objecttype - 'COMPONENT'
    Method - 'CHANGE'
    Objectkey - 300054 (Prefix the zero's)
    Append IT_METHODS
    Method - 'SAVE'
    Append IT_METHODS
    T_COMPONENT should have the following values
    RESERV_NO - Reservation number ( you can see in production order)
    RES_ITEM - Reservation item ( you can see in production order)
    BATCH - populate the required value
    APPEND T_COMPONENT
    T_COMPONENT_UP should have the following values
    BATCH - 'X'
    APPEND T_COMPONENT_UP
    Or else look at BAPI 'BAPI_MATERIAL_GETBATCHES'. This might help you.....
    CALL FUNCTION 'BAPI_MATERIAL_GETBATCHES'
    EXPORTING
    material = MATERIAL
    BATCHNUMBER =
    plant = PLANT
    expirydatefrom = DATE
    Hope this will be useful
    Regards
    JH
    Edited by: Jiaul Haque on Sep 12, 2010 11:14 PM

  • How to find the user exit for the T-code 'RECN'

    Hi friends,
    I have a requirement as-
    In 'General Data with Fast Entry' tab of tcode 'RECN' there are 2 fields as contract conclusion date and contract end date.
    Now, the requirement is as if entered contract end date is less than contract conclusion date then we have to display a warning message as "contract end date cannot be less than contract conclusion date".
    So, how to find the right user exit to enter the code.
    Plz help me.I will surely reward points.
    Thanks,
    Rishi

    Hi Rishi,
    If User exits and BAdi's are not provided,  then  you will for Enhancement points.
    Procedure:
                     When you are in a particular transaction, Go to System--> status and you find the standard program of that particular screen. Go to SE38 and give that program name, display mode.
    After that you click on the spiral icon there onthe top. Then,
    You go to menu bar, Edit> Enhancement opitons> show implicit enhancement options.
    You will be shown the points where you need to write the code.
    For creating it you will go to Edit >  Enhancement opitons> Create.
    By this you will add some code in the standard programs.
    Reward points if it helps you.
    Cheers,
    Swamy Kunche

  • User exit for the purpose of changing invoice quantity

    hi all,
        In Tcode vf01, when i input the delivery number and press Enter, program will goto the next screen. There's a subscreen, which number is 104 in program SAPMV60A. These screen reflects the data of each item, and the fields of this subscreen is uneditable.
        For the invoice quantity column, my function wanna convert the current value to a new value which is the multiple of 100 automatically after a invoice is created.
        For example,  789450 should be converted to 789400,   999999 should be converted to 999900,etc. 
        Although  I got a solution to converted the value, but i don't know where i can add my code, cause i can't find the corresponding user exit.
        could anyone tell me the corresponding user exit, please?
        Thanks in advance.
        Desmond.

    Hello Desmond
    I know that partail invoicing can be carried if you choose the field value "K  in item category customizing
    for field relevance for billing.This will open up the quantity field and allow you to change the quantity lower than the delivery quantity.
    Thanks
    Vikas

  • I want to get the material master User-exits for the classification view

    Hi , All
      I want to insert new data in the classification view of material master date, and I want to check it. I cannot find the user-exit to realize it. Can someone help me ?

    I understand you want to create a new characteristic for a classification. If that is the case, then you could have checks on the characteristic value entered. You can go to tcode CT04, enter the characteristic and go to the value tab. You can assign allowed values for that characteristic. Going to Other Value Check in that view, you can also check the entered value against a check table or even create a function module for custom check.
    Hope this helps.
    Thanks
    Swagat

  • How to find user exit for the transaction PBAW

    Dear Freinds
                 In Recruitment ....PBAW(Job Advertisements--when we execute the
    transaction PBAW ...we can find create Advertisement...  > here will create posting
    in this screen i have to add a field  Status  . could you please let me know how
    i can add.. Is there any user exit through which i can add a field or there is any way...
    as it is standard..
    regards
    Vamsi.

    Hello Vamsi,
    This might be of help. It is a program to find user exits based on transaction codes. Just install it on your sandbox and see if it works for you.
    http://www.erpgenie.com/abap/code/abap26.htm
    KR,
    Peter Linn

  • I need user exits for the following criteria

    when cancelling the billing document using the transaction VF11 ,i want to know the user exits when saving the cancelled document in VF11.
    Note:At the saving time billing block has to change.

    Hi Amit,
    For deliveries check the followings txn :
    VL10A                Sales Orders Due for Delivery             
    VL10B                Purchase Orders Due for Delivery            
    VL10C                Order Items Due for Delivery                                
    VL10D                Purch. Order Items due for Delivery       
    VL10E                Order Schedule Lines due for Deliv.       
    VL10F                PurchOrd Schedule Lines due for Dlv.      
    VL10G                Documents due for Delivery                
    VL10H                Items Due for Delivery                    
    VL10I                Schedule Lines due for Delivery           
    VL10U                Cross-System Deliveries                   
    Check Also :
    VA05                 List of Sales Orders               
    VA07                 Compare Sales - Purchasing (Order) 
    VA08                 Compare Sales - Purchasing (Org.Dt.)

  • User Exit for the PO Create in 4.6c version

    Hi Experts,
    We have a requirement where we want to note the PO number
    generated in ME21n, schedule a job to run for upadating the same PO( putting Vendor Confirmation ),
    after the PO is successfully created.
    Can someone help me the with the exits available in 4.6c for
    picking the PO number generated in ME21n. And also , exit where we can scedule
    the job of same PO change, ensuring that the PO has been created in database.
    We want the following :
    1. During PO create , note the PO number
    2. During PO create, schedule a job for the same PO update.( to put Vendor confirmation )
    3. Ensure that the job runs afer PO is succesfully created in database.
    4. Use the Exit available by SAP.
    Note we are in SAP 4.6C version. The BADI, ME_PROCESS_PO_CUST is not available in
    4.6C
    Thanks to all for giving valuable suggestions.
    Regards,
    Purva

    Hi Purva,
    Get the PO new PO number from this Enhacement :MM06E005
    Exit:EXIT_SAPMM06E_013
    Here you can get the created PO number in
    the field I_EKKO-EBELN.
    Thanks.
    Note:Reward Points if you find useful.

Maybe you are looking for