cancel
Showing results for 
Search instead for 
Did you mean: 

Faulty Cost Estimate in SO line does not create error until delivery is created

Former Member
0 Kudos

We have a situation where we can create SO lines with a costing issues (one material may not have a cost loaded), and we don't see any errors or warnings until we try to create the delivery.

When creating the delivery, we get a hard stop which can't be cleared until the SO cost estimate is corrected.

This causes obvious problems where shipments are delayed.

What are some options, so that an error or even a warning is generated when trying to save a SO line with a faulty Cost Estimate.

I was looking around at the SO incompletion procedure, but I don't see anything that would work.

Thanks for any advice.

Manoj

Accepted Solutions (1)

Accepted Solutions (1)

michael_kozlowski
Active Contributor
0 Kudos

Maybe a simple enhancement in Include MV45AFZZ FORM userexit_save_document_prepare will do the job.

Loop through sales order items and check material master for valid cost estimate.  Generate an error message if cost estimate could not be found.

ravi_kumar100
Active Contributor
0 Kudos

Hi,

As per Michael in your user exit you can include the logic to check  :

MBEW-STPRS ne '0.00' and MBEW-PPRDL ne '000' and MBEW-PDATL ne '0000' and MBEW-LPLPR ne '0.00' .

Regards,

SRK

Former Member
0 Kudos

Thank you for quick the feedback. I will run this by our technical person, and see what she thinks.

I will post our final solution here.

-Manoj

Former Member
0 Kudos

We ended up putting in a user exit that checked the status of the cost estimate and generated a warning for the user if the cost estimate was incomplete. So far it seems to have helped resolve the issues on the front end of the process.

Thanks for all the suggestions.

-Manoj

Answers (1)

Answers (1)

Lakshmipathi
Active Contributor
0 Kudos

In the Requirement Class, there would be one check box to set whether the costing is optional or mandatory.  Normally, if the scenario is Make-To-Stock, the Requirement Class is 030 where this would not have checked. 

G. Lakshmipathi

Former Member
0 Kudos

Thanks for the quick response!

Sorry I forgot to mention that we are a Made-to-order shop and we use VC to configure our orders.