RE:[sap-log-sd] Quantity control for quantity contract

Posted by wnash7658 (SAP Specialist and Project Leader)
on Jun 16 at 9:41 PM
Hello,
Don't think its possible without a direct change in FV45EF0V_VBEP_MENGE_PRUEFEN_VO.
* Ist die insgesamt referierte Menge > als die Zielmenge der Vorlage
ENHANCEMENT-SECTION VBEP-MENGE_PRUEFEN_VORLAGE_10 SPOTS ES_SAPFV45E.
IF US_RMENG > US_ZMENG AND
US_ZMENG > 0.
WRITE US_ZMENG LEFT-JUSTIFIED UNIT US_VRKME TO DA_MENGC1.
WRITE US_RMENG LEFT-JUSTIFIED UNIT US_VRKME TO DA_MENGC2.
IF KOPIEREN EQ CHARX.
MESSAGE I501 WITH DA_MENGC1 US_VRKME
DA_MENGC2 US_VRKME.
ELSE.
SET CURSOR FIELD US_FIELD LINE SY-STEPL.
MESSAGE W501 WITH DA_MENGC1 US_VRKME
DA_MENGC2 US_VRKME.
ENDIF.
ENDIF.
END-ENHANCEMENT-SECTION.
Regards

Waza

---------------Original Message---------------
From: Roger Mou
Sent: Wednesday, June 15, 2011 2:53 AM
Subject: Quantity control for quantity contract

Greeting,

I'd like to know whether we can control the qty release for quantity contract or not.

There is a field in item category which name is "Contract Release Ctrl" but I feel it is controlling value not quantity; I've set it to "B-Error message if target value is exceeded", then create a quantity contract with qty:10, then create a sale order with qty 2 which refer to this contract, however, system prompt an error message :

Target value of value contract has bee
Value contract: 2090000086, Item: 0000
Difference rate: 24,000 TWD

Document cannot be saved !

Is there any solution for quantity contract? please share the knowledge to me if there is any experts know the solutions.

Thanks & Best Regards

Roger

__.____._
Copyright © 2011 Toolbox.com and message author.

Toolbox.com 4343 N. Scottsdale Road Suite 280, Scottsdale, AZ 85251
Mark as helpful
View this online
  
wnash7658
SAP Logistics Sales and Distribution Enthusiast

Contributed 500 posts in a group to earn a Silver Achievement
Popular White Papers

In the Spotlight
Toolbox.com Marketplace: Take online training courses in SAP and other specialized areas of business and IT.
_.____.__