‎2007 Oct 17 8:08 PM
Hi
I have a requirement where i need to post a warning message based on the date difference between Invoice date (BKPF-BLDAT) and posting date (BKPF-BUDAT) while posting a document in tcode FB60.
I tried using the tcode GGB0 to build a validation but it did not help. I looked into the available userexits (U100) and tried to implement it. However, the form U100 refuses to recognize the fields from BKPF.
Can some one throw light on how to write your own code in these userexits?
Thanks
Nag
‎2007 Oct 17 8:41 PM
Hi,
For the first case where you have directly put the validation in GGB0 you can check the following things
1) Settings in Tcode OB28 for activating the validation for a paricular company code.
2) Try Running the Generation program RGUGBR00.
Regards
Abhishek
‎2007 Oct 17 9:20 PM
What do you mean "it didn't help?" Did you get an error? Unexpected output??
Rob
‎2007 Oct 17 9:24 PM
Hi Bob and Abhishek
I got the solution...I had to make a copy of RGGBR000 and replace the standard in tcode GCX2. I was able to write my own validations in the copied program.
Thanks to both of you for your inputs.
Nag