2006 Jul 31 2:09 PM
Hello ABAP experts
I've been asked by our client to make a modification when posting open items through txn FB1S (or in their case F-03). When posting a document through this txn, the document date is set as equal to the posting date. The users want to change this so that the document date equals the document date of the earliest open item to be posted. I'm on an ERP Central Component 5.0, Basis version 640 and SP15 I think.
I've already written up a piece of code that I think should work, my problem right now is finding where exactly I can place it. I tried first in customer exit SAPLF051, but the exit wasn't called (I set up breakpoints to check). I'm currently trying in a Z implementation of BADi FI_HEADER_SUB_1300, but I have my doubts if it will work because the documentation does not mention txn FB1S and says the BADi is for changing the posting date, not the document date.
What other places exist where I might put the code in, such as substitutions, customer exits, etc? Are those better places than the BADi I'm currently trying? Thanks for your help in advance.
Regards,
Juan Ramos
2006 Jul 31 2:14 PM
Hi
Try doing a substitution for the document date at the 'Complete Document' level.
Regards
Shounak
2006 Jul 31 2:35 PM
Are you sure that the exit SAPLF051 was active. You may need to activate it through transaction CMOD.
2006 Jul 31 2:42 PM
Hi
Thanks a lot for the quick replies! Yes, the exit was active and inside a Z project. I'm going to try the substitution and see if that works. I'll let you know what happens.
Thanks again
Juan Ramos
2006 Aug 07 6:37 PM
Hello
Well, I was trying the substitution, but afterwards the user decided that they needed a completely new transaction to satisfy their business requirement. I'm closing this thread so as to not leave it open. Thanks again for the help, your suggestions will be something to keep in mind if another requirement like this comes up later.
Regards,
Juan Ramos