Quantcast
Channel: ABAP Development
Viewing all articles
Browse latest Browse all 948

Vendor classification in Vendor master

$
0
0

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'.

 

 

BAPI.JPG

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.

bapiresult.JPG

 

2. Build report using the below tables.

Table:

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.

 

 

Regards,

Vijay V


Viewing all articles
Browse latest Browse all 948

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>