VA01 userexit for PO duplication check

Hi Experts,
I have an urgent requirement regarding PO duplication check and I need to know if there is a userexit for VA01 where I can perform PO duplication check. This PO duplication check will consists of fields VBAK-KUNNR, VBAK-BSTKD and VBAK-BNAME.
Points will be awarded. Thanks in advance.
Regards,
Leo

hi,
check the include MV45AFZZ...It has number of userexits....put a breakpoint and check..
Regards,
Nagaraj

Similar Messages

  • Additional fields for bp duplication check

    Hello,
    I'm in a process of implementing ADDRESS_SEARCH BADI. Is there any way to bring additianal fields (phone number and date of birth) to the BADI interface?
    Thanks

    Hi Rahul,
    Sure, this can be easily configured.
    There is a BADI - ADDRESS_SEARCH which is used to implement duplicate checks on BP name + address. You can either write your own implementation or you can use the SAP provided implementation SIC_ADDRESS_SEARCH.
    You should also be able to find the relevant documentation with the BADI itself in SE18. You would also need to do some minor customizing to choose which fields should be checked for duplicate values. You can find this customizing in the IMG customizing (transaction SPRO) (Just search for duplicate check and the search will find the relevant node in the customizing menu)
    This should solve your problem.
    Cheers,
    Rishu.

  • VA01. userexit for contract create

    Hi all,
    I have a requirement in which while creating contract thru va01i have to show a popup after the credit limit exceeded message so that user can edit the values and save it.my problem is i have coded a popup in the userexit_save_document to show apopup to confirm such that if user selects NO the contract is not saved.But my problem is after the user presses NO the item details entered is lost. how can i solve it .please help.
    Thanks ,
    Mahesh.

    hi,
    check the include MV45AFZZ...It has number of userexits....put a breakpoint and check..
    Regards,
    Nagaraj

  • User Exit for VA01 and VA02: Duplicate PO check

    Hi,
    I am writing a userexit for PO check in VA01 & VA02 trx.The PO number should be unique.If we enters the existing PO number it should go to Incompletion log.I am calling check_po_number form in userexit_save_document in mv45afzz. it is not working....
    what is wrong in my code?
    Thanks in advance,
    fractal.
    FORM CHECK_PO_NUMBER.
    DATA : begin of ivbkd occurs 0,
             vbeln like vbkd-vbeln,
            end of ivbkd.
    Select DISTINCT vbeln into table ivbkd from vbkd
              where bstkd = vbak-bstnk.
    Select * from vbak up to 1 rows
             for all entries in ivbkd
              where vbeln = ivbkd-vbeln and
                    kunnr = vbak-kunnr.
    endselect.
    if sy-subrc = 0.
         perform set_so_incompletion_log using 'PONM'.
    else.
       perform reset_so_incompletion_log using 'PONM'.
    endif.
    ENDFORM.
    FORM set_so_incompletion_log using value(logid) type c.
    case logid.
    when 'PONM'.
         read table xvbuv with key
         vbeln = xvbak-vbeln
         tdid = 'Z026'.
         if sy-subrc <> 0.
          XVBUV-MANDT = SY-MANDT.
          XVBUV-VBELN = XVBAK-VBELN.
          XVBUV-POSNR = '000000'.
          XVBUV-ETENR = '0000'.
          XVBUV-PARVW =  ''.
          XVBUV-TDID  =  'Z026'.
          XVBUV-TBNAM =  'FTEXT'.
          XVBUV-FDNAM =  'LTEXT'.
          XVBUV-FEHGR =  '50'.
          XVBUV-STATG =  '02'.
          XVBUV-UPDKZ =  ''.
          XVBUV-FCODE =  'KTEX_SUB'.
          XVBUV-MSGKZ =   ''.
          XVBUV-SORTF =  '9999'.
          XVBUV-LFDNR =  '0000'.
          APPEND XVBUV.
         endif.
    ENDFORM.
    FORM reset_so_incompletion_log using value(logid) type c.
      case logid.
        WHEN 'PONM'.
           delete xvbuv
           where vbeln = vbak-vbeln
           and   tdid  = 'Z026'.
         WHEN OTHERS.
    endcase.
    ENDFORM.

    Hi Fractel,
    One of the classic mistakes we make when we use the <i>'for all entries in itab'</i> option is that we don't check if there are any entries in the itab or not. As a result of an empty itab, your select will always be true, because it is going to select everything and so the issue.
    Add a sy-subrc check in your code after select from vbkd. If sy-subrc <> 0, you don't have to go any further and if sy-subrc = 0, it means the PO is already used. Why are you even going to VBAK table?
    Remember, you are working with VBAK that is in your work area, and when you do a select from VBAK, you are overwriting your workarea, if the selection is successful. That will be dangerous. Don't do the VBAK select. You don't need that.
    If the VBKD select is successful, then you have a duplicate PO and if not, you don't have a duplicate PO. Isn't that the case?
    Srinivas
    Message was edited by: Srinivas Adavi

  • Duplication Check for Business Partner

    Hi,
    In my project for BP Duplicate check  i have activated Trex Settings.
    The duplication Check is based on only Address of the BP. But my we need to check duplication based on Pan number given in Identification Tab.
    Can we check duplication based on Pan number? If yes help us.
    With Regards,
    Selvam T

    For duplication badi ADDRESS_SEARCH is available. You can try implement additional logic in method IF_EX_ADDRESS_SEARCH~ADDRESS_SEARCH.

  • Duplication check for Lead and Contact

    Hi,
    Can i confirm that, there is no duplication check for Lead and Contact during the new reacord adding?
    I also realise that during the Lead convertion, CRMOD also never check for duplication even i have existing contact available?
    Is there anyway for us to activate the duplication check during the Lead convertion?
    Regards,
    SK

    SK,
    System can check duplicate if you add external id for record (Lead and Contact).
    For more information please refer topic 'About record duplicates and external ids' on page no.1303 of OnDemand help.
    Hope this helps.
    Santosh

  • Different availability check for VA01 as for VA02

    Hello,
    For the availability check, during sales order creation (VA01), the system takes into account the requirements transferred to MRP. In some cases, an order cannot be confirmed, even if there is sufficient stock according to CO09.
    If I change the order (VA02) and run the availability check again, now the system can confirm the order.
    It seems that SAP performs a different type of availability check during VA01 as for VA02. Does anybody know where in SPRO I can customize the settings for this?

    Hi there,
    In VA01 system doesnot confirm the order even the stock are available because the available stocks are reserved for other orders which are logged in prior to your order.
    There is no separate availability check for VA01 & VA02.
    If at all items are confirmed in VA01, why again you have to do availability check in VA02?
    When you say that when you change the order in VA02, what changes you have made? Changes to any material data, customer master or delivery dates will again trigger availability check.
    In VA02 if you want to see the available quantity you have to click on display availability. Not Check Item availability. If you click on Check item availability, tehn system will again carry availability check.
    Regards,
    Sivanand

  • Duplication Check for Vendor Invoices

    Can we check for duplicate invoices in SAP
    Regards
    Satish

    Hi
    The configuration settings are made in
    IMG>Materials Management>Logistics Invoice Verification>Incoming Invoice>Set Check for Duplicate Invoice
    In vendor master you need to maintain the tick for Duplicate Invoice Check
    Thanks & Best Regards
    Sanil K Bhandari

  • Userexit  for partner function changed

    What is the userexit for partner function changes in VA01 or VA02.

    Hi,
    Please check this:
    EXIT_SAPLEINM_002
    Thanks and best Regards,
    Suresh

  • Userexit For TCODE J1IJ depot excise invoice

    hi
    I want to know is there any userexit for depot excise invoice. That we can use to check weather excise entry date that is (J_1IRG23D-CPUDT) is equal to likp-WADAT_IST . Any info will be really helpful.
    Thank you

    Hi,
    Use this program SAPMJ1IJ in this program there are 4 includes.
    First try with  MJ1IJF01
    So check with your abaper which exit is working in this include.you can do it by setting break-point.
    Also check other includes MJ1IJTOP  MJ1IJO01  MJ1IJI01
    Thank you,

  • Invoices Duplication Check

    Hello to you all,
    In vendor master record you can flag the checkbox "Check Flag for Double Invoices or Credit Memos" this flag activate Invoices Duplication Check in Logistics documents and in FI documents separately,
    Meaning I can enter the same invoice twice, As a Logistics document and by mistake as a FI document again.
    Does anyone know how can I prevent it using standard customization?
    Regards,
    Dan

    Dear Atif,
    Thanks,
    This Info is display in the field documentation.
    The customization is relevant only to the logistic side.
    I am looking for cross module costomization.
    Regards,
    Dan

  • Order Duplication check

    Hi Experts,
    we have a requirement to have Order duplication check for all the Orders we recieve as IDoc(ORDERS05).
    And when we get a duplicated order, we need to stop the process (sales order creation) and report the error.
    Can you please suggest on how to acheive the above requirement.
    Thanks,
    MK

    Hi,
    When u check and find out tht the given order being processed is a duplicate, then you can change the status of the IDOC to 51.. this will raise an error.. and the irder wil not be created in ur system.
    Hope this helps.

  • Is there any userexit for MIR7 and   MIRO transaction?

    Hai friends,
           Is there any userexit for MIR7 and MIRO transaction at the time of pressing "save as completed" or "save" button. I want to check the sales certificate and invoice verification for the document number entered in MIR7 and MIRO.
    Regards,
    safiq
    NOTE:useful points will be rewarded.

    hi,
    these r the exits related to mir7.
    Transaction Code - MIR7                     Park Invoice
    Enhancement/ Business Add-in            Description
    Enhancement
    LMR1M001                                User exits in Logistics Invoice Verification
    LMR1M002                                Account grouping for GR/IR account maintenance
    LMR1M003                                Number assignment in Logistics Invoice Verification
    LMR1M004                                Logistics Invoice Verification: item text for follow-on docs
    LMR1M005                                Logistics Inv. Verification: Release Parked Doc. for Posting
    LMR1M006                                Logistics Invoice Verification: Process XML Invoice
    MRMH0001                                Logistics Invoice Verification: ERS procedure
    MRMH0002                                Logistics Invoice Verification: EDI inbound
    MRMH0003                                Logistics Invoice Verification: Revaluation/RAP
    MRMN0001                                Message output and creation: Logistics Invoice Verification
      Business Add-in
    INVOICE_UPDATE                          Business Add-In: Logistics Invoice Verification
    put a break point in each exit,like break username and test the transaction .

  • Duplication checking

    Hello gurus!
    Is there anybody who used ADDRESS_SEARCH and ADDRESS_UPDATE badies for duplication checking?
    Could you provide me with roadmap (code samples, descriptions) how to use them? My case: Business Partner duplication check by name and telephone number.
    I have read next document, but unfortunately this field is still unclear for me.
    http://help.sap.com/saphelp_crm50/helpdata/en/a3/eaa43ab9db4814e10000000a11402f/frameset.htm
    Thank you in advance!
    Kirill

    Hello Krill,
    1)You are creating a BP,category Organization  and saved it.
    2)You have activated those BADI'S that you've mentioned(Address_search,Address_Update) what happens is the sytem will carry out a duplicate check based on certain threshold values that you have mentioned in the customizing.(a dialogue box pops up indicating all possible duplicates)
    3)You can tell the system that the BP you are trying to create is not a duplicate,
    its duplicate, or you can create a cleansing Case.
    4)Using BUPA_CLEAR, you can manually search for duplicates, enter the weighing factor, select the process (Note you can manually do the cleansing process of Automatically.
    5)Execute the BT and drag and drop the BP you want to cleance.
    6)In the transction enter BUPA_CLEAR enter the cleansing case number.
    7)Compare the BP for a node comparision.
    8)Maintain the number range for Data Cleansing. in CA>SAP BP>Data Cleansing
    9)enter the Numebr range object.
    10)Define Priorities.
    11)Activate Duplicate cleansing.
    12)Remember we need to make settings in the BAS(Business Address Service)
    which is integrated with the SAP Regional Structure, which has to be populated with data either manually(administration overhead is a constraint, or using a Program), Activate Duplicate check index pools.(SAP Web application server)
    13)use Transaction SM30
    14) display table /SMBCRM/TSAD10
    15) this is where you find all the tables.
    Finally If your BADIS(Address_Search and ADDRESS_UPDATE) will work accordingly and they only provide an interface for  a third party application to come in to contact and do the actuall work. they are defenitely helpless without an external application. Check with SAP for the list of 3rd Party tool available.
    Reward with points.
    cheers,
    Muralidhar Prasad.C

  • Customer duplication check

    i want to know how to switch on an automatic duplication check for customer
    thanks in advance

    Alternatively, you can also do the same via IMG Path FI --> Accounts Receivable and Accounts Payable --> Customer Accounts --> Master Data --> Preparing for Creating Customer Master Data --> Change Message Control for Customer Master Data
    thanks
    G. Lakshmipathi

