Manage Attachments - Automate_Studio - Latest

Automate Studio with Studio Administrator User Guide

Product type
Software
Portfolio
Integrate
Product family
Automate
Product
Automate > Automate Studio
Version
Latest
ft:locale
en-US
Product name
Automate Studio
ft:title
Automate Studio with Studio Administrator User Guide
Copyright
2025
First publish date
2018
ft:lastEdition
2025-10-30
ft:lastPublication
2025-10-30T16:47:07.534000

Attach a document

  1. Follow these steps to record a script:
    1. Click New > Fiori App > Record a Fiori App.
    2. Provide the following:
      • SAP Fiori® Launchpad site URL
      • Corresponding User name and Password
      • SAP Client and chose Data Type as Excel.
    3. Click Start Recording. A Popup window appears and Studio will auto-fill the Username and Password. After login, you will be able to see various apps.
    4. Choose the app you want to record. For example, Business Partner App.
    5. Provide valid data to create a valid Business partner.
    6. Click Attachments - Document Management Systems or Attachments - Generic Object Services, depending on the app you are using, and wait for the attachment sections to appear.
    7. Click Upload to add your file, then click Save to store it.
    8. Click End Recording to finish the recording.
  2. Next, in the Map tab, do the following:
    1. Click Automap, save the excel and script files.
    2. Click Manage Attachments to add or remove an attachment as needed.
      Tip: You may choose one of the following attachment types:
      • File attachment: Upload a file directly from your computer.
      • URL link: Provide a hyperlink to a file, webpage, or resource hosted online.
      Important: Manage Attachments feature can be used only when a SAP Fiori® app is recorded with Attachments - Document Management Systems or Attachments - Generic Object Services field mapped.
      Note: The name of the field will end with technical type of attachment, such as BUS, MARA, BKPF, etc. depending on the type and configuration of the Fiori® app.
  3. Finally, in the Run tab, do the following:
    1. If necessary, for multiple attachments in single app, provide semicolon separated path of the attachment files. The separator is configurable. You can configure it by specifying the value in Run > Attachment/Notes Separator.
    2. If an app has multiple attachment types supported and all are recorded as per the above steps, each type of attachment generates a new field to provide path of attachments. Similarly URL Description and URL Upload fields are generated for each attachment section recorded.
    3. Click Run. The result of the attachment upload will appear in the Attachment log column as File attachment logs and URL link logs.

Document types

You can attach following document types:
  • PDF
  • TIFF
  • JPEG
  • PNG
  • DOC(X)
  • XLS(X)
  • TXT

Add other document types

You can customize which document types you can attach. To do that, perform the following:
  1. Open the ShuttleRule.xml file (C:\Program Files (x86)\Precisely\AutomateStudio).
  2. Enter the MIME type for the document type that you want to add.
    For example, to add .mht files, enter the following:
    <TypeEntry MimeType="message/rfc822">
    <Extension>MHT</Extension>
    <Extension>MHTML</Extension>
    </TypeEntry>

Maximum file size

The default maximum file size is set at 30 MB. However, you can change the maximum file size in the Studio Options. To do that, perform the following:

  1. Click File, and then click Options.
  2. Click the SAP Settings tab.
  3. Under Advanced, in the Document attachment limit (MB), type the maximum size for attached documents.

Document attachment scenarios

Sales order and material processes in SAP often include the capability to attach and upload supporting documents along with the data upload. Depending on the SAP Fiori®, you might want to attach and upload the following types of documents:
  • Sales Order: Faxed orders, PDF files, invoices, POs, purchase requisitions
  • Material Master: Drawings
  • BOMs: Drawings
  • Customer: Credit reference, registration certificates
  • Vendor: Credit reference, registration certificates
Note: A Runner can also attach the current file as an attachment with the data file by defining a <Use Current File> tag in the Attachment Location column of a Data file. Each record must contain only one tag, and this must be <Use Current File>.