We have added search box. Key in SAP issue keyword to search
TopBottom

Announcement: wanna exchange links? contact me at sapchatroom@gmail.com.

[sap-dev] Block Sales Order Creation Based On Material Status

Posted by Admin at
Share this post:
Ma.gnolia DiggIt! Del.icio.us Yahoo Furl Technorati Reddit

Question from arbis82 on Dec 14 at 5:24 AM
Hi All,

My problem scenario is as follows:

We create sales orders in VA01. One of the options for doing so is by referencing an existing quote ('Create with reference' button).

The requirement is that if any material in the quote is blocked for ordering via an order status in sales area view (DChain-spec. status, MVKE-VMSTA), then the system should throw an error message.

In Standard SAP, this can be achieved via config by maintaining table TVMS (Materials: Status in Sales and Distribution) for that D-chain status . Putting a value of 'B' against TVMS-SPVBC (Blocked for sales order), will ensure that an error message automatically shows up, saying :
"Material XYZ has status: Block"

However, we need to maintain TVMS-SPVBC as A (Warning) due to some business scenario setup. In this case, system will throw a WARNING only, and allow order creation w.r.t. the quote. But the requirement is that an error message should be thrown and further processing should stop (even though SPRO setting says 'throw warning' and not 'throw error'). The warning message is generated in FM RV_MATERIAL_STATUS_CHECK.

So, my question is, is there an exit/BADI where I can override the SPVBC from A to B for this particular Material status?

Thanks
Aritra
 
Reply to this email to post your response.
 
__.____._
Manage Settings | Unsubscribe | Create FAQ | Send Feedback
  
Copyright © 2012 Ziff Davis, Inc. and message author.
Ziff Davis, Inc. 28 E 28th Street New York, NY 10016
arbis82  

achievements
 
View this online
Ask a new question
 
In the Spotlight
Toolbox.com for iPhone & Android: Ask Questions & Get Answers Anywhere. Download the Free App

_.____.__

0 comments:

Post a Comment

T r a n s l a t e to your language