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

External Document Number assignment using Bapi_acc_document_post

Former Member
0 Likes
977

Hi All Experts and Max,

We want to post th same external document no using BAPI_ACC_document_post, but we are unable to post thatexternal Document no.

Note: If we are posting the same no using transaction FB01 , we are able to post the document , if we are passing the Acc_do_no field as the external Document no.

Our requirement is to post the document no of the e.g A system to B system with th esame document No .

Kindly provide what value we need to pass in the obj_type , obj_key and obj_sys fields of BAPI_ACC_Document_post.

I am aware about the scenario that in case of internal document no creation we will get all these 3 fields from th eBAPI, but we need the values in case of external document no assignment.

We tried with obj_type as 'BKPFF' but we are not able to post the document with that obj_type, In that case Bapi is clearing the exterbal document no acc_doc_no field in the first subroutine.

Note: We are uploading a file in different system with the .dat format and we are using BAPI_ACC_DOCUMENT_POST method.

Please refer the below link for more issue details.

Link:[;

Kindly provide the solution.

Thanks,

Rahul Sisodia

2 REPLIES 2
Read only

Former Member
0 Likes
567

Hi Experts ,

Can you please provide some solution for the above problem.

Thanks,

Rahul Sisodia

Read only

0 Likes
567

Hi All,

Please suggest if you came across such situation. <removed by moderator>

Thanks,

Rahul Sisodia

Edited by: Thomas Zloch on Sep 19, 2011 10:18 PM