Skip to Content

How to get categories of order ?

Hi, expert

For example, In a service order there are 4 levels of categorization :

Level 1

Level 2

Level 3

Level 4

I use the FM 'CRM_ORDER_READ',

but in the output parameter ET_SUBJECT,

i can only get the lowest level of the Categorization, such as 'level 4'.

How can i get the all levels Categorization of the order ?

Is there a Function that can retrieve the upper levels by passing the lowest one ?

Thanks.

Oliver.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Aug 21, 2009 at 08:13 AM

    Hello Oliver,

    Since the categorization is built-up hierarchically you only have to know the lowest selected node. If you know the lowest selected node you automatically know the higher-selected nodes.

    SAP doesn't store the values of the higher selected nodes, only the lowest selected node.

    If you really need the higher selected nodes, read the categorization model customizing/data. This can be done by the FM COM_CATEGORY_READ_HIGHERLEVELS providing a lower-level category (as a GUID).

    Hope this helps!

    Regards,

    Joost

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 24, 2009 at 09:32 AM

    Hi,

    thanks for reply.

    i have solved the problem.

    See [here|Read categories of CRM order;

    Regards.

    Oliver.

    Edited by: oliver.yang on Aug 24, 2009 11:32 AM

    Add a comment
    10|10000 characters needed characters exceeded

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.