cancel
Showing results for 
Search instead for 
Did you mean: 

Create Link between 2 accounting document like cross-company posting

former_member215739
Participant
0 Kudos

Dear SAP Community,

In the cross-company posting, when you post to 2 company codes in one session, you will get 3 documents.

- 1 document for company code A

- 1 document for company code B

- 1 summary document for both

Due to the problem with tax, that the tax is only posted to the leading company code. We can't implement this solution.

And we have to post 2 seperated documents, 1 doc for each company code.

The problem is that: 2 documents are not automatically linked to eachother. It's difficult to find the other document (even we put the same reference, we have to search...).

Is there a solution, that I can create a link for 2 separated accounting documents from different company codes?

Would be thankful for your support.

Best regards,

Thanh

Accepted Solutions (1)

Accepted Solutions (1)

former_member229024
Contributor
0 Kudos

H Thanh,

If you are posting two separate documents. Then put the first document info in second document header text.

i.e BKPF-BKTXT = CompanyCode(4)+DocNumber(10)+FiscalYear(4) in second document.

Cheers,

former_member215739
Participant
0 Kudos

Hi Ravish,

that's a good idea! Thank you!!!

I'm thinking of using the GOS. In the Menue "Services for Objects", and line "Relationships", I would like to create a link to the other document.

When user opens the "Services for Objects", click on relationship tap, they can get directly to the next document.

But I don't know, how I have to code yet, what class and type...

Do you know it, maybe?

Best regards,

Thanh

former_member229024
Contributor
0 Kudos

Hi Thanh,

I am not aware of this Services: Relationships functionality. But the earlier suggested method works well to retrieve the first step document through code and to identify the relation between two documents.

Cheers,

Answers (0)