CO11N - User exit - secondary process

dear sir,
i have a problem in confirmation for secondary (control key PP02) operation, some shop floor person doing confirmation entry before goods rec'd entry into particular pruchase orders. i want control by this issue, once purchase order closed for that production order (secondary process) after only confirmed that operation
what settings need to change or how to control this?
Regards,
Elango

Elango,
1. I am not  sure if there is a standard way of controlling this.
2. Another work around is using the user exit to control this.
CONFPP01            PP order conf.: Determine customer specific default values           
CONFPP02            PP order conf.: Customer specific input checks 1                     
CONFPP03            PP order conf.: Cust. specific check after op. selection             
CONFPP04            PP order conf.: Customer specific input checks 2                     
CONFPP05            PP order conf.: Customer specific enhancements when saving           
CONFPP06            PP Order Confirmations: Actual Data Transfer                         
CONFPP07            Single Screen Entry: Inclusion of User-Defined Subscreens            
the above are the user exits that are available fro the CO11N tcode.
3. we have to take a help of the abaper to write coding fort his.
4. The user exit should be called for the
Order type: XXXX
Routing control key : YYYY
then check the relevant purchase and if it has a GR entry if then allow the colln to perform else give a error message.
5. Let me aslo know if there is a standard way to contrl this/
Dsk.

