Application Development 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: 

Post GL accounting documents with reference using BAPI_ACC_DOCUMENT_POST

Former Member
0 Kudos
186

Hi Gurus,

I need to repost a data in standard tables that should be referenced to a reversed document. I am using BAPI_ACC_DOCUMENT_POST but i cannot proceed. There is an error saying...

"No document number found for entry view for document type SA/ledger TL"

Requirement:

I need to only re-post line items with ledger type TL only.

Steps to test:

1. Initial posting - doc 0001

2. Reverse document - doc 0002

3. Re-post document with correct values (only for TL ledger types) - doc 0003

Tests done:

1. I can re-post 0L with TL documents

2. I can re-post 0L documents

Please advise.

Thank you.

Best Regards,

Benedict

1 ACCEPTED SOLUTION

Former Member
2 REPLIES 2

Former Member

sujeet2918
Active Contributor
0 Kudos
65

Hi,

Before posting your document please check first whether this is reversal or not.

please use BAPI_ACC_DOCUMENT_REV_CHECK to check reversal document

Have a Nice Day,

Regards,

Sujeet