Ansicht
Dokumentation
MM06E008 - Monitoring of contr. target value in case of release orders
rdisp/max_wprun_time - Maximum work process run time BAL Application Log DocumentationThis documentation is copyright by SAP AG.
This function exit permits more exact monitoring of the total value of release orders issued against a value contract.
Up to and including SAP Release 4.0B, you could only control whether a warning or error message was issued in the event of the target value being exceeded by making the appropriate setting for system message no. 06042.
Now, for example, you can
- Have a message issued when the contract value is 90% exhausted, or
- Have a mail sent to the person responsible for the contract when the target value is exceeded
The following import parameters are available:
IM_TARGET_VALUE Target value of contract
IM_RELEASED_VALUE_OLD Value released to date
IM_RELEASED_VALUE_NEW Released value including the release order
just created
IM_EKKO Header structure of the just-processed
release order
IM_KEKKO Header structure of contract
In the following example program (INCLUDE ZXM06U53), a warning message is issued if the contract usage rate after the just-created release order exceeds 90% for the first time:
DATA: PERCENTAGE TYPE P,
H_KTWRT LIKE EKKO-KTWRT.
PERCENTAGE = 90.
H_KTWRT = IM_TARGET_VALUE * PERCENTAGE / 100.
CHECK IM_RELEASED_VALUE_OLD LE H_KTWRT.
CHECK IM_RELEASED_VALUE_NEW GT H_KTWRT.
MESSAGE W398(00) WITH 'Achtung: Kontrakt zu' PERCENTAGE
'% exhausted'.
RFUMSV00 - Advance Return for Tax on Sales/Purchases CL_GUI_FRONTEND_SERVICES - Frontend Services
This documentation is copyright by SAP AG.
Length: 2456 Date: 20240427 Time: 035613 sap01-206 ( 22 ms )