Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to resolve errors thrown by BAPI FM "BAPI_ACC_DOCUMENT_CHECK"

Former Member
0 Kudos
106

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,

K. Rangarajan

ABAPER

M/s STRIDES ARCOLAB LIMITED

Bangalore, INDIA.

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

1 REPLY 1

Former Member
0 Kudos
37

Hi Prakash Reddy

Fm : OWN_LOGICAL_SYSTEM_GET to get obj_sys

FM :BAPI_ACC_DOCUMENT_REV_POST to get bus_act

cHECK the test program ACC_BAPI_TEST_DOCUMENT and it helps you

to under stand BAPI_ACC_DOCUMENT_CHECK.

i think above info helps you

Thanks

Ramesh Reddy