Skip to Content
author's profile photo Former Member
Former Member

Trigger Item Category determination in sales order via program

Hi,

We are changing item category through an exit based on a field at item level, which the user would enter manually.

However once the exit changes the item category, if the user reverses his selection or gives another value for which item category should be the orginal one, i need to change the item category back to what was originally determined.

Rather than looking up the config tables of item category determination, we would like to trigger item category determination through the exit itself.

Can someone suggest if this is possible, if so what is the code to be written.

Regards,

KC

SAP SD

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Feb 26, 2007 at 04:23 PM

    Hi,

    am not sure if you can do it away without maintaining table entries in T184 ( Maintain item cat determination ). However since there is manual item category which can be changed at the order level, may be that can be used depending on the user input at run time. To restrict the user to give item category suitable based on the input value, you can incorporate the logic in the exit.

    Hope it helps.

    Thanks & Regards

    Sadhu Kishore

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Sadhu,

      We cannot do away with maintaining item category determination as an item category has to be proposed by the system. We are changing it (to the one which is configured as manual item category) based on user inputs. But if he removes his input, i have to get back the original item category. How do i do it. One way is look up the config tables and get it since system would also determine based on the same config. However if there is a function / routine which explicitly triggers standard item category determination, that will avoid multiple select queries based on document type, usage, etc.

      Regards,

      KC

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.