‎2010 Aug 24 9:16 AM
Hi All,
The current version of our SAP System is 4.6C.
We have to validate a field named ASSET VALUE DATE in some standard transactions like ABNA, ABNAN, ABZO, ABJON & CJ02.
The validation is like whenever an ASSET VALUE DATE greater than system date is entered, an error shoud be triggered.
There are no user exits for this field.
Is there any other way using which we can accomplish this.
Regards
Abhii
Moderator message: please use more descriptive subject lines from now on.
Edited by: Thomas Zloch on Aug 26, 2010 10:34 AM
‎2010 Aug 24 9:50 AM
Hi,
As you are in FI you can try to find BTE. To do it: Set a break-point in function module BF_FUNCTIONS_FIND. Run the tcode where you want to implement the BTE and if it's possible you can see it in debugging in this function and when it works.
You can try to find BADI. Set a break point in function module SXV_GET_CLIF_BY_NAME and do the same that in BTE.
I hope this helps you
Regards
Eduardo
‎2010 Aug 25 8:57 AM
Hi,
In my opinion, for your issue, a field exit fits like a glove.
The data element involved should be BZDAT.
For the field exit implementation please refer to the following wiki link:
[http://wiki.sdn.sap.com/wiki/display/ABAP/Field+exits]
Regards,
Andrea
‎2010 Aug 26 6:23 AM
‎2010 Aug 26 8:42 AM
Look for BADIs for that transaction. Find the name of the standard program and search for cl_exithandler . This will give you a list of all cl_exithandlers. Click on each of them and get the name of the exact BADI by debugging . You can find out the exact BADI when you can see that whether it triggers the program or not while debugging . Implement the BADI and write the code in the Method .