Skip to Content
Author's profile photo Tobias Kuhn

How to use Attachments with own BOs

In this short how to document I will show you how to add Attachments in your own BO and how to use the Attachment Folder in the UI.

1. Add a node for your Attachment Folder to your Business Object and extend the node with the annotation “DependentObject” to reuse the structure of the Business Object “AttachmentFolder”.

node AttachmentFolder;

2. Add the Embedded Component “/SAP_BYD_APPLICATION_UI/Reuse/Attachments/documentlist.EC.uicomponent” to your Screen

3. Bind the Embedded Component to your Business Object Structure which is bind in the DataModel to the BO root


Assigned Tags

      You must be Logged on to comment or reply to a post.
      Author's profile photo Former Member
      Former Member

      Thanks a lot for the article, but would you please explain in more details how can we link the attached file with the comment field. So I can show the comment field for specific attached file when I click on it.

      Author's profile photo Former Member
      Former Member


      I have asked a question before, but I think I didn't make it clear. So I will try to clarify it.

      I need to categorize the attached files. so is it possible to extend the documentlist.EC.uicomponent with new drop down list which contains all the categories, so when I click on the attached file, The related category will be shown?

      Thanks a lot for your help.