05-07-2013 10:36 AM
Hello all,
I need to capture all the financial documents posted in different FI transactions before posting them into their respective tables.
how can we write code commonly for documents from different tcodes.
Can we write a routine in VOFM for this or is there any procedure.
Please help
Ujwal
05-07-2013 2:15 PM
Hi,
Please check if Business Add-in IF_EX_ACC_DOCUMENT and in that method CHANGE helps.
Cheers,
Arindam
05-07-2013 2:22 PM
There is many different techniques that kick in centrally before an FI document is posted, validation, substitution, BTEs, BADIs like ACC_DOCUMENT mentioned by Arindam.
What exactly means "capture" in your scenario?
Thomas
05-07-2013 2:37 PM
Hi
VOFM is for logistics. I suggest you to try with BTE 00001030. See the documentation in tcode FIBF. If you want to write or populate in a customer table, remember to do it in function modules with the option IN UPDATE TASK as SAP recommends in the documentation.
I hope this helps you
Regards
Eduardo
05-07-2013 3:46 PM
The best way would be to create a validation/substitution rule in GGB0/GGB1.
Regards,
Manu