Ansicht
Dokumentation
HELP_VALUES_GET_NO_DD_NAME - Use F4IF_INT_TABLE_VALUE_REQUEST
TXBHW - Original Tax Base Amount in Local Currency General Material DataThis documentation is copyright by SAP AG.
PLEASE DO NOT USE THIS MODULE ANY LONGER
The new module F4IF_INT_TABLE_VALUE_REQUEST is provided for the input help for Release 4.0.
Function Module: HELP_VALUES_GET_NO_DD_NAME
Purpose: Display of internal tables without Dictionary reference with selection
Function group: SHL3 - Help Functions for external use
Release: Released for customers
DOCUMENTATION
Function
This function module allows you to display an internal table without Dictionary reference (the fields of the table have to be active in the Dictionary). The full functionality of standard F4 Help is available in the display.
Example
data: begin of inttab occurs 10,
tabname like dd08v-tabname,
fieldname like dd03l-fieldname,
text like tstct-ttext,
end of inttab.
data: title(40) type c value 'Test'.
data: fieldname like inttab-fieldname,
ind like sy-tabix,
cucol like sy-cucol,
curow like sy-curow.
data: begin of fields like help_value occurs 10 with header line.
data: begin of shrinkfields like dynpread occurs 0 with header line.
data: begin of list_of_fields occurs 10,
feldname(21),
end of list_of_fields.
perform fill_inttab.
refresh list_of_fields.
fieldname = 'TABNAME'.
list_of_fields-feldname = 'DD08V-TABNAME'.
append list_of_fields.
list_of_fields-feldname = 'DD03L-FIELDNAME'.
append list_of_fields.
list_of_fields-feldname = 'TSTCT-TTEXT'.
append list_of_fields.
refresh fields.
move 'DD08V-TABNAME' to shrinkfields-fieldname.
move 'T10*' to shrinkfields-fieldvalue.
append shrinkfields.
call function 'TRANSFER_NAMES_TO_FIELDS'
exporting
selectfield = fieldname
tables
fields = fields
namelist = list_of_fields
exceptions
wrong_format_given = 01.
call function 'HELP_VALUES_GET_NO_DD_NAME'
exporting
cucol = cucol
curow = curow
display = ' '
selectfield = fieldname
titel = titel
no_pers_help_select = ' '
title_in_values_list = ' '
use_user_selections = 'S'
show_all_values_at_first_time = ' '
write_selectfield_in_colours = 'X'
importing
ind = ind
tables
fields = fields
full_table = inttab
user_sel_fields = shrinkfields
exceptions
full_table_empty = 01
no_tablestructure_given = 02
no_tablefields_in_dictionary = 03
more_then_one_selectfield = 04
no_selectfield = 05
Notes
Use this function module when you want to display an internal table, and the fields of the table have a Dictionary reference. The individual fields must be active in the Dictionary - that is, they can be declared though the statement "<field>
like <ddic_field>". The functionality of this module is also contained in HELP_VALUES_GET_WITH_TABLE_EXT.
You can, of course, fill in table FIELDS manually, and not use TRANSFER_NAMES_TO_FIELDS.
Additional field restrictions can be passed in the table USER_SEL_FIELDS.
Parameter Description
Parameter Ref.field/structure Default value
Import parameters:
CUCOL SY-CUCOL 0
CUROW SY-CUROW 0
DISPLAY SPACE
SELECTFIELD HELP_INFO-FIELDMAME
TITEL SPACE
NO_PERS_HELP_SELECT SPACE
TITLE_IN_VALUES_LIST SPACE
USE_USER_SELECTIONS SPACE
SHOW_ALL_VALUES_AT_FIRST_TIME SPACE
WRITE_SELECTFIELD_IN_COLOURS 'X'
Export parameters:
IND SY-TABIX
Table parameters
FIELDS HELP_VALUE
FULL_TABLE
USER_SEL_FIELDS DYNPREAD OPTIONAL
Exceptions:
EXCEPTIONS
FULL_TABLE_EMPTY
NO_TABLESTRUCTURE_GIVEN
NO_TABLEFIELDS_IN_DICTIONARY
MORE_THEN_ONE_SELECTFIELD
NO_SELECTFIELD
- Import parameters
- CUCOL: Cursor position: Column
Meaning: Column on which the cursor is placed in
the display. If there is no specification,
the cursor is positioned in the first column.
Value range: None
Preallocation: 0
- CUROW: Cursor position: Line
Meaning: Line on which the cursor is placed in the
display. If there is no specification,
the cursor is placed in the first value line.
Value range: None
Preallocation: 0
- DISPLAY: Display indicator
Meaning: If you set the display ID ('X'), the values
are output for display only. It is then not possible
to select from the values.
Value range: SPACE, X.
Preallocation: SPACE
- SELECTFIELD: Table field selected
Meaning: Name of field selected for which the display/help
is requested. The field must belong to an active
Dictionary table and
be contained in FIELDS.
Value range: None
Preallocation: None
- TITLE: F4 popup title
Meaning: Title that appears in the F4 dialog box. If SPACE,
the data element text or the table name will be
set.
Value range: None
Preallocation: SPACE
- NO_PERS_HELP_SELECT: Deactivation of personal help
Meaning: The personal help function is deactivated.
Value range: SPACE, 'X'
Preallocation: SPACE
- TITLE_IN_VALUES_LIST: Information line
Meaning: Additional information line in addition to
popup title in the value list
Value range: None
Preallocation: SPACE
- USE_USER_SELECTION: Use selection conditions
Meaning: Define selection condition
evaluation.
Value range: SPACE, 'D', 'S'
Preallocation: SPACE
WRITE_SELECTFIELD_IN_COLOURS: Use key field color
Meaning: The selected value is displayed in the key
field color (color = 4).
Value range: 'X', SPACE
Preallocation: 'X'
- Export parameters
- IND: Index of the selected value
Meaning: Line index of the selected value in the internal
table FULL_TABLE. The value itself is not
returned but retrieved by an index-specific
read of the internal table
.
- Table parameters
- FIELDS: Names of the fields in the internal table
Meaning: FIELDS contains the fields TABNAME and FIELDNAME
as well as the field SELECTFLAG. They contain the
names of the internal table fields listed according to
table and field name.
SELECTFLAG is set to 'X' for the field
for which help was requested.
Value range: None
- FULL_TABLE: Internal table
Meaning: Internal table that is to be
displayed.
Value range: None
- Exceptions:
- FULL_TABLE: The table does not contain any entries
Meaning: The fields of the internal table are
active in the Dictionary, but the table
does not contain any values.
- NO_TABLESTRUCTURE_GIVEN: Incorrect structure of internal table
Meaning: One or several fields in the internal table
are not active in the Dictionary.
- USER_SEL_FIELDS: Selection Conditions
Meaning: Selection conditions for the fields of the
TABNAME table.
Value range: None
- Exception
- FULL_TABLE_EMPTY: No values exist
Meaning: The internal table passed is empty.
- NO_TABLESTRUCTURE_GIVEN: Not a name of a Dictionary table
Meaning: The specified table is either not active in
the Dictionary or does not exist.
- NO_TABLEFIELDS_IN_DICTIONARY: No fields exist in the Dictionary
Meaning: The specified table structure is known,
but the field for which help
was requested is either not active
or does not exist.
- MORE_THAN_ONE_SELECTFIELD: More than one table field selected
Meaning: More than one table field is flagged as a selection
field.
- NO_SELECTFIELD: No table field selected.
Meaning: No field was flagged as a selection field.
Parameters
CUCOLCUROW
DISPLAY
FIELDS
FILTER_FULL_TABLE
FULL_TABLE
HEADING_TABLE
IND
NO_CONVERSION
NO_DISPLAY_OF_PERS_VALUES
NO_MARKING_OF_CHECKVALUE
NO_PERS_HELP_SELECT
NO_SCROLL
REDUCED_STATUS_ONLY
SELECTFIELD
SELECT_VALUE
SHOW_ALL_VALUES_AT_FIRST_TIME
TITEL
TITLE_IN_VALUES_LIST
USER_SEL_FIELDS
USE_USER_SELECTIONS
WRITE_SELECTFIELD_IN_COLOURS
Exceptions
FULL_TABLE_EMPTYMORE_THEN_ONE_SELECTFIELD
NO_SELECTFIELD
NO_TABLEFIELDS_IN_DICTIONARY
NO_TABLESTRUCTURE_GIVEN
Function Group
SHL3CPI1466 during Backup ROGBILLS - Synchronize billing plans
This documentation is copyright by SAP AG.
Length: 13769 Date: 20240523 Time: 101948 sap01-206 ( 76 ms )