Attachment Folder (BYD)

In some views you might not be able to attach a file, in this article we will walk you through the process of adding this ability.  We will do this by Implementing Attachment Folder in root level and node level for custom Business Object in SAP Business By Design.

Attachment Folder

 

Attachment Types Supported:

1. Files: You can upload any kind of files that contain binary content.

2. Links: You can store links to external content that is accessible via a uniform resource locator (URL). For example, links to content on the World Wide Web or links to files stored on a server.

In this post we are going to Implement Attachment Folder at the root level as well as the node level for a custom Business Object.

You will need

1.SAP Business By Design Instance (contact us, if you need one)
2.SAP BYD Development SDK (contact us, if you need one)

Steps:

1. Create Custom Business Object
2. Screen Generation
3. Screen Design
4. Testing
5. Troubleshooting

Create Custom Business Object

  1. Create a custom Business Object “AttachmentFolder”.
  2. Define elements/node as shown in the below screenshot.
  3. Save and Activate.

 

Screen Generation

1. Right Click on BO name -> Create Screens.
2. Generate all screens.

Note: At this point your solution should look like this.

Screen Design

Configure the data model view of the OIF Screen

Note: You can do this by doing a double-click on the new OIF screen

Bind each of the fields to the required business object element as shown in the below screenshot

Configure the Attachment Folder at the Root Level

  1. Drag and Drop “DocumentList” (Go to configuration window -> Open “SAP_BYD_Application_UI” -> Go to “Reuse” Folder -> “Attachment” folder -> Drag and Drop “DocumentList” on the screen)
  2. Click bind button
  3. Configure the binding with Root Level element as shown

Configure the Attachment Folder at the Node Level

  1. Drag and Drop “DocumentList” (Go to configuration window -> Open “SAP_BYD_Application_UI” -> Go to “Reuse” Folder -> “Attachment” folder -> Drag and Drop “DocumentList” on the screen)
  2. Click bind button
  3. Configure the binding with Root Level element as shown
  4. Save and Activate Screen.

 

Testing

1. Logon into SAP Business ByDesign as a Business User.
2. Navigate to Attachment Folder work center. (Custom Development which we developed)
3. Click New -> View All (Navigate from QA Screen to OIF Screen)

Root Level Attachments

1. Click Add -> File from Attachments.
2. Browse file.
3. Choose Document Type.
4. click Add button.

Node Level Attachments

1. Navigate to Line Items -> Add Files in attachments.
2. Browse file.
3. Choose Document Type.
4. click Add button.

Debugging/Troubleshooting

Contact Us!

Hope you enjoyed the article, if you need help with any custom development please don’t hesitate to reach out to us.

We have skills in:

Integrating SAP BYD with your software
Customizing SAP BYD font-end & back-end
And much more…

Leave a Reply

Your email address will not be published. Required fields are marked *

© 2020 Copyright :mindsight