SpotFlow: Tracking Method Calls and States at Runtime
Validation and substitution -sap fi advance functions 2019
1. Validation and substitution
---- presentedbyGuangfuLi
Introduce:
Validationgives additionalchecks for accountingdocuments to
minimize the errors in data entry. You can set them up at the
document header and line-item levels. You define validation
rules using Boolean logic.
Substitutionhelps to replace the field contents based on pre-
defined conditions.
First of all, let me talk about Booleanlogic a little bit and help
us to understandSAP how to work.
2. Now let’s do some configuring for validation.
Menu path: SPRO financialaccountingfinancial
accounting globalsetting(new) tools validation/
substitutionvalidation inaccountingdocuments
Tcode: OB28
First, I make a validation forbusiness transactionFB50, FB60,
FB70 in the document header level. In my company code
MTRG, just myself can use them.
4. You can check this validation.
Let’s do one more in line item level. Because my company code
has three business area, and I want to see business area finance
statement.
Using OBY6, you can see it.
Tcode: OB28, create a new one.
5.
6. After we create the validation,we have to go back and activate
it.
Let’s check.
FB60, Post vendorinvoice.
First, we don’t put anything in the business area, system gives a
warning.
Let me put one business area that does not belong these three
business areas.
7. Then let me put one of three business areas in it.
We don’t get the warning message again.
8. Now, let me move on to the substitution.
Tcode: OBBH.
First, I want to make a substitution on the document header
level.
When I post the customer invoice, if the text is blank,system
will substitute as guang’s customer.
10. Let me do another substitution. Because We make the
document splitting rule and the profit center is the mandatory.
I make the dummy center as the substitution.
Tcode: OBBH, create a new one in line item level.