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: 

How to get all material data using BAPIs?

Former Member
0 Kudos

Dear Friends,

AS I know, we can use t-code mm02, mm03 to get all the information of a material in different views, but how to get all the data using BAPIs? I know there is BAPI_MATERIAL_GET_DETAIL, but I couln't get all the data for MATERIAL_NUMBER

DESCRIPTION

VOLUME

VOLUME_UNIT

GROSS_WEIGHT

WEIGHT_UNIT

UOM

MATERIAL_GROUP

SALES_UNIT (couln't get )

Is there any other way to do that?

Thanks a lot!

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Check this BAPI

BAPI_MATERIAL_GETALL

In SALESDATA you'll find SALES_UNIT

3 REPLIES 3

Former Member
0 Kudos

Check this BAPI

BAPI_MATERIAL_GETALL

In SALESDATA you'll find SALES_UNIT

Former Member
0 Kudos

Hi

try this FM

BAPI_MATERIAL_GET_ALL (volume,Description,Unit)

BAPI_MATERIAL_GETALL

Thanks

GauthamV
Active Contributor
0 Kudos

>

> Is there any other way to do that?

>

You can write a simple program to get those details from the respective tables.