Skip to Content

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

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Apr 24 at 04:58 AM

    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

    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.