Similar Messages

  • User Exit at process order release or save

    Dear experts,
    Can any one help me which user exit will be useful at the time of process order release or save (t code COR1/COR2).
    My requirement is to stop the process order release if there is any maintenance order is already released on that date.
    Process order should not get released in between the start and finish date of PM order for the same equipment.
    I could acheive this for PM side by using a user exit IWO10002, here if any process order is released for an equipment PM order cannot be released for the same equipment in between start n finish date of the process order.
    Please help me out in finding the user exit for process order release / save.
    Thanks in advence,
    Regards,
    Praveen.

    Hi,
    The following enhancements are available for process order management:
    For order maintenance:
    o   PPCO0006 to predefine entries for order header fields when creating
        an order
    o   PPCO0001 to provide information at the time of saving (for
        production orders and process orders)
    o   PPCO0007 to check or change header data when saving
    o   PPCO0002 to add additional checks that are to take place when
        setting the deletion flag or deletion indicator
    o   PPCO0003 to prevent changes in sales order items that would cause
        changes in the process order for static assembly processing
    o   STATTEXT to format the status line
    o   PPCO0008 to check components that have been changed or added
    o   PPCO0005 to change the storage location and the 'backflush'
        indicator in the reservation
    o   PPCO0013 to change the priority of the selection criteria for batch
        determination in production orders or process orders
    o   PPCO0014 to restrict the selection of process orders that are
        offered when creating external relationships
    o   PPCO0020 to display additional information for another tab page in
        the process order header
    Regards,
    Dhaval

  • CO11N User exit control

    Hi,
    I don't capture user-exits when press Goods Movements (sy-ucomm = MB03) and Save buttons in transaction CO11N.
    I use the following user-exit:
    FUNCTION EXIT_SAPLCORF_102 >>> Include          ZXCOFU12
    Can you help me please.
    Screen Image: http://i53.tinypic.com/2ef2rtv.jpg
    Best Regards.

    Im not creating blank message
    i use the a term but the problem is, when i first hit save button and see the error message,than  i hit enter button to pass the message and make the input fields editable again. But sy-ucomm is still equal to BU so it show the message again and again and i cant return to normal input screen. And if i make the message type 'S' i cant block the saving process.
    I have to option first i will use type E message but i have to get over the problem above, or i will use type 'S' message but i have to stop the transaction after this message. I used type E like S or type S like E. They didnt work.

  • CO11N User Exit

    I am using the CONFPP05 enhancement to do some variance checking on production order at time of save.
    The program checks all material planned qty and actual qty and if there is a variance of more than 5%, A BTCI is triggered into transaction CO03 -> GoTo > Costs > Analysis and the document is sent to the printer.
    This works fine for all material checking.
    One more requirement is to check planned labor qty vs actual labor qty. However at time of save (in CO11N) the user has the ability to change actual labor qty. The database does not reflect these changes until after save (once user exit has finished processing), this means my program always finds variance AND the costs analysis report does not get updated with the actual labor qty.
    Is there a workaround for this or a way I can get the costs analysis report updated before printing. Is there any way I could print the report Post Save processing for CO11N?

    Hi,
    Refer Re: User Exit for CO11n

  • User exit, secondary key

    hi friends,
    1.there r so many ways to find user exit can any one suggest me which is easy and helpful method
    2.will performance increase if we use secondary index r key in select query
    plz explain me with eg code how to assign secondary
    thanks
    regrads,
    soorya

    Hello Soorya,
    Yes there are many ways of finding a user exit...
    One way is go to SMOD and press F4, then select SAP application and then proceed as per your req.
    Second is find out the package name for the transaction and then use SE84, click on enhancement and then enter the package name and execute.
    Third is search the SDN site for user exit and u will come accross a program which will give u list of all exits for a transaction.
    About ur second question, performance increases when the where clause in the select stmt is same as the key (primary or alternate). The database automatically selects the best index based on the its own logic. However u can find out using trace if it has selected the correct index. If you want to force the DB to use specific index then u can use HINT stmt to suggest.

  • Suggest the user exit when process order released then save

    Need to update batch value from component's batch field to FG batch field. Need at the time of process order released and saved. Can you please tell me which user exit to use?

    Hi,
    The following enhancements are available for process order management:
    For order maintenance:
    o   PPCO0006 to predefine entries for order header fields when creating
        an order
    o   PPCO0001 to provide information at the time of saving (for
        production orders and process orders)
    o   PPCO0007 to check or change header data when saving
    o   PPCO0002 to add additional checks that are to take place when
        setting the deletion flag or deletion indicator
    o   PPCO0003 to prevent changes in sales order items that would cause
        changes in the process order for static assembly processing
    o   STATTEXT to format the status line
    o   PPCO0008 to check components that have been changed or added
    o   PPCO0005 to change the storage location and the 'backflush'
        indicator in the reservation
    o   PPCO0013 to change the priority of the selection criteria for batch
        determination in production orders or process orders
    o   PPCO0014 to restrict the selection of process orders that are
        offered when creating external relationships
    o   PPCO0020 to display additional information for another tab page in
        the process order header
    Regards,
    Dhaval

  • User exit for process order & PO

    Hello Team,
    There is a requirement as follows:-
    When a  process order is created for a material that is valuation type managed, the valuation type entered (or automatically populated) requires verification against the valuation type in the procurement alternative.   If the valuation type does not agree with the valuation type in the procurement alternative, an error message should be given to the user "invalid valuation type".
    When a purchase order is created for a material that is valuation type managed, and the batch is entered in the PO line item, the valuation type entered (or automatically populated) must be the same as the valuation type in the batch master.
    We are currently on 4.7 version and would appreciate if anyone could suggest a BADI/User-Exit for these scenarios.
    Regards
    Ravi...

    HI, Try this use r exits
          EXIT_SAPMM06E_013   *or*
          EXIT_SAPMM06E_012
    regards,
    koolspy.

  • User Exit in Process Order

    Hi,
       I need to update the batch characteristics for a process order. I would like to know the name of the enhancement for it.
    Thanks
    Avi

    Hi,
    Below are the Exits available for ME21N.
    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,
    Ram
    Pls reward points if helpful

  • User exit for process order

    Hi experts,
    I need user exit for a process order (COR1). While saving the process order batch number has to generate based on the production version.
    I used the exit PPCO0007, but its not working. Is there any other exit available r not?
    Can u tell me exit name at process order creation?
    Naren

    Thanks for your reply.
    I maintained Production scheduling profile in workscheduling view. The number range i used in the user exit is not generating at the time of release. Is there any other user exit is available for process order.
    Yesterday i got another problem. While releasing the process order it is giving a message as release rejected. I went to the log details. In that no batch could be determined message came. I deactivated the user exit and tried. The std number range also it is not taking. I went to goods receipt tab and click on the batch creation button. There also it is giving message as no batch could be determined. How to resolve it. I checked everything in material master and as well as settings. I didint get the solution.
    Please help me.
    Naren

  • User exit - stop processing with error message displayed

    Hi guys,
    My scenario is like this
    Whil doing migo for the same batch number more than 3 times i should not allow to post the document.
    I have the material number and batch number in a seperate ztable
    for checking this found out there is an exit.
    Enhacmenet - MBCF0002
    EXIT_SAPMM07M_001
    I have written code in the above exit as
    select count(*) from ztable
        into t_charg
         where matnr eq i_mseg-matnr
        and charg eq i_mseg-charg.
    if t_charg gt 3.
      call function 'POPUP_DISPLAY_MESSAGE'
        exporting
          titel = 'Error Message'
          msgid = 'BD'
          msgty = 'E'
          msgno = '899'
          msgv1 = 'Batch Already Received 3 Times'.
    if sy-ucomm = 'OKAY'.
    elseif sy-ucomm = 'RW'.
    else.
    endif.
    endif.
    The program works fine and gives a pop up message and when i post the document
    it still gets posted.
    I should not allow to post the document
    Help me on this issue?
    Regards
    Senthil

    thanx for the reply
    Ihave created a message class z001 and maintained a message(001)
    but when i am trying to activate it says
    Field "Z001" is unknown. It is neither in one of the specified tables nor defined by a "DATA" statement . . . . . . . . . .          
    whether i need to include anything  in the program for message class
    senthil

  • Recall co11n in user exit

    Hi all...
    I'm currently on working with T-code CO11N (user exit : CONFPP05)
    I'm trying to validate user input..
    when the input isn't accepted, I want to stop transaction anda automatically call transaction CO11N again
    I tried to use CALL TRANSACTION 'CO11N'
    and it's successfully call CO11N again with blank field
    BUT....
    When I'm trying to reprocess from the recalled screen, it says that user from previous screen was still processing it, so Ican't continue...
    How can I deal with this problem?
    If possible, Can I do the following point:
    1. When CO11N is recalled, the field-text that i had filled before, automatically filled

    harishkumar.d
    I'd tried it.thanks...
    can I automatically fill text-field when I recall CO11N ???

  • CATS User exit Question

    Hi Guys,
    I have two custom fields in my CATS time sheet called Zclock1 and Zclock2. For a record that already exists I need to pre-populate these fields when I open the time sheet for an employee using CAT2, Which user-exit should I use?
    I tried CAT0002 but this one will trigger only at the time of creating a new record or modifying an existing record.
    Thanks,
    Roy

    hi Avisek Bhardwaj,
    i want to change the data when i use CAT7 to transfer data to CO, before CO document created i must delete some dummy WBS element in a certain user-exit, so i need to find  this user-exit to process the data,
    i've checked the enhancement CATS0002, but it isn't what i want,
    i've found one user exit  PCA00001--EXIT_SAPLPC02_001(EC-PCA: Changes to Document when Transferring CO Actual Data)
    i do delete dummy wbs element in this user exit but when transferring is finished, i find that the dummy wbs element still appears in the co document. it looks like that user exit doesn't work.
    i don't know why,
    regards,
    buffer

  • PORDCR - Inbound IDOC via User-Exit

    Hi All,
    I would like to create a Purchase Order via an inbound Idoc with a message type PORDCR.
    I would like to make use of the enhancement MM06E001 and the function module EXIT_SAPLEINM_002 to populate data segments.
    Please advise if this is the correct user-exit to process an inbound idoc.
    Any input appreciated.
    Meghna

    Hi Meghanarrao,
    IDOC_INPUT_ORDRSP-->PERFORM fill_data_ordrsp-->and find the below user exits for each segment...
    List of user exits available for --
    EXIT_SAPLEINM_001   
    EXIT_SAPLEINM_002   
    EXIT_SAPLEINM_003   
    EXIT_SAPLEINM_004   
    EXIT_SAPLEINM_005   
    EXIT_SAPLEINM_006   
    EXIT_SAPLEINM_007   
    EXIT_SAPLEINM_008   
    EXIT_SAPLEINM_009   
    EXIT_SAPLEINM_011   
    EXIT_SAPLEINM_012   
    EXIT_SAPLEINM_013   
    EXIT_SAPLEINM_014   
    EXIT_SAPLEINM_015   
    EXIT_SAPLEINM_016   
    EXIT_SAPLEINM_017   
    EXIT_SAPLEINM_018   
    EXIT_SAPLEINM_019   
    EXIT_SAPLEINM_020   
    IDOC----- Dir -Enhancemnt --Description
    ORDCHG -O -MM06E001   -- Purch. Ord. Change
    ORDCHG- I -VEDB0001     --Sales Ord. Change
    ORDERS- O -MM06E001   --Purchase Orders
    ORDERS -I- VEDA0001     --Sales Orders
    ORDRSP -O- SDEDI001    --Order Confirmation
    ORDRSP -I- MM06E001    --Order Response for Purchase Order   "This is the Right one for Purchase order create
    IDOC           Msg        ANSI EDIFACT I O
    ORDERS01 ORDCHG 860 ORDCHG X X
    ORDERS01 ORDERS 850 ORDERS X X
    ORDERS01 ORDRSP 855 ORDRSP X X
    IDOC_INPUT_ORDRSP--Function module-BUS2012-Inbound-Purchase order / order confirmation
    regards,
    Prabhudas

  • MC8V - User Exit

    This program copies data from one version to another version. But I wants copy data between 2 version by just changing planning secnario. So Could you please provide an user exit to achieve this functionalty. The user exit has to provide popup to prompt source and target planning scenarios as well.
    Please help me to get the solutions for this issue. Thanks in advance.

    hi
    You can try all these user exits.
    MCP20026                                Planning hierarchy tool: Enhancement of characteristics
    MCP20025                                User Exit for Saving Forecasts
    MCP20024                                User-Exit for Inputing forecast parameters
    MCP20023                                User Exit for Checking Duplicate Char. Combinations
    MCP20022                                User Exit for Displaying Forecast Results
    MCP20021                                User exit for modifying parameter when transferring f.reqts
    MCP20020                                User exit for reading info structure when transferring reqts
    MCP20018                                User Exit for Enhancing a Level of a Planning Hierarchy
    MCP20017                                User Exit for Influencing Key Figure Block
    MCP20015                                User exit to set the field names material/plant PBED
    MCP20014                                User Exit for Changing Line Text
    MCP20013                                User Exit for Once-Only Change to Planning Table
    MCP20012                                User Exit for Excluding Function Codes
    MCP20011                                User Exit for Processing Data Records to be Updated
    MCP20010                                OTB check in the purchase order
    MCP20009                                Extrapolation of Invoiced Sales for OTB
    MCP20008                                Order processing treatment from IDocs
    MCP20007                                User Exit for Customer-Defined F4 - Value Request Control
    MCP20006                                Exit for processing header info for download in Excel
    MCP20005                                User exit for authorization check in planning
    MCP20004                                SOP: design header information for flexible planning
    MCP20003                                SOP: create function code for flexible planning
    MCP20001                                User exit to read external data for planning table
    Regards
    Sajid

  • Need User-Exit / Badi For CO11N selection screen

    Hello Gurus,
    I need to add an extra functionality in the selection screen of the Tcode CO11N .Can you suggest some user exit or badi for the same .
    The Functionality is : We need to make the field 'Reason' as mandatory whenever there is an entry in the field 'Scarp' .
    Waiting for your valuable suggestion on this .
    Regards,
    Abhijit Mandal

    Hi,
    Followings are Enhancement or BADI for Tcode-CO11N
    CONFPP01                                PP order conf.: Determine customer specific default values
    CONFPP02                                PP order conf.: Customer specific input checks 1
    CONFPP03                                PP order conf.: Cust. specific check after op. selection
    CONFPP04                                PP order conf.: Customer specific input checks 2
    CONFPP05                                PP order conf.: Customer specific enhancements when saving
    CONFPP06                                PP Order Confirmations: Actual Data Transfer
    CONFPP07                                Single Screen Entry: Inclusion of User-Defined Subscreens
    CONFPS01                                PS confirmation: Determine customer specific default values
    CONFPS02                                PS confirmation: Customer specific input checks 1
    CONFPS03                                PS confirmation: Customer specific check after op. selection
    CONFPS04                                PS confirmation: Customer specific input checks 2
    CONFPS05                                PS confirmation: Customer specific enhancements when saving
    CONF0001                                Enhancements in order confirmation
    CONFPI01                                Process order conf.: Calculate cust.specific default values
    CONFPI02                                Process order confirmation: Customer spec. input checks 1
    CONFPI03                                Process order conf.: Cust. spec. check after op. selection
    CONFPI04                                Process order conf.: Customer specific input checks 2
    CONFPI05                                Process order conf.: Cust. spec. enhancements when saving
    CONFPI06                                Process order confirmation: Actual data transfer
    CONFPM01                                PM/SM order conf.: Determine cust. specific default values
    CONFPM02                                PM/SM order confirmation: Customer specific input checks 1
    CONFPM03                                PM/SM order conf.: Cust. spec. check after op. selection
    CONFPM04                                PM/SM order conf.: Customer specific input check 2
    CONFPM05                                PM/SM order conf.: Cust. specific enhancements when saving
    Regards.

Maybe you are looking for