The document describes how to create a validation rule in SAP to check that a specific business area is used when posting to a particular company code. It provides steps to 1) maintain a validation using IMG tools to check the business area is "HYD" when the company code is "TATA" and 2) define the validation at the document line item level so it is triggered during posting. Testing a post shows an error is returned if an incorrect business area is entered, demonstrating the validation is working as intended.
1 of 17
Downloaded 30 times
More Related Content
Validations sap Anilkumar chowdary
1. VALIDATION
CHECKING AT THE TIME OF ENTRY
CASE:AT THE TIME OF POSTING TO COMPANYCODE (TATA) UPDATE HYD(BUSINESS AREA)
ONLY NO OTHER BUSINESS AREA
1.MAINTAIN VALIDATION:
SPRO> IMG>FINANCIAL ACCOUNTING (NEW) > SPECIAL PURPOSE LEDGER> TOOLS>
MAINTAIN VALIDATION/SUBSTITUTION RULES> MAINTAIN VALIDATION (GGB0)
SELECT FINANCIAL ACCOUNTING FOLDER
KEEP THE CURSOR ON LINE ITEM
SELECT CREAT VALIDATION BUTTON
3. KEEP THE CURSOR ON TEST1
SELECT STEP BUTTON
VALIDATION STEP: BUSINESS AREA CHECKING
SAVE
KEEP THE CURSOR ON PREREQUISITE
SELECT DISPLAY TECHNICAL NAMES BUTTON
10. KEEP THE CURSOR ON MESSAGE NO AND SELECT INDIVIDUAL MAINT BUTTON
GIVE DESCRIPTION: COMPANY CODE TATA SHOULD USE BUSINESS AREA HYD
SELECT UTILITIES AND SELECT CHANGE REQUESTT
11. SELECT CREATE REQUEST AND SAVE IN YOUR REQUEST
SELECT YOUR REQUEST AND SAVE IN YOUR REQUEST
UNDER MESSAGE VARIABLES:
SELECT BKPF BUKRS
SELECT BSEG GSBER
SAVE
12. 2.DEFINE VALIDATIONS FOR POSTING:
SPRO> FINANCIAL ACCOUNTING(OLD)> FINANCIAL ACCOUNTING GLOBAL SETTINGS>
DOCUMENT> LINE ITEM> DEFINE VALIDATIONS FOR POSTING (OB28)
EXECUTE
SELECT NEW ENTRIES
COMPANY CODE: TAST
CALL POINT: 2 LINE ITEM
13. VALIDATION: TEST
ACTIVATION LEVEL: 1 (ACTIVE)
SAVE
NOW GO TO F-02 AND POST DOUMENT (CHECK THE VALIDATION CONDITION)
post
CASH A/C DR-1000
TO SHARE CAPITAL-1000
ENTER AMOUNT-1000
ENTER BUSINESS AREA-TAHY
15. NOW IT RETURNS A ERROR MESSAGE .AS IF WE HAVE TO ENTER BUSINESS AREA HYD BUT
WE ENTERD TAHY.SO VALIDATION CONDITION IS NOT MET.
NOW GO BACK AND CHANGE BUSINESS AREA AS HYD
ENTER