SAP ABAP Class CL_CRM_ECC_CUST_FIELDSETTINGS (MDG Customer: fieldsettings for Customer master)
Hierarchy
☛
SAP_APPL (Software Component) Logistics and Accounting
⤷
LO-MD-BP-CM (Application Component) Customer Master
⤷
CCCD (Package) CRM Customer Master Data Exchange (Release Dependent)
⤷
⤷
Properties
| Class | CL_CRM_ECC_CUST_FIELDSETTINGS | |
| Short Description | MDG Customer: fieldsettings for Customer master | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | CCCD | CRM Customer Master Data Exchange (Release Dependent) |
| Created | 20100922 | SAP |
| Last change | 20110908 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_CRM_ECC_CUST_FIELDSETTINGS has no forward declaration.
Interfaces
Class CL_CRM_ECC_CUST_FIELDSETTINGS has no interface implemented.
Friends
Class CL_CRM_ECC_CUST_FIELDSETTINGS has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | CHAR1 | '*' | 20100922 | |||
| 2 | Constant | Public | Type reference (TYPE) | CHAR1 | '.' | 20100922 | |||
| 3 | Constant | Public | Type reference (TYPE) | CHAR1 | '+' | 20100922 | |||
| 4 | Constant | Public | Type reference (TYPE) | CHAR1 | '-' | 20100922 | |||
| 5 | Constant | Public | Type reference (TYPE) | PARNR | '9999999000' | 20100922 | |||
| 6 | Constant | Private | Type reference (TYPE) | SCRFGRP2 | 'NOB' | Never Obligatory | 20100922 | ||
| 7 | Constant | Public | Type reference (TYPE) | CHAR1 | 'U' | 20100922 | |||
| 8 | Constant | Public | Type reference (TYPE) | CHAR1 | 'I' | 20100922 | |||
| 9 | Constant | Public | Type reference (TYPE) | CHAR1 | 'D' | 20100922 | |||
| 10 | Constant | Public | Type reference (TYPE) | CHAR1 | 'M' | 20100922 | |||
| 11 | Constant | Public | Type reference (TYPE) | VMD_EI_OBJECT_TASK | 'U' | 20100922 | |||
| 12 | Constant | Public | Type reference (TYPE) | VMD_EI_OBJECT_TASK | 'I' | 20100922 | |||
| 13 | Constant | Public | Type reference (TYPE) | VMD_EI_OBJECT_TASK | 'M' | 20100922 | |||
| 14 | Constant | Public | Type reference (TYPE) | TCODE | 'XD01' | 20100922 | |||
| 15 | Constant | Public | Type reference (TYPE) | TCODE | 'XD02' | 20100922 | |||
| 16 | Constant | Public | Type reference (TYPE) | TCODE | 'XD03' | 20100922 | |||
| 17 | Instance attribute | Private | Type reference (TYPE) | L_TYP_FSETTINGS_T | Fields settings | 20100922 | |||
| 18 | Instance attribute | Private | Type reference (TYPE) | L_TYP_SPEC_FIELD_HANDLING_T | 20100922 | ||||
| 19 | Instance attribute | Private | Type reference (TYPE) | L_TYP_T077D | cached T077D | 20100922 | |||
| 20 | Instance attribute | Private | Type reference (TYPE) | L_TYP_T078D | cached T078D | 20100922 | |||
| 21 | Instance attribute | Private | Type reference (TYPE) | L_TYP_T079D | cached T079D | 20100922 | |||
| 22 | Instance attribute | Private | Type reference (TYPE) | L_TYP_T079V | cached T079V | 20100922 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Protected | Method | Build fieldlist with status by Tx, ktokd, vkorg, vtweg+spart | 20100922 | |
| 2 | Instance method | Private | Method | Check and set status never obligatory | 20100922 | |
| 3 | Instance method | Private | Method | Get and cache account group records | 20100922 | |
| 4 | Instance method | Public | Method | Get fieldlist with status by Tx, ktokd, vkorg, vtweg+spart | 20100922 | |
| 5 | Instance method | Private | Method | Get and cache account group records (T077D) | 20100922 | |
| 6 | Instance method | Private | Method | Get and cache transaction dependant FS records (T078D) | 20100922 | |
| 7 | Instance method | Private | Method | Get and cache Company code FS records (T079D) | 20100922 | |
| 8 | Instance method | Private | Method | Get and cache Sales Org. records (T079V) | 20100922 | |
| 9 | Instance method | Private | Method | Get TMODU table records | 20100922 |
Events
Class CL_CRM_ECC_CUST_FIELDSETTINGS has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | GSY_CREDI | Private | See coding | 20100922 | BEGIN OF gsy_credi,
fausa(120) TYPE c, "screen selection general data
fausf(80) TYPE c, "screen selection company code data
fausm(80) TYPE c,
fausv(80) TYPE c, "screen selection sales data
END OF gsy_credi
|
||
| 2 | L_TYP_FSETTINGS | Private | See coding | 20100922 | BEGIN OF l_typ_fsettings,
tcode TYPE tcode,
ktokd TYPE ktokd,
bukrs TYPE bukrs,
vkorg TYPE vkorg,
tabnm TYPE tabnm,
feldn TYPE fieldname,
fauna TYPE fauna_modi,
modif TYPE scrfgrp1,
status TYPE char1,
END OF l_typ_fsettings
|
||
| 3 | L_TYP_FSETTINGS_T | Private | See coding | 20100922 | l_typ_fsettings_t TYPE SORTED TABLE OF l_typ_fsettings
WITH UNIQUE KEY tcode ktokd bukrs vkorg tabnm feldn
|
||
| 4 | L_TYP_FSETTINGS_T_STD | Private | See coding | 20100922 | l_typ_fsettings_t_std TYPE STANDARD TABLE OF l_typ_fsettings
|
||
| 5 | L_TYP_SPEC_FIELD_HANDLING | Private | See coding | 20100922 | BEGIN OF l_typ_spec_field_handling,
fauna TYPE fauna_modi,
tabnm TYPE tabnm,
feldn TYPE fieldname,
dynprog TYPE scraprog,
dynnr TYPE scrfdynnr,
group1 TYPE scrfgrp1,
group2 TYPE scrfgrp2, " NOB position
group3 TYPE scrfgrp3, " NOB position
group4 TYPE scrfgrp4, " CPY position
END OF l_typ_spec_field_handling
|
||
| 6 | L_TYP_SPEC_FIELD_HANDLING_T | Private | See coding | 20100922 | l_typ_spec_field_handling_t TYPE SORTED TABLE OF l_typ_spec_field_handling
WITH UNIQUE KEY fauna tabnm feldn dynprog dynnr
|
||
| 7 | L_TYP_STRUC_TABNM | Private | See coding | 20100922 | BEGIN OF l_typ_struc_tabnm,
struc TYPE strucname,
s_feldn TYPE feldn,
tabnm TYPE tabnm,
t_feldn TYPE feldn,
END OF l_typ_struc_tabnm
|
||
| 8 | L_TYP_STRUC_TABNM_T | Private | See coding | 20100922 | l_typ_struc_tabnm_t TYPE SORTED TABLE OF l_typ_struc_tabnm
WITH UNIQUE KEY struc s_feldn
|
||
| 9 | L_TYP_T020 | Private | See coding | 20100922 | l_typ_t020 TYPE SORTED TABLE OF t020 WITH UNIQUE KEY tcode
|
||
| 10 | L_TYP_T077D | Private | See coding | 20100922 | l_typ_t077d TYPE SORTED TABLE OF t077d WITH UNIQUE KEY ktokd
|
||
| 11 | L_TYP_T078D | Private | See coding | 20100922 | l_typ_t078d TYPE SORTED TABLE OF t078d WITH UNIQUE KEY tcode
|
||
| 12 | L_TYP_T079D | Private | See coding | 20100922 | l_typ_t079d TYPE SORTED TABLE OF t079d WITH UNIQUE KEY bukrs
|
||
| 13 | L_TYP_T079V | Private | See coding | 20100922 | l_typ_t079v TYPE SORTED TABLE OF t079v WITH UNIQUE KEY vkorg
|
||
| 14 | L_TYP_TMODU_T | Private | See coding | 20100922 | l_typ_tmodu_t TYPE STANDARD TABLE OF tmodu
|
||
| 15 | S_FIELDSSETTINGS | Public | See coding | 20100922 | BEGIN OF s_fieldssettings,
tcode TYPE tcode,
ktokd TYPE ktokd,
bukrs TYPE bukrs,
vkorg TYPE vkorg,
tabnm TYPE tabnm,
feldn TYPE fieldname,
fauna TYPE fauna_modi,
modif TYPE scrfgrp1,
status TYPE char1,
END OF s_fieldssettings
|
||
| 16 | T_FIELDSSETTINGS | Public | See coding | 20100922 | t_fieldssettings TYPE SORTED TABLE OF s_fieldssettings
WITH UNIQUE KEY tcode ktokd bukrs vkorg tabnm feldn
|
Method Signatures
Method BUILD_FIELDSETTINGS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_BUKRS | Call by reference | Type reference (TYPE) | BUKRS | Company Code | 20100922 | |||
| 2 | IV_KTOKD | Call by reference | Type reference (TYPE) | KTOKD | Customer account group | 20100922 | |||
| 3 | IV_TCODE | Call by reference | Type reference (TYPE) | TCODE | Transaction Code | 20100922 | |||
| 4 | IV_VKORG | Call by reference | Type reference (TYPE) | VKORG | Sales Organization | 20100922 |
Method BUILD_FIELDSETTINGS on class CL_CRM_ECC_CUST_FIELDSETTINGS has no exception.
Method CHECK_AND_SET_NOB_STATUS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CV_STATUS | Call by reference | Type reference (TYPE) | CHAR1 | Single-Character Indicator | 20100922 | |||
| 2 | IV_FAUNA | Call by reference | Type reference (TYPE) | FAUNA_MODI | Name of the Field Selection Definition | 20100922 | |||
| 3 | IV_FELNM | Call by reference | Type reference (TYPE) | FIELDNAME | Field Name | 20100922 | |||
| 4 | IV_IS_NEVER_OBLIGATORY | Call by reference | Type reference (TYPE) | XFELD | 'X' when true, ' ' when false | 20100922 | |||
| 5 | IV_TABNM | Call by reference | Type reference (TYPE) | TABNM | Table Name (4 Characters) | 20100922 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Field does not exist | 20100922 |
Method GET_ACCOUNT_GROUP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_KTOKD | Call by reference | Type reference (TYPE) | KTOKD | Customer account group | 20100922 | |||
| 2 | RS_T077D | Value transfer | Type reference (TYPE) | T077D | Customer account groups | 20100922 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Account group not found | 20100922 |
Method GET_FIELDSETTINGS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_FIELDSSETTINGS | Call by reference | Type reference (TYPE) | T_FIELDSSETTINGS | 20100922 | ||||
| 2 | IV_BUKRS | Call by reference | Type reference (TYPE) | BUKRS | SPACE | Company Code | 20100922 | ||
| 3 | IV_KTOKD | Call by reference | Type reference (TYPE) | KTOKD | Customer account group | 20100922 | |||
| 4 | IV_TCODE | Call by reference | Type reference (TYPE) | TCODE | Transaction Code | 20100922 | |||
| 5 | IV_VKORG | Call by reference | Type reference (TYPE) | VKORG | Sales Organization | 20100922 |
Method GET_FIELDSETTINGS on class CL_CRM_ECC_CUST_FIELDSETTINGS has no exception.
Method GET_T077D Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_KTOKD | Call by reference | Type reference (TYPE) | KTOKD | Customer account group | 20100922 | |||
| 2 | RS_T077D | Value transfer | Type reference (TYPE) | T077D | Customer account groups | 20100922 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Account group not found | 20100922 |
Method GET_T078D Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_TCODE | Call by reference | Type reference (TYPE) | TCODE | Transaction Code | 20100922 | |||
| 2 | RS_T078D | Value transfer | Type reference (TYPE) | T078D | Transaction-dependent screen selection for vendor master | 20100922 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Account group not found | 20100922 |
Method GET_T079D Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_BUKRS | Call by reference | Type reference (TYPE) | BUKRS | Company Code | 20100922 | |||
| 2 | RS_T079D | Value transfer | Type reference (TYPE) | T079D | Company code-dependent screen sel.for vend.master | 20100922 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Account group not found | 20100922 |
Method GET_T079V Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_VKORG | Call by reference | Type reference (TYPE) | VKORG | Sales Organization | 20100922 | |||
| 2 | RS_T079V | Value transfer | Type reference (TYPE) | T079V | Vendor master data screen selection (purch.org.) | 20100922 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Account group not found | 20100922 |
Method GET_TMODU Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_TMODU | Call by reference | Type reference (TYPE) | L_TYP_TMODU_T | 20100922 | ||||
| 2 | IV_FAUNA | Call by reference | Type reference (TYPE) | FAUNA_MODI | Name of the Field Selection Definition | 20100922 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | FAUNA does not exist | 20100922 |
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 606 |