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
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 -
Hello Guru,
Any body having documentation and configuration step for Validation& substitution rule
Thanks & Advance
LaxmiHI 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 -
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. -
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 -
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,
GangadharHi,
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
MuzamilDear 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 / 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,
DavidOk. 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 -
Error: "substitution/validation could not determined" in LAE (FILA)
Hey, I am trying to simulate a process in the SAP Lease Account Engine (FILA) under transaction FILAEXAM. The system displays the following error message:
Classification: Validation/substiution could not be determined
Message no. FILAE604
Diagnosis
The system could not determine the check rule for validation/substitution for Lease Accounting.
Procedure
Check Customizing for the assignment of check sequences and check steps.
I already tried everything in customizing (IMG->Financial Accounting->Lease Accounting-> Specifications for Controlling Processing->Financing Classification) to fix this error, but the error always remains. Can anyone help?I don't know where to customize the check sequences. I already checked customizing under "Value Determination Using Substitution", "Financing classification", and "Validation", but the error always remains.
Are there no Lease Accounting experts at all who can help me? -
wht is validations and substitutions? and difference between validations and substitutions
thanks in advance
premValidations are used to check the conditions while posting a document in sap system.
Validation allows you to define your own individual checks for specific fields when a business transaction is being processed.
Each validation can contain up to 999 steps that each consist of a
Prerequisite
Check
Message
Prerequisites and checks contain the same fields and have the same field processing options.
You can use a message that has already been defined or you can create a new message for the validation.
You can include up to four fields in a message. The '&' characters in the message are placeholders for the fields to be output.
path :In IMG under
Financial Accounting -> Special Purpose Ledger -> Tools -> Maintain Validation/Substitution/Rules -> Maintain Validation or
Transaction GGB0 for validation creation
T Code GGB1 for subtitution creation
Activation of validation and subtitution is GGB4
Substitutions are used to to substitute certain values GGB1
Prerequisite
Check
Message
for example to substitute a cost center or a GL account. -
Validation at line item level for F-32 to input Reason code
Hi Gurus,
I would like to write a validation / substitution for F-32 transaction code where in the Reason code field need to be mandatory field (With out input in to this field value the user should not come out of the transaction)
Please guide me how to write validation with out user exit
ThanksHi Suresh,
I guess the idea of MEENAKSH is good, perhaps you have an error in the Tcode, because in table BKPF the Tcode stored is FB1D and not F-32 :
So put the following in GGB0 and check again :
Prerequisite :
BKPF-TCODE = FB1D
Check :
BSEG-RSTGR <> ' '
Message :
Error : Reason code required
in the other hand, you can active a trace in GGB0 (Menu > Extras > Activate trace) to see what's the exactly the error
So it's not a question of screen.
Regards. -
Substitution of a profit center at FI document posting
Dear experts,
I have created a cost center in which master data no profit center has been indicated. This because I have set up a substitution that, with a user exit check a custom table, retrieves the correct profit center to be used in the posting and populate it in the "Profit Center" field.
The problem is that the system is then changing the content of the field profit center with the dummy profit center (since no link between profit center and cost center is indicate ad cost center master data), which is not correct.
Do you know how can I overcome or avoid this automatic substitution that the system is making?
If I include a profit center in the cost center master data the system is anyway changing the one included in the document by the substitution with the one included in the cost center master.
Thanks in advance for the help.
RegardsHi again,
actually OSS note 62417 and 102737 seem to indicate that the behaviour you observe is intended by SAP:
We must have done something to our system to change this behaviour and make substitution work. I will try to find out what this might be.
62417
Symptom
In accounting, posting is carried out to a dummy profit center, although the triggering billing document contains an explicit profit center.
The dummy profit center is set in a line item after a profit center has been explicitly entered first.
Additional key words
VF01, FB01, profit center, CO interface
Cause and prerequisites
In addition to the profit center, the line item contains further CO account assignment objects, for example, cost center, order or profitability segment. Among the account assignments entered in addition to the profit center there is an actual CO account assignment object, for example, an actual order. In this case, the system requires that you always post to the profit center of this order. If no profit center is assigned to the order, posting is done to the dummy profit center.
Under such circumstances, the system cannot post to the explicitly assigned profit center, since in the case of a later CO-internal allocation of the order to another order, the profit center assigned to the other order will always be credited. However, debit and credit must occur on the same profit center so that profit center accounting stays consistent.
Solution
The effect is authorized:
Under such circumstances, the system cannot post to the explicitly assigned profit center, since in the case of a later CO-internal allocation of the order to another order, the profit center assigned to the other order will always be credited. However, debit and credit must occur on the same profit center so that profit center accounting stays consistent.
OSS 102737:
Symptom
You want to reset the Profit Center in the document using a substitution (OKC9).Although the substitution is defined correctly, another profit center is written in the document afterwards.
Other terms
CO interface, profit center, G_VSR_SUBSTITUTION_CALL, KI339, KI 339
Reason and Prerequisites
In the line item, a posting is carried out to a controlling object which is assigned to a Profit Center.However, the substitution places another Profit Center into the line item.
Solution
The Profit Center of the line item and that of the controlling object posted to the line item must be identical.A substitution under these conditions is ineffective.
Header Data
Release Status: Released for Customer
Released on: 10.01.2002 16:10:40
Master Language: German
Priority: Recommendations/additional info
Category: Consulting
Primary Component: CO-OM-CEL-E Postings
Secondary Components: EC-PCA Profit Center Accounting
FI-SL-VSR Validation, Substitution and Rules
Affected Releases
Release-Independent -
Dear All,
Every monthend im getting same proble from number of users while doing proces order and MB1A.
That time i will go to GS02 and in that i give some GL's in the set, then the transaction can process by the user and i have to remove those gl's after the transaction. The same i have to do in the every month end.
The error while doing MB1A is :Enter Business place, section code 31000766 Check TDS Codes.
3100766 is Oder.
I found the same message which is there in FI validations ( OB28 ).
But in the validation ther is no order or gl in prerequisite and check.
Prerequisite : Company Code = 'NEL' AND Posting date < '01.04.2003' AND
Account type = 'K' AND
Vendor > '0000099999' AND Transaction code <> 'FBCJ'
Check : Business place <> ''
Message : Enter Business Place, Section Code & Check TDS Codes.
Please help me out in this issue.
Best Regards,
Venkat.Look if there is a validation with the same message
Sometimes when you transport a variant in still use some code from an old validation.
You can regenarate a validation/substitution with RGUGBR00.
That with the set of G/L accounts is not realy normal. In the most cases when a tranports went wrong you get dumps
Maybe you are looking for
-
Error while installing SOA suite on solaris server
Hi Experts, I am trying to install SOA on solaris box: SOA: 11.1.1.3.0, i am getting the below error while intalling: *./runInstaller -jreLoc /users/oim/jrockit/jre* Starting Oracle Universal Installer...+ Checking if CPU speed is above 300 MHz. A
-
No sound in vlc and skips menu
My vlc skips the menu and has no work in a img file. Sound works in mplayer but skips menu. Heres a log when i start it i use x86_x64 and gnome3. [jakob@Batman ~]$ vlc VLC media player 1.1.10 The Luggage (revision exported) Blocked: call to unsetenv(
-
No Sky Sports since infinity installed!
Hi, we have just had infiity installed! The engineer came two days ago, installed infitiy and new vision box and router, SS1 & 2 are no longer there!! We have made at least 6 calls to india now and no one can help us, we are on the verge of going to
-
Multiple Forms w/ One Submit Button
Hello, I'm trying to create something for a little league team. I have a MySQL database with 2 columns, i.e. Name/Age. I currently have 9 forms on one page, with one submit button. Name - (Text Field) Age - (Text Field) Name - (Text Field) Age - (Tex
-
HP dv-7 Fingerprint Scanner Problems
Recently, my fingerprint scanner stopped working to log me into browsers. It still works for the initial log-in, however, so I know it's functioning, it just won't recognize Google Chrome for some reason. I updated my fingerprint scanner and yet I'm