Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Need Material Classification data function module

former_member189596
Active Participant
0 Likes
733

Hi all,

i have requirement to fetch material classification data through function module.

is there any point to know releted function modules of classification data of material data.

Thanks in advance,

Bhaskar

5 REPLIES 5
Read only

Former Member
0 Likes
626

Hi Bhaskar,

Try FM - <b>UPDATE_MATERIAL_CLASSIFICATION</b>

<b>BAPI</b>

BAPI_OBJCL_CHANGE

<b>Reward Points if Useful</b>

Regards

Gokul

Read only

Former Member
0 Likes
626

hi,

check the BAPI: BAPI_OBJCL_GETDETAIL

For this you need to check & give correct class number from table KSSK & KLAH.

You can also check other BAPIs in FuGr. CLBPA.

Hope this helps.

Best Regards, Murugesh AS

Read only

0 Likes
626

Hi Murugesh..

Thank you ........it has good stuff

if i want check this classification data on the basis of Material number or type,

where i will check.........or if i want fetch data on the basis of Material number what is the process...

Read only

0 Likes
626

Hi,

In KLAH you get the list of Classifications linked to a Material. Give OBJEK = MATNR.

By giving CLINT in KLAH you find the corresponding CLASS.

in BAPI:

BAPI_OBJCL_GETDETAIL

pass following values:

OBJECTKEY = KSSK-OBJEK        
OBJECTTABLE  = 'MARA'     
CLASSNUM  = KLAH-CLASS        
CLASSTYPE  = KLAH-KLART      
KEYDATE  = sy-datum         
UNVALUATED_CHARS   
LANGUAGE  = sy-langu

the output would be in

ALLOCVALUESNUM
ALLOCVALUESCHAR
ALLOCVALUESCURR

based on the type of characteristic.

Best Regards, Murugesh AS

Read only

0 Likes
626

Hi ,

thank u ...........

i have requirement to create DATASOURCE (RS02) , do u have any idea on this..

means its asking EXTRACTION STRUCTURE .........how can i make it.

Thanks in advance,

Regards,

Bhaskar