cancel
Showing results for 
Search instead for 
Did you mean: 

SAP ACM: How to get free characteristics for a material using class name?

0 Kudos

Hi All,

I have a requirement where I have to replicate the behaviour of free characteristics tab in wb21 in an API.I was able to find the logic for fetching of the class name, However, I am unable to find how the characteristics are fetched based on the class name.

Can anyone please help me with that. Or if there is some reference code/ logic I can look into.

Thanks,

S

Accepted Solutions (1)

Accepted Solutions (1)

venkateswaran_k
Active Contributor

Hi Samriddhi,

Please do these steps.

  • (INOB Table) - Enter your material code in the OBJEK field of the INOB table and get CUOBJ and class type KLART.
  • (KSSK Table) - Pass this CUOBJ to the OBJEK field and KLART to the KLART field of KSSK table and get list of Internal Class Numbers CLINT.
  • (KSML Table) - Pass each CLINT to table KSML and get list of characteristics for that class. Store it in one internal table.

Or Use following BAPIs

BAPI_OBJCL_GETCLASSES with READ_VALUATIONS = 'X'

BAPI_CLASS_GET_CHARACTERISTICS

CLAF_OBJECTS_OF_CLASS

Regards,

Venkat

0 Kudos

Thanks Venkat for the answer! I had the class name so I used CARD_CLASS_READ. 🙂

Answers (0)