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.

Similar Messages

  • Validation \ User-exit \ BADI \ BTE for F-43 for missing exchange rate

    Hi,
    I maintain the exchange rate on a daily basis in TCURR exchange rate table.
    But, let's say that, by accident, in one day I fail to input the exchange rate.
    In this case, when I input a invoice in F-43, I'd like for the system to issue a warning (blocking) message saying that there is no exchange rate for that specific posting (translation) date.
    I tryed to create a validation for F-43. But the conditions available in validation are just too simple and I couldn't achieve my goal.
    However, I saw I can attach an user exit to the validation or an user exit directly in F-43.
    I found in SMOD the following user-exits for F-43 (in package FBAS), but I don't know how to use them:
    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)
    Can you help me to attach an user-exit to a validation or an user exit directly in F-43 to do the specified validation?
    Or maybe this can be done with a BADI \ BTE?

    Thanks for the reply.
    I succeded creating the validation with an user-exit. I made the following steps:
    1) I created the validation in GGB0 (for document header), issuing a standard message (420 "Exchange rate not found") from message class (ZRSAU) - which is a copy of RSAU message class (in the beggining I put no pre-requisites, checks or rules, just the message).
    2) In OB28 I attached the validation (with call point document header) and I made it active (without batch input).
    3) I copied the RGGBR000 program (which is standard program with an example of validation) into ZRGGBR00 (it should be maximum 8 characters).
    Then I changed the ZRGGBR00 program (form U100) comparing the translation date (from BKPF) with the date from table TCURR (and exchange rate type M, and documents currency other than local currency).
    If the program doesn't find any exchange rate in TCURR in that date, it issues the error message (assigned in GGB0).
    4) In GGB0, I put the U100 user exit as a check and rule
    5)  In GCX2, I attached the ZRGGBR00 program to the GBLR application area (which is for user exits for validations / rules).
    Now it's working fine!

  • FBCJ BADI/User Exit or Validation Rule Implementation

    Inspite of my maintaining validation as under, i am not able to achieve what i desire, i.e., System is still posting Cash transactions thru FBCJ t code for amount exceeding INR 50,000
    1. Created a validation name
    2. Assigned it to Application Area - FI
    3. Callup Point - 2 Line item
    4. In validation step 0001, created pre-requisite as
    Transaction code = 'FBCJ' AND Account Type = 'D' AND
    Posting key = '15'
    5. Under check, Amount <= '50000.00'
    6. Entered E in message type with corresponding message class ZKM_MSG_CLASS for message number 018
    7. Assigned the above validation in OB28 t code for activation level 1 (i.e., Active)
    System display a message; but also post it as well, despite of 'E' error message type.
    How to tackle with the above problem.
    Is there any other badi/user exit for FBCJ. I have only find CJ_DOCUMENT, but it's not working for me.
    Thanks and Regards,
    Sohail

    Hi
    Below are some of BADIs available for WAK1. Please check.
    Exit 
    WCOUP001  User exit for coupon processing in POS inbound
    BADIs
    RDM_BAPI_PROMO_CREATE - Enhancement Spot (RDM_OPT_PROMO_IN)
    RDM_PROMO_POST - Enhancement Spot
    RDM_PROMOTION_WAK1 - Enhancement Spot
    WAKT_BADI_001  -
    ~~~Ganesh Kumar K.

  • User exit in f-48

    Hi all,
    In f-48 I need to make an advance payment with reference of Purchase order  and its payment terms.
    Say suppose payment term of Purchase order is 25% then in the advance payment(f-48) you enter should not be more than 25% of the total amount of the puchase order.
    Ex . PO.NO- 12345678
           Amount - 1000
           Payment term - 25% of the payment
    Then advance payment should be 250 rupees.
    If the user enters more than 250 as advance payment taking reference of PO then the system should pop up an error message.
    Is there any user exit to restrict the User entering more than 25% in f-48.
    Thx

    hi,
    for f-48 you could use FI-validation with tcode OB28
    use an exit (UK...) for your check in Program ZGGBR000
    A.

  • Profit Center Master Data - Validation - User Exit

    Hi,
    I need to add few validation to the profit center master data. If there is any user exit that I can use or is there any validation like OB28 (we have for financial accounting document) that can be used.
    Please help me out.
    Regards,
    Binay Agarwal

    We are on version 4.6C. Requirement is that while creating profit center, two fields, Budget Holder and CC Board Member field should be updated via some valid user id that exist in SAP.
    This user id would be used in work flow. This fields are free field and would accept anydata. But subsequent processes would be hindered. Same thing has been implemented for Cost center and we were able to get hold of user exit but I am struggling to find the same for profit center.
    As far as I am aware there might not be any user exit for KE51 tcode. Now only point is is there any other way (like validation) which can be setup before the data us saved so that we have control over the data being saved in these two fields.
    Regards,
    Binay Agarwal

  • User Exit/BTE for F-26  for sequencing clearing open items

    Hi All,
    Is there a BTE/User exit to identify the items selected for clearing in F-26? ( On line item double click)
    Based on the open items displayed we need to enforce a check that they are selected in a proper sequence.
    Thanks in advance,
    Puneet

    Thanks for the reply.
    I succeded creating the validation with an user-exit. I made the following steps:
    1) I created the validation in GGB0 (for document header), issuing a standard message (420 "Exchange rate not found") from message class (ZRSAU) - which is a copy of RSAU message class (in the beggining I put no pre-requisites, checks or rules, just the message).
    2) In OB28 I attached the validation (with call point document header) and I made it active (without batch input).
    3) I copied the RGGBR000 program (which is standard program with an example of validation) into ZRGGBR00 (it should be maximum 8 characters).
    Then I changed the ZRGGBR00 program (form U100) comparing the translation date (from BKPF) with the date from table TCURR (and exchange rate type M, and documents currency other than local currency).
    If the program doesn't find any exchange rate in TCURR in that date, it issues the error message (assigned in GGB0).
    4) In GGB0, I put the U100 user exit as a check and rule
    5)  In GCX2, I attached the ZRGGBR00 program to the GBLR application area (which is for user exits for validations / rules).
    Now it's working fine!

  • User exits to avoid posting of invoices

    Hi,
    in our company (mm/fi) incoming invoices are parked using a dummy account. Disallow the booking to the dummy account the account master data isn't a valid option.
    Therefore I need to find out which user exits are useful to prevent posting the invoices. Please give me an advice with the concrete user-exit, BTE. I found a lot of documents where a list of user exists was provided. I have seen them already but don't know which one is the right one and how to implement it.
    EXIT_SAPLMRMC_002 looked good for the mm-invoices but I think that this is false.
    Regards, Vanessa

    Hi Max,
    thanks for your reply. I thought the same but I am facing problems with the validation. Maybe I am doing something wrong.
    I am using the OB28 and maintain the validation.
    ZFIV001 / FI / 2
    The requrirement is: BSEG_HKONT = '123456'. The check is the user exit U100 where I am using a dirty assignment to check if the posting button was used:
    FIELD-SYMBOLS <act>.
      assign ('(SAPMF05A)OK-CODE') TO <act>.
      if <act> EQ 'BU'.
        b_result  = b_false.
      ELSE.
        b_result  = b_true.
      ENDIF.
    But for MM-invoices it seems as if the user exit is never used.
    Regards, Vanessa

  • User Exit for F-92 transaction!

    Hi everyone,
    I hope you all fine!
    I hope you guys could help me with this.  This is about user exit, I need one for the transaction F-92, when the user wants to sale a fixed asset I need to catch the fixed asset number to validate it, but I don't know if I'm doing something wrong with this user exits that I found here in the forum none of them stops when a type a break-point sentence.
    SAPLF051 Workflow for FI (pre-capture, release for payment)
    RFKORIEX Automatic correspondence
    RFEPOS00 Line item display: Checking of selection conditions
    RFAVIS01 Customer Exit for Changing Payment Advice Segment Text
    FEDI0001 Function Exits for EDI in FI
    FARC0002 Additional Checks for Archiving MM Vendor Master Data
    F180A001 Balance Sheet Adjustment
    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
    Does any body know if there's any more user exit that are not listed in here for this transaction? or in the user exit listed above there's one that could stop at the break-point. but I'm not doing it correctly!
    I hope you guys could help me with this, I'll really appreciate it.
    Thanks for your time.
    Regards,
    Guillermo E.

    Hi Vinod,
    Thanks for your reply, I also tried as you told me to use the transaction OB28, but I'm having some problems to understand how to use it.  I found this documentation to create a user exit, here is the link:
    http://www.richard-harper.me.uk/Kb/showtext.aspx?id=0007c
    I followed the steps that it says, but the functional consultant can't see the new user exit that I'm trying to use.
    I hope somebody could help me to understand how to set up a user exit with the transaction GCX2, and how to set parameters to make to make a query to a custom table and return a value to trigger the validation.
    Or if I'm supposed to use another way to do it.
    Thanks for your time!
    Regards,
    Guillermo

  • Exit in ob28

    please tell me how to change the exit in ob28 into an zprogram and attach the same to that exit.

    Hi,
    In the tranx, identify the package and check for the user exit which you want by calling the tranx: smod.
    Here, you need to click on f4 and provide the package name. List of userexit and their functionality will occur.
    So, try to identify your requirement and click on that exit. click on components. Identify the type of exit you want.
    IF it is a function exit, double click on that then an include will be shown. Double click on that and code your requirement for testing.
    Here, you can also create a project and assign the exit.
    hope this solves your problem.
    rohith

  • User Exit for FI Postings

    Hi,
    Is there any user exit or BADI which gets triggered for any kind of FI Posting.
    Ravi G

    Hi,
    I need to put some custom code so cannot be done using OB28 and OBBH. Any other choice of using user exit and BADI's.
    BTE is a choice, I will try it.
    Ravi G

  • FI Validation at Call up point 3 with User Exit ZRGGBR000

    Hi SAP Guru's,
    We have a requirement where we want to restrict Manual bill booking (through FB60) only for specific GL Codes.
    Due to limitation in OB28 validation (without exit), we have decided to use User Exit (ZRGGBR000) where we will be doing sum of all the Line items which are on restrict GL code (we maintained the same in Account group by KDH1 and getting stored in table SETLEAF).
    We are using the exit at call up point 3 i.e. at Document completion level.
    While writing desired code we are getting only Last line item which is getting stored in BSEG table, please us know the coding part of the same i.e. how we have to write a code so that exit can collect inputs of all line items for the document.
    Thanks in Advance.
    Regards,
    Uday Suryawanshi
    +91 9890223683

    Hi,
    Well, I'm not a developer, but it should look somethink like this:
    LOOP AT bool_data-bseg INTO bseg
                     WHERE hkont  IN use the function to check the account set .
        b_sum = b_sum + bseg-wrbtr.
        EXIT.
      ENDLOOP.
    if b_sum > amount then
    b_result=false.
    end if.
    Something like this, is not it? (do not catch me on syntax)
    Regards,
    Eli

  • User exits for tcode FBV0

    Hi,
    My requirement is that the user who has parked the document should not be able to post the parked document through tcode FBV0.
    Is there any user exit where in I can validate the current system user and the user who has parked the document?
    I have tried the user-exit SAPLF040,but this does not suffice my requirement.
    Also is it possible to define our own exits in tcode OB28?
    Regards,
    Rajeev

    Info on user exits can be found here http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    Transaction Code - FBV0                     Post Parked Document
    |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
    These are the user exits possible for FBV0
    <b>we can find user exit for any transaction, copy and run the following code in SE38</b>
    report z_find_userexit no standard page heading.
    *&  Enter the transaction code that you want to search through in order
    *&  to find which Standard SAP User Exits exists.
    *& Tables
    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
    *& Variables
    data : jtab like tadir occurs 0 with header line.
    data : field1(30).
    data : v_devclass like tadir-devclass.
    *& Selection Screen Parameters
    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 main program
    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.
    * Find SAP Modifactions
        select * from tadir
          into table jtab
          where pgmid    = 'R3TR'
            and object   = 'SMOD'
            and devclass = v_devclass.
        select single * from tstct
          where sprsl eq sy-langu
            and tcode eq p_tcode.
        format color col_positive intensified off.
        write:/(19) 'Transaction Code - ',
        20(20) p_tcode,
        45(50) tstct-ttext.
        skip.
        if not jtab[] 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 jtab.
            select single * from modsapt
            where sprsl = sy-langu and
            name = jtab-obj_name.
            format color col_normal intensified off.
            write:/1 sy-vline,
            2 jtab-obj_name,
            21 sy-vline ,
            22 modsapt-modtext,
            95 sy-vline.
          endloop.
          write:/(95) sy-uline.
          describe table jtab.
          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.
    * Take the user to SMOD for the Exit that was selected.
    at line-selection.
      get cursor field field1.
      check field1(4) eq 'JTAB'.
      set parameter id 'MON' field sy-lisel+1(10).
      call transaction 'SMOD' and skip first screen.

  • User exit for Internal Order SaveReplica or ALE/IDOC

    Hi,
    We're currently copying back internal orders from our PRD environment into QAS using the class method InternalOrder SaveReplica via the distribution model in BD64.
    We've extended table AUFK to include some custom fields and are populating it nicely via the user exit provided.  However, we want to include these values when we replicate the data back in our QAS environment.
    The BAPI for method CREATE contains the "EXTENSIONIN" table so I think I know what to do there, but we are using SAVEREPLICA which doesn't offer any extra fields.
    What is the best way to copy this data back into QAS?
    Would it make sense to put a user exit RFC call in the QAS system to populate the values after reading them from the PRD system at the time of saving?
    I can't find any user exits.  We are doing this based off of change pointers. 
    Would you recommend using basic ALE, doing an extension to idoc type internalorders01 or something?
    Thanks for any suggestions.

    Hi,
    usage of specific combinations of internal orders + cost elements:
    Create FI-validation rule (T-code OB28 or GGB1) using BSEG-HKONT, BSEG-AUFNR for call-up point 2. Assigne this rule to the comp. code(s) needed.
    Best regards, Christian

  • User exit in order related IC billing

    Hello,
    we implemented note 63549 and all related notes to make order related IC billing run through output RDIV and program RVIVAUFT.
    We have a problem to find a clever way to realize the user exit KOMKBV3_FILL, which should perform a check on cross company transaction and fill consequently field CROSS_COMP, to be used in the output requirement 018. At the moment when the system runs this userexit the customer invoice has not been posted yet and only header fields are available, so it is not possible to go back through doc flow and check for instance plant company code vs sales rog company code. Any suggestion?
    Thanks

    Hi,
    Another way is to make a validation (OB28) and do your checks there.
    Regards,
    Eli

  • Profit Center Master Data - User Exit

    Hi,
    I need to add few validation to the profit center master data. If there is any user exit that I can use or is there any validation like OB28 (we have for financial accounting document) that can be used.
    Please help me out.
    Regards,
    Binay Agarwal

    Hello Binay,
    in comparison to the cost center master data, there is no user exit for profit center master data.
    Cheers,
    Daniela

Maybe you are looking for

  • ITunes 8 Will Not Play Specific Songs

    Alright so, this has happened to me a few times, but it just happened again and is beginning to anger me. Yesterday I imported a CD, as .MP3 into my iTunes Library. I start playing it, and everything is going fine. This morning I open up iTunes and n

  • Star with BOBJ

    Hi guys, my company just bought BOBJ license. Our bosses still don't know for what exactly it'll be used, nor when it'll be used. I'd like to start looking through this stuff since in our company nobody has experience with BOBJ and it's obvious that

  • Itunes 12 will not open - error Message 2

    I recently purchased an ipod nano for my daughter.  When trying to sync the nano with ITunes.  ITunes was shutting down as soon as I would plug the Nano into my laptop.  I removed ITunes and reinstalled iTunes.  Now, ITunes will not even open and I k

  • Classpath is not working for executable jar file

    I have created executable jar file using following command where manifest file contains Main-Class and Class-Path entries. jar cvfm app.jar META-INF/* lib/* *.class So here app.jar contains my external jar's in lib directory but when I move app.jar t

  • Tools greyed out, can only access T- HELP

    I am a new user. Have created a document, but when i reopened it today all the tools were greyed out and I can only access the Text tool. What do I do?