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

Similar Messages

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

  • Validating clearing functions

    Hi,
    can we validate the clearing functions F-03, F-32, F-44 for certain document types? We want to make sure that DocType 'ZL','ZG','ZS','ZI' can't be cleared with regular document types like 'KR','SA' etc.
      what we can write in prerequisite and check or do we require to write any Exit in OB28?.
    Thanks
    Suresh

    hi,
    I'd solve this with an exit in OB28 as you mentioned.
    so create 2 Customizing tables:
    1 for allowed Z-doctypes and 2 for regular doctypes
    and check e.g., if  payment is in 1 and invoice is in 2
    Andreas

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

  • OB28 line item validations

    Hi Experts ,
    Please help me for the following scnerio
    My OB28 line item validation is as follows .
    Prerequiste
    BKPF-TCODE = 'FBVB' AND ( BSEG-KOART = 'S' ) AND (
    BSEG-BSCHL = '40' OR BSEG-BSCHL = '50' )
    check
    BSEG-SAKNR = '' "
    message
    Error! SAKNR is initialised. Please delete this line and re-create again.
    For the above scenario  I need validation as follows .
    <b>I am  implementing validation to ensure when user performed posting of parked document (tcode FBVB, FBV0), the field SAKNR is not being initialised with any value when the line items contained posting key(BSCHL) 40/50.
    ]As I am  unable to create a wrong document with the above scenario, I  need a program to create such an entry (this entry should not hardcode the information) so I could test if the validation rightfully trigger and stopped such wrong entry from being created.</b>
    may be I need to  write user-exit for the above scenario , how I can validate SAKNR field with value and with out value ,
    I debugged the program ZGGBR000 , and I inserted the field  SAKNR  with value , then the FI validation was triggered . but I want to implement the above bolded information.
    Please help me as early as possible.
    Thanks & Regards
    Mohan

    Hi Mohan,
    First of all, I'm not sure if you can park a FI doc without a GL a/c (SAKNR) in a productive system? and therefore what's the use of this validation??
    Anyways, you could change the values in the debugger (SAKNR = ' ') in program ZGGBR000 when you are trying to park a document. After changing values of the variables the validation should give you the correct error message.
    Other way is to write a BDC program with SAKNR = ' ' but before reaching the validation the standard program will issue an error message...so I dont think this would be the correct approach.
    Reward points if helpful.
    Regards.

  • 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

  • Exit Transaction F-28

    Hello Forum,
    Wanted to know if some of you has used some user-exit for the F-28 transaction, or if they have the extension in where they are exit for this transaction.  
    Thank you very much to all.
    Maria

    Hi,
    This transaction if a "variant" of FB01 t.code (SAPMF05A program), normally, i use "validations" (tr.OB28) for control data and "substitutions" (tr.OBBH) for change or preset fields values.
    <a href="http://help.sap.com/saphelp_46c/helpdata/en/54/72369adc56d11195100060b03c6b76/frameset.htm">See "Validations" in help.sap.com</a>
    <a href="http://help.sap.com/saphelp_46c/helpdata/en/54/72369adc56d11195100060b03c6b76/frameset.htm">See "Substitutions" in help.sap.com</a>
    Regards,
    Daniel.

  • 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

  • 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

  • OB28 validation: not possible to clear future documents

    Hi dudes,
    I'm looking for how to build an FI validation (if possible) on OB28.
    The purpose is to block users to clear a document of a future year.
    Ex.
    billing document y. 2009
    payment document y.2010
    the users create a clearing document with y.2009
    It's possible to block this action with a simple OB28 validation?
    I tried with a BKPF-BUDAT < BSEG-AUGDT but possibly I can't use two different tables on the same validation step.
    Thanks.
    Regards

    You can use a exit in your validation.
    1. Check that you have declared the form pool for application area "GBLR" validations in View V_T80D_SL. If not, then enter the name of the form pool (e.g. YRGGBR000) and copy the standard program RGGBR000 to the new program (e.g. YRGGBR000).
    2. Declare the exit (the exit name, by convention is U9<XX>, where <XX> is a serial number.) after data statements in "FORM get_exit_titles" as follows:
    form for Future Clearing
      exits-name  = 'U9<XX>'.                  "Description/ Purpose
      exits-param = c_exit_param_none.       
      exits-title = text-9<XX>.                     "Name of the exit
      APPEND exits.
    3. Put your Code/ Logic in a new form "U9XX"  as follows:
    FORM U9<XX>  USING b_result.
    <PUT YOUR OWN CODE HERE>
    *All fields of Tables BKPF, BSEG, COBL, GLU1 & ANLA are available here>
    *REMEMBER - Some of the field values might not have been populated>.
    ENDFORM.
    4. Maintain text symbol U9<XX>, activate the form pool/ text symbol and exit.
    5. Use OB28 to create a new step in a new or existing validation at suitable call up point.
    6. Enter any pre-requisite, if required.
    7. Select the "Check" node of your validation step. select "Exits" tab. You will find your exit U9<XX> here. Double click on it to insert in the "Check" code.
    8. Select the "Message" Node of your validation step and enter the message type, no and variables. Save & Exit.
    Regards
    K.K. Tripathi

  • 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

Maybe you are looking for

  • How to install Mac OS 10.1 on iBook G4 mid-2005

    Hi. I have just bought a vintage copy of Mac OS 10.1 for my iBook G4, not realizing that I can't strictly speaking install the OS on the machine. I read that some people have done it, but I am running 10.4.11, and I was wondering how I can dual boot

  • Email Bursting problem when there is not email - Urgent solution requried

    Hi, I am using the bursting API to send the invoices to multiple mail a/c for each invoice. If the email id not exist on the .out file(It has different invoices with different customers), If takes the previous email id from the different invoice, Whi

  • Migrate Oracle 10.2.0.3 to Oracle 11.2.0.3

    Source: Oracle 10.2.0.3, Solaris: 10 (SunOS usahsarmp090 5.10 Generic_144488-17 sun4u sparc SUNW,Netra-440) Target: Oracle 11.2.0.3, RHEL 5.6 (Tikanga) I am considering two approaches: 1) Datapump export to a NFS, Datapump import to Target db(same ve

  • Control file version 10.2.0.1.0 incompatible with ORACLE version 10.2.0.0.

    hi; I'm totally new to the oracle databases field...am trying to startup the database using the parameter file init.ora by using the command startup pfile='/u01/app/oracle/product/10.2.0/db_1/dbs/init.ora' But its giving me the following error: ORA-0

  • Report Painter/Report Writer Error

    Hi Gurus, When I try to create a library in report writer with a custom Special Ledger line item table ZZFCCA, I get the error "Table ZZFCCA is not installed in Report Writer. Message no. GR493 Diagnosis: The Report Writer can only report on tables i