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_F_XCODE |
Short Description | XCode 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 | XCode |
Medium | 14 | XCode Function |
Long | 23 | XCode Function Module |
Heading | 23 | XCode Function Module |
Documentation
Definition
If it has been implemented, the function module XCode is used within a Change module to execute the processing of a PAI code or an Ok-code for entered or changed external data. It is then called if a change module has also been integrated with the option Change. The external data will first be transferred to this external data module by the external data modules ConvertFromText or ConvertFromTab. After returning from the XCode module, the possibly changed or extended external data will be transported back.
If the external data module has processed its own Ok-code and the processing of the document is to be continued in its normal course, then the X_CODE has to be set to 'Test' or SPACE.
Calling the XCode module takes place immediately after returning from the user exit 'PAI' and before the standard Ok-code processing takes place.
Interface parameter
- Importing
- VALUE(DOK_ID) LIKE N2REFHDR-REFDOK
- VALUE(DOKELEMENTID) LIKE N2DE-DEID
- VALUE(TABLINE) LIKE SY-LILLI
- VALUE(REFKEY) LIKE N2REFHDR-REFKEY
- VALUE(PARAMSTR) LIKE N2FDBS-PARAMSTR (from interface vers. 2 on)
- VALUE(SS_MODE) LIKE SY-TCODE (from interface vers. 2 on)
- Changing
- VALUE(X_CODE) LIKE OK-CODE
- Exceptions
- FAILED
The X_CODE contains the current value of the Ok code and must be modified when necessary.
History
Last changed by/on | SAP | 20050301 |
SAP Release Created in |