cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Attachment list

Former Member
12,720

When a journal entry is posted manually then after posting the user attach supporting document related to that journal entry using Tcode Fb03. To view for a single journal entry that supporting document is attached or not we can view it using tcode FB03>services for object>attachment list.

Query : If I want to check for multiple document numbers that whether attachments are there or not then how I can view them? Is there any report which will display the attachment list details for that multiple document numbers or any Tcode which will give me that details?

Currently I am using SAP S/4hana

Accepted Solutions (0)

Answers (2)

Answers (2)

juveria_sap_integrity
Active Participant
0 Likes

In SAP S/4HANA, there is no standard report or tcode that shows attachments for multiple FI documents at once.

GOS attachments are stored via Generic Object Services, so the correct technical approach is to use table SRGBTBREL.

How to check attachments for multiple FI documents:

  1. Identify the Business Object for FI documents

    • For FI accounting documents → TYPEID_A = BKPF (or BUS2012 depending on scenario)

  2. Query table SRGBTBREL

    • TYPEID_A = Business Object (e.g. BKPF)

    • INSTID_A = concatenated key
      BELNR + BUKRS + GJAHR

    • RELTYPE = ATTA

  3. If records exist, the document has attachments

    • Multiple rows = multiple attachments

  4. For mass analysis:

    • Use SE16N

    • Or create a custom report

    • Optionally enrich with timestamp (UTCTIME) to see when attachments were added

Note:
This works for FB03 / FBL3N / FBL1N / FBL5N posted documents and is valid for both ECC and S/4HANA.

Sijin_Chandran
Active Contributor
0 Likes

Hello,

As per my experience I have never seen a Report or a program which would extract all the attachments linked against a transaction.

These attachments are handled using GOS services.

Ask your technical consultant to develop a report using Table SRGBTBREL. This table indeeds contains entry for each and every attachments maintained against a transaction.

SRGBTBREL~TYPEID_A we need to pass the business object type. This would be specific to the type of Transaction. Eg.SRGBTBREL~TYPEID_A = BUS2017 for MIGO documents.

SRGBTBREL~INSTID_A is the Key. So for MIGO document it would be MBLNR + MJAHR.

Likewise check the same for Finance posting. And for replicating other functionalities of GOS check class CL_GOS_DOCUMENT_SERVICE and its METHODs.

Thanks,

Sijin

Former Member
0 Likes

Thank you Sijin for your response,however, it seems you get the question little bit in a different way. It was not all the attachment against a single transaction but it was like I have posted 10 different transactions and want to see if I had attached the document in all those 10 transactions or not.

Please let me know if the answer is same in both the cases.

Thank you

Rahul Khosla

Sijin_Chandran
Active Contributor
0 Likes

Yes Rahul,

My answer would be the same.

As I said please find the correct Object Type for FI transaction and Pass it to SRGBTBREL~TYPEID_A. And pass any other filter criteria like Date and Time and execute.

Output SRGBTBREL~INSTID_A column would be having BELNR+BUKRS+GJAHR in concatenated format. If for same above combination there are multiple entries then it means multiple attachments are there. Please ask your Technical consultant to pitch in and the picture would be more clear.

Thanks,

Sijin