Hierarchy
⤷ CRM (Application Component) Customer Relationship Management
⤷ CRM_APPLICATION (Package) All CRM Components Without Special Structure Packages
⤷ NBAS (Package) Appl. development Hospital System master data, catalogs
Basic Data
Data Element | ISH_FORMX |
Short Description | IS-H: FORM Routine for Field Format Conversion |
Data Type
Category of Dictionary Type | D | Domain |
Type of Object Referenced | No Information | |
Domain / Name of Reference Type | FORM | |
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 | FORM Rout. |
Medium | 15 | FORM Routine |
Long | 20 | FORM Routine |
Heading | 55 | FORM Routine |
Documentation
Definition
Using the FORM routine, you can reformat the data of the sequential dataset before transferring it to the batch input session.
This can be necessary if data exists in a format which is not a valid SAP input format, for example.
You are restricted to a specific structure when defining the FORM routine: only two formal parameters are required; the first one contains the current field, the second the record which was just imported.
Example
The following conversion routine replaces a decimal point by a comma:
*---------------------------------------------------------------------*
* FORM PUNKT2KOMMA *
*---------------------------------------------------------------------*
* replace decimal point by comma *
*---------------------------------------------------------------------*
* --> FWERT, field value *
* --> REC , imported record * *---------------------------------------------------------------------*
FORM PUNKT2KOMMA USING FWERT REC.
TRANSLATE FWERT USING '.,'.
ENDFORM.
Further conversion routines can be found in the report RNILSI20.
History
Last changed by/on | SAP | 20050224 |
SAP Release Created in |