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: 

Finding COPA document for a billing doc without accounting document

Former Member
0 Kudos

Hi Team,

I am using BAPI BAPI_ACC_DOCUMENTS_RECORD to find list of COPA documents for respective billing document .This BAPI is getting failed in a situation when there is no accounting document for that particular billing document even COPA is available ,not able to pick it up.

Kindly provide ur inputs on how to get the COPA documents for a billing doc without accounting doc using this BAPI.

Thnks In advance

Aarthi

1 REPLY 1

Jelena
Active Contributor
0 Kudos

I'm a bit confused how and why would you have a COPA document but not the accounting document.

But if you can indeed see a reference to COPA document in VF03 then just set up SQL Trace (ST05) and see where this data is coming from.

I doubt there is a BAPI for this, it seems rather unusual to me.