Maybe you are looking for

  • Modify contrast with an external display

    When my external display are connected, I can't modify contrast with shortcut F1 or F2. Someboby have en issue ? How I can switch off imac screen and use my external display ? Regards, Thanks pepito

  • After updating my ipad mini retina to 8.1.2, my device experiences blue screen of death at random times.

    After updating my ipad mini retina to 8.1.2, my device experiences blue screen of death at random times. It is so annoying plus there are applications that keeps on crashing such as brother in arms by gameloft so i have no choice but to reinstall it

  • Detection d'un port USB pour une communication série

    Bonjour à tous, J'ai développer une application qui recepionne des données texte d'une communication série 422. Cette communication est configuré par l'utilisateur de l'application qui choisit le prot série sur lequel les données sont receptionnée et

  • HTTP Header lowercase

    Hi, It seems that Sun Application Server 05Q4 Enterprise Edition puts HTTP headers in lowercase. e.g. X-Session becomes X-session. This behaviour does not occur with Platform Edition of the Application Server. Is it possible to avoid this behaviour ?

  • Windows 10 TP Enterprise Edition with the option to create an account for a child?

    Hi there, I've installed the W10 TP Enterprise Edition in a stable VMware Workstation and tried to create another user accout. But this fails because you can only create an account with an email account. This system should handle both: creating local