Ansicht
Dokumentation

TBLP_AUX_GET_SEL_FROM_LIST - Dialogfenster zur Auswahl/Anzeige von Einträgen einer Liste (incl. Funkt.)

TBLP_AUX_GET_SEL_FROM_LIST - Dialogfenster zur Auswahl/Anzeige von Einträgen einer Liste (incl. Funkt.)

PERFORM Short Reference   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.
SAP E-Book

Function Module: POPUP_GET_SELECTION_FROM_LIST

Task: selection of an internal table or structure with reference to
the dictionary with selection and return of more than one value
and the option of including standard functions in the
application toolbar.

Function group: SZA4

Responsible: TRUNZ

Release: -

DOKUMENTATION

Functionality

This function module allows you to display and internal table with its dictionary reference. You can select more than one value from the list that the system displays and copy these values. The values that you copy are returned to a table that contains the tables indices.

Example

data: tabelle like help_info-tabname,
field like help_info-fieldname,
ind like sy-index,
data: begin of itstc occurs 100.
include structure tstct.
data: end of itstc.
data: begin of sel_tab occurs 100.
include structure shvalue.
data: end of sel_tab.
tabelle = 'TSTCT'.
field = 'TCODE'
select * from tstct into table itstct where sprsl eq sy-langu.
call function 'HELP_VALUES_GET_AND_RETURN_TAB'
exporting
cucol = 0
curow = 0
display = ' '
selectfield = 'TCODE'
tablename = tabelle
tables
full_table = itstct
selection_tab = sel_tab
exceptions
no_tablefields_in_dictionary = 01
no_tablestructure_given = 02.

Note

This function module allows you to select more than one table value by double-clicking. The system displays the selected values in a different color. By using the appropriate function, you can copy these values to table SELECTION_TAB which contains the selected lines and values. The function module contains the functions of HELP_VALUES_GET_WITH_DD_NAME.

Parameter Description

Parameter Ref. field/structure Default value

Import Parameters:
CUCOL SY-CUCOL 0
CUROW SY-CUROW 0
DISPLAY SPACE
SELECTFIELD HELP_INFO-FIELDMAME
TABLENAME HELP_INFO-TABNAME

Table Parameters:
FULL_TABLE
SELECTION_TAB

Exceptions:
NO_TABLEFIELDS_IN_DICTIONARY
NO_TABLESTRUCTURE_GIVEN

  • Import Parameters
  • CUCOL: Cursor position: column
    Meaning: column where the cursor is placed.
    No entry places the cursor in the first column.
    Value range: none
    Default value: 0

  • CUROW: Cursor position: line
    Meaning: line where the cursor is placed.
    No entry places the cursor in the first line.
    Value range: none
    Default value: 0

  • DISPLAY: Dispaly indicator
    Meaning: if this indicator is set ("X"), the values are only
    displayed and you cannot select from them.
    Value range: SPACE, 'X'.
    Default value: SPACE

  • SELECTFIELD: selected table field
    Meaning: name of field for which the display/help is required.
    This field must be a field in an active Dictionary
    table.
    Value range: none
    Default value: none

  • TABLENAME: name of a table
    Meaning: name of the table that contains the field SELECTFIELD.
    The table must exist in active form in the Dictionary
    and also defines the structure of internal table
    FULL_TABLE.
    Value range: none
    Default value: none

  • Table Parameters
  • FULL_TABLE: internal table
    Meaning: internal table that must have the structure
    defined by TABLENAME.
    Value range: none

  • SELECTION_TAB: table of selected values
    Meaning: this table contains the indices of the selected
    values from the displayed table in field LINE
    and the values themselves in field LOW_VALUE.
    The user can use the indices to assist in
    determining the values of a table line from
    the internal table.

  • Exceptions
  • NO_TABLEFIELDS_IN_DICTIONARY: no fields exist in the Dictionary
    Meaning: the given structure structure is known, but
    the field for which help is required is either
    inactive or does not exist.

  • NO_TABLESTRUCTURE_GIVEN: no name of Dictionary table
    Meaning: the given table is either inactive or
    does not exist in the Dictionary.





Parameters

DISPLAY_ONLY
FUNCTIONS
LIST
TABLE_NAME
TITLE_BAR

Exceptions

NO_TABLEFIELDS_IN_DICTIONARY
NO_TABLE_STRUCTURE
NO_TITLE_BAR

Function Group

TBLP_AUX

rdisp/max_wprun_time - Maximum work process run time   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.

Length: 6722 Date: 20240603 Time: 232627     sap01-206 ( 55 ms )