Functionality Program controls the preparation and posting of commission documents inthe financial accounting. Notes Transferred tables are compared with the tables contained in the workingmemory. In case the table contents are different, the data in the globalworking memory is deleted and the transfer data is prepared afresh.Calling program can control with the help of TEST switch, whether thetransferred data should, in any case, be prepared again. A logical destination can be specified during function call for singledocument in the header data. All the postable documents are prepared in BAPI tables. The erroneousdocuments are marked with 'E' in the transfer table (header table) infield WORK_FLAG. (Error) messages are returned in a table. In addition, a processingstatus is returned, whether the documents were prepared/ postedcorrectly. In case the switch TEST is not set, if required, data is prepared againand posted in FI after an error-free preparation. All the successfully posted documents are updated in history tables forpossible reversal postings. |