Ansicht
Dokumentation

F4UT_PARAMETER_RESULTS_PUT - Standard search help exit for setting results for a search help parameter

F4UT_PARAMETER_RESULTS_PUT - Standard search help exit for setting results for a search help parameter

ROGBILLS - Synchronize billing plans   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

If you call this module in a search help exit, you can change the results for a search help parameter. To do this, you must pass the name of the parameter in PARAMETER.

The results of the input help process are managed by the F4 processor in RECORD_TAB. This module changes the values for a parameter in RECORD_TAB. You can decide if you only want to change the header of RECORD_TAB or if you want to change all the rows of RECORD_TAB.

To use the first option, do not define SOURCE_TAB when you call this module. The contents of the parameter are then passed in VALUE.

The other option is to put the results in table SOURCE_TAB. Pass the name of the field of SOURCE_TAB containing the contents of the parameter to the module in parameter FIELDNAME. If the row type of SOURCE_TAB is elementary, pass the value '*' in FIELDNAME.
The results are copied to RECORD_TAB row by row. First, rows are deleted at the end or the initial row is added to RECORD_TAB to ensure that RECORD_TAB and SOURCE_TAB have the same number of rows.

Example

An example for the second kind of use of this module can be found in the search help exit SAPBC_GLOBAL_F4_SFLIGHT of search help SFLIGHT.

Notes

  1. Parameters OFF_RESULT and LEN_RESULT should not be used any more since there are basic problems when using UNICODE. The contents of these parameter are still analyzed when parameter FILEDNAME is initial for compatibility reasons.
  2. If the search help has no parameter with the given name, the exception PARAMETER_UNKNOWN is raised.
  3. Only parameter contents for the search help displayed in the hit list or the EXPORT parameters of the search help are first managed in RECORD_TAB. If the specified parameter does not have this attribute, there is an attempt to reserve space for this parameter in RECORD_TAB. If this is not successful, the exception PARAMETER_UNKNOWN is raised.
  4. The contents of the specified parameter are copied from SOURCE_TAB to RECORD_TAB, also for the headers of the two tables. VALUE is not used in this case.
  5. The other parameters of this module must be defined as the parameters of the search help exit with the same name.
  6. Results brought to RECORDS_TAB with this module can be read out again with the module F4UT_PARAMETER_VALUE_GET.
  7. The values are copied using a type-friendly MOVE. If this is not possible, the target parameter is assigned the initial value.
  8. If SOURCE_TAB has no field with the name given by FIELDNAME, the number of rows of RECORD_TAB is adjusted to those of SOURCE_TAB as described.

Further information





Parameters

CALLCONTROL
FIELDNAME
LEN_SOURCE
OFF_SOURCE
PARAMETER
RECORD_TAB
SHLP
SHLP_TAB
SOURCE_TAB
VALUE

Exceptions

PARAMETER_UNKNOWN

Function Group

SF4U

General Data in Customer Master   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.

Length: 3595 Date: 20240523 Time: 052246     sap01-206 ( 85 ms )