Parameter | Reference | Type | Length | Default | Optional | Text |
---|---|---|---|---|---|---|
DOCUMENT_DATA | SODOCCHGI2 | u | 153 | 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 | ||
ORIGINATOR | SOEXTRECI1-RECEIVER | C | 1215 | Address of document owner | ||
ORIGINATOR_TYPE | SOEXTRECI1-ADR_TYP | C | 4 | Type of address for document owner |
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 Content |
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 |
OWNER_NOT_EXIST | Specified owner does not exist |
PARAMETER_ERROR | Invalid combination of parameter values |
X_ERROR | Internal error or database inconsistency |
Functionality Import parameters
Document name. Document title (brief description). Document language. Document sort field. This term can be searched for in the attributesearch. Document expiration date. The document itself cannot expire, however, for every new folder entry of the document this date is used as areference for the expiration date of the entry (field EXPIRY_DAT). Document sensitivity. A private document can have the following sensitivity: 'O' : Standard, normal sensitivity 'F' : Functional, can be forwarded functionally 'P' : Confidential, not visible for substitutes For documents in shared folders only sensitivity 'O' is allowed. Recipient priority. The document itself does not have a priority,however, for every new folder entry of the document this value is usedas a reference for the recipient priority of the entry (fieldPRIORITY). If this flag is set ('X'), the document can only be changed by theauthor via shared folder entries. For private folder entries theauthor can still make changes even after the document has been sent. Recipient priority of the folder entry. This value repeats theimportance assigned to the entry by the owner after the document hasbeen received. Expiration date of folder entry. If the expiration date is reached oris exceeded, the entry is put in private trash and, is necessary, canbe retrieved from there before it is next emptied. A new folder entryis supplied initially with the expiration date of the document from thefield OBJ_EXPDAT. If this is not the initial field (unequal ' '), the document can beprocessed. The following specifications are allowed: 'D' : Dialog module 'F' : Function module 'R' : Report 'S' : Report with transfer of values into the global memory 'T' : Transaction 'U' : Transaction with transfer of values into the global memory Processing element. The name of the dialog module, function module,report or transaction must be specified in accordance with thespecification in the field PROC_TYPE. Name of the system in which the document is to be processed. If nosystem or the value '*' is specified, processing is possible in everysystem. Client in which the document is to be processed. If no client or thevalue '*' is specified, processing is possible in every system. If this flag is set ('X'), the first screen is skipped when processing. If this flag is set ('X'), the document cannot be processed from theSAPoffice interface. It must be processed outside of SAPoffice via theAPI function module SO_DOCUMENT_SET_STATUS_API1. If this flag is set ('X'), the document can also be deleted via the APIin external folders. Size of document in bytes. For PC documents the size of the respectivefile should be entered, for RAW and SCR documents the size iscalculated by "length of the last line" + "number of remaining linesmultiplied by 255". Export parameters Folder entry ID of the document to be changed. It contains theconnection between the document and the folder that it is in. Object ID of the document. Document type. Document name. Document title (brief description). Document language. Document sort field. This term can be searched for in the attributesearch. SAPoffice ID of the document creator. SAPoffice name of the document creator. The SAPoffice name is uniquefor the whole client. Full name of the document creator from address management. Document creation date. Document creation time. SAPoffice ID of the last changer of the document. SAPoffice name of the last changer of the document. The SAPoffice nameis unique for the whole client. Full name of the last changer of the document from address management. Last change date. Last change time. SAPoffice ID of document owner. SAPoffice name of document owner. The SAPoffice name is unique for thewhole client. Full name of the document owner from address management. Document creation/change date. Contains the newer of the two values. Document expiration date. The document itself cannot expire, however,for every new folder entry of the document this date is used as areference for the expiration date of the entry (field EXPIRY_DATE). Document sensitivity. A private document can have the following sensitivity: 'O' : Standard, normal sensitivity 'F' : Functional, can be forwarded functionally. 'P' : Confidential, not visible for substitutes For documents in shared folders only the sensitivity 'O' is allowed. Recipient priority. The document itself does not have a priority,however, for every new folder entry of the document this value is usedas a reference for the expiration date of the entry (fieldEXPIRY_DATE). If this flag is set ('X'), the document can only be changed by theauthor via shared folder entries. For private folder entries theauthor can still make changes even after the document has been sent. Recipient priority of the folder entry. This value repeats theimportance assigned to the entry by the owner after the document hasbeen received. If this flag is set ('X'), the document has a correspondence history. If this is not the initial field (unequal ' '), the folder entry is aresubmitted document. Resubmission date. If the document was sent internally this field contains the SAPofficeID of the sender, if it was received from an external sender 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 sender the nameof the address ID of the sender is entered. If the document was sent internally, this field contains the full nameof the sender from address management. If the document was receivedfrom an external sender an exact as possible description of the addressof the sender is entered. Date of send operation. Time of send operation. SAPoffice ID of forwarder of document. SAPoffice name of forwarder of document. The SAPoffice name is uniquefor the whole client. Full name of the forwarder of the document from address management. Date of forwarding. Time of forwarding. 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 address management. For documents sentexternally an exact as possible description of the address of therecipient is entered. Date received. Time document 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 can be neither 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 they can delete the corresponding folder entry from their inbox. If this flag is set ('X'), the recipient must process the documentbefore they can delete the corresponding folder entry from their inbox. If this field has a value between '1' and '9', a user of the recipientgroup connected by this number must process the document before thecorresponding folder entry can be deleted from one of the affectedinboxes. If the value '0' is entered, it is not necessary to processthe document. Number of recipients who must process the document. Number of recipients who are processing the document. Number of recipients who have processed the document. Number of recipients who have received the document with the attribute'express'. 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 read the document. Number of people who have received the document visible for allrecipients. In order to receive the total number of recipients, thenumber of blind copies in C_BLIND_CP must be added to this number. If this is not the initial field (unequal ' '), the document can beprocessed. The following values are possible: 'D' : Dialog module 'F' : Function module 'R' : Report 'S' : Report with transfer of values into the global memory 'T' : Transaction 'U' : Transaction with transfer of values into the global memory Processing element. The name of the dialog module, function module,report or transaction is specified in accordance with the specificationin the field PROC_TYPE. Name of the system in which the document is to be processed. If nosystem or the value '*' is specified, processing is possible in everysystem. Client in which the document is to be processed. If no client or thevalue '*' is specified, processing is possible in every client. If this flag is set ('X'), the first screen is skipped when processing. If this flag is set ('X'), the document cannot be processed from theSAPoffice interface. It must be processed outside of the SAPoffice viathe API function module SO_DOCUMENT_SET_STATUS_API1. If this flag is set ('X'), the document can also be deleted via the APIin external folders. If the folder entry is a received document and this flag is set ('X'),it has already been read. Date on which the document was read. Time at which the document was read. Status of folder entry with regard to processing. The following values are possible: 'TAAC' : still ToDo 'INPR' : in process 'ACCO' : processed If this flag is set ('X'), the folder entry must still be processed. If this flag is set ('X'), the folder entry has already been repliedto. If this flag is set ('X'), the folder entry is a resubmitted documentthat has already be read. Expiration date of the folder entry. If the expiration date is reachedor is exceeded, the entry is put in private trash and, if necessary,can be retrieved from there before it is next emptied. A new folderentry is initially supplied with the expiration date of the documentfrom the field OBJ_EXPDAT. Size of the document in bytes. Table parameters Requires the type-dependent information of the document by row. OBJECT_CONTENT This table must contain the actual content of the document. Requires the content of the document by row. OBJECT_PARA This document is only used by documents which are to be processed. Itmust contain the SET/GET parameters which will transfer to theprocessing element. Name of the SET/GET parameter. Only the first three characters areused. This field is not used. Requires the corresponding value of the parameter in NAME. This field is not used. OBJECT_PARB This table is only used by documents to which a particular processingtype is assigned. Depending on this, they have a differentsignificance. If the processing element is a report or a transactionwith transfer of values into the global memory, the table content isinterpreted as an number of parameters with corresponding values andexported to the memory ID taken from the first line. If the processingelement is a function module or a dialog module, the table istransferred to this as the table parameter MSGDIAL. If the processing element is a report or a transaction with transfer ofvalues into the global memory, the field of the first table line mustcontain the name of the memory ID used for the export. The fields ofthe remaining lines are for the names of the parameters. If theprocessing element is a function module or a dialog module, the fieldsmust be appropriately supplied in accordance with the purpose. If the processing element is a report or a transaction with transfer ofvalues into the global memory, the field of the first table line mustremain empty. The fields of the remaining lines are for the valuescorresponding to the parameters in NAME. If the processing element isa function module or a dialog module, the fields must be appropriatelysupplied in accordance with the purpose. Exceptions Example Notes Further information |