User Exit after creation of Production Order

Hello gurus.
I would like to populate a table with the Production Order number once I create the document in transaction CO01. The problem is, I cannot find a user exit that can be executed after I save the Production Order number.
We use internal assignment of production order numbers, so we don't know the number of the document until it's created. I'd like to find a way to be able to get the number of the document, once it's created and add it in a custom table I created.
Is there a User Exit for this? Or maybe an alternative way of achieving this?
Thank you.

Fernando,
I would suggest you to create a custom table and custom program. The program should pick up the all the orders which were created from AFKO table, on successful completion of running the program it should update the custom table with the date and completion time. So next time when this program is run, it should pick up order who's creation date and time is greater than that in the custom table. You can schedule to run this program in background.
Regards,
Prasobh

Similar Messages

  • User exit after saving a sales order

    Dear SAP-community,
    I am looking for an user-exit that runs after the creation of a sales order. I need the created VBELN of the sales order and want start some additional functionality which should be triggered directly afetr saving?
    Does anyone know such a exit?
    Thanks
    Kind regards
    Markus

    Plz SEARCH in SCN before posting.
    User exit after saving sales order
    user exit for saving a sales order

  • User-exit after updating PO from Order response ?

    Hi All,
    We are looking for a user-exit after the Purchase order is updated from an order response.
    With this user-exit we would like to trigger a WF to the user to carry out transaction YE22N, with the WF the user(PO creator) can execute and update the PO.
    Any feedback, tips would be helpfull and for sure points reward.
    Thanks & Regards,
    Nameeth

    Hi Anand,
    Sorry for the confusion., try to explain here.
    During the updation of PO from inbound ORDSP IDoc, we have a transaction YE22N to confirm if the changes in ORDSP is accepted or not.
    So we would like to automate this so that after the PO is update/saved from ORDSP IDoc, then we can trigger a workflow to send email to the PO creator.     
    If its still confusing then, "I would like to know if there is a user-exit or if Workflow can be triggered after updating PO" ?
    Regards,
    Nameeth

  • User exit for confirmation of production order for mandatory fields

    While confirming the production order ( CO11 & order type -PP01) , production order should not be saved/confirmed without entering the mandatory field (No. of employees), which is the mandatory field set in the config of "define field selection for confirmation"
    It is allowing if user does't click on the tab (personal/additional data).
    Without entering the mandatory fields in any tab system should not allow user to confirm the order
    How to apply this lock ?
    Also while doing the production confirmation (Co11N) ,user should not have the rights to changes ,adds or delete the component and its quantity OR if user make the changes , suystem should not allow to post the confirmation?How to make this in SAP?
    regards,
    Ramesh Bandi

    Hi,
    You can check the user exit CONFPP05 (Customer Specific Input Checks when Saving) and its function exit  EXIT_SAPLCORF_105 in the transaction code SMOD.
    With this enhancement you can update your own data after saving the confirmation. You cannot change the confirmation itself.
    In this enhancement it is strictly FORBIDDEN to send error messages or other dialogs, otherwise data inconsistencies could occur, for which SAP accepts no liability.
    You can check with your ABAPer's.
    please check & revert back to me.
    Regards,
    Mohan.R

  • User Exit: Saving data in Production Order Header Long Text

    Hi PP Gurus,
    Can any one let me know which user exit can be used to save some data in the Long Text of Production Order Header.
    We try PPCO0007, it works well on ECC, but my client's system version is 4.7, it does not work.
    In 4.7 version, is there any other User Exit or BADI can be used to comply with this requirement?
    It's quite common requirement, hope someone can help me. Thanks.
    Best regards,
    Sun Qiang

    Hi All,
    Thank for your reply.
    After saving the text using 'SAVE_TEXT' function module and commiting it you need to update the 'ltext' field in AUFK table.
    SELECT SINGLE * INTO wa_aufk FROM aufk WHERE aufnr EQ '000012345678'.
    wa_aufk-ltext = 'D'.
    MODIFY aufk FROM wa_aufk.
    It works in Enhancement PPCO0007.
    This call can be closed. Thanks.
    BR
    Qiang

  • User exit after save for purchase order create/change

    After generating the purchase order no (ME21) i need to save that PO no into a custom table.....can u plz tell me such user exit where i can do this???

    Hi,
       BADI ME_PROCESS_PO_CUST.
    1. Method to implement would be POST.
    2. Method POST has parameter IM_HEADER which is in reference to IF_PURCHASE_ORDER_MM.
    3. This reference has method GET_CONDITIONS.
    4. call this method to get conditions data.
    5. Make all the changes based on the logic and use method SET_CONDITIONS to change the values.
    User exit will be MM06E005.
    EXIT_SAPMM06E_012.
    <b>Reward points</b>
    Regards

  • User Exit IDOC creation - When purchase order gets created

    Hi All,
    The requirement is whenever user creates a Purchase Order in the current SAP system an IDOC needs to get created and be sent to another SAP system where a Sales Order will be created.
    Can anybody suggest the correct User exit/enhancement at the time of Purchase order creation which could be used ?
    Also the function modules for creating the IDOCs within the user-exit.
    Thanks for your help.

    Hi Meghna,
    Your requirement is SAP standard function which means you don't have to use any user exit.
    What you need to do is configure output control, then when a PO saved, a idoc will send to vendor automaticly.
    Here is a step brief
    1. configure output type in NACE
    2. Add condition record in NACE
    3. Setup partner profile in WE20
    if you need detailed doc, give me your email, I can send you.
    Regards,
    Brown

  • User-exit  for components in Production Order

    Hello
    I have to change automatically materials parameters in production order components  (  e.g    resb u2013 fmeng  I need to mark  or stand out the indicator ) before saving.
    Does anyone know a BADI or user-exit that i can use?
    Regards,
    Artur

    Hi Artur
    You can try BADI WORKORDER_UPDATE
    or
    user exit PPCO0001 and PPCO0008
    Hope it helps you .
    Regards
    Ritesh

  • User exit after save for purchase order?

    After generating the purchase order no (ME21) i need to save that PO no into a custom table.....can u plz tell me such user exit where i can do this???

    Hello,
    Use the exit
    EXIT_SAPMM06E_012
    EXIT_SAPMM06E_013
    VAsanth

  • BOM Selection Mandatory while creation of Production Order

    Hello Friends,
    I would like to know that is there any option other than production version which makes it mandatory to have valid BOM must for creation of Production order / coversion of planned order to Production order.
    I have tried with Production version option but it doesnt throw any error in case BOM with inactive status has been selected in it & also Production order gets created & released.
    Before going for user exit / enhancement option, I just wanted to ensure that it is not possible with standard SAP.
    Kindly share your views on the same.
    Your urgent replies will be highly appreciated.
    Regards,
    Tejas

    Hello Tejas,
    I think this is standard SAP Behaviour.
    Try with following exits:
    PPCO0018
    PPCO0012
    Also check out the following link:
    [How To Make BOM Mandatory while creating Production Order;
    Regards,
    Vinod

  • Block Creation of Production order Unless released in Order.

    Hi Experts.
    we have a requirement where we want to block the creation of production order inless it is confirmed. Is there any User exit / or anyother indicator where i can define or configure so that the MRP run and also the Creation of the production order can be block for a sales order.
    Plz advice.
    Thanks in Advance
    Rishi

    Hi
    But Manually it does allow the user to create Production order .
    I want unless, Say the delivey block at item level is removed , User should not be allowed to create the production order for the relevant line item of the sales order.
    Any more suggestion
    Thanks
    Rishi

  • Auto Creation of Delivery with PGI and Billing after creation of Sale Order

    Dear Experts,
    I am having one Req. like...After creation of sales order ..automatic Delivery and Billing should be done.
    Right now i m able to create automatic Delivery but PGI is not happening for that delivery.
    Is there any configuration I have to do ... or by any user exit we can get the solution.
    Can u please provide me solution for this.
    Regards,
    Sanket.

    Hello,
    yes, you can create the PGI Atomatically by BATCH JOB using the program nder the VL23 transaction code.
    Goto the Transaction code SM36 to create a job for the program  SAPMSSY0 which is the program for the AUTO PGI
    create a variant for the Delivery document types and sales organisation combinatioans and add this variant to the bath job created in SM36.
    Set the time of the Job to run after every 5 minutes, so once the job exected it will pcik all the Deliveries which are pending for the PGI.
    After the PGI done you can run SDBILLDL program to create the Billing for all the document which were cleared and due for Billing.
    Hope it is clear for yo, please revert if you need frther clarification .
    santosh

  • 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 while saving Service Purchase Order

    i want to update one z table from the Service PO, after saving. Hence i require , an user exit, which will give the details of the service tab , of the PO. I am not able to get any exit, where the details of the Service tab, of the transaction me22n.
    Below is the screen of the Service tab of the purchase Order Screen :
                                                                                    <b>Line      DeService numbShort text                   Quantity          Uni    Gross priceCr
        10          3000001     Sub-Con Recruitment Commissio91                DAY1,249.00       IN
        20          3000001     Sub-Con Recruitment Commissio91                DAY1,249.00       IN</b>

    hi,
    check this out .
    Transaction Code - ME21 Create Purchase Order
    Exit Name Description
    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
    LMEKO001 Extend communications structure KOMK for pricing
    LMEKO002 Extend communications structure KOMP for pricing
    MM06E011 Activation of PReq Lock
    No of Exits: 38
    Kishi.

  • Reg:Bapi for mass creation of production order/confirmation

    Dear Experts,
    I wanted to know with the following BAPI is it possible to create Multiple production orders for different semifinshed Materials along with material availability check and other functions similar to CO01 transaction.
    I knew there are standard transactions for mass confirmation for production orders. But i need a confirmation on this BAPI . As i am planning to go-ahed with ,mass creation of production order creation / Order confirmation in single custom transaction.Need back flush activity even supported.
    BAPI_PRODORD_CREATE to create the orders.
    BAPI_PRODORD_RELEASE to release the orders.
    BAPI_PRODORDCONF_GET_TT_PROP to get the default data for the confirmation.
    BAPI_PRODORDCONF_CREATE_TT to ost the confirmation of production order.
    Along with this BAPI do i need to commit any other BAPI to carry out back flush for components.
    Need your suggestions to take it further.
    Regards,
    Daya.

    Dear SAP Daya
    If the issue has been solved, please close this thread.
    You have already mentioned that the issue has been resolved, thefore, you should not ask for help on another thread before closing this one, as it looks like you are trying to force people to answer your threads.
    Users are always trying to answer as many threads as possible on good will we don't need this kind of "incentive".
    Please read carefully the The SCN Rules of Engagement, especially point 8:
    Be responsive. If an SCN member has answered your question, please mark the answer as "helpful” or “correct”. Mark the discussion as “answered,” so that other members can find the answers more easily
    Also, I checked your old threads and I could observe that there is only one closed. Please review your old threads and close those already solved.
    BR
    Caetano

Maybe you are looking for

  • SAP MMC Java with Solution Manager

    Dear experts, i have installed a SAP Solution Manager 7.0 in WAS ABAP + JAVA in Windows Server 2003 SR2 Enterprise Edition 64 bits + MS SQL 2005. I try to connect to the SAP MMC in Java (http://localhost:52113/) but i have a message error: Your brows

  • ORA-02291 Error on delete with cascade

    Hello guys! I have a mastertable called TBL_VEG_MAINDATA (PK cnt_veg_maindata) and a subtable TBL_VEG_SUBDATA, which references the parent pk column using a foreign key. The foreign key is set to cascade on delete. Hence when I delete a parent entry,

  • Dimension reordering problem !!

    Hi all, Second last dimension is not moving up when i am trying to reorder my dimension in my outline of a planning application . i am doing this through performance setting tab of hyperion planning. any idea why...and any other alternative to reorde

  • Adding Query to My Menu

    Hi, In the My Menu tab of Main Menu there is a Query category. How to create a shortcut to query in the My Menu ? Thanks B4

  • How to apply Static IP address without disabling data plan

    Our Network team does not want to open all ports on a server mobile staff needs to access.  We ordered static IP addresses and entered them on the firewall so they can specificall access.  Once the IP address is added to the iPad - the data plan is d