×

[PR]この広告は3ヶ月以上更新がないため表示されています。
ホームページを更新後24時間以内に表示されなくなります。




Sapass

 Simplify SAP R/3 development with Excel VBA/VB RFC  
Home> UserExit>MM06E008



Index

MM06E008

User Exits: Materials Mgmt. (Purchasing)
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'.

Function/Program:
  • EXIT_SAPMM06E_021: Fulfillment of Target Value: Release Orders Against a Contract

02-Oct-2005