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

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

RE:[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

Reply from arbis82 on Dec 17 at 8:03 AM
Can't argue with that I suppose :D .. but give me an Exit at least, please!
I'm not a big fan of using implicit enhancements. We did that a lot in our last project in ECC and APO, and ended up breaking standard SAP logic in a few cases. Plus, whenever we had issues that we wanted SAP to look into, they'd come back saying deactivate your implicit enhancements and then we'll look into this.

---------------Original Message---------------
From: Aritra Biswas
Sent: Friday, December 14, 2012 5:24 AM
Subject: Block Sales Order Creation Based On Material Status

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
 
Mark as helpful
View this online
Ask a new question
 
In the Spotlight
Have an SAP Question? Ask Your Peers at Toolbox for IT

_.____.__

0 comments:

Post a Comment

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