I was searching for reports which can give up a report of Vendor classification used in vendore master.This blog is about getting the report for vendor classification in the Vendor master data. Also you can use this in many places to build your own logic.
There are 2 ways to do this .
1. We can use a standard BAPI and then call it in a loop by extracting data from KSSK.
So as step 1 get the list of Vendors who are having valid vendor characteristics from table KSSK.
Now loop thourhg thie table and then pass value to the BAPI ‘BAPI_OBJCL_GETDETAIL’.
Pass the values like above.
Object Key is your vendor number
Object Table will be LFA1.
CLASSNUM -. pass from KSSK.
Class type also from KSSK or mostly this will be 010 only.
You will get the result as below.
2. Build report using the below tables.
KSSK – Pass vendor number in Object (add preceding Zeros) and class type ‘010’.
KLAH – This will give the class
KSML – give give more detals of vendor classification
AUSP – Here pass the vendor number as the Object and the Internal char. from the previus table KSML and you will get the details.