Parameter | Reference | Type | Length | Default | Optional | Text |
---|---|---|---|---|---|---|
DOCUMENT_DATA | SODOCCHGI1 | u | 152 | Document attributes (general header) | ||
DOCUMENT_TYPE | SOODK-OBJTP | C | 3 | Document Class | ||
FOLDER_ID | SOOBJINFI1-OBJECT_ID | C | 17 | ID of folder in which document is to be created |
Parameter | Reference | Type | Length | Text |
---|---|---|---|---|
DOCUMENT_INFO | SOFOLENTI1 | u | 770 | Complete attributes of document |
Parameter | Reference | Length | Optional | Text |
---|---|---|---|---|
CONTENTS_HEX | SOLIX | 255 | X | Document contents (binary) |
OBJECT_CONTENT | SOLISTI1 | 255 | X | Document contents (text) |
OBJECT_HEADER | SOLISTI1 | 255 | X | Header data for document (spec.header) |
OBJECT_PARA | SOPARAI1 | 92 | X | SET/GET parameter for processing |
OBJECT_PARB | SOPARBI1 | 285 | X | Fields and values for processing |
Exception | Text |
---|---|
DOCUMENT_TYPE_NOT_EXIST | Document type does not exist |
ENQUEUE_ERROR | Required locks could not be set |
FOLDER_NOT_EXIST | Specified folder does not exist |
OPERATION_NO_AUTHORIZATION | No authorization to create document |
PARAMETER_ERROR | Invalid combination of parameter values |
X_ERROR | Internal error or database inconsistency |
Functionality Import parameters
Name of the document. Title (short description) of the document. Language of the document. Sort field of the document. This term can be searched for in theattribute search. Expiration date of the document. The document itself cannot expire,however this date is used for the expiration date of the entry (fieldEXPIRY_DAT) for each new folder entry of the document. Sensitivity of the document: A private document can have the following sensitivity: 'O' : standard, normal sensitivity 'F' : functional, can only be forwarded functionally 'P' : confidential, not visible to substitute Only the sensitivity 'O' is allowed for documents in the sharedfolders. Recipient priority. The document itself does not have a priority,however this value is used for the recipent priority of the entry(field PRIORITY) for each new folder entry of the document. If this flag is set ('X'), the document can only be changed by theauthor in the case of shared folder entries. In the case of privatefolder entries, the author can also make changes after the document hasbeen sent. Recipient priority of the folder entry. This value represents theimportance assigned to the entry by the owner after it has beenreceived. Expiration date of the folder entry. When the expiration date has beenreached or exceeded, the entry is placed in the private trash and canbe retrieved from there if necessary before the trash is next emptied.A new folder entry is initially provided with the expiration date ofthe document from the field OBJ_EXPDAT. If this field is not initial (not ' '), the document can be processed. The following entries are allowed: 'D' : dialog module 'F' : function module 'R' : report 'S' : report with value transfer to global memory 'T' : transaction 'U' : transaction with value transfer to global memory Processing element. Depending on the entry in the field PROC_TYPE, thename of the dialog module, function module, report, or transaction mustbe specified. Name of the system in which the document is to be processed. If nosystem is specified or the value '*', processing can be carried out inany system. Client in which the document is to be processed. If no client isspecified or the value '*', processing can be carried out in anyclient. If this flag is set ('X'), the first screen is skipped in theprocessing. If this flag is set ('X'), the document cannot be acted upon from theSAPoffice interface. Processing must be carried out outside SAPofficevia the API function module SO_DOCUMENT_SET_STATUS_API1. If this flag is set ('X'), the document can also be deleted in otherfolders via the API. Size of the document in bytes. In the case of PC documents, the size ofthe respective file should be entered here, in the case of RAW and SCRdocuments, the size is calculated from the "length of the last line" +"number of remaining lines multiplied by 255". Export parameters ID of the folder entry of the document to be changed. It is theconnection between the document and the folder in which it is located. Object ID of the document. Type of document. Name of document. Title (short description) of document. Language of document. Sort field of the document. This term can be searched for in theattribute search. SAPoffice ID of the creator of the document. SAPoffice name of the creator of the document. The SAPoffice name isunique client-wide. Full name of the creator of the document from the address management. Date document was created. Time document was created. SAPoffice ID of person who last changed the document. SAPoffice name of person who last changed the document. The SAPofficename is unique client-wide. Full name of the person who last changed the document from the addressmanagement. Date of last change. Time of last change. SAPoffice ID of the owner of the document. SAPoffice name of the owner of the document. The SAPoffice name isunique client-wide. Full name of the owner of the document from the address management. Date document was created/changed. Contains the latest of the twovalues. Expiration date of the document. The document itself cannot expire,however this date is used for the expiration date of the entry (fieldEXPIRY_DAT) for each new folder entry of the document. Sensitivity of the document. A private document can have the following sensitivity: 'O' : standard, normal sensitivity 'F' : functional, can be forwarded functionally 'P' : confidential, not visible to substitute Only the sensitivity 'O' is allowed for documents in the sharedfolders. Recipient priority. The document itself does not have a priority,however this value is used for the recipient priority of the entry(field PRIORITY) for each new folder entry of the document. If this flag is set ('X'), the document can only be changed by theauthor in the case of shared folder entries. In the case of privatefolder entries, the author can also make changes after the document hasbeen sent. Recipient priority of the folder entry. This value represents theimportance assigned to the entry by the owner after it has beenreceived. If this flag is set ('X'), the document has a correspondence history. If this field is not initial (not ' '), the folder entry is aresubmitted document. Date of the resubmission. If the document was sent internally, this field contains the SAPofficeID of the sender, if it was received from an external source, theaddress ID of the sender is entered. If the document was sent internally, this field contains the SAPofficename of the sender, if it was received from an external source, thename of the address ID of the sender is entered. If the document was sent internally, this field contains the full nameof the sender from the address management. In the case of documentsreceived externally, a description of the address of the sender, whichshould be as precise as possible, is inserted. Date of the send operation. Time of the send operation. SAPoffice ID of the forwarder of the document. SAPoffice name of the forwarder of the document. The SAPoffice name isunique client-wide. Full name of the forwarder of the document from the address management. Forwarding date. Forwarding time. If the document was sent internally, this field contains the SAPofficeID of the recipient, if it was sent externally, the address ID of therecipient is entered. If the document was sent internally, this field contains the SAPofficename of the recipient, if it was sent externally, the name of theaddress ID of the recipient is entered. If the document was sent internally, this field contains the full nameof the recipient from the address management. In the case of documentssent externally, a description of the address of the recipient isentered. Date document was received. Time document was received. If this flag is set ('X'), the document was received with the attribute'express'. If this flag is set ('X'), the document was received with the attribute'copy'. If this flag is set ('X'), the document was received with the attribute'blind copy'. As a result, it cannot be printed nor forwarded. If this flag is set ('X'), the document cannot be forwarded by therecipient. If this flag is set ('X'), the document cannot be printed by therecipient. If this flag is set ('X'), the recipient must reply to the documentbefore the relevant folder entry can be removed from the inbox. If this flag is set ('X'), the recipient must take action on thedocument before the relevant folder entry can be removed from theinbox. If this field has a value between '1' and '9', one user from therecipient group formed by this number must take action on the documentbefore the relevant folder entry can be removed from the one of theinboxes involved. If the value '0' is entered, no action is required. Number of recipients who must take action on the document. Number of recipients who have accessed the document for processing. Number of recipients who have taken action on the document. Number of recipients who have received the document with the 'express'attribute. Number of recipients who have received the document with the attribute'copy'. Number of recipients who have received the document with the attribute'blind copy'. Number of recipients who must reply to the document. Number of recipients who have replied to the document. Number of recipients who have viewed the document. Number of persons who have received the document visibly to allrecipients. To obtain the complete number of recipients, the number ofblind copies in C_BLIND_CP must be added to this number. If this field is not initial (not ' '), the document can be processed. The following values are possible: 'D' : dialog module 'F' : function module 'R' : report 'S' : report with value transfer to global memory 'T' : transaction 'U' : transaction with value transfer to global memory Processing element. Depending on the entry in the field PROC_TYPE, thename of the dialog module, function module, report, or transaction isspecified. Name of the system in which the document is to be processed. If nosystem is specified or the value '*', processing can be carried out inany system. Client in which the document is to be processed. If no client isspecified or the value '*', processing can be carried out in anyclient. If this flag is set ('X'), the first screen is skipped in theprocessing. If this flag is set ('X'), the document cannot be acted upon from theSAPoffice interface. Processing must be carried out from SAPoffice viathe API function module SO_DOCUMENT_SET_STATUS_API1. If this flag is set ('X'), the document can also be deleted in otherfolders via the API. If the folder entry is a received document and this flag is set ('X'),it has already been read. Date when the document was read. Time when the document was read. Status of the folder entry regarding action to be taken. The following values are possible: 'TAAC' : Still ToDo 'INPR' : In process 'ACCO' : Done If this flag is set ('X'), the folder entry still needs to be actedupon. If this flag is set ('X'), the folder entry has already been repliedto. If this flag is set ('X'), the folder entry is a viewed resubmitteddocument. Expiration date of the folder entry. When the expiration date has beenreached or exceeded, the entry is placed in the private trash and canbe retrieved from there if necessary before the trash is next emptied.A new folder entry is initially provided with the expiration date ofthe document from the field OBJ_EXPDAT. Size of the document in bytes. Table parameters Requires the type-dependent information of the document by the line. OBJECT_CONTENT This table must contain the actual contents of the document. Requires the contents of the document by the line. OBJECT_PARA This table is only used by documents which are to be processed. It mustcontain the SET/GET parameters which are passed to the processingelement. Name of the SET/GET parameter. Only the first three characters areused. This field is not used. Requires the relevant value of the parameter in NAME. This field is not used. OBJECT_PARB This table is only used by documents which have been assigned aparticular processing type. Depending on this, they have a differentmeaning. If the processing element is a report or transaction withvalue transfer to the global memory, the table contents are interpretedas a set of parameters with related values and exported to the memoryID derived from the first line. If the processing element is a functionor dialog module, the table is passed to it as the table parameterMSGDIAL. If the processing element is a report or transaction with valuetransfer to the global memory, the field of the first table line mustcontain the name of the memory ID used for the export. The fields ofthe other lines are used to contain the names of the parameters. If theprocessing element is a function or dialog module, the fields must beassigned values appropriately according to the use. If the processing element is a report or transaction with valuetransfer to the global memory, the field of the first table line mustremain blank. The fields of the other lines are used to contain thevalues for the parameters in NAME. If the processing element is afunction or dialog module, the fields must be assigned valuesappropriately according to the use. Exceptions Example Notes Further information |