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

Similar Messages

  • 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

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

  • Creating a new Search Help on a standard SAP table field?

    Good day, everyone!
    As part of a report I am writing, the customer would like to have Search Help added to the AUFEX field in table AUFK.  They would like this functionality so that when they are changing an order via t-code ko02, they can get a list of valid values to put in field AUFEX.  I would like to tie it to a zTable I've created; in my zTable, I have just 2 fields:  a key value (that will go into AUFEX) and a text description of the key value.  This zTable is used in my report.
    While I've created a Search Help on this table already for table maintenance, I've never added a custom Search Help to an existing standard SAP table field before.  I've done some Googling and other searching to see what I need to know, but I've only been able to find information on Collective Search Helps.  AUFEX doesn't yet have a Search Help field, so I don't think Collective Search Helps is my answer.
    Is this possible?  Can I add a custom Search Help to a standard SAP table field that doesn't have any Search Help linked to it yet?  Is there an existing thread or guide somewhere that can tell me how to do this?
    Thank you!

    Hi
    Yes u can: u can assign the search help to (A) data element livel or (B) field table livel.
    After creating your search help:
    A) Run SE11, insert your data element (AUFEX), press edit and insert the search help in "Search Help" area on DEFINATION tab;
    B) Run SE11, insert your table (AUFK), press edit, place the cursor on your field (AUFEX) and go to GoTo->Search help->for field
    But u should consider it'll mean to change a standard object for both cases: so u need to get the access key from your OSS.
    Max

  • Adding Custom fields to standard  SAP-EBP application

    Hi,
    A functionality requires some custom fields to be added to the standard SAP-SRM EBP ( Manage business partners) application.
    If I copy the whole BBP_VENDOR_CREATE program into a Z-program, and the BBPMAININT internet service to a Z-application, then would it be feasible??
    Which is the best way to add custom fields in a SAP standard EBP application--in the 'Manage business partners' section.
    Regards,
    Goutam

    Hi
    I don't think it's easily possible to add custom fields to the existing transaction - BBPMAININT.
    For adding customer fields you can refer the SAP OSS not - 672960, but I don't think it will be of much help here.
    <b>Since SAP has not upgraded this transaction - BBPMAININT for a quite long time, you need to do all the logic and validation from your end.</b>
    <u>Better to go for you own Z (custom program) and make your logic accordingly.</u>
    Regards
    - Atul

  • 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

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

  • What is SAP Validation

    Hi all,
         Could someone let me know what is SAP Validation?
    Thnks!

    Hi Megha,
    SAP Validation is a very big subject
    But at a broader level, SAP validates data on 3 levels
    1. Configuration data/ Master data
    2. Transaction data
    3. Business user
    <u><b>1.A. Configuration data level validation</b></u>
    When we do the configuration, there are certain steps and procedures should be followed. Certain configuration steps are always to be copied using the Standard provided by SAP. Because there are various tables and fields gets update when we do so. If we create on our own, the related tables fails to get update and there will be an inconsistency in the system. This leads to a major system failure.
    For example: Setting up the Plant.
    <b><u>1.B. Master data level validation:</u></b>
    When ever we create a master data, there are certain data needs to be maintained like Company code, Plant, Purchasing organization, Purchasing group etc.. Based on the nature of master data we create, the information may vary. But it is necessary to maintain those values to ensure that the data is consistent wide the Organization.
    It is also validated that, the data is in sink with what's defined in the configuration
    <u><b>2. Transaction data level validation</b></u>
    When ever we perform any transaction, based on the transaction the users  may use some master data as reference data to create the data. There could be some business requirement that some of the information's are mandatory. There could be some business requirement like the transaction should be allowed only for a specific plant or only when the desired condition met. Each of these conditions are validated before the system saves the data.
    <u><b>3. Business user</b></u>
    As per the business, there are various user roles are defined in SAP with various levels of authorization. The authorization specifies who is allowed to perform what?
    when ever the user try to perform any transaction, system validates the authenticity whether he/ she is authorized to perform the transaction or not. So this way there are lot of validations in SAP in each and every step.
    The validation ensures that the system works consistently, error free, authenticated  for optimum system efficiency
    With best regards,
    Raj

  • Populating our log message along with standard sap log in ck11n.

    Hi all,
    I have developed a user exit which is used in costing of material using ck11n.
    Here i have to show our custom log message along with the standard log shown by standard sap system after costing run is complete.
    I got one FM-- CM_F_MESSAGE  which is used by SAP. But i want the message along with SAP messages and not separately.
    Can u help me out for this. its very urgent.
    Thanks in advance.

    Hi
    I'm not sure because I don't know that trx, but I seem the function group of that function manages a log, so you can try.
    This is an extract of abap code of SAPLCKDI where that fm is used:
    CALL FUNCTION 'CM_F_MESSAGE'
       EXPORTING
         ARBGB = Y_CMF-CK
         MSGNR = '327'
         MSGTY = Y_CMF-W
         MSGV1 = SICHT
         MSGV2 = KLVAR.
    So I suppose you should call it by this way:
    CALL FUNCTION 'CM_F_MESSAGE'
       EXPORTING
         ARBGB = <your message class>
         MSGNR = <message number>
         MSGTY = <message type>
         MSGV1 = <text 1>
         MSGV2 = <text 2>
         MSGV3 = <text 3>
    I think MSGV* is optional parameter.
    Max

  • Is there any standard SAP table which stores the license number assigned to a delivery item

    Hi Experts,
    This is in relation to license number assigned to a delivery item under ‘Export License Log’. Our scenario is for delivery of type NLCC created for an inter-company stock transport order. (i.e.not a sales order case where the license may get copied from sales order to delivery through copy control)
    As we understand, for legal control – relevant scenarios, export license for each item shall be determined afresh every time the delivery is accessed. (Depending on legal regulation, grouping, destination country, export control class, delivery partners vis-à-vis license master customer assignments etc.)
    To print the license text on one of the delivery output types, we want to access the license number for each item. (determined under export license log)
    Our question is:  is there any standard SAP table which stores the license number assigned to a delivery item?
    We have checked some of the license tables (T606*, VAEX, EMXX etc.) but couldn’t get any specific table storing delivery-item-specific license data.
    Helpful answers Text Removed
    Regards,
    Jagan
    Message was edited by: G Lakshmipathi
    Dont add such text in your post

    Hi Lakshmipathi,
    The export control log can be accessed by going to delivery Extras-> Export license log
    We need a table that stores the determined license for each item in a delivery document ( as shown in the below screenshot)
    Regards,
    Jagan

  • Is there any Standard SAP Report?for displaying Billing block/Status-Order

    Hi,
    Am a ABAP Developer. I heard that there is SAP Query/ABAP Query/Standard SAP report for the below functionality/requirement. SO, pls. let me know if there is any SAP Query/ABAP Query/Standard SAP report?
    "This report is suppose to display Credit and Debit memo documents which are blocked and yet has a status of APRV; the other display is for Return Documents which are blocked and yet has a status RCVD."
    thanq

    Hi,
    Use t-code
    V23 - Blocked sales document for billing
    VA14L - Sales document blocked for delivery
    VFX3 - For blocked billing documents.
    Kapil
    Edited by: Kapildev Farakte on Jan 8, 2010 4:15 AM

  • Standard SAP program to generate email invoices ?

    Hello,
    Is there is any standard SAP SD program which can analyse the accounts recevables, and generate many invoices for many customers with a single run ? The program would then recognize the customer e-mail adress and send an e-mail with the invoice in attachment.
    I think that the SAP FSCM application can do that, but what about SD ?

    Hi,
    I am not sure whether this will really meets your requirement.
    But trying to suggest you with following way:
    could you just check the NACE->V3->MAIL option.
    Though this we can send the Invoice details through mail to respective Payee or Customer.
    And through VF31 we can send mail for multiple Invoices.
    Thank You,
    RB.

  • Calling a Standard SAP transaction VA03 from another web dynpro application

    Hi All,
    I have a requirement wherein I need to call the standard SAP transaction VA03 whenever a sales order is selected in some other we dynpro application so that the sales order gets displayed.
    No regarding usage of OBN for the above functionality I have certain queries:
    1. In order to call VA03 do I need to create a transactional iview for it or is there any direct method.Also how to pass this sales order number as parameter to the T.Code.
    2. Can we use standard business object BUS2032 for OBN or a new Business object is created.What exactly is the purpose of these standard business objects in portal and when should they be used.
    Thanks in advance
    Aman Gupta

    Hi Aman - Do you have a portal team in your project or you have to create the IVIEWS yourself?
    I do have a portal team and I dont know how they create the IVIEWs but for example, I will go to my portal team and I will ask them to create an IVIEW for TCODE VA03, they will created and they will tell me the input parameters they entered for the IVIEW so I can call OBN and display in webdynpro.
    SAP in SRM has webdynpro e.g. for BUS2121 and they have an IVIEW already implemented in the portal context pointing to the webdynpro of BUS2121 so we can used the IVIEW by calling OBN and passing the parameters; in my case the object_type will be 'shc' and the operation will be 'display' and the paremeters itab will be the GUID of my shopping cart, that way the OBN can understand which Shopping cart open and in which operation mode.
    I also did something like your requirement, I need it to display a specific case in Records Management but SAP has a standard IVIEW for records management 'RMREGEDIT' that didn't work for my requirement so I went to SE38 created a program that displayed the case based on GUID and I created a TCODE of my custom program. Portal team created a custom IVIEW of my custom TCODE and they told me the input parameters to call the TCODE in OBN and I pass in the itab parameter the GUID of the case using the FM that I post before.
    The action to call the OBN is in the event handler ON_CLICK of my ALV and the action is getting trigger when the user actually clicks a HYPERLINK in the ALV.
    Hope this helps you!
    Please feel free to ask me more details if you need.
    Jason PV

Maybe you are looking for