on 11-25-2010 12:00 PM
Hi Gurus,
We have a requirement for while run the transaction code ABAON put a validation for
1. Transaction type 206 = If Posting Year(ABAON screen field) Less than or equal to Capitalized Year(ANLA-AKTIV from the Asset entered); transaction will raise error message - "Asset Capitalized Year should be prior to posting year"
2. Transaction type 256 = If Posting Year(ABAON screen field) and Capitalized Year(ANLA-AKTIV from the Asset entered) is not equal to current date year; transaction will raise error message "Capitalized date and Posting date year should be in current year only".
I have added two validations through transaction OAZ1 and these working for one company code and not working for other.
Please help me out,
Thanks in advance...
Tirumula Rao Chinni
Hi Tirumala rao gaaru
Did you specify BUKRS (Company code) in your validation rule? See if you have specified only Both the BUKRS in your validation rule using OR i.e. if BUKRS = 'XXXX' OR BUKRS = 'YYYY'
Regards
Ajay M
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ajay,
I have mentioned in validation
Prerequisite
SYST-TCODE = 'ABAON' AND ANEP-BWASL = '206'
Check
U906
Message
Capitalized year should be less than Posting year for TType 206
Message number YA 006
And written in code
FORM U906 USING B_RESULT.
Check if capitalization year is prior of Posting year,
If not thow error message.
IF ANEK-BUDAT(4) LE ANTS-AKTIV(4).
B_RESULT = B_FALSE.
ELSE.
B_RESULT = B_TRUE.
ENDIF.
ENDFORM.
Please let me know, any solution.... My problem not yet solved
Regards
Tiru
User | Count |
---|---|
104 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.