Application Development and Automation 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: 
Read only

Create Accounting Document with external number range

Former Member
0 Likes
1,032

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.

4 REPLIES 4
Read only

Former Member
0 Likes
715

reset the number range and you can execute.

Read only

Former Member
0 Likes
715

Still I am getting the same error.

Read only

0 Likes
715

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...

Read only

Former Member
0 Likes
715

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.