Application Development 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: 

Standard function module to retrieve Material classification data in a BTE.

0 Kudos

Hi,

We are trying to download material classification data from R/3 to CRM, and for this we are using a BTE. Can anyone please tell, what is the standard function module to <b>RETRIEVE CLASSIFICATION DATA IN RUNTIME</b> (not from database tables)?

Good points will be awarded

Thanks in advance....

Regards,

Phain.

4 REPLIES 4

former_member181962
Active Contributor
0 Kudos

YOu can use the bapi: BAPI_OBJCL_GETDETAIL

Pass matnr as the object key.

REgards,

Ravi

Former Member
0 Kudos

There are bunch of BAPI's that you can look at regarding the classification system.

Look at the BAPI transaction and under the Cross Applications --> Classification System. You can find different BAPI's for getting, saving the classfiication data, right from creating a class, characteristic, values and assigning values to materials.

BAPI_OBJCL_GET_DETAIL will give you the details of the material classification.

Regards,

Ravi

0 Kudos

Thanks for you quick reply. I have a query over here, please correct if am wrong...

I think this function module does retrieve from database tables and NOT RUNTIME.

I want the runtime data i.e., classification data in the BTE before the commit work happens in the MM01/MM02 transaction.

Can you please clarify this?

Regards,

Phani.

0 Kudos

I think you can get the values from the memory at runtime, I really don't suggest you to do that. You need to debug and find out the variable names where the classification data is being stored.

If you can give us a big picture of your requirement, probably we can suggest a work around.

Regards,

Ravi