Menu

SAP Function Module SO_ATTACHMENT_READ_API1

SAPoffice: Read attachment using RFC

Recommended Now

Fire TV Stick Lite Essentials Bundle

This bundle contains Amazon Fire TV Stick Lite and Mission USB Power Cable. The USB power cable eliminates the need to find an AC outlet near your TV by powering Amazon Fire TV directly from your TV's USB port. Includes special power management circuitry that enhances the peak power capability of the USB port by storing excess energy and then releasing it as needed.

Check it out on amazon.com →

The Function Module SO_ATTACHMENT_READ_API1 (SAPoffice: Read attachment using RFC) is a standard Function Module in SAP ERP and is part of the function group SOI1 within the package SO.

Technical Information

Function Module SO_ATTACHMENT_READ_API1
Short Text SAPoffice: Read attachment using RFC
Function Group SOI1
Package SO
Module Type Remote-Enabled

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
ATTACHMENT_ID LIKE SOATTLSTI1-ATTACH_ID ID of attachment to be viewed

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
ATTACHMENT_DATA LIKE SOATTINFI1 Complete attributes of viewed attachment

Changing Parameters

This function module does not define any CHANGING parameters.

Table Parameters

These are the TABLE parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
ATTACHMENT_CONTENT LIKE SOLISTI1 Attachment contents
ATTACHMENT_HEADER LIKE SOLISTI1 Header data for attachment (spec.header)
CONTENTS_HEX LIKE SOLIX Binary Content

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
ATTACHMENT_NOT_EXIST Specified attachment does not exist
ENQUEUE_ERROR Required locks could not be set
OPERATION_NO_AUTHORIZATION No authorization to view attachment
PARAMETER_ERROR Invalid combination of parameter values
X_ERROR Internal error or database inconsistency