Announcement:
wanna exchange links? contact me at sapchatroom@gmail.com.
Posted by
Admin at
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. __.____._ | _.____.__ |