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

Table for billing document to IDOC cross reference

Former Member
0 Likes
3,021

Hello,

I've been tasken with writing an audit report to confirm that our EDI package (Reims) is sending all our billing IDoc's.

I need to find a SAP table that holds the billing document & IDOC or a function to retrieve this.

Any help appreciated.

1 ACCEPTED SOLUTION
Read only

christian_wohlfahrt
Active Contributor
0 Likes
1,826

Hi Simon!

Billing documents are stored in tables VBRK / VBRP (/...).

Function modules:

BAPI_BILLINGDOC_GETLIST

BAPI_BILLINGDOC_GETDETAIL

BAPI_BILLINGDOC_DISPLAY

Alternatively you can write a own (RFC-)function module, to get a starting list of all numbers (something like select VBELN from VBRK where ERDAT in s_date_range).

Regards,

Christian

4 REPLIES 4
Read only

christian_wohlfahrt
Active Contributor
0 Likes
1,827

Hi Simon!

Billing documents are stored in tables VBRK / VBRP (/...).

Function modules:

BAPI_BILLINGDOC_GETLIST

BAPI_BILLINGDOC_GETDETAIL

BAPI_BILLINGDOC_DISPLAY

Alternatively you can write a own (RFC-)function module, to get a starting list of all numbers (something like select VBELN from VBRK where ERDAT in s_date_range).

Regards,

Christian

Read only

0 Likes
1,826

Christian,

I managed to find VBRK \RL etc but couldn't find a way of cross referencing from these files to the IDoc number.

I can see the IDoc number when I look at the header output through the screen but can't seem to find where that is stored.

Read only

0 Likes
1,826

Hi Simon,

I'm not sure, if there is a cross-reference in the way you might expect.

You can send one billing doc multiple times, each IDOC has it's own status overview...

Do you want to have an overview like WE05? Have a look at tables starting with EDI*, e.g. EDID4 and EDIDS.

In the segments the billing doc number can be found.

Or does your check concentrates on the messages?

Regards,

Christian

Read only

0 Likes
1,826

I think I can get this out of EDIDC --- EDIDD after some more testing.

Many thanks