SAP Knowledge Base Article - Public

3069604 - Journal Entry Attachments not returned when using the API API_CV_ATTACHMENT_SRV


  • The API API_CV_ATTACHMENT_SRV  and Entity GetAllOriginals is called with GET operation to return Attachments linked to Journal Entries but the response is empty
  • Not clear what values to specify for the fields BusinessObjectTypeName  and  LinkedSAPObjectKey in the API API_CV_ATTACHMENT_SRV , Entity GetAllOriginals  to show Attachments for Journal Entries


  • SAP Document Management ( DMS )
  • SAP S/4HANA Cloud 


For Journal Entry , the BusinessObjectTypeName  is BKPF

For Journal Entry, the LinkedSAPObjectKey ( object key) should be built by combination of key fields which is company, document number and year.

Please take care of the document number.  The document number field has length 10. if you document number length is less than 10, please add leading zero.

For Example if the Company code is EU01 , Journal Entry is 100016973 and Year is 20201 the LinkedSAPObjectKey whould be EU01010001697320201


BUKRS ,  BELNR   ,  GJAHR , KBA , CA-DMS , Document management , FI-FIO-GL-TRA , Transaction Apps , How To


SAP S/4HANA Cloud all versions