Regarding user exit for FB60 Duplicate invoices

hi experts,
I want to fnd out how to check  Duplicate invoices in fb60 and disallows posting.
Any kind soul can help?
Thnaq.

Transaction Code - FB60                     Enter Incoming Invoices
Exit Name           Description
RFAVIS01            Customer Exit for Changing Payment Advice Segment Text
RFEPOS00            Line item display: Checking of selection conditions
RFKORIEX            Automatic correspondence
SAPLF051            Workflow for FI (pre-capture, release for payment)
F050S001            FIDCMT, FIDCC1, FIDCC2: Edit user-defined IDoc segment
F050S002            FIDCC1: Change IDoc/do not send
F050S003            FIDCC2: Change IDoc/do not send
F050S004            FIDCMT, FIDCC1, FIDCC2: Change outbound IDoc/do not send
F050S005            FIDCMT, FIDCC1, FIDCC2 Inbound IDoc: Change FI document
F050S006            FI Outgoing IDoc: Reset Clearing in FI Document
F050S007            FIDCCH Outbound: Influence on IDoc for Document Change
F180A001            Balance Sheet Adjustment
FARC0002            Additional Checks for Archiving MM Vendor Master Data
FEDI0001            Function Exits for EDI in FI
No of Exits:         14
USER EXIT
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sapgenie.com/abap/code/abap26.htm
http://www.sap-img.com/abap/what-is-user-exits.htm
http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
http://www.easymarketplace.de/userexit.php
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sappoint.com/abap/userexit.pdfUser-Exit
http://www.sap-img.com/ab038.htm
http://help.sap.com/saphelp_46c/helpdata/en/64/72369adc56d11195100060b03c6b76/frameset.htm
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sap-img.com/abap/what-is-user-exits.htm
http://expertanswercenter.techtarget.com/eac/knowledgebaseAnswer/0,295199,sid63_gci982756,00.html
Rewards if useful.........
Minal

Similar Messages

  • User exit for FB60 after POSTING the Document.

    Hi,
    I have requirement with FB60 transaction where i have to display the error message to the user if the amount of the invoice is greater than some threshold value( this will be maintained in the custom table) to park the document .
    I have created project with enhancement SAPLF051 using the exit EXIT_SAPLF051_002 it is triggering only when parks the document .
    But my requirement is  i need an enhancement which trigger after user posts the document.
    Please help me...
    regards
    paveee.....

    Hi
    Following are the available user exits for fb60 transaction...
    F050S001            FIDCMT, FIDCC1, FIDCC2: Edit user-defined IDoc segment
    F050S002            FIDCC1: Change IDoc/do not send
    F050S003            FIDCC2: Change IDoc/do not send
    F050S004            FIDCMT, FIDCC1, FIDCC2: Change outbound IDoc/do not sen
    F050S005            FIDCMT, FIDCC1, FIDCC2 Inbound IDoc: Change FI document
    F050S006            FI Outgoing IDoc: Reset Clearing in FI Document
    F050S007            FIDCCH Outbound: Influence on IDoc for Document Change
    F180A001            Balance Sheet Adjustment
    FARC0002            Additional Checks for Archiving MM Vendor Master Data
    FEDI0001            Function Exits for EDI in FI
    RFAVIS01            Customer Exit for Changing Payment Advice Segment Text
    RFEPOS00            Line item display: Checking of selection conditions
    RFKORIEX            Automatic correspondence
    SAPLF051            Workflow for FI (pre-capture, release for payment)
    If you still not find appropriate exit, go for badi's...
    1)To search for a badi, go to se 24 display class cl_exithandler.
    2) double click on method get_instance,
    3) get a break point on case statement. execute and start the required transaction in new session.
    4)look for variable exit_name. It would show the available badi's.
    <b>Please do reward if useful</b>
    Regards
    Dinesh

  • USER EXIT FOR CSAVING AN INVOICE IN SD

    wats the user exit for saving an invoice in SD?

    Hi,
    Check this refence for your query :
    Re: user exit/customer exit/BADI at the time /after saving SD invoice
    Reward if helpful,
    Regards,
    Esha Raj

  • Help required regarding user exit for STPSHH01 IDOC

    Need help regarding user exit.
    I append the structure of VTTP and add one field with the name of ZDELCST i.e Delivery cost so i want to update that table once the idoc will post.
    I have to write the user exit for this but i have no idea how to do this so kindly requesting someone to please write the code for me and i will be very grateful to him/her.
    The functional module is IDOC_INPUT_SHIPPL
    and there is a CALL CUSTOMER-FUNCTION '012'
    this will take us to function module EXIT_SAPLV56I_012
    This includes ZXV56U08
    Within this include in need to map the delivery cost from the idoc to the new append filed VTTP-ZDELCST

    Hi,
    use this FM to update ur shipment
    variables
    DATA: lo_tp_g_tra       TYPE v56e_shipment_activities, "Data to modify
          lo_tp_g_shp       TYPE v56e_shipment,
          lo_tp_g_log       TYPE v56e_logfile, " Errors function
    call the function to modify shipments
    CALL FUNCTION 'SD_SHIPMENT_PROCESS'
      IMPORTING
        e_logfile    = lo_tp_g_log
      CHANGING
        c_activities = lo_tp_g_tra
        c_shipment   = lo_tp_g_shp
      EXCEPTIONS
        error        = 1
        OTHERS       = 2.
    Thanks,
    Sendil.

  • User Exit for Enter / post invoice against the order without goods receipt

    Hi,
    My requirement is to enter or  post the  invoice against the Purchase order without goods receipt.
    Need to an User Exit  for this.
    Thanks in Advance!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    User exits available are:
    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)
    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)
    user exit when PGI is done
    Reward if useful.

  • BADI/USER EXIT for FB60

    Hi,
    please can you tell any BADI or USER EXIT that are available for FB60 Transaction code.
    Thanks
    cra

    hi
    following exits are available
                                                                                    Transaction Code - FB60                     Enter Incoming Invoices                                                                               
    Exit Name           Description                                                                               
    F050S001            FIDCMT, FIDCC1, FIDCC2: Edit user-defined IDoc segment                  
    F050S002            FIDCC1: Change IDoc/do not send                                         
    F050S003            FIDCC2: Change IDoc/do not send                                         
    F050S004            FIDCMT, FIDCC1, FIDCC2: Change outbound IDoc/do not send                
    F050S005            FIDCMT, FIDCC1, FIDCC2 Inbound IDoc: Change FI document                 
    F050S006            FI Outgoing IDoc: Reset Clearing in FI Document                         
    F050S007            FIDCCH Outbound: Influence on IDoc for Document Change                  
    F180A001            Balance Sheet Adjustment                                                
    FARC0002            Additional Checks for Archiving MM Vendor Master Data                   
    RFAVIS01            Customer Exit for Changing Payment Advice Segment Text                  
    RFEPOS00            Line item display: Checking of selection conditions                     
    RFKORIEX            Automatic correspondence                                                
    SAPLF051            Workflow for FI (pre-capture, release for payment)                                                                               
    No of Exits:         13                                                                      
    To search for a badi, go to se 24 display <b>class cl_exithandler.</b>
    double click on method get_instance, get a break point on case statement.
    execute and start the required transaction in new session.
    look for variable <b>exit_name.</b> It would show the available badi's.
    Hope this helps
    <b>if it helped, you can acknowledge the same by rewarding</b>
    regards
    dinesh

  • User Exit for Incoming Excise invoice capture(MIGO)-clarification

    Hi all,
    We are using mySAP ECC 5.0 version with CIN Configuration made. In this, if Excise Duty value is zero, then excise invoice pop-up should not come. But the system asks for it, and the user has to manually change the excise action as 'No Excise Entry'. To avoid this, we have a idea of using some user exit to do this automatically.
    We have added the following source code in the user exit 'J_1I7_MIGO_DEFAULT'
    IF CS_EXHEAD-TOTAL_BED = 0.
    CS_EXHEAD-EXCISE_ACTION = '06'.
    endif.
    But, irrespective of the excise duty value(CS_EXHEAD-Total_BED) system determines the action as '06' i.e.'No excise entry.But still it asks for excise invoice also!!!
    How to resolve this? Should some corrections should be made on this source code? or the option of 'pass values' needs to be selected in the user exit?
    Suggest
    Gowtham

    Hey,
    Can you give the enhacement name from SMOD (MBCF0006) ?
    -Kiran

  • User Exit for FB60

    Dear All ,
    I have to make Business place and section code Mandatory for certain vendors enterd on the screen of FB60 .
    I have used LFDCB001 exit . it contain EXIT_SAPLFDCB_001 function module .
    Inside the function module i have written following logic .
    if sy-tcode = 'fb60' and sy-ucomm = 'BS' .
    select single * from lfbw where lifnr = I_INVFO-LIFNR .
    endif .
    I have set breakpoint to check whether program flow is coming here or not .
    But program is not coming to the code what I have written .
    I want to know whether have I used correct function module or do i need to use some other exit .
    Thanks In Advance .

    Hi Raghavendra kulkarni,
    try these exits,
    F050S001:  FIDCMT, FIDCC1, FIDCC2: Edit user-defined IDoc segment 
    F050S002:  FIDCC1: Change IDoc/do not send                        
    F050S003:  FIDCC2: Change IDoc/do not send                        
    F050S004:  FIDCMT, FIDCC1, FIDCC2: Change outbound IDoc/do not sen
    F050S005:  FIDCMT, FIDCC1, FIDCC2 Inbound IDoc: Change FI document
    F050S006:  FI Outgoing IDoc: Reset Clearing in FI Document        
    F050S007:  FIDCCH Outbound: Influence on IDoc for Document Change 
    F180A001:  Balance Sheet Adjustment                               
    FARC0002:  Additional Checks for Archiving MM Vendor Master Data  
    RFAVIS01:  Customer Exit for Changing Payment Advice Segment Text 
    RFEPOS00:  Line item display: Checking of selection conditions    
    RFKORIEX:  Automatic correspondence                               
    SAPLF051:  Workflow for FI (pre-capture, release for payment)     
    Thanks,
    Add points if useful,
    Sharat.

  • Regarding user-exit for customer return order in sales order creation

    Hi,
    My problem is when sales order type ZRE(Customer return) is created with refrence to Invocie i have to check the quantity in the return order is less than the original invoice or not.If quantity in return order is greater than invoice quantity then i have to raise error message.For this which user-exit is suitable in sales order program SAPMV45A.
    Thanks,
    shyla kumar

    Hi
        Use can use MV45AFZZ AND MV45AFZB userexits
    Within mv45afzz USE CAN form related to VBAP or
    save_document_prepare.
    Please reward if useful.

  • User exit for IDOC in INVOICE

    Hi all,
    I need to add a value in a custom IDOC segment for INVOICE. The IDOC basic type used is INVOIC02. Is there any user exit which I can use to populate the IDOC data? Any help will be greatly appreciated.
    Thanks,
    Lalyn

    Hi Lalyn,
    I do not have an exact code for this.
    But just go through the following code, where we are doing some validations in the segments.
    Code below this line was to exclude ZRTN materials for which Subtotal 2 (KZWI2) is zero. And,
    this is done for billing types:
                                   ZEXP,
                                   ZXAD,
                                   ZXDR,
                                   ZXL2,
                                   ZXG2,
                                   ZXPT.
    IF INT_EDIDD-SEGNAM = 'E1EDS01'.
      ZE1EDS01 = INT_EDIDD-SDATA.
      IF ZE1EDS01-SUMID = '001'.
    Start deleting when on 1st E1EDS01 segment
        DESCRIBE TABLE INT_EDIDD LINES POS.
        LOOP AT XTVBDPR.
          CLEAR MARA.
          SELECT SINGLE MTART MATKL FROM MARA INTO            "DV2K920646
          (MARA-MTART,MARA-MATKL)                             "DV2K920646
          WHERE MATNR = XTVBDPR-MATNR.     " Find material type MTART
          IF XVBDKR-FKART EQ 'ZEXP' OR XVBDKR-FKART EQ 'ZXL2' OR
             XVBDKR-FKART EQ 'ZXAD' OR XVBDKR-FKART EQ 'ZXG2' OR
             XVBDKR-FKART EQ 'ZXDR' OR XVBDKR-FKART EQ 'ZXPT'.
            IF MARA-MTART = 'ZRTN' AND XTVBDPR-KZWI2 EQ 0
             AND MARA-MATKL <> 'KEGS DM'.                  "DV2K920646
              MOVE XTVBDPR-POSNR TO POSNRS-POSNR.
              APPEND POSNRS.               " Store ZRTNs to be deleted
            ENDIF.
          ENDIF.
        ENDLOOP.
        DESCRIBE TABLE POSNRS LINES COUNT.
      Reduce the number of line items by the number of them to be deleted
        ZE1EDS01-SUMME = ZE1EDS01-SUMME - COUNT.
        SHIFT ZE1EDS01-SUMME LEFT DELETING LEADING SPACE.
        INT_EDIDD-SDATA = ZE1EDS01.
        MODIFY INT_EDIDD INDEX POS TRANSPORTING SDATA.
        LOOP AT INT_EDIDD INTO IEDIDD.     " Loop and delete if in POSNRS
          IF IEDIDD-SEGNAM = 'E1EDP01' OR IEDIDD-SEGNAM = 'E1EDS01'.
            CLEAR DELETE_FLAG.
          Reset delete_flag when on next line item or done with all
          ENDIF.
          IF IEDIDD-SEGNAM = 'E1EDP01'.
            ZE1EDP01 = IEDIDD-SDATA.
            READ TABLE POSNRS WITH KEY POSNR = ZE1EDP01-POSEX.
            IF SY-SUBRC EQ 0.
              DELETE_FLAG = 'X'.
            Set delete_flag if the line item is to be deleted
            ENDIF.
          ENDIF.
          IF DELETE_FLAG = 'X'.            " Delete the line item fully
            DELETE INT_EDIDD.
          ENDIF.
        ENDLOOP.
      ENDIF.
    ENDIF.
    At this function module, you have to create an include and write your code.
    But remember, before that you have to extend your basic type.
    Hope it will help you.
    sailesh

  • Regarding User Exit for VD01

    Hi All,
    I need to do some special validations based on the partner funstion which is entered during the customer creation through the transaction VD01.
    May i know which user exit can be used for the above or any badi can be used
    Thanks.

    Hi,
    User sxit for VD01   SAPMF02D  User exits: Customer master data
    Regards,
    Prashant

  • Regarding User Exit for SD Field Catalog

    Hi All,
    I need to insert a field called "Transportation Zone" in the field catalog.
    Path: sproF5sales and DistBasic FunctionsPricing-Pricing ControlMaintain Condition Tables..
    Now using CMOD Tcode, how to locate the appropriate Exit for this issue...???
    Regards
    PAvan

    Hi Pavan,
    You can see these user exits in SE38
    To create a new field in the field catalog, the field needs to be put in field catalog with a Z name, say ZZ_TRZONE
    Now you have to make changes in these 2 user exits to populate the transportation zone which is coming from masterdata into sales order , into the structure TKOMP ...etc which are populated during pricing. If you achieve that, then the condition records will be updated.
    Please let me know if you need further information on this.
    Rwd point if it helps.
    BTW, These userexits are used only if the field which you want to include in the condition table is not in the list of allowed fields in the field catalog or not in structures KOMG, KOMP, KOMK. If the field is already there in field catalog and in all these structures, then there is no  need for user exit. You just need to create the condition table.
    Message was edited by:
            iimnava

  • Regarding user exit for me32l - Scheduling agreement

    hi,
       i am using the exit ZXM06U44 for both purchase order and scheduling agreement, but the thing is for purchase order the function module EXIT_SAPMM06E_006 is been triggerin for exproting and importing of the memory if of transaction type, know i need to find out the same thing for scheduling agreement , help me out in this plz.

    Check the user exit avilable for transaction ME31 and try to user the user exit which suit your requirement.
    I am sending you the list of the enhancements available for ME31.
    MEQUERY1
    MM06E011
    LMEKO001
    LMEKO002
    AMPL0001
    LMEDR001
    LMELA002
    LMELA010
    LMEQR001
    LMEXF001
    LWSUS001
    M06B0001
    M06B0002
    M06B0003
    M06B0004
    M06B0005
    M06E0004
    M06E0005
    ME590001
    MEETA001
    MEFLD004
    MELAB001
    MEVME001
    MM06E001
    MM06E003
    MM06E004
    MM06E005
    MM06E007
    MM06E008
    MM06E009
    MM06E010
    MMAL0001
    MMAL0002
    MMAL0003
    MMAL0004
    MMDA0001
    MMFAB001
    MRFLB001
    Let me know if it works.
    Amandeep

  • Regarding User Exit for MIGO

    Hi Friends:
       I've got the following urgent requirement.When we execute the transaction code for GR i.e. 'MIGO', there should a BDC triggered automatically in the background.This BDC should update the transaction code 'F.13' for automatic clearing.
       I just wanted to ask if there is any kind of user/customer exit or BADI available so that a BDC can be linked to MIGO.I want this BDC to be triggered as soon as the MIGO gets saved.The data in F.13 should be updated is 'company code, fiscal year, assignment no(concatenate ebeln & ebelp), check G/L acct, put G/l acct. no, uncheck 'Test run').This BDC should run on a runtime basis i.e. we have to pick data one by one from MIGO.
         I hope I've made my requirement clear.Is there anyone who have done this earlier & can give me a readymade guideline/example/code so that I can handle this urgent requirement.Is there any kind of confusion, please advise.I really need help on this.Please advise.Reward points will be there.If anyone want to send any material on this, please send on '[email protected]'.
         Friends, I'll really be thankful for this help.
    Thanks:
    Gaurav

    Hi Gaurav,
    Following exits are available for MIGO:
    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.
    Following exits are available for F.13:
    F050S004            FIDCMT, FIDCC1, FIDCC2: Change outbound IDoc/do not s
    F050S005            FIDCMT, FIDCC1, FIDCC2 Inbound IDoc: Change FI docume
    F050S006            FI Outgoing IDoc: Reset Clearing in FI Document
    F050S007            FIDCCH Outbound: Influence on IDoc for Document Chang
    F180A001            Balance Sheet Adjustment
    FARC0002            Additional Checks for Archiving MM Vendor Master Data
    FEDI0001            Function Exits for EDI in FI
    RFAVIS01            Customer Exit for Changing Payment Advice Segment Tex
    RFEPOS00            Line item display: Checking of selection conditions
    RFKORIEX            Automatic correspondence
    SAPLF051            Workflow for FI (pre-capture, release for payment)
    F050S001            FIDCMT, FIDCC1, FIDCC2: Edit user-defined IDoc segmen
    F050S002            FIDCC1: Change IDoc/do not send
    F050S003            FIDCC2: Change IDoc/do not send
    Ashven

  • Regarding user Exit for PGI

    when user do PGI i need to create the billing document automatically in back ground can any one suggest user exit present for PGI(user can do PGI directly from VL02N or directly for VA01 or VA02 ).............
    Very urgent ...........
    Points will be rewarded for your answers

    Hi try exit MV50AFZ1 - This include is reserved for user modifications
    Forms for delivery processing
    also verify OSS note 415716 for this
    sugested code: if user name <> ADMIN User, no change allowed.
    Ask your abapper to do this. (use appropirte user name for ADMIn user)
    rewards if useful...........
    Thanks.
    abhay.

Maybe you are looking for

  • Replace OUTLOOK HOME AND BUSINESS Version with OUTLOOK PROFESSIONAL [Standalone]

    Hey Techies, Here is the Scenario,I have been using Office Home and business 2013(installed from Click-to-run setup)  on my WIN-7 pro. As i needed to access my Microsoft Exchange online archive (i have exchange online plan 2) on Outlook i'd to buy ou

  • File Adapter not processing Files which has COMMA in it

    Hi Experts, I am working on Project in SOA 11.1.1.6. I am trying to process a file which has comma in it. for eg - XXXXXXX-XX_XX_XXX11,99.pdf I am picking the file using file adapter from SOURCE directory and using another file adapter to WRITE to de

  • Need help with passwords

    I want to disable passwords on my macbook. Every time I install, download, or change something my computer always asks for a password which I left as blank. How do I make it so that it does not even ask for a password?

  • How can I open a photo on iPhoto and PSE 10?

    Before upgrading to PSE 10 for Mac, I would select a photo in iPhoto, click on edit and PSE 8 would open with the selected photo.  Now PSE 10 will open but, there is no photo open in PSE 10.

  • Lost BASIC section of adjustment panel in DEVELOP mode.

    Editing my first image in Lr5, v7.  Somehow I have lost the BASIC section of adjustment panel in the DEVELOP mode.  This adjustment panel now starts at TONE CURVE, just under the TOOL STRIP.  How can I get the BASIC section of the adjustment panel ba