SAP ABAP Class CL_J_1BNFW_SCREEN_CONTROL (Nota Fiscal Writer screen control)
Hierarchy
☛
BBPCRM (Software Component) BBPCRM
⤷
CRM-LOC-BR (Application Component) Brazil
⤷
J1BA (Package) Localization Brazil
⤷
⤷
Properties
| Class | CL_J_1BNFW_SCREEN_CONTROL | |
| Short Description | Nota Fiscal Writer screen control | |
| Super Class | ||
| Instantiability of a Class | 1 | Protected |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | J1BA | Localization Brazil |
| Created | 20130527 | SAP |
| Last change | 20131127 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_J_1BNFW_SCREEN_CONTROL has no interface implemented.
Friends
Class CL_J_1BNFW_SCREEN_CONTROL has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | CHAR01 | '*' | Display only fields | 20130624 | ||
| 2 | Constant | Public | Type reference (TYPE) | CHAR01 | '-' | Hidden fields | 20130624 | ||
| 3 | Constant | Public | Type reference (TYPE) | CHAR01 | '+' | Mandatory fields | 20130624 | ||
| 4 | Constant | Public | Type reference (TYPE) | CHAR01 | ' ' | Not Maintained fields | 20130624 | ||
| 5 | Constant | Public | Type reference (TYPE) | CHAR01 | '.' | Optional fields | 20130624 | ||
| 6 | Constant | Public | Type reference (TYPE) | STRING | ' *' | Display only fields | 20130624 | ||
| 7 | Constant | Public | Type reference (TYPE) | STRING | '-' | Hidden fields | 20130624 | ||
| 8 | Constant | Public | Type reference (TYPE) | STRING | '+' | Mandatory fields | 20130624 | ||
| 9 | Constant | Public | Type reference (TYPE) | STRING | '.' | Optional fields (include not maintained) | 20130624 | ||
| 10 | Static Attribute | Private | See coding | FC: Screen group assignment - header | 20130624 | ||||
| 11 | Static Attribute | Private | See coding | FC: Screen control Header | 20130624 | ||||
| 12 | Static Attribute | Private | See coding | FC: Screen group assignment - item | 20130624 | ||||
| 13 | Static Attribute | Private | See coding | FC: Screen control Item | 20130624 | ||||
| 14 | Static Attribute | Private | See coding | Item tables (range) | 20130624 | ||||
| 15 | Static Attribute | Private | See coding | FC/SC: Header Screen control ID's determination | 20130624 | ||||
| 16 | Static Attribute | Private | See coding | SC: Screen control Header | 20130624 | ||||
| 17 | Static Attribute | Private | See coding | SC: Screen group assignment - header | 20130624 | ||||
| 18 | Static Attribute | Private | See coding | SC: Screen control Item | 20130624 | ||||
| 19 | Static Attribute | Private | See coding | SC: Screen group assignment - item | 20130624 | ||||
| 20 | Static Attribute | Private | Type reference (TYPE) | TT_TABNR_2_DYNPRONR | Map Function Code of Tab with Subscreen Number (Table) | 20130624 | |||
| 21 | Static Attribute | Private | Type reference (TYPE) | TY_TAB_INFO_TAB | Tabstrip information | 20130624 | |||
| 22 | Instance attribute | Private | See coding | Process context | 20130624 | ||||
| 23 | Instance attribute | Private | Type reference (TYPE) | J_1BAL | Screen control group | 20130624 | |||
| 24 | Instance attribute | Private | Type reference (TYPE) | J_1BSCRCON | FC_ Screen Control (header level) | 20130624 | |||
| 25 | Instance attribute | Private | Type reference (TYPE) | J_1BSCRCON | FC: Screen Control (item level) | 20130624 | |||
| 26 | Instance attribute | Private | Type reference (TYPE) | J_1BSCONRFIT | FC: Item Screen Control id (field groups) | 20130624 | |||
| 27 | Instance attribute | Private | Type reference (TYPE) | NUMC3 | Last Screen Group used | 20130624 | |||
| 28 | Instance attribute | Private | Type reference (TYPE) | J_1BSCRCON | SC: Screen Control (screen level - header) | 20130624 | |||
| 29 | Instance attribute | Private | Type reference (TYPE) | J_1BSCRCON | SC: Screen Control (screen level - item) | 20130624 | |||
| 30 | Instance attribute | Private | Type reference (TYPE) | J_1BSCR_CONT_IT | SC: Item Screen Control id (screen groups) | 20130624 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Change field attributes defined in screen | 20130624 | |
| 2 | Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20130624 | |
| 3 | Instance method | Protected | Constructor | Get basic screen control attributes for Nota Fiscal | 20130624 | |
| 4 | Instance method | Public | Method | Disable Table control buttons depending on reference field | 20130624 | |
| 5 | Static method | Public | Method | Get subscreen number of tab by function code of tab. | 20130624 | |
| 6 | Instance method | Public | Method | Get Screen field attributes | 20130624 | |
| 7 | Instance method | Public | Method | For table/field corresponding tabstrip's information | 20130624 | |
| 8 | Instance method | Private | Method | Get Header Screen field attributes | 20130624 | |
| 9 | Instance method | Public | Method | Get Screen fields rules: Displayed, Hidden, Optional, Mand. | 20130624 | |
| 10 | Static method | Public | Method | Factory method | 20130624 | |
| 11 | Instance method | Private | Method | Get Item Screen field attributes | 20130624 | |
| 12 | Instance method | Public | Method | Get Screen fields rules: Displayed, Hidden, Optional, Mand. | 20130624 | |
| 13 | Static method | Private | Method | Initialize mapping table TABNR_2_DYNPRONR | 20130624 | |
| 14 | Instance method | Public | Method | Determine if screen element should be displayed/hidden | 20130624 | |
| 15 | Instance method | Private | Method | Determine hide/display for header screen element | 20130624 | |
| 16 | Instance method | Private | Method | Determine ihide/display for item screen element | 20130624 | |
| 17 | Static method | Private | Method | Load screen control configuration | 20130624 | |
| 18 | Static method | Private | Method | Load NFW screen information | 20130624 | |
| 19 | Instance method | Public | Method | Establish current item type getting item screen controls | 20130624 | |
| 20 | Instance method | Public | Method | Establish current screen number | 20130624 |
Events
Class CL_J_1BNFW_SCREEN_CONTROL has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TS_TABNR_2_DYNPRONR | Private | See coding | Map Function Code of Tab with Subscreen Number (Structure) | 20130624 | BEGIN OF ts_tabnr_2_dynpronr,
tabnr TYPE c LENGTH 4,
dynpronr TYPE syst-dynnr,
END OF ts_tabnr_2_dynpronr
|
|
| 2 | TT_TABNR_2_DYNPRONR | Private | See coding | Map Function Code of Tab with Subscreen Number (Table) | 20130624 | tt_tabnr_2_dynpronr TYPE standard TABLE OF ts_tabnr_2_dynpronr
|
|
| 3 | TY_TAB_INFO_EST | Private | See coding | Tabstrip information | 20130624 | BEGIN OF ty_tab_info_est,
screen TYPE sychar04,
tabname TYPE j_1bscr_elem,
tabfunc TYPE scrffcod,
text TYPE stxt_____1, "1885164
END OF ty_tab_info_est
|
|
| 4 | TY_TAB_INFO_TAB | Private | See coding | Tabstrip information | 20130624 | ty_tab_info_tab TYPE SORTED TABLE OF ty_tab_info_est WITH UNIQUE KEY screen tabname
|
Method Signatures
Method CHANGE_SCREEN_FIELD_ATTRIBUTES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_NO_HIDE | Call by reference | Type reference (TYPE) | SAP_BOOL | SPACE | Boolean Variable (X=True, Space=False) | 20130808 |
Method CHANGE_SCREEN_FIELD_ATTRIBUTES on class CL_J_1BNFW_SCREEN_CONTROL has no exception.
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_J_1BNFW_SCREEN_CONTROL has no parameter.
Method CLASS_CONSTRUCTOR on class CL_J_1BNFW_SCREEN_CONTROL has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_MANUAL | Call by reference | Type reference (TYPE) | J_1BMANUAL | Created manually | 20130624 | |||
| 2 | IV_MODEF | Call by reference | Type reference (TYPE) | J_1BMODE | Mode | 20130624 | |||
| 3 | IV_NFTYPE | Call by reference | Type reference (TYPE) | J_1BNFTYPE | Nota Fiscal Type | 20130624 |
Method CONSTRUCTOR on class CL_J_1BNFW_SCREEN_CONTROL has no exception.
Method DISABLE_TC_BUTTONS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_DELETE_BUTTON | Call by reference | Type reference (TYPE) | FIELDNAME | 'PB_DELETE_ROW' | Delete button name (string pattern) | 20130624 | ||
| 2 | IV_FIELD | Call by reference | Type reference (TYPE) | FIELDNAME | 'BUTTONS' | Field Name (of button field) | 20130624 | ||
| 3 | IV_INSERT_BUTTON | Call by reference | Type reference (TYPE) | FIELDNAME | 'PB_INSERT_ROW' | Insert button name (string pattern) | 20130624 | ||
| 4 | IV_TABLE | Call by reference | Type reference (TYPE) | TABNAME | Table Name (of button field) | 20130624 |
Method DISABLE_TC_BUTTONS on class CL_J_1BNFW_SCREEN_CONTROL has no exception.
Method GET_DYNPRONR_BY_TABNR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_TABNR | Call by reference | Type reference (TYPE) | CHAR4 | Function code of tab | 20130624 | |||
| 2 | RV_DYNPRONR | Value transfer | Type reference (TYPE) | SYST-DYNNR | Number of subscreen that corresponds to tab | 20130624 |
Method GET_DYNPRONR_BY_TABNR on class CL_J_1BNFW_SCREEN_CONTROL has no exception.
Method GET_FIELD_ATTRIBUTES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_FIELD | Call by reference | Type reference (TYPE) | FIELDNAME | Field Name | 20130624 | |||
| 2 | IV_TABLE | Call by reference | Type reference (TYPE) | TABNAME | Table Name | 20130624 | |||
| 3 | RS_ATTRIBUTES | Value transfer | Type reference (TYPE) | J_1BNFE_SCREEN_ATTRIBUTES | Screen attributes | 20130624 |
Method GET_FIELD_ATTRIBUTES on class CL_J_1BNFW_SCREEN_CONTROL has no exception.
Method GET_FIELD_TAB_INFO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_FLD_GROUP | Call by reference | Type reference (TYPE) | NUMC3 | Field Group | 20130624 | |||
| 2 | EV_FUNCCODE | Value transfer | Type reference (TYPE) | SCRFFCOD | Function code for tabstrip | 20130624 | |||
| 3 | EV_SCN_GROUP | Call by reference | Type reference (TYPE) | NUMC3 | Screen Group | 20130624 | |||
| 4 | EV_TABNAME | Value transfer | Type reference (TYPE) | J_1BSCR_ELEM | Tabstrip name | 20130624 | |||
| 5 | EV_TAB_TEXT | Call by reference | Type reference (TYPE) | STXT_____1 | Text of tabstrip item | 20130808 | |||
| 6 | EX_DISPLAYED | Value transfer | Type reference (TYPE) | SAP_BOOL | X=Tab is displayed; Space=Tab is hidden | 20130624 | |||
| 7 | IV_FIELD | Call by reference | Type reference (TYPE) | FIELDNAME | Field Name | 20130624 | |||
| 8 | IV_TABLE | Call by reference | Type reference (TYPE) | TABNAME | Table Name | 20130624 |
Method GET_FIELD_TAB_INFO on class CL_J_1BNFW_SCREEN_CONTROL has no exception.
Method GET_HEAD_FIELD_ATTRIBUTES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_FIELD | Call by reference | Type reference (TYPE) | FIELDNAME | Field Name | 20130624 | |||
| 2 | IV_TABLE | Call by reference | Type reference (TYPE) | TABNAME | Table Name | 20130624 | |||
| 3 | RS_ATTRIBUTES | Value transfer | Type reference (TYPE) | J_1BNFE_SCREEN_ATTRIBUTES | Screen attributes | 20130624 |
Method GET_HEAD_FIELD_ATTRIBUTES on class CL_J_1BNFW_SCREEN_CONTROL has no exception.
Method GET_HEAD_FIELD_RULE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_FIELD | Call by reference | Type reference (TYPE) | FIELDNAME | Field Name filtering criteria | 20130624 | |||
| 2 | IV_RULES_PATTERN | Call by reference | Type reference (TYPE) | STRING | Rules as string filtering criteria | 20130624 | |||
| 3 | IV_TABLE | Call by reference | Type reference (TYPE) | TABNAME | Table Name filtering criteria | 20130624 | |||
| 4 | RT_RULE | Value transfer | Type reference (TYPE) | J_1BNFE_FIELD_RULE_TAB | Screen fields rules | 20130624 |
Method GET_HEAD_FIELD_RULE on class CL_J_1BNFW_SCREEN_CONTROL has no exception.
Method GET_INSTANCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_MANUAL | Call by reference | Type reference (TYPE) | J_1BMANUAL | Created manually | 20130624 | |||
| 2 | IV_MODEF | Call by reference | Type reference (TYPE) | J_1BMODE | Mode | 20130624 | |||
| 3 | IV_NFTYPE | Call by reference | Type reference (TYPE) | J_1BNFTYPE | Nota Fiscal Type | 20130624 | |||
| 4 | RO_NFW_SCREEN_CONTROL | Value transfer | Object reference (TYPE REF TO) | CL_J_1BNFW_SCREEN_CONTROL | Nota Fiscal Writer screen control | 20130624 |
Method GET_INSTANCE on class CL_J_1BNFW_SCREEN_CONTROL has no exception.
Method GET_ITEM_FIELD_ATTRIBUTES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_FIELD | Call by reference | Type reference (TYPE) | FIELDNAME | Field Name | 20130624 | |||
| 2 | IV_TABLE | Call by reference | Type reference (TYPE) | TABNAME | Table Name | 20130624 | |||
| 3 | RS_ATTRIBUTES | Value transfer | Type reference (TYPE) | J_1BNFE_SCREEN_ATTRIBUTES | Screen attributes | 20130624 |
Method GET_ITEM_FIELD_ATTRIBUTES on class CL_J_1BNFW_SCREEN_CONTROL has no exception.
Method GET_ITEM_FIELD_RULE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_FIELD | Call by reference | Type reference (TYPE) | FIELDNAME | Field Name filtering criteria | 20130624 | |||
| 2 | IV_ITMTYP | Call by reference | Type reference (TYPE) | J_1BITMTYP | Nota Fiscal Item Type | 20130624 | |||
| 3 | IV_RULES_PATTERN | Call by reference | Type reference (TYPE) | STRING | Rules as string firtering criteria | 20130624 | |||
| 4 | IV_TABLE | Call by reference | Type reference (TYPE) | TABNAME | Table Name filtering criteria | 20130624 | |||
| 5 | IV_TMISS | Call by reference | Type reference (TYPE) | J_1BTMISS | Service tax - no ICMS/IPI calculation | 20130624 | |||
| 6 | RT_RULE | Value transfer | Type reference (TYPE) | J_1BNFE_FIELD_RULE_TAB | Screen fields rules | 20130624 |
Method GET_ITEM_FIELD_RULE on class CL_J_1BNFW_SCREEN_CONTROL has no exception.
Method INIT_TABNR_2_DYNPRONR Signature
Method INIT_TABNR_2_DYNPRONR on class CL_J_1BNFW_SCREEN_CONTROL has no parameter.
Method INIT_TABNR_2_DYNPRONR on class CL_J_1BNFW_SCREEN_CONTROL has no exception.
Method IS_DISPLAYED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ELEMENT | Call by reference | Type reference (TYPE) | J_1BSCR_ELEM | Screen element | 20130624 | |||
| 2 | IV_SCREEN | Call by reference | Type reference (TYPE) | SYDYNNR | SY-DYNNR | Screen number | 20130624 | ||
| 3 | RV_DISPLAYED | Value transfer | Type reference (TYPE) | SAP_BOOL | True -> Element to be displayed | 20130624 |
Method IS_DISPLAYED on class CL_J_1BNFW_SCREEN_CONTROL has no exception.
Method IS_DISPLAYED_HEADER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ELEMENT | Call by reference | Type reference (TYPE) | J_1BSCR_ELEM | Screen element | 20130624 | |||
| 2 | IV_SCREEN | Call by reference | Type reference (TYPE) | SYDYNNR | Screen Number | 20130624 | |||
| 3 | RV_DISPLAYED | Value transfer | Type reference (TYPE) | SAP_BOOL | True -> Element to be displayed | 20130624 |
Method IS_DISPLAYED_HEADER on class CL_J_1BNFW_SCREEN_CONTROL has no exception.
Method IS_DISPLAYED_ITEM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ELEMENT | Call by reference | Type reference (TYPE) | J_1BSCR_ELEM | Screen element | 20130624 | |||
| 2 | IV_SCREEN | Call by reference | Type reference (TYPE) | SYDYNNR | Screen Number | 20130624 | |||
| 3 | RV_DISPLAYED | Value transfer | Type reference (TYPE) | SAP_BOOL | True -> Element to be displayed | 20130624 |
Method IS_DISPLAYED_ITEM on class CL_J_1BNFW_SCREEN_CONTROL has no exception.
Method LOAD_SCREEN_CONTROL_CONFIG Signature
Method LOAD_SCREEN_CONTROL_CONFIG on class CL_J_1BNFW_SCREEN_CONTROL has no parameter.
Method LOAD_SCREEN_CONTROL_CONFIG on class CL_J_1BNFW_SCREEN_CONTROL has no exception.
Method LOAD_SCREEN_INFORMATION Signature
Method LOAD_SCREEN_INFORMATION on class CL_J_1BNFW_SCREEN_CONTROL has no parameter.
Method LOAD_SCREEN_INFORMATION on class CL_J_1BNFW_SCREEN_CONTROL has no exception.
Method SET_CURRENT_ITEM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ITMTYP | Call by reference | Type reference (TYPE) | J_1BITMTYP | Nota Fiscal Item Type | 20130624 | |||
| 2 | IV_TMISS | Call by reference | Type reference (TYPE) | J_1BTMISS | Service tax - no ICMS/IPI calculation | 20130624 |
Method SET_CURRENT_ITEM on class CL_J_1BNFW_SCREEN_CONTROL has no exception.
Method SET_CURRENT_SCREEN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ITEM | Call by reference | Type reference (TYPE) | SAP_BOOL | ABAP_FALSE | True -> Item screen; False -> Header screen | 20130624 |
Method SET_CURRENT_SCREEN on class CL_J_1BNFW_SCREEN_CONTROL has no exception.
History
| Last changed by/on | SAP | 20131127 |
| SAP Release Created in |