Skip to Content
avatar image
Former Member

Material in Sales Order

Dear Freinds,

We have a particular requirement.

We have two sales order types suppose 'X' & 'Y'.

Normally all materials will be entered & transacted in both the sales orders.

But what we want in when stock is less it should not be able to be transacted in order type 'Y'.

When stock is less the user should carry out some change in system because of which it will not be transacted in order type 'Y'.

I tried using material exclusion by using order type in access sequence, but becoz of this system displays error message so entire order cannot be saved.

What i want is if there are 10 items in sales order type 'Y', then except the particular material other materials should be entered & transac

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Oct 19, 2008 at 07:29 AM

    Hi there,

    I hope the requirement is when the user enters the material in order type Y. Only then this could be possible.

    Consider that the user enters the material A in order type Y. As soon as you enter the material, system will trigger the availablility check.

    So in the prog MV45AFZZ, in the include that calls for availability check (I am not connected to SAP right now so not sure of the include) put a logic such that if the material A is not available in the plant, then the system, should not allwo further processing of A in order type Y. It should throw a message to process material A through order X for eg.

    If your business requires, put a min required quantity of A to process order Y. For eg if quantity of A is <= 10, then should not allow processing in order type Y. Switch to order type X.

    Explain the requirement to the ABAPer. He will be able to help you.

    Here I am not sure of it is possible to automatically call order type X & default the same material. You should test it to see of it is possible.

    Regards,

    Sivanand

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 18, 2008 at 08:22 PM

    This will require a development and appropriate logic requires to be explained to Abaper.

    Regards,

    Rajesh Banka

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 26, 2009 at 11:46 AM

    Issued Closed

    Add comment
    10|10000 characters needed characters exceeded