Ansicht
Dokumentation
HELP_VALUES_GET_WITH_MACO - Include Program Controlled Matchcode Selection (Obsolete)
PERFORM Short Reference General Data in Customer MasterThis documentation is copyright by SAP AG.
Function module: HELP_VALUES_GET_WITH_MACO
Purpose: To restrict, display and select data for a matchcode ID
Function group: SHL2 - Help-Funktionen
Responsible: KRAFTT
Release: -
Documentation
Functionality
This function module serves to select data for a matchcode ID. The process consists of three logical steps:
- Selection of a matchcode Id
- Restriction of matchcode data
- Selection and return of selected value
Example:
- data: cucol like sy-cucol,
- curow like sy-curow,
- select_string like help_info-fldvalue,
- matchcode_id like dd23l-mcid,
- matchcode_object like dd23l-mconame,
- select_value(79) type c.
- move 'PREM' to matchcode_object.
- move space to matchcode_id
- cucol = help_info-cucol.
- curow = help_info-curow.
- select_string = help_info-fldvalue.
- call function 'HELP_VALUES_GET_WITH_MACO'
- exporting
- cucol = cucol
- curow = curow
- mc_id = matchcode_id
- mc_object = matchcode_object
- selstr = select_string
- importing
- selectvalue = select_value
- exceptions
- no_selection = 01
- no_values = 02
- no_values_selected = 03.
Notes:
This FM can be used in the standard F4 Help as well as in your own.
Parameter description
Parameter Reference field/structure Default value
Import parameters:
CUCOL SY-CUCOL 1
CUROW SY-CUROW 1
DISPLAY SPACE
MC_ID DD23L-MCID SPACE
MC_OBJECT DD23L-MCONAME
Export parameters:
SELECTVALUE
Exceptions:
NO_SELECTION
NO_VALUES
NO_VALUES_SELECTED
- Import parameters
- CUCOL: Cursor position: Column
Meaning: Column in which the cursor will be placed in the
display. Default is column 1.
Value set: None
Initial value: 0
- CUROW: Cursor position: Line
Meaning: Line in which the cursor will be placed in the
display. Default is the first displayed value
line.
Value set: None
Initial value: 0
- DISPLAY: Display flag
Meaning: If this parameter is set ('X'), the values will
only be displayed. It will not be possible to
choose a value.
Value set: SPACE, 'X'
Initial value: SPACE
- MC_ID: Matchcode ID
Meaning: ID of the matchcode object for which data is to
be retrieved. This parameter does not need to be
supplied for the call, rather it is entered in
the dialog box that appears.
- MC_OBJECT: Matchcode object
Meaning: Matchcode object, for which data is to be
retrieved. It must be active in the Dictionary.
- SELSTR: Dynpro value
Meaning: Prespecified value from dynpro.
- Export parameters
- SELECTVALUE: Field content of matchcode
Meaning: Field contens of the selected matchcode.
Normally, only one value is returned for the
selected matchcode data. This is the key field.
- Exceptions
- NO_SELECTION: No selection was made
Meaning: No valid selection was made on the selection
screen with the matchcode IDs.
- NO_VALUES: No values exist
Meaning: No data exists that satisfy the restriction
conditions for the selected matchcode ID.
- NO_VALUES_SELECTED: Nothing selected
Meaning: The selection was cancelled.
Parameters
COMPLETE_STRINGCUCOL
CUROW
MC_ID
MC_OBJECT
SELECTVALUE
SELSTR
USER_FUNCTION_VALUES
Exceptions
NO_SELECTIONNO_VALUES
NO_VALUES_SELECTED
Function Group
SHL2ROGBILLS - Synchronize billing plans General Material Data
This documentation is copyright by SAP AG.
Length: 5784 Date: 20240523 Time: 101736 sap01-206 ( 38 ms )