Hierarchy
⤷ CRM (Application Component) Customer Relationship Management
⤷ CRM_APPLICATION (Package) All CRM Components Without Special Structure Packages
⤷ NMED (Package) R/3MED: Medical documentation GSD
Basic Data
Data Element | N2_FSAVREF |
Short Description | Save Function Module |
Data Type
Category of Dictionary Type | D | Domain |
Type of Object Referenced | No Information | |
Domain / Name of Reference Type | CHAR30 | |
Data Type | CHAR | Character String |
Length | 30 | |
Decimal Places | 0 | |
Output Length | 30 | |
Value Table |
Further Characteristics
Search Help: Name | ||
Search Help: Parameters | ||
Parameter ID | ||
Default Component name | ||
Change document | ||
No Input History | ||
Basic direction is set to LTR | ||
No BIDI Filtering |
Field Label
Length | Field Label | |
Short | 10 | Save |
Medium | 15 | Save Function |
Long | 22 | Save Function Module |
Heading | 30 | Save Function Module |
Documentation
Definition
The function module 'Save' in the Change module serves to save the entered or changed external data in the external data table. In the Reference module, it serves to alternatively or additionally save the references in the Reference table assigned to the external data module.
If a change module with the option Change has been integrated, the entered or changed external data will be transferred immediately to the external data module via the function modules ConvertFromText or ConvertFromTab. The function module CheckValue will then be called immediately, assuming such has been implemented. If this registers an error message, the function module GetErr will be called immediately, also assuming such has been implemented. If GetErr registers an Error level greater than 1, further processing will be aborted, otherwise the function module 'Save' will be called immediately. After returning from the function module 'Save', the return transport of data from the memory of the external data module takes place by way of either the function module ConvertToText or ConvertToTab.
In all other cases, only the function module 'Save' is called, if such has been implemented.
Calling Save modules of integrated external data modules takes place just before calling the user exit 'Save document' and the successive storing of the actual document data.
Interface parameter
- Importing
- VALUE(DOK_ID) LIKE N2REFHDR-REFDOK
- VALUE(REFKEY) LIKE N2REFHDR-REFKEY
- VALUE(SS_MODE) LIKE SY-TCODE OPTIONAL (from interface version 1 on)
- VALUE(PARAMSTR) LIKE N2FDBS-PARAMSTR OPTIONAL (from interface version 2)
- Exceptions
- FAILED
SS_MODE is only transferred for interface version 1 and change modules, and thus contains the value 'UPD' or 'INS' if this is integrated with the option 'Change'.
History
Last changed by/on | SAP | 20050301 |
SAP Release Created in |