The Function Module SO_NEW_DOCUMENT_ATT_SEND_API1 (SAPoffice: Send new document with attachments using RFC) is a standard Function Module in SAP ERP and is part of the function group SOI1 within the package SO.
Function Module | SO_NEW_DOCUMENT_ATT_SEND_API1 |
Short Text | SAPoffice: Send new document with attachments using RFC |
Function Group | SOI1 |
Package | SO |
Module Type | Remote-Enabled |
These are the IMPORTING parameters of this function module.
Parameter Name | Type | Associated Type | Default Value | Short Text |
---|---|---|---|---|
COMMIT_WORK | LIKE | SONV-FLAG | SPACE | An explicit COMMIT WORK is to be set |
DOCUMENT_DATA | LIKE | SODOCCHGI1 | Attributes of new document | |
PUT_IN_OUTBOX | LIKE | SONV-FLAG | SPACE | Flag: Move document to outbox after send |
These are the EXPORTING parameters of this function module.
Parameter Name | Type | Associated Type | Default Value | Short Text |
---|---|---|---|---|
NEW_OBJECT_ID | LIKE | SOFOLENTI1-OBJECT_ID | ID of created object (not document!) | |
SENT_TO_ALL | LIKE | SONV-FLAG | Flag: Document sent to all |
This function module does not define any CHANGING parameters.
These are the TABLE parameters of this function module.
Parameter Name | Type | Associated Type | Default Value | Short Text |
---|---|---|---|---|
CONTENTS_BIN | LIKE | SOLISTI1 | Obsolete: See Contents_Hex | |
CONTENTS_HEX | LIKE | SOLIX | Binary contents of object and attachments | |
CONTENTS_TXT | LIKE | SOLISTI1 | ASCII contents of object and attachments | |
OBJECT_HEADER | LIKE | SOLISTI1 | Header data for document (spec.header) | |
OBJECT_PARA | LIKE | SOPARAI1 | SET/GET parameter for processing | |
OBJECT_PARB | LIKE | SOPARBI1 | Fields and values for processing | |
PACKING_LIST | LIKE | SOPCKLSTI1 | Information about structure of data tables | |
RECEIVERS | LIKE | SOMLRECI1 | Document recipients with send attributes |
These are the Exceptions of this function module.
Exception Name | Short Text |
---|---|
DOCUMENT_NOT_SENT | Document was not sent |
DOCUMENT_TYPE_NOT_EXIST | Document type or attachment type does not exist |
ENQUEUE_ERROR | Required locks could not be set |
OPERATION_NO_AUTHORIZATION | No authorization to send/create |
PARAMETER_ERROR | Invalid combination of parameter values |
TOO_MANY_RECEIVERS | Too many recipients, no authorization |
X_ERROR | Internal error or database inconsistency |