Creating a Function to Dynamically Determine the Date
Use
You use this procedure if you want to determine a date in batch determination using a user-defined characteristic with date character.
The text contains placeholders Replace the placeholder with the respective name:
Replace <CHARACTERISTIC> with the name of the characteristic
Replace <FUNCTION> with the name of the function
Replace <DEPENDENCY> with the name of the dependency
Procedure
A. Creating the Characteristic
B. Creating the Function
C. Creating the Object Dependency
In the following, <CHARACTERISTIC>, LOBM_LFDAT and LOBM_VFDAT are used as placeholders for the characteristics that you require when you carry out determination. <FUNCTION> is used as placeholder for the function that you defined.
FUNCTION |
<FUNCTION> |
(LOBM_LFDAT = LOBM_LFDAT, | |
<CHARACTERISTIC> = $SELF.<CHARACTERISTIC>, | |
LOBM_VFDAT = $SELF.LOBM_VFDAT) | |
IF LOBM_ |
LFDAT SPECIFIED |
D. D. Linking the Object Dependencies with Characteristic <CHARACTERISTIC>