I am creating a program that will collect equipment characteristics, This program has to have F4 capabilities and be able to edit the characteristics. (This is prior to the equipment being created).
I have written an F4 method that uses the following SAP function modules. This works well for most characteristics and for overwrite characteristcs for the class. This module utilized the following functions:
CTMS_CLASS_DDB - used to set the class
CTMS_DDB_SET_VALUE_ONLINE - used for F4
CTMS_DDB_HAS_VALUES - used to retrieve the selected value.
The issue that I have is that I cannot figure out a standard SAP function that I can use to display the correct values for a characteristic where is a pre-condition is set. The functionality above works in all other cases.
For example in IE02 if I set manufacturer = 'A1' the module characteristic only displays those modules that are appopriate for the manufacturer selected.
I use function: CACL_OBJECT_VALIDATION_MAINT to perform the actual edits. Setting the i_obj_not_chk = 'X' since the equipment is not yet created.
July 27, 2009 5:46 PM