Skip to Content

Can we create classfication for customer without class number?

Apr 11, 2017 at 01:38 PM


avatar image

Hi Experts,

I want to create classifications of customer. I have all required data example: class type , characteristic name, characteristic value, characteristic description but I do not have CLASS NUMBER. Can I find class number with help of all inputs which i have? Please guide me what is the best way to do it?

Thanks and Regards,


10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Raghu Govindarajan Apr 11, 2017 at 01:56 PM

Try BAPI_OBJCL_GETCLASSES. You need the object table and the class type.

Show 2 Share
10 |10000 characters needed characters left characters exceeded

Thanks Raghu!!

I tried this but it will give the class number for existing customer but in my case i am creating the classification from starting.

can you please suggest me any other BAPI?




That sounds like Master Data - If you have just one number for your entire system, you may as well look it up and hardcode it. If you have more than one - there is no way SAP can tell you what to use. You will need some other way to determine which class number to use according to your business rules.