Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to get the characteristic values from sales order

Former Member
0 Kudos
8,192

Hello Experts,

i have been trying to get the characteristic values from a sales order.

I have been through a couple of post in the forums but unable to get through.

I have checked the following tables AUSP, CAWN, CABN etc.

I was checking the function module VC_I_GET_CONFIGURATION.

in this I am unable to understand what an instance is for in the IMPORT parameters.

I have even checked table INOB for the instance field because this is table which is referred in the function module import parameter.

.

Please guide me through for a solution.

Help highly appreciated.

Regards,

Ranjith

6 REPLIES 6

Former Member
0 Kudos
2,270

Hi,

Can you elaborate more on what all data are you giving as input to find classification of sales order.

You can use FM 'CLAF_CLASSIFICATION_OF_OBJECTS' to get the classification.

Regards,

Kritesh Shah

former_member195698
Active Contributor
0 Kudos
2,270

Goto table VBAP for the sales order and pick the value CUOBJ.

Pass this value to the parameter "INSTANCE" of the FM VC_I_GET_CONFIGURATION.

This will return the Characteristic and its value in table CONFIGURATION

Regards,

Aj

0 Kudos
2,270

Yeah. Tried this. It worked. Thanks a lot. The only parameter that we need to pass to function module VC_I_GET_CONFIGURATION as INSTANCE is CUOBJ, which could be selected from VBAP table by Sales order number and item number.

Former Member
0 Kudos
2,270

HI,

Check this FM CLAF_CLASSIFICATION_OF_OBJECTS

Former Member
0 Kudos
2,270

Hi Ranjith,

I faced a similar problem in the past. I used the following steps/algorithm and came through:

1. Get material used in the sales order from table VBAP.

2. Enter this material in the OBJEK field of the INOB table and get CUOBJ and class type KLART.

3. Pass this CUOBJ to the OBJEK field and KLART to the KLART field of KSSK table and get list of Internal Class Numbers CLINT.

4. Pass each CLINT to table KSML and get list of characteristics for that class. Store it in one internal table.

Hope it helps,

Regards,

Arnab.

Former Member
0 Kudos
2,270

answered