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

BAPI_ACC_DOCUMENT_POST and cross company posting

Former Member
0 Likes
3,062

Hi folks,

We are successfully posting cross company documents using F-02 by filling the "new company code" field on the screen. When document is saved two documents are created; one in each company.

In the field BKPF-BVORG (Cross-CC no.) is filled with the reference number.

How are we able to do this posting with the use of BAPI_ACC_DOCUMENT_POST ?

Best regards from rainy Sweden.

1 ACCEPTED SOLUTION
Read only

andreas_mann3
Active Contributor
0 Likes
1,726

hi,

i think, it's not possible with bapi, so you have to split your doc and post it pro company code.

For clearing use table T001U

A.

Hi folks,

We are successfully posting cross company documents using F-02 by filling the "new company code" field on the screen. When document is saved two documents are created; one in each company.

In the field BKPF-BVORG (Cross-CC no.) is filled with the reference number.

How are we able to do this posting with the use of BAPI_ACC_DOCUMENT_POST ?

Best regards from rainy Sweden.

3 REPLIES 3
Read only

andreas_mann3
Active Contributor
0 Likes
1,727

hi,

i think, it's not possible with bapi, so you have to split your doc and post it pro company code.

For clearing use table T001U

A.

Read only

Former Member
0 Likes
1,726

Thank you for your answer!

That is what I have suspected. Anyway. It is more or less okay with business demands so I guess I can do 2 posts...

Thank you once again.

BR

Mattias

Read only

Former Member
0 Likes
1,726

Hello all.

There is a note on this more or less:

561175

And my mistake was to have the cross company in the item number 1 instead of the header company.

So it worked!

// Mattias