Ansicht
Dokumentation
WRF_DISPRO_TD_DF_CHECK - Check All Fields of Default Entry
ROGBILLS - Synchronize billing plans TXBHW - Original Tax Base Amount in Local CurrencyThis documentation is copyright by SAP AG.
Functionality
This function module checks the structure of the default data in the database table WRF_DISPRO_TD_DFto make sure it is correct.
The system checks for the following prerequisites:
- Some data has been entered (that is, the fields are not completely empty).
- There is an entry in at least one key field (Promotion Type, Material, or Plant).
- At least one checkbox is selected.
If even one of these checks fails, the system sets the export parameter E_DATA_NOT_OK and raises the exception NO_DATA .
If the default data is correct so far, the system checks the following:
- Each indicator has a correct value according to the value range of its domain.
- If the planning and delivery cycle checkboxes are selected, the respective default value is not empty.
- If an entry is made for a default value, the corresponding indicator is selected.
- No negative values have been entered in the minimum stock, maximum stock, and planned delivery time fields.
- If the minimum and maximum stock fields are filled with absolute values, the maximum stock is greater than the minimum stock.
- The planning and delivery cycles are defined in table T439G or in table T399D for the reference plant in question.
As soon as one field fails the check for the structure, the system sets the export parameter E_DATA_NOT_OK. However, the system continues to execute all checks to collect all errors in this structure.
All error messages are written in the parameter CT_MESSAGES.
Example
Notes
Further information
Parameters
CS_DISPRO_TD_DFCT_MESSAGES
E_DATA_NOT_OK
I_TIMESTAMP
Exceptions
NO_DATAFunction Group
WRF_MAINT_DISPRO_DEFAULTRFUMSV00 - Advance Return for Tax on Sales/Purchases CPI1466 during Backup
This documentation is copyright by SAP AG.
Length: 2722 Date: 20240523 Time: 144635 sap01-206 ( 35 ms )