‎2008 Dec 10 3:10 PM
Requirement is to copy all financial documents from one company code to the other at the end of the month. I could test the creation of documents with BAPI, BAPI_ACC_DOCUMENT_POST.
But the issue is some document types are maintained as external number range. When I try pass value to field AC_DOC_NO, system is expecting value to fields OBJ_TYPE, OBJ_KEY, OBJ_SYS. When I provide value system is not accepting any value to the field OBJ_TYPE.
Can anybody help me to resolve the issue.
‎2008 Dec 10 3:17 PM
‎2008 Dec 10 3:20 PM
‎2008 Dec 10 4:16 PM
check your tables, what ever your passing the values already exists in your table.
in your table already there the number is : 1200
the number range should start with 1201 onwords...
‎2008 Dec 11 8:05 AM
I have reset the number range and it is now first number in the number range. With the same number I am able to create document through front end transaction.
So I do not think that is the reason for the error.