Own Validation & Substitution - Urgent

Hi,
  Anybody could tell me how do Create my Own Exits for Validation & Substitution.
And I promise to return and reward the answers.
Thanks in advance..
Raja T.

Hi Raja,
I understood from your question that you need to create your own Exit routines for Rules/Substitution for Validation & Substitution.
I have created my own Exit routines for Financial Accounting.
The standard programs are available for Validation and Substitution for Financial Accounting.
     1. RGGBR000 ( Validation )
     2. RGGBS000 ( Substitution )
You need to copy this to Z - Program ( ZGGBR000 ) and add your own exits. You can understand the program logic by seeing the existing sample user exits in this program.
After that, configure your Z program in SPRO
SPRO --> Financial Accounting --> Special Purpose Ledger --> Basic Settings --> User Exits --> Maintain Client-Specific User Exits
GBLR - Validations
GBLS - Substitution
Now you can able to see your exits and use it in OB28/OBBH transaction codes.
Check this link for more information
http://help.sap.com/saphelp_pserv463/helpdata/EN/5b/d231a843c611d182b30000e829fbfe/frameset.htm
Regards,
Govind.

Similar Messages

  • Customer Master Data - Validation / Substitution Rule

    Is there a way to perform a validation / substitution rule in the customer master data?
    Eg: In customer master, payment history checkbox is a required field so the user will always have to tick the checkbox when creating a customer master.
    Question: how to make this payment history checkbox defaulted to tick so that user don't have to manually tick it themselves when creating customer master.
    Is there a validation / substitution that can be performed in customer master because in accounting document, we will be able to perform the validation/substitution.

    Hi
    You could potentially use a BADI to substitute the data.  IMG > Financial Accounting > Accounts Receivable and Accounts Payable > Customer Accounts > Master Data > Preparations for Creating Customer Master Data > Adoption of Customer's Own Master Data Fields > Business Add-In: Customer Subscreens
    You'd need to get an ABAPer to code the change in the relevant Method.
    Kylie

  • Problem With Removal of Validation/Substitution

    Hi all,
    We are currently adding a validation for Vendor Invoice Creation (FB60), however we are experiencing a runtime error.
    When we investigated the cause of the runtime error, it seems that there is a previous validation/substitution that was deleted using transaction OBBH, but the corresponding ABAP code was not removed.  Now, since the program and include where this code is located is standard, how can we remove that particular code please?
    We tried re-generating the substitution/validation code using program RGUGBR00 and RGUGBR01, but it seems it is not working.
    Thanks again in advance.

    Hi,
    Even I have the same problem.
    Even after deleting the substitution code is still exits .
    system generated code in Include GBTAKAMB have an syntax error which is giving short dumps.
    Any help is appreciated.
    Anyone used any SAP NOTE on this.
    TIA
    Rhea.
    Edited by: rhea on Jul 25, 2008 12:11 PM

  • How to input my own Validity Start and End Dates in ME21N

    Hi All,
    I have to change the Validity Start and Validity End date in Addiitional Data Tab of ME21 transaction( PO Create ) using default Customer Values.How Can i accomplish it?
    I have used the BAdI ME_PROCESS_PO_CUST and implemented it, I have coded in the method PROCESS_HEADER.First I retrieved the data using get_data( ) method, changed the values with Customer Values and called the method set_data( ).
    However my validity start and End Dates and not changing.
    Even in ME21N if I create the PO with my own Validity Start and End dates, and go to ME23N to display the created PO, still in the additional data tab, the start and End dates are current date and Next date respectively.why its happening?
    Thanks in advance

    Hi,
    Can you please let us know in which business scenario this is required.
    SAP has provided separate functionality of Outline Agreement for considering validity period.
    If you let us know the business scenarion some solution/workaround can be suggested.
    Regards

  • Validation & Substitutions

    Hello Guru,
    Any body having documentation and configuration step for Validation& substitution rule
    Thanks & Advance
    Laxmi

    HI Lakshmi,
    Validations and substitutions are used to check the conditions while posting a document in sap system.
    The step of Validation is.
    1) Prerequisites
    2) Step
    3) Message
    Setting up the FI Validations:
    http://www.sap-basis-abap.com/sapfi004.htm
    https://websmp104.sap-ag.de/~form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=842318
    https://websmp104.sap-ag.de/~form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=42615
    Please assign points if it useful.
    Regards
    Ravinagh Boni

  • Validations & Substitutions

    Hi,
    Can some one explain the Validations & Substitutions in a easy way and let me know the steps to configure.
    Appreciate your valuable inputs. Thanks in Advance!!
    SusmY

    HI,
    Validations and substitutions are used to check the conditions while posting a document in sap system.
    The step of Validation is.
    1) Prerequisites
    2) Step
    3) Message
    Setting up the FI Validations:
    http://www.sap-basis-abap.com/sapfi004.htm
    https://websmp104.sap-ag.de/~form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=842318
    https://websmp104.sap-ag.de/~form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=42615
    Please first get registration on
    http://www.sapsuperusers.com
    Then Access this link
    http://sapinformation.com/Documents/SAPTrainingCourses/AC202-AccountingCustomizingII-SpecialGLTransactionsDocParkingArchivingInstructor.pdf
    In this training manuals, you will get the difference betwwen validation & substitution.
    Please assign points if it useful.
    Regards
    Ravinagh Boni

  • Standard SAP Validations & Substitutions

    Hi All,
    I need the documentation of SAP Standard Validations & Substitutions. Where do i get it?
    Please let me know.
    Regards,
    Gangadhar

    Hi,
    You want to create a validation or substitution that is called at the callup point Complete document.
    The usage can have different reasons.
    Cause and prerequisites
    1. You cannot choose all fields.
    2. Your check of the document is too complex and cannot be carried out with the formula editor.
                  You need ABAP in order to check the document or enhance the document for a substitution.
    3. You want to create a validation or substitution which should be called line by line, however, at the callup point of the call per document line not all information is available.
                  At callup point 3 (FI) the complete document is available. A line by line validation cannot be carried easily.
    Solution
    1. For callup point Complete document you can only use numeric fields, which you mainly use to carry out mathematical calculations.
                  For this for example functions Total, Maximum, Minimum, Averageare available.
    2. Create a user exit. For this refer to Note 48121.
    3. Define the validation / substitution, that should work as follows (Example FI callup point 3):
                  In the document, check whether at least one line of this prerequisite is fulfilled:
                  1. Create rule that contains prerequisite and check (on line level), for example
                     BKPF BUKRS = '1000' AND BSEG-GSBER <> ' '
                  2. Create validation/substitution:
                     Prerequisite: SUM (BSEG-BUZEI) WHERE rule > '0'
                     Check:       FALSE
                  This way you make sure that in company code 1000 for each line a business area must be entered.
    For substitutions refer to Notes 42615 and 386896.
    Other Imporatant Notes
    386896 - Substitution for call-up point 3 ('Complete document')
    48121 - User Exits in Validations/Substitutions
    42615 - Substitution in FI
    Hope this should help you.
    Regards
    Nambi

  • FI Validations & Substitutions

    Hi Everybody,
       Wanted to learn FI validations & substitutions. Can anybody help me to find the resource somewhere???
       Thanx.
    Regards,
    Deva Jyothi Singh.

    Hi Deva,
    Please check the SAP help site for more information.
    http://help.sap.com/saphelp_46c/helpdata/en/5b/d2314d43c611d182b30000e829fbfe/frameset.htm
    Thanks
    Vinod

  • Validations & Substitutions in PS

    Hi All,
    If any body have some documents on how to maintain and Substitutions in PS,Please send me on [email protected]
    Thanks
    Muzamil

    Dear Muzamil,
    you can download the complete document for creating validations & substitutions from SAP Help portal. But it is not available in PS. you have to go to FI/CO and get it. Still the logic is same. I too did all my validations based on the FI/CO help doc.
    Thanks !

  • Validation and Substitutions - Urgent Help needed

    Hello everyone,
    I need your help about this. This is the first time i am going to create a validation for document no. line items.
    The scenario is this:
    1. I need to check if the FI document that is to be posted contains line items where BSEG-LOKKT falls within the range of “0099990000-0099999999”. For each matching line item, I need to check if the credit line items balances with the debit line items. If TRUE then the validation will EXIT succesfully.
    2. If an FI document contains line items where BSEG-LOKKT falls within the range of “0099990000-0099999999”, but the sum of the debit line items and the credit line items is not equal to zero, validation will prevent thre user from posting the document. Error message will be raised.
    3. If FI document document does not contain line items with BSEG-LOKKT ranging from “0099990000-0099999999”, validation will exit successfully because there are no appropriate alternative accts to be verified.
    This validation will only apply to one company code.
    Please provide me with the step-by-step creation of the validation.
    Points will be rewarded for helpful answers.
    Thanks in advance.
    Bay

    look tcode ob28, validation exit and <a href="http://help.sap.com/saphelp_47x200/helpdata/en/5b/d231e143c611d182b30000e829fbfe/frameset.htm">here</a>
    A.

  • Validation / Substitution Configuration

    Any one, kindly provide the Validation and Substitution Configuration detail(Step - by- Step)

    hi
    http://help.sap.com/saphelp_47x200/helpdata/en/08/5142fc43b511d182b30000e829fbfe/frameset.htm
    For validations check the tcodes OB28 at G/L level and GGB0 at S/L level
    For substitutions check Tcode GGB1.
    http://fuller.mit.edu/SAPDocs/configuration/validation_rules_user_exit.htm
    nagesh

  • FIDCC1 Validations / Substitutions and flat files?

    I am investigating the potential for two different types of functionality from using the FIDCC1 IDOC for transferring financial postings between two separate SAP FICO systems. My understanding at this point in time is that this IDOC won't perform any of custom or standard substitutions or validations of the receiving system. Is this correct? can anyone confirm? Also, I understand that some IDOC will generate a flat file on the receiving system in addition to the posting of data there. Will FIDCC1 do this as well?
    My apologies if this information is readily available elsewhere. I need to obtain these answer quickly and find that I can usually get rapid answers from the SAP Development Community.
    Thanks,
    David

    Ok. That one is nice, especially in terms of defining header and trailer records. I also found this one http://sourceforge.net/projects/flatworm/ which allows for multi-line flat-files, which is also nice.
    The problem is both only deal with parsing. Granted, writing a serializer even via reflection would not be all that tough. But a few Dukes for you!
    - Saish

  • Validation Issue - urgent

    Hi experts,
    I am facing a peculiar issue with Validation Check, in Process Control.
    I have done the following:
    1. set the Validation Top account, in my AppSettings
    2. Enable SupportsProcessManagement - in appropriate scenario
    3. Manage Submission Phases is set to * - in Phase1 column - My Validation Account's submission Group is set to 1.
    4. I have 4 independent Validation hierarchies, each one, having a submission group as 1, and are set in ValidationAccount, ValidationAccount2, ValidationAccount3, ValidationAccount4 respectively.
    When I plot the Validation Account, in a data grid, I can see values, coming in the grid.
    However, when I start Process Management, the Pass / Fail, is showing as Pass, even if there is value in the Validation Accounts
    When I click on the Validation Pass / Fail icon, the Validation Report inside, shows blank - not even a Zero value - throughout the grid. As a result, the entity is able to promote to the next review level, even if Validation is not cleared.
    Is there any setting, which I am missing out on, which is not showing Validation errors, whereas I can see Validation values in the Data Grid?
    thanks
    Never mind.. I found out the issue.. It was related to Rules and Metadata setting.
    Edited by: Indraneel Mazumder on Aug 2, 2011 10:50 PM

    I'm also facing the same issue,may i know what changes you made in metadata.quick reply is appreciated.

  • LOV in a Table - "Not a valid Value" - Urgent

    Hi All,
    I have an LOV inside a Table region. The table has the Add another row button. considering the table has currently 3 rows created and the user enters a dummy value not present in the LOV in the first row and tabs out. The LOV automatically pops up without any values. The issue is when the user closes the pop-up window or clicks on its cancel button. The LOV doesn't validate the data present in the text box. If the Submit button is clicked or the save button is clicked , The framework automatically validates the data present in the text box and throws an error "Not a valid value" .
    Now im not sure why but the dummy data entered in the first text box is copied to the second and third text box , and the error is displayed for all the three rows. If there is valid data present in the remaining rows it just over-writes the data with the dummy value.
    I have written SOP's in the controller's Process request as well as the process form request but none of them seem to display anything.
    So the framework is basically validating this before the controller is called.
    Im working on a 11.5.10 instance.
    Need help to know if anyone has come across such a situation before.
    Thanks ,
    Dean

    Dean,
    Seems to be a looping issue. Also you need to get the exact error row.
    Thanks
    --Anil                                                                                                                                                                                                   

  • HOW TO SET MY OWN PF-STATUS-urgent

    hi all,
    anybody can tell me where i made  mistake . after writing this code when i am running this report it is not showing our own pf-staus.
    report zmahi4.
    selection-screen: begin of block b1.
    parameters : p_appln type zuser_secobjects-appln.
    parameters : p_user type zuser_secobjects-appln_user.
    selection-screen end of block b1.
    data : exclude like rsexfcode occurs 0 with header line.
    at selection-screen output.
      call function 'RS_SET_SELSCREEN_STATUS'
           exporting
                p_status  = 'SELK'
           tables
                p_exclude = exclude
           exceptions
                others    = 1.
    thanks,
    maheedhar.t

    HIMaheedhar,
    Check
    http://help.sap.com/saphelp_nw04/helpdata/en/e7/0eb237e29bc368e10000009b38f8cf/content.htm
    Regards,
    Santosh

Maybe you are looking for

  • Transfer data from SAP R/3 to Microsoft Navision

    Hi gurus, This is my first post here. I'm wondering what the easiest way is to transfer mainly master data (customers/materials) but also historical order data (sales- and purchase orders) out of SAP. I need to get the result in .txt files that then

  • Office 2001 for Mac

    New user, so many questions..... But to start, Bought a used ibook, after trying open office and not liking it much,m thought I would try to install a copy of office 2001 for mac that I got from a friend. Tried to install and it says I need to run OS

  • Scope of List in ME3M, Vendor List per Material Group

    Dear Experts, In ME3M, ME3L or ME3C, Can we define one of the criterias in F4 list of the scope of list as PR (Non-Service) only during searching Purchasing Documents? Is it possible to adapt material group and vendor list  with corresponding validit

  • Loading an Applet

    Hi I am making a 2D game using a JApplet and when I run the Applet, sometimes only half of the stuff loads (ie sometimes only the character shows, sometimes just the background, sometimes neither). I was noticing some substantial lag too, and I have

  • Are there any way to get my iphone back ?

    My iphone 4S ios 7 was stolen today and it's offline in find my iphone, are there any chance i can get it back