Unable to resolve errors thrown by BAPI FM "BAPI_ACC_DOCUMENT_CHECK"
We are facing problems with BAPI function module BAPI_ACC_DOCUMENT_CHECK. We are currently using SAP R/3 Enterprise 4.7. The current support patch applied in our server is SAPKH47028. The BAPI in our Z-program respons with errors "Error in document: BKPFF $ DEV320" and "Period 01 is not allowed".
We are trying to transfer existing FI entries of some G/L codes from one company code to another company code.
Regarding mandatory fields, in our Z-program, we followed the instruction of SAP Note 561175. For your reference, we have given below the source code.
We seek your help to sort out the issue.
Thanks and regards,
M/s STRIDES ARCOLAB LIMITED
Source Code of the Program:
Moderator message - Please respect the 2,500 character maximum when posting. Post only the relevant portions of code
Edited by: Rob Burbank on Apr 7, 2010 3:39 PM