cancel
Showing results for 
Search instead for 
Did you mean: 

How to get categories of order ?

former_member214677
Active Participant
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Answers (1)

Answers (1)

former_member214677
Active Participant
0 Kudos

Hi,

thanks for reply.

i have solved the problem.

See [here|;

Regards.

Oliver.

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