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_FTOTAB |
Short Description | ConvertToTab 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 | 5 | ToTab |
Medium | 14 | ToTab Function |
Long | 30 | ConvertToTab Function Module |
Heading | 30 | ConvertToTab Function Module |
Documentation
Definition
The function module ConvertToTab (further abbreviated as ToTab) is used for multiple structures (tables) to transfer data that has previously either been determined or modified by the functions Query, GetRef, CheckValue, Save, HelpF4 or XCode from the memory of the external data module to the calling dialog application. In the dialog application, the appropriate multiple structure is then predefined or modified using the data transferred. In this function, all of a multiple structure's columns and rows to be transferred are included in one run.
Interfaces
- Importing
- VALUE(DOK_ID) LIKE N2REFHDR-REFDOK OPTIONAL (from interface vers. 1 on)
- VALUE(DOKELEMENTID) LIKE N2DE-DEID OPTIONAL (from interface vers. 1 on)
- VALUE(REFKEY) LIKE N2REFHDR-REFKEY OPTIONAL (from interface vers. 1 on)
- Tables
- INTTAB (structure <totab-structure>)
or for mult. long texts
- INTTAB (structure rn2fdltxt)
- Exceptions
- NODATA
- CONVERSIONERROR
DOK_ID, DOKELEMENTID and REFKEY are transferred here for only interface version 1 and change modules.
As a transfer table, INTTAB receives the structure of the ToTab structure that has been assigned to the external data module in N2FDBS. The ToTab structure contains the documentation elements as fields that are to be supplied by the external data module. If they are defined, the data elements that were used for defining the documentation elements should also be accessed. The field transport then occurs in the dialog application by move-corresponding. This alternatively means that if an already existing external data module for supplying the multiple structure of a new document is to be implemented, then the columns of the multiple structure are to be created from the documentation elements, which were specified for the external data module.
Different than supplying a simple structure, the number of columns that can be supplied via the external data module does not have to be identical to the number that the multiple structure is made up of. For change modules that are also reference modules, the ToTab structure must be extended by a field with the name LINEREF(line reference), for which the definition can access the data element N2_LINEREF.
For every long text field contained in the definition of the multiple structure, the ToTab module will be called an additional time by the generated dialog program. It is then set to receive a completed or blank long text line via the interface table INTTAB in the structure rn2fdltxt for each line in the multiple structure. The long text is then read through this interface not by line, but as a long text field corresponding to the saving of internal long text in i.s.h.med.
History
Last changed by/on | SAP | 20050301 |
SAP Release Created in |