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

Similar Messages

  • Logic to check batch number using user exit

    hi friends,
    I wanted to know if the below checking logic can be implemented in transaction MIGO at the time of good receipt. Is it possible to implement this checking logic using enhancements. if so are there any USER EXITS or BADI for this?
    PFB the checking logic
    Checking logic:
    Example: Existing Batch No. for a material is available as 10, 20, 30 and 50.  If the batch No. 40 is entered for any new GR, system should show an information message since the current batch number 40 is earlier than the last available batch ie., 50.
    thanks and regards,
    vinod

    Hi Vinod,
    You can implement the badi MRM_HEADER_CHECK if it is a header related data and we can raise the messages too.
    Hope it solves your issue.
    Siva

  • 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

  • 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

  • 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/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 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

  • 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.

  • User exit in Delivery after the SAVE button is pressed.

    When the Delivery gets picked and Post Goods issued , the Delivery quantity for example instead of 48,000 LBS may be little less say 47,345 LB. We need to update this number in the order quantity which will originally have 48,000 LBS.
    I need to update this quantity in the sales order VA02 after the delivery is saved. Whats the user exit AFTER the save button is pressed?
    Thank you in advance

    Hi,
    Check this User Exits related to Delivery,
    Delivery related exits
    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)
    V02V0001 - Sales area determination for stock transport order
    V02V0002 - User exit for storage location determination
    V02V0003 - User exit for gate + matl staging area determination (headr)
    V02V0004 - User Exit for Staging Area Determination (Item)MV50AFZ1 - User Exits for Delivery Processing
    MV50AFZ2 - User Exit for Batch Quantity Allocation
    MV50AFZ3 - LIPS-KOQUI (Picking is subject to confirmation) determination
    MV50AFZK - The user exits in this include can be used to fill the condition tables for material listing and
    material exclusion (KOMKG and KOMPG) and product selection (KOMKD and KOMPD) with own data.
    MV50AFZL - In delivery creation process for sales orders there is the possibility to restrict the delivery creation to some order items.
    If these order items are member of a delivery group, but not all items of
    this delivery group are includes in the restriction range of the order item nubers, you can specify in this routine what to do.
    MV50AFZP - This user exit can be used to modify change mode of pricing screens in delivery processing.
    MV50AFZZ - Users Exit for Batch Determination; LIPS-LGORT determination
    Thanks & regards,
    Dileep .C

  • Scheduling agreement : BADI/User Exit

    Hi All,
    I need BADI's or User Exit's for Sheduling Agreement (ME31L) during Creation or Change.
    I have tried seraching the Forum, the other Help avaliable, the package, the cl_exithandler debugging method & all. I resulted in writing this thread Question. -- Plz help
    In scheduling agreement functionality, Certain validations and checks using user exit or BADI during creation of scheduling agreement should be done.
    For Ex: a)No two scheduling agreements should exists in system with combination of
    (Material & Vendor document type delivery address for the same validity period)
    User Exit should check
    b)Items with multiple Tax code should not be allowed in the same SA ,i.e. all SA items should have same tax code
    c)Items with multiple Material Number should not be allowed in the same SA     
    Please Help me with providing the User Exit's or BADI's for above similar validations. I can Proceed further with Coding.
    Thanks& Regards,
    Chaitanya L

    Please check these & find the appropriate one.
    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
    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
    MM06E011            Activate PReq Block
    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
    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

  • User exit for MFBF Transaction when we save the Transaction

    Hi All,
    I have a requirement like this I am generating batch numbers for MFBF Transactioin for this I have written code in the user exit 'EXIT_SAPLV01Z-002' this user exit will generate the Batch Number accordingly client requirement and update the batch number to the cust table which I have created,But now the issue is if we will not save the MFBF Transaction or it got some error and terminated the Transaction MFBF still the batch Number is updating to the custom table I want to find which user exit will trigger when we will save the docuement in the Transaction 'MFBF'?
    Thanks&Regards
    Mahesh

    Hi Mahesh,
    Check these user exits.
    PTRM0001            User Exit for Lead Column in REM Planning Table
    SAPLRMPU            Customer Exits for Material Staging
    XMRM0001            User exits: Backflushing in Repetitive Manufacturing
    No of Exits:          3

  • 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

Maybe you are looking for

  • MdsDeletedMVs Attribute

    Hello, I'm having some trouble refreshing a connector view. I performed a 'Break Links' operation on a connector view and now that I want to re-refresh the connector view (CV->MV) it's not joining entries. I did some debugging and found out that it's

  • 2 digital out 2 analog in loop

    LabVIEW 2013 SP 1 Windows 7 Pro NI DAQ PCIe-1433 Custom PC board attached to the DAQ Each individual signal disucssed has been tested and works. Hi all, I have an application that does a bunch of setup, when the user presses go, runs a main loop that

  • User message in the method "executeQueryForCollection"

    Hi everyone, I pray you excuse my english. I am working in jdev 11.1.2.1. I have an "adf:inputListOfValues" in a "jsf". In the search popup, I would display a message to the user if search criteria are not informed. To achieve this, I implemented the

  • Switching from Microsoft Web technolgy to XI

    Hi All, I was working in developing web appilicatons using Microsft technologies (C# and ASP.Net) for the last 2.5 years. recently i was trained in SAP ABAP and SAP XI. I had a short stint with an Abap project and XI project to follow. How would you

  • Updating imac's os x 10.6.8 to 10.9

    Can i update my imac os x 10.6.8 to 10.9 ?