Checks Or User exits in PP

Hi experts
My user is asking for two check points,
1.If sale order line item is closed,It should not allow to Create production Order,can this be possible through User exit.
2.Production order Qnty for Particular Sale Order Line item, should not be allowed to Create more than sale Order Line item quantity.
ex-Suppose SO line item qnty is 100pc,Po should not be allowed to Create more than 100Pc.
Regards
Sandeep patil
Edited by: Isabelle Britten on Jul 15, 2008 8:40 AM

Hi,
I think your scenario is Make to Order, then
Try below user exit for Production Order when saving exit will work - PPCO0007 (goto SMOD) - Function module - EXIT_SAPLCOZV_001
sit down with your ABAPer on this
you need to consider below
1.Sales order line closed or open status (Table VBAP and VBUP)
2.Sales order line Qty (Table VBAP)
Regards,
Sankaran

Similar Messages

  • Infotype check and user exit

    hi All,
    With the help of answer from my previous post I understand that I need to implement a user exit to do a particular check on my field. Actually when a user inputs a field then i need to compare it to field from some other table.
    My doubt is what user exit i need to use..
    ZXPADU01 or ZXPADU02 or ZXPADU03.
    My understanding is that ZX*02 is for me since it is implemented in PAI module of screen 2000 for MP999900.
    Also can someone explain what different situations we need to use this exits?
    Also please mention if BADI exists with the same functionality.
    thanks and regards,
    Reena

    if it is a Z infotype then as per my previous post just go to se80 and ur concerend module pool program.
    and write a module in PAI on tht particular field as in my post..
    if u want to compare it with another table value then u can simply  fetch data frm tht table in this module and compare it with ur field.
    U need not to go for USer Exit for the Z infotype.
    amit

  • NOTIFICATION STATUS CHECKING IN User Exit 'QQMA0014'--iw21

    Hello,
            Myself sudip..i have to do a exit on QQMA0014 for iw21 ...so. i need to check every time  notification status field( STTXT ), contain value osno/techo...when osno then something happen and also when techo something will happen..but how to check notification status field.( STTXT ).can you help me....PLEASE....
                              VALUE  T_VIQMMA ONLY CONTAIN THAT FIELD .THAT'S WHY I USED IT FOR STTXT CHECKING..BUT CAN'T GETTING....

    Hi Sudip,
    I think I can help you.
    One correction in your post. There will not be TECO. It is NOCO in Notification
    This is the answer
    There is no need of STTXT for your purpose. In other words you need another field which is a part of VIQMEL table. i.e., PHASE.
    Follow these values.
    Value '1'  for Status OSNO (Outstadning)
    Value '2'  for Status NOPO (Postponed)
    Value '3'  for Status NOPR (In Process)
    Value '4'  for Status NOCO (Completed)
    Value '5' for Status DLFL (Deletion Flag)
    So your syntax will go like this
    IF I_VIQMEL-PHASE = '1' .....
    Revert back if any further queries are there.
    For syntax related queries, you may refer to this document User Exit 'QQMA0014', the applications
    Best of Luck
    Jogeswara Rao K

  • Batch checking by user exit

    Hi all,
    I've an requirement to check the valuation type when creating a batch with MSC1N.
    I've tried using various user exits, especially EXIT_SAPLV01Z_004, ZXVBZU04.
    It is not called in MSC1N. What's wrong is there?
    (Another exit EXIT_SAPLV01Z_006 in MSC2N > ZXVBZU13 can be called with MSC2N.)
    Thanks.

    Hello,
    I am facing the same issue I want to update a date 6 field while the user create a Bacth thurogh MSC1n.
    I am using the EXIT_SAPLV01Z_013 to update the same.
    But This Exit is not called as there is a condition which fails while this exit is called thru FM VB_CREATE_BATCH.
    the field NO_CFC_CALLS is set to "X" in Include LCHRGF02.
    CALL FUNCTION 'VB_CREATE_BATCH'
            EXPORTING
              ymcha                        = akt_mchx
              new_lgort                    = dfbatch-lgort
              bypass_lock                  = 'X'
              kzcla                        = ' '
              xkcfc                        = ' '
              no_check_of_qm_char          = 'X'
              no_change_document           = ' '
              check_external               = space
              check_customer               = space
              no_cfc_calls                 = 'X'.
    Can you please help how do we resolve this issue i am using SAP 4.7.
    Thanks
    Solanki Ritesh

  • To check the user exit

    Hi,
    I want to debug the user exit EXIT_SAPLIPW1_001.Can anyone tell me how to do this?

    Hi,
    First check if the exit is implemented. There will be an include program inside this Function module. Check if the program is created and activated.
    Then put a break-point in that include and execute the transaction. This will enable you to debug the exit.
    thanks and regards,
    Lakshmi.

  • Simple Credit check _ User Exits

    Dear Expert,
    Please find my scenario,
    I am using simple credit check
    When i am creation sales order with reference to quotation
    Item      Amount
    00010  1000
    00020  2000
    I am getting  two messages
    1)Credit limit exceeded by 1000
    2) Credit limit exceeded by 3000(1000+2000)
    But Customer wants in one message like Credit limit exceeded by 3000
    Please advice, its very urgent
    and also suggest if any user exits available
    Regards

    Thank you for your reply
    Is it possible to achieve the same by using static credit check?
    When i tested this static check, i am getting message for the first line item
    Ex:
    Item      Amount
    0010      100
    0020      200
    System shows " Static credit check 100 Exceeds"  and it goes to sales order details screen when i am referring from quotation.
    Regards

  • User-exit for availbility check in SD - cross company

    Hi all,
    I have a issue regarding that we want to check the stock availibility at 2 different plants (belonging to 2 different company codes) as they were 1 plant. Meaning we want to do availability check across 2 plants. And when creating the delivery, the system should consider all batches from the 2 plants.
    Since this is not SAP standard we either need APO (this can do it) OR some user-exit tricks - have any of you ever done this?
    Please help me asap .....
    Best regards
    Lars

    Can u brief the query in detail without missing anything right from deliver creation .
    Material avaliablity stock is for a plant and storage location . and plant is defined under company code .
    We can check the stock avaliable for the plant and material in table <b>MARD for the field LABST</b> for the requirement .
    plant company code can be evaluated .
    a material can be present in two different plants .
    u can check table MARC and MARD for the same .
    check the user exits for the same .
    EXIT_SAPLV50R_001     
    EXIT_SAPLV50R_VIEW_001
    EXIT_SAPLV50R_VIEW_002
    Are u creating a Outbound/inbound delivery ?
    Brief the navigation so that it wil be easy for us .
    regards,
    vijay

  • How to find the exact user exit for our requirement?

    Dear Mr. keerthi,
    can you please explain me how to find the exact user exit for our requirement?

    Hi sandip
    There is more than one method in which you can check for user-exits.The following method is used very often.
    <b>How to find the exact user-exit for your requirement.</b>
    1.     You can check the user exists using transaction SE85.
    2.     Repository Information System -> Enhancements -> Customer exits
    3.     You can search the user-exits by package name.
    4.     Double click on each exit name to check the function module exits.
    <b>The procedure to find the package name.</b>
    Execute transaction SE93 
    Enter the tcode of the transaction for which you want to check the user exit.
    Example: if you want to find the user-exit for purchase orders while changing, enter ME22n  and press display.
    You will get to see the package name
    But you need to confirm that the user exit will get triggered at the appropriate event.
    ( example: you might want some validations to be done ON SAVE of a purchase order)
    <b>Checking if the user-exit is getting triggered or not.</b>
    1.     Open the user exit function module (that you have got in step 4) in Tcode SE37.
    2.     Click on where used button. In the pop up that immediately appears choose only programs .
    3.     You will get a list of programs. Double click on the program name.
    4.     You will get the list of location where this function module user exit is used.
    5.     Place session break points at each of these location ( at each CALL FUNCTION statement)
    6.     Now go to your transaction ( say change purchase order tcode:Me22n) and check if the user exit is getting triggered on appropriate event.
    regards,
    Prasad

  • User Exit for ME21 PO Creation at the time of saving--Urgent

    Hi,
    Can some one help me out in finding the user exit for PO creation at the time of saving.
    The Requirement is:
    I need to create a custom field in EKKO table.
    After appending the structure with the field to the EKKO table, i need to create a PO.
    Now i need to update the field which has been created at the time of pressing the SAVE button.
    I need to update the EKKO table it self.
    I could find the user exits but none of them have the EKKO table either in Changing or in Tables.
    Thanks,

    Hi,
              You may want to check this user exits.
    EXIT_SAPMM06E_012 - Check Customer-Specific Data Before Saving
    EXIT_SAPMM06E_013 - Update Customer-Specific Data in Purchasing Document
    Here is the list of available user exits for ME21.
    EXIT_SAPMM06E_001 - Other Number Range or Own Document Number
    EXIT_SAPMM06E_004 - User Exit for Cust.-Specific Control of Import Data Screens in Purchasing
    EXIT_SAPMM06E_005 - Field Selection Control: Vendor Address Screen
    EXIT_SAPMM06E_006 - Export Data to Customer Subscreen for Purchasing Document Header (PBO)
    EXIT_SAPMM06E_007 - Export Data to Customer Subscreen for Purchasing Document Header (PAI)
    EXIT_SAPMM06E_008 - Import Data from Customer Subscreen for Purchasing Document Header
    EXIT_SAPMM06E_009 - Reset Customer Data at Beginning of New Document (Without Dialog)
    EXIT_SAPMM06E_012 - Check Customer-Specific Data Before Saving
    EXIT_SAPMM06E_013 - Update Customer-Specific Data in Purchasing Document
    EXIT_SAPMM06E_014 - Read Customer-Specific Data when Importing Purchasing Document
    EXIT_SAPMM06E_016 - Export Data to Customer Subscreen for Purchasing Document Item (PBO)
    EXIT_SAPMM06E_017 - Export Data to Customer Subscreen for Purchasing Document Item (PAI)
    EXIT_SAPMM06E_018 - Import Data from Customer Subscreen for Purchasing Document Item
    EXIT_SAPMM06E_020 - User Exit: Change Document for Requisitions (Conversion into PO)
    EXIT_SAPMM06E_021 - Fulfillment of Target Value: Release Orders Against a Contract
    <b>Reward points</b>
    Regards

  • User-exit or BADI for Configurable line item change in VA01/VA02

    Hi,
    During sale order creation or change the configurable item characterstics depend on plant. If a plant is changed the characterstics to be entered again. In my scenario the materila characterstics are same for all the plants hence in place of entering these again want to retrieve from the database through user-exit or BADi . Is there any.
    thanks
    anya

    Hi,
    Check the user exit "MV45AFZB', form-routine "USEREXIT_CHECK_VBAP".
    Regards
    Vinod

  • User exit/BADI for MIGO Batch numbers

    Hi All,
    I want to find a user exit which will give the oldest batch number (MCHA-LWDET) of semi-finished product during the goods receipts of the finished prodocut in MIGO.
    Could you please give me any hints to find out the user exit for this.
    Regards,
    Sekhar D

    Hi,
    Check these User exits... for MIGO
    Exit Name           Description
    MBCF0002            Customer function exit: Segment text in material doc. item
    MBCF0005            Material document item for goods receipt/issue slip
    MBCF0006            Customer function for WBS element
    MBCF0007            Customer function exit: Updating a reservation
    MBCF0009            Filling the storage location field
    MBCF0010            Customer exit: Create reservation BAPI_RESERVATION_CREATE1
    MBCF0011            Read from RESB and RKPF for print list in  MB26
    MB_CF001            Customer Function Exit in the Case of Updating a Mat. Doc.
    Check thse BADI's.. for MIGO
    Badi Name          
    ARC_MM_EBAN_CHECK   
    ARC_MM_EBAN_WRITE   
    ARC_MM_EINA_WRITE   
    ARC_MM_INVBEL_WRITE 
    ARC_MM_MATBEL_CHECK 
    ARC_MM_MATBEL_WRITE 
    MB_CHECK_LINE_BADI  
    MB_CIN_MM07MFB7     
    MB_CIN_MM07MFB7_QTY 
    MB_DOCUMENT_BADI    
    MB_DOCUMENT_BADI_SAP
    MB_DOCUMENT_BADI_SAP
    MB_DOC_BADI_INTERNAL
    MB_DOC_BADI_INTERNAL
    MB_ME_CSGMT_BADI_SAP RTFASH:
    MB_MIGO_BADI        
    MB_MIGO_ITEM_BADI   
    MB_PHYSINV_INTERNAL  MB_PHYSINV_INTERNAL BAdI Implementation
    MB_RESERVATION_SCR   DFPS: Field in the Reservation
    MB_RESERVATION_UPCHD DFPS: Reservation
    Regards,
    Raghu
    Edited by: Raghavendra  Rao G on Aug 27, 2009 5:50 PM

  • User Exit or Badi for AS01 at save.

    Hello!
    I need a user exit or badi to validate fields from ANLA and ANLZ tables in AS01 trasaction. This validation is before save.
    I have already check this user exit with no success:
    AAPM0001       
    Integración contabilidad activos fijos/mantenimiento
    AFAR0003       
    Método externo de cambio
    AFAR0004       
    Determinar valores proporcionales en una baja
    AINT0004       
    Modificar importe de contabilización para determinadas áreas
    AINT0005       
    No utilizar dummy debido a verificación sintaxis ampliada
    AISA0001       
    Asignar número de inventario
    AIST0001       
    Intercambiar rango núm.actualiz.datos maestros
    AIST0002       
    Campos de usuario en el maestro de activos fijos
    AMSP0002       
    Determinar tipo de relación entre dos sociedades
    TRAN0001       
    Salida de usuario al transferir inmovilizados
    Thanks in advance!
    Sabrina.

    Hi Sabrina,
    i am not sure about it as you have not explained about your exact requirement for validation in AS01, but please see transaction GGB0 , if you are able to make your validation here, because i don't think it will be possible through any user exits.

  • User Exit/BADI/Enhancement Point  in VF01 before new document no assignment

    Hi Expert,
       I am looking for a user exit/BADI/Enhancement point which will trigger in VF01 before the new document no (Billing document no assign).
    I need to cross check few things in Billing via VF01 at billing document save and give error message accordingly. The problem is if new number assign and there is error due to my code then when user save the document next he get a new no. its mean a no skip.
    Example: The invoice no is 1000. User start creating a billing document with Vf01 and he get an error message due to my code at exit , at this point of time the next number assign to billing which is 1001 but document not save due to my error message. Now after applying correction user save data and billing document created with no 1002. So there is no skip.
    I tried BADI BADI_SD_ACCOUNTING but this will trigger after no assignment.  Can someone provide me a user exit/BADI/Enhancement point in VF01 which trigger before no range assignment and contain at least Billing header data to use in my code?
    Regards
    Swati
    Edited by: Swati Namdev on Nov 16, 2010 9:55 PM

    HI Brad and team,
       BRED is right. I check few user exit normally all of us have that list or easily available on net.
    BRED: my question is: I need to check the billing date VBRK-FKDAT of document should not be less than the sales order plan billing date VBAP-Oldate.
    If this check fail then won't allow the user to create billing document. The problem is I used one user exit SDVFX001 already define previously that's work fine but issue is that user exit trigger after the billing no assignment. That's why when user get that error message he correct the document and create billing this time he get a new number which is skip of one no.
    That why I need a User Exit/BADI/Enhancement Point  which trigger at save but before document no assignment.
    Please update more about your comment "Why not use a header level copy requirement routine to perform the checks and log the messages? This is the standard process."  .
    Suggest user exit USEREXIT_FILL_VBRK_VBRP  trigger before save. I need at save the reason is VBRK-FKDAT  this can be change.
    Feel free to contact me back if you need more clarification.
    Regards
    Swati
    Edited by: Swati Namdev on Nov 17, 2010 6:22 PM
    Edited by: Swati Namdev on Nov 17, 2010 6:25 PM
    Edited by: Swati Namdev on Nov 17, 2010 6:32 PM
    Edited by: Swati Namdev on Nov 17, 2010 6:47 PM

  • 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

  • Hi frnds doubt in user exit..

    Hi frnds..
    i hav to write an exit code as per the req can any pne hlp me regarding this...
    User Exit assigned the number ranges for Purchase order ranges allotted for each business area whenever Purchase Department creates purchase order.
    looking for ur reply.
                                    with regards,
                                        sahakla

    hi rajesh,
    Please check this user exits EXIT_SAPMM06E_017 in enhancement MM06E005 (t/code <b>SMOD</b>).
    List of <b>user exits</b> for
    Transaction Code - <b>ME21</b> Create Purchase Order
    <b>
    Exit Name Description</b>
    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
    Hope this will help.
    Cheers
    Alfred
    Reward with poinst if it is helpful.

Maybe you are looking for