We have done previous enhancement implementation in transaction FPCI, subroutine create_file_body. Previously it used to refer custom table 1 and amend additional data in information file body sent to collection agency. This is working fine in production system.
Recently, we added few lines of code to the same enhancement which adds another line to the body of the file. This time we are referring to custom table 2 for populating appropriate details in file. This is working fine in dev and test system.
However when the transports were pushed to production environment, new lines of code in enhancement does not seem to be getting executed while running FPCI in batch mode. We tried to debug for one sample account in production and there the new lines of code in enhancement were called and an additional line was present in file. We have tried to regenerate the enhancement, include of FPCI, FPCI package, custom package, update navigation index etc. However nothing seems to work here.
One point to note is - our code does not refer any standard table or wait for some action to finish before proceeding. It always gets triggered at end of create_file_body subroutine after all standard receivable updates like payment, reversal etc have finished.
Please suggest if we are missing anything here.
Is it about usage of event 5052?
Recently there were changes regarding the call of FI-CA event 5052.
Please implement these notes (and read the long text too):
FI-CA 3021703 FPCI: Withdrawal of the change of the call of event 5052 after SAP Note 2695725
FI-CA 3006536 FPCI: Information not reported to collection agency
FI-CA 3006488 FPCI: Event 5051/5052/5053 not called after SAP Note 2695725
FI-CA 2890112 FPCI: Information not reported to collection agency
XX-PROJ-FI-CA 2695725 FPCI: Performance when writing FPCI file (using event 5052)
Thanks for the response. Event 5052 is getting called in our system. However we are not using event 5052 to amend additional lines in the information files. We have created an implicit enhancement at end of create_file_body subroutine for this purpose. This is called after event 5052 is executed for every collection agency. It amends new lines in body section of file.
One update - We tried running FPCI for one account without debug and the implicit enhancement is getting called. However its not called when batch scheduler is calling FPCI. So it seems to be issue only during batch execution.