Menu

SAP Function Module SO_ATTACHMENT_UPDATE_API1

SAPoffice: Change attachment using RFC

The Function Module SO_ATTACHMENT_UPDATE_API1 (SAPoffice: Change 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_UPDATE_API1
Short Text SAPoffice: Change 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_DATA LIKE SOATTCHGI1 New attributes of attachment to be changed
ATTACHMENT_ID LIKE SOATTINFI1-ATTACH_ID ID of attachment to be changed

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
ATTACHMENT_INFO LIKE SOATTINFI1 Complete attributes after change

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 New contents of attachment
ATTACHMENT_HEADER LIKE SOLISTI1 New header data for attachment (spec.header)
CONTENTS_HEX LIKE SOLIX New attachment contents (binary)

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 change attachment
PARAMETER_ERROR Invalid combination of parameter values
X_ERROR Internal error or database inconsistency