2009 May 14 10:20 AM
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
2009 May 14 10:26 AM
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
2009 May 14 10:27 AM
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
2013 Nov 11 3:55 PM
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.
2009 May 14 10:29 AM
2009 May 14 10:35 AM
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.
2009 Jun 11 8:40 AM