Skip to Content
avatar image
Former Member

Error message for missing pricing records

Hi Friends,

I had a requirement where i should trigger a error or warning message when user tries to raise a order for a particular material without any pricing conditions.

I mean, suppose material has to be maintained with 4 pricing records, but has not maintained for even a single condition and he tries to raise a order then error message should trigger.

Pls suggest...

Warm Regards

Mahendar

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Oct 17, 2008 at 07:26 AM

    Hi there,

    When you mean 4 records, do you mean condition records maintained for 4 different tables (key combinations)?

    In that case, in V/08, in pricing procedure determination, put the PR00 as mandatory. Then the sytem will throw a messsage if it doesnot find any condition record for PR00 for that material.

    When the system reads the access sequence, it reads all the tables that are maintained in the access (unless you check the exclusive). If it doesnot find in the 1st table, it will automatically proceed to check in the next table. If it doesnot find in any table, then it will throw an error.

    If you further want to do any checks, then you can do it in CHECK_VBAK user exit in MV45AFZZ.

    Regards,

    Sivanand

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 17, 2008 at 08:15 AM

    Dear Friend,

    You can maintain that particular condition type as mandatory in pricing procedure then it gives you a information message but user can still save the document.

    Write a routine and assign it to the condition type in the procedure. If it does not find the entry then it has to give a error message.

    Add comment
    10|10000 characters needed characters exceeded