Ansicht
Dokumentation

/BA1/F4_SRV_DFIES_FILL - Fill Buffer with Field Information for a Structure

/BA1/F4_SRV_DFIES_FILL - Fill Buffer with Field Information for a Structure

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function module can be used to check the template version of an individual record. The following check logic is processed for each field in the structure:

  • Test whether the field is active in this template version. If it is not active and a value is entered in this field, this leads to an error.

  • Errors are only displayed for display fields that contain values if BDT control is not active.

  • The system now enters a default value in blank fields for which this default value has been defined in the template version.

  • An error is now displayed for all fields that are still blank.

  • Fields are then checked against any validity values in the template version.

  • If the template version does not contain any default values, the field contents are checked against fixed values from the domain.

The function module is accessed with the following parameters:

Importing

I_PRODUCT_ID,,,,Template identification

I_VERSION_ID,,,,Version of the template

I_COMPONENT_ID,,Identification of the service module for which access is performed

I_STRUCTNAME,,,,DDIC Name of the external structure transferred in the I_DATA field

I_DATA,,,,,,Data lines (structure containing entries)

Exporting

e_tab_error,,,,,,Error table

The structure must be created as a variable with the same name in the "/BA1/LF1_COMMON_SERVICESTOP" include so that it can be checked by the module.





Parameters

I_STRUCTNAME

Exceptions

STRUCTURE_NOT_FOUND

Function Group

/SAPLF4_UTIL

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.

Length: 2091 Date: 20240419 Time: 042627     sap01-206 ( 13 ms )