Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Data source to structure SGOS_ATTA

I am working with audit analysis from SAP data sources, and I am developing a duplicate payment analysis script at the moment from BSAK / BKPF tables. I am working on a functionality to mark and display documents with / without invoice attachments. Thanks to some clever minds in here I have managed to get some of the documents related to their attachments, but apparently only manual attached invoices. These are found through SRGBTBREL and SOOD table, but apparently only represent about 20% of our invoice attachments, while the last 80% are automatically attached through the invoice workflow. See below:

Now I fetch documents where these kinds of attachments are present :

BUT. I don't get files attached as archived documents (these are also pdf's but apparently attached through the invoice workflow? ) :

Any idea how to get the reference to these documents also and which tables to look in?

In SAP I can only see the temp. structure table SGOS_ATTA when I look for table information, so I don't know where to look for these files although I tried a great selection of tables which either were empty or useless :-(

I really hope someone can help me out here!

Thank you very much in advance!

Former Member
Not what you were looking for? View more on this topic or Ask a question