User exit FB02

Dear Experts,
Is there user exit or BADI avalable for transaction code FB02 when I change something in the document and click SAVE.
My requirement is that I want to edit base line date and accordingly recalculate the payment terms via user exit when i save the document.
Thanks
RR

Following are the exits available for FB02
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
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)

Similar Messages

  • BADI / User Exit related to FB02/FB03 Transactions

    Hi All,
    I have a requirement to make the field Reference Key 2 of FB02 transaction editable , right now the field is not editable .
    To reach this field
    1 .Goto transaction FB02 , enter the doc number, comp code and fiscal year press enter .
    2. In the next screen double click on any one of the line Item .
    3. Now in this screen click on the More data button on the application tool bar . You can see the Reference Key 2 (BSEG-XREF2) .
    Please let me know how to proceed with this .
    Regard's
    Sudheer V

    Transaction Code - FB02                     Change Document
    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
    Transaction Code - FB03                     Display Document
    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

  • User Exit or BADi for FB02

    Hi
    Does somebody knows some user exit or BADI for add validations to FB02 when user changes some position data.
    I need to validate some header BKPF (Company, Currency) and detail BSEG (Posting Key, Account Bank)  data when change the position.
    Does somebody knows one user exit or Badi wich i can use to do it  ?
    Thanks
    Frank

    Thanks for your answers.
    I need to make validations for send error messages and i can not use FI Validations and Sustitutions because i send several differents messages  and wuold need N steps (one step for each message).
    The enhancement points called in CHANGE_TO_MODIFY are executed when ok-code is 'CHAE' that is when the user calls FB03 and then change to modify mode for make changes like if he goes to FB02 , but these enhancements are no executed any more when the data changes are made and user press save.
    I already found some enhancement executed just before data saving (it's in FORM belegsummen_pruefen) so i make the validation and send the error message , but when error message appears the screen get protected so the user can not change any screen field for make the data corrections.
    Best Regards
    Frank

  • User exit/ badi for fb02 transaction

    Hi,
    what are the appropriate user exit/ badi for fb02 transaction for a disabling(graying out) a
    payment block field for particular users..?
    Regards,
    Avi

    Following are the exits available for FB02
    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
    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)

  • List of user exits for tcode : FB02 (in vers 4.0)

    Hi Experts,
    I am working in version 4.0.
    i need to comment out the validation for certain comp codes(bukrs) depending upon the reason code for payments(BSEG-RSTGR). This code is in the std SAP program SAPMF05A which is called during FB02. You can see the code by displaying SAPMF05A in SE38 and search for bseg-sgtxt in main program.
    Can someone please help me with the underlying user exits available for this scenario (as explained above).
    Thanks

    Hi,
    To find an enhancemnet search the code on sdn. You juet need to run the prog it will display all the enhancemnets.
    Try below mentioned code:
    REPORT  Z_USER_EXIT_FIND.
                         TABLES DECLARATIONS                             *
    TABLES : tstc,     "SAP Transaction Codes
             tadir,    "Directory of Repository Objects
             modsapt,  "SAP Enhancements - Short Texts
             modact,   "Modifications
             trdir,    "System table TRDIR
             tfdir,    "Function Module
             enlfdir,  "Additional Attributes for Function Modules
             tstct.    "Transaction Code Texts
                         DATA DECLARATIONS                               *
    DATA : it_itab LIKE tadir OCCURS 0 WITH HEADER LINE.
    DATA : field1(30).
    DATA : v_devclass LIKE tadir-devclass.
                         SELECTION-SCREEN DECLARATIONS                   *
    SELECTION-SCREEN BEGIN OF BLOCK a01 WITH FRAME TITLE text-001.
    SELECTION-SCREEN SKIP.
    PARAMETERS : p_tcode LIKE tstc-tcode OBLIGATORY.
    SELECTION-SCREEN SKIP.
    SELECTION-SCREEN END OF BLOCK a01.
                         START-OF-SELECTION                              *
    START-OF-SELECTION.
    *-----Validate Transaction Code
      SELECT SINGLE *
      FROM          tstc
      WHERE         tcode EQ p_tcode.
    *-----Find Repository Objects for transaction code
      IF sy-subrc EQ 0.
        SELECT SINGLE *
        FROM          tadir
        WHERE         pgmid    = 'R3TR'     AND
                      object   = 'PROG'     AND
                      obj_name = tstc-pgmna.
        MOVE : tadir-devclass TO v_devclass.
        IF sy-subrc NE 0.
          SELECT SINGLE *
          FROM          trdir
          WHERE         name = tstc-pgmna.
          IF trdir-subc EQ 'F'.
            SELECT SINGLE *
            FROM          tfdir
            WHERE         pname = tstc-pgmna.
            SELECT SINGLE *
            FROM          enlfdir
            WHERE         funcname = tfdir-funcname.
            SELECT SINGLE *
            FROM          tadir
            WHERE         pgmid    = 'R3TR'       AND
                          object   = 'FUGR'       AND
                          obj_name = enlfdir-area.
            MOVE : tadir-devclass TO v_devclass.
          ENDIF.
        ENDIF.
    *-----Code to find SAP Modifactions
        SELECT     *
        FROM       tadir
        INTO TABLE it_itab
        WHERE      pgmid    = 'R3TR' AND
                   object   = 'SMOD' AND
                   devclass = v_devclass.
        SELECT SINGLE *
        FROM          tstct
        WHERE         sprsl = sy-langu AND
                      tcode = p_tcode.
        FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
        WRITE:/(19)   'Transaction Code - ',
               20(20)  p_tcode,
               45(50)  tstct-ttext.
        SKIP.
        IF NOT it_itab[] IS INITIAL.
          WRITE:/(95) sy-uline.
          FORMAT COLOR COL_HEADING INTENSIFIED ON.
          WRITE:/1   sy-vline,
                 2  'Exit Name',
                 21  sy-vline ,
                 22 'Description',
                 95  sy-vline.
          WRITE:/(95) sy-uline.
          LOOP AT it_itab.
            SELECT SINGLE *
            FROM          modsapt
            WHERE         sprsl = sy-langu AND
                          name = it_itab-obj_name.
            FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
            WRITE:/1  sy-vline,
                   2  it_itab-obj_name HOTSPOT ON,
                   21 sy-vline ,
                   22 modsapt-modtext,
                   95 sy-vline.
          ENDLOOP.
          WRITE:/(95) sy-uline.
          DESCRIBE TABLE it_itab.
          SKIP.
          FORMAT COLOR COL_TOTAL INTENSIFIED ON.
          WRITE:/ 'No of Exits:' , sy-tfill.
        ELSE.
          FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
          WRITE:/(95) 'No User Exit exists'.
        ENDIF.
      ELSE.
        FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
        WRITE:/(95) 'Transaction Code Does Not Exist'.
      ENDIF.
                         AT LINE-SELECTION                               *
    *-----Take the user to SMOD for the Exit that was selected.
    AT LINE-SELECTION.
      GET CURSOR FIELD field1.
      CHECK field1(7) EQ 'IT_ITAB'.
      SET PARAMETER ID 'MON' FIELD sy-lisel+1(10).
      CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
    Ashvender

  • BADI/User exits for FV50/FB50/FB02

    Hi all,
    Is there any badi/user exit which is triggered when document is changed from display mode to change mode.
    My requirement is when document is parked using FV50 the workflow is triggered, as long as document in workflow document should be locked from edit.
    Thanks,
    Venu

    Hi,
    Please refer if this thread helps : how to trigger workflow FV50
    Regards,

  • BADI/USer Exit for FB01

    Hi All,
    I need to make some changes to Accounting Document line items just before they are saved. Basically i have to consolidate the FI line items so that they do not exceed 999. I tried some BTE but SAP is over writing my changes after the BTE is called.
    I cannot do this consolidation from OBCY transaction as i want to restrict this for only one company code. Can someone please help me with this.
    Regards,
    Jayant

    Re: FB01/FB02 user exit/BADI
    Re: Searching User- / Customer-Exit for Transaction FB01

  • Badi or user exit for Cash Journal

    Dear friends,
    As I am not able to post a special GL transaction through cash journal, i request you to help me for a badi or user exit which may be available for cash journal.
    Regards
    Dhirav shah

    Hello Ajeshi,
    below are the user exit available for fb02 transaction code.
    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
    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)
    but i fill your problem can be solve using function exit FMRESERV and specifically 'EXIT_SAPLFMR4_002' function module. change the field xblnr from t_accit table.
    I hope this will slove your problem.
    Regards,
    Vikash

  • User Exit or BADI for catch the document number after saving the document

    Hi ,
    I am working on data conversion where Document number(BELNR),BKPF and BSEG  data should
    transfer to my Z table(Containes fileds of BKPF and BSEG) after SAVE the document related to
    Tcodes F-01 , F-22 , F-28 , F-43 , FB01 , FB02, FB60 ) . It need to go through by any user-exit or
    BADI.So Could you please suggest me any User exit or BADI ASAP.
    Waiting for reply.
    Thanks
    Lakshmi

    You should use BTE (Business transaction event). This concept is used especially for FI related enhancements...
    Study this document to know how to use BTE
    http://www.todoabap.com.ar/archives/FI%20Enhancement%20Technique%20-%20How-To-Guide%20on%20the%20Usage%20of%20Business%20Transaction%20Events%20(BTE).pdf
    Let me know if you face any specific issues..

  • User exit in ob28

    Hi gurus
    I need a explanation how the user exit work in the ob28, this is the first time that i deal with this, and i need to apply the 650827 and it involve a user exit.
    i dont know what to fill out in prerequisites and check area when in using a exit.
    if you have an example about a validation step , with the prerequisites and check area using a user exit, please post it, with the explanation.
    Thks

    Hi
    For an example if you need to restrict access T-code FB02 by use ABC write validation like follows
    In Prerequisite :
    Transaction code = 'FB01'  AND User Name = 'ABC'
    Check :
    False
    Message :
    Message Type : E
    Create a Message No and include a message as you wish
    Kesh.

  • User Exit implementation

    Hi,
    For the TCode FBL5N, for the line items, if we wants to change the payment method then payment block is mandatory. For this user exit is implemented. However, when trying to mass change for morethan one line items the user exit is not being triggered, thus the mandatory error message like "Payment Block is required" is not displaying. I just wanted to know why this user exit is not being triggered while mass change
    Please help me in this regard
    Regards
    Shankar

    As for as i Know FBL5N is dispaly only
    Not correct. You can't key on the output screen itself, but if you'll look at the toolbar and the menus you'll see the individual change and mass change functions for changing line items.
    To the OP:  Can't say what the issue is because you didn't specify the exit or BTE that you used.  Mass change simply calls FB02 via function FI_ITEMS_MASS_CHANGE so it's unlikely there's much of a difference in the calls.  Use SE30 to trace the mass change call and check if your exit is called or debug the function call. 
    As far as the other post, that thread has nothing to do with the exit call, it references G/L account changes, presumably for  field status configuration and opening a field for input - why is that related?

  • User Exit or BADI for F-43 Validations

    Hi
    I need to add some validations to F-43 tcode , the validations are over some header (company, currency..)  and detail (postink key, account,..)  data  (BKPF and BSEG) and send the user the corresponding  Z errors before save and generate the document.
    Does somebody knows some user exit or Badi wich i can use to make F-43 data validations ?
    Thanks
    Frank

    Hi Max
    FI Validations was just my first option because i need to make this same validations in several creating tcodes like F-43, FB02 and MIRO, but in my validations i have about 14 messages errors depending of data and , if i do not make a mistake, in FI Validations there is only a message for step .
    The point is in my validations i use data that i read according i'm going validating so if i use N steps , one step for each error message , i would have to repet the data read in each step.
    Am i right, in FI Validations there is only a message for step and the message is the predefinded in the step itself ?  or i can make severeal validations and send differents error messages in one same step ?
    Thanks a lot
    Frank

  • User exit ZXPADU02 - evaluating SY-UCOMM

    Hello everyone,
    I am trying to display an error message whenever someone tries to create a new work schedule rule (P0007-SCHKZ) in infotype 7. However, the error message should just come up when the user is trying to save his data.
    I am using user exit ZXPADU02 for this purpose. My problem is that SY-UCOMM does not seem to hold reliable data in this user exit, and SSCRFIELDS does not seem to be supported at all.
    My code looks like this (only the relevant code snippet in ZXPADU02):
    CASE INNNN-INFTY.
            WHEN '0007'.
          CALL METHOD CL_HR_PNNNN_TYPE_CAST=>PRELP_TO_PNNNN
            EXPORTING PRELP = INNNN
            IMPORTING PNNNN = P0007.
          CALL METHOD CL_HR_PNNNN_TYPE_CAST=>PRELP_TO_PNNNN
            EXPORTING PRELP = PSAVE
            IMPORTING PNNNN = P0007_ALT.
          IF P0007_ALT-SCHKZ <> P0007-SCHKZ
          AND IPSYST-MASSN IS INITIAL " do not warn within an info group of a personnel action
          AND SY-UCOMM = 'UPD'. " only warn when saving the data -> problem here <-
            MESSAGE 'Do not change IT7 directly or else.' TYPE 'I' DISPLAY LIKE 'E'.
            SHOW_DATA_AGAIN = 'X'.
          ENDIF.
    At first glance, the above works nicely.  But this is what happens when I test more thoroughly:
    I create a new period in IT 7, enter a P0007-SCHKZ other than the one that was previously valid, press F11. Some warnings appear (for different reasons), which I dismiss using the Enter key. Afterwards, the above code fires, the error message is being displayed, and I am thrown back into the data screen. So far, so good.
    Now I simply alter the value in the field "Weekly hours" (P0007-WOSTD) and press Enter (!). Again a series of warnings appear, including one that a dataset is going to be deleted (seeing that an IT 7-period with just the same date range already exists). I confirm that with Enter, and the data is being saved. The above code does not fire because I have only pressed Enter - but the data is being saved anyway!
    Looks like a pretty erroneous behavior on the side of the SAP system. The question is whether I have a chance to do something about it in the code.

    Mihir Nagar wrote:
    Dear Petersen,
    Your IF condition seems ok. I doubt on the message statement. Can you replace your message statement with type E.
    MESSAGE 'Do not change IT7 directly or else.' TYPE 'E'.
          ENDIF.
    Hope this works.
    Regards,
    Mihir.
    I did not expect this to work, because normally you use type 'E'-messages only in certain PAI-environments, but it does the job, thank you!
    make use of  field IOPER of the structure  PSYST to check on the infotype actions INS, MOD, COP, DEL...
    In this particular case I did not care, so I did not check that. IT 7 should only be maintained through personnel actions in our case.
    Next you can check with sy-ucomm field the different between "enter" and "save". With "save" sy-ucomm will be 'UPD'.
    That is what I did, but as I described, there was a situation when SY-UCOMM is SPACE, but the system saved anyway due to a prior save attempt.

  • Using a variable not in the Export,Import, table Parameters in USER EXIT

    Hi all,
       During the Invoice Creation, I need to add an entry in the VBFS table, so that it will be displayed in the system log.  In the FM 'RV_INVOICE_CREATE', the structure corresponding to it is XVBFS.  There is a user-exit   CALL CUSTOMER-FUNCTION '002', in this FM 'RV_INVOICE_CREATE'.  But the import, export or Table Parameters does not have XVBFS.
      How can I use XVBFS inside the User exit?..
    Please help.
    Regards,
    Asha

    Hi,
    I dont know whether this will help u...
    write this in user exit...to access variables/tables of main program..
    FIELD-SYMBOLS: <komv>.
    ASSIGN ('(SAPLMEPO)TKOMV[]') TO <komv>.
    where.. SAPLMEPO is the main program...and TKOMV[] is a internal table in SAPLMEPO.
    regards
    Sukriti....

  • How to find out the user exit is implemented

    Hi All,
    Kindly let me know the process to be followed to find out the User exit is implemented in SAP system.
    I have seen many senriors suggestions for some treads to check if there is any Exit is implemented in the process when the system is behaving differently rather standard.
    Is it the only way with help of ABAP'er we can find out or the functional consultant also can find out through some procedure?
    I tied in google for this doubt, but i could not get the relavant answer.Pleaea execuse me if this already answered.
    Thanks,

    Hi Krishna/TW,
    Thank you for your immediate replies. Sorry i think i have not explained correctly my requirment.
    Let me explain my requirement once again.Let us say Comapny has implemented one Exit in the project, now i want to find out what exactly the Exit was implemented.
    Example: In STO process user is able to increase the  qty in delivery. As per the client requriement system should not allow.
    This is not possible in standard to control even after maintainig  check over delivery field in 0VLP.
    For this comapny has already implemented one enahnceament.
    User Exit : USER EXIT_READ_DOCUMENT
    Program: MV50AFZ1
    like this when any one joined in the project we do not know what are all the Exits are implemented in the SAP system where we are working.
    So if i want to find out if there is any Exit or enhancement implemented, what is the process to find out?
    I hope now  am clear with my requirement.
    Thanks in advance.

Maybe you are looking for

  • Syncing iPhone and iPod Touch to same calendar

    DH has an iPhone and I'm about to get an iPod touch. We're setting up iCal on the home computer and we both want to sync our devices to our iCal calendar, so we both have record of birthdays/appointments etc. Currently I've set iCal up with only the

  • I get a security sandbox error #2122 when i try to use ImageSnapshot on video player

    hey guys... so all my application does is... it has a video player... and when i initiate the component it loads the flv from a different server, and plays the video... now while its playing the video i have a button called capture, and whe you hit t

  • Ipod Touch Gen 2 connection socket is loose and will not charge or sync.

    Hello MacForum! (Skip to the bolded part near the bottom for a summary) I bought an 8 gig, 2G Ipod Touch a little under a year ago off of ebay (to save costs, as I was buying one for my girlfriend as well). Both were seemingly brand new, the first on

  • 11g Sampleapp connection timed out

    When I try to download the sample app it redirects to the URL below and times out.... in FF and IE... Please fix... http://www.samplecode.oracle.com:7777/SSOLogin?redirectUrl=https%3A%2F%2Fwww.samplecode.oracle.com%2Fsf%2Fpluggable%2Fdo%2FviewPluggab

  • IPhoto 6 crashes when importing photos from hard drive

    I just installed and updated iPhoto 6. Each time I try to import to the library photos from my hard drive, whether one or many, iPhoto quits. Anybody else have this problem? Any advice?