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

How to get all material data using BAPIs?

Former Member
0 Likes
1,115

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
Read only

Former Member
0 Likes
907

Check this BAPI

BAPI_MATERIAL_GETALL

In SALESDATA you'll find SALES_UNIT

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!

3 REPLIES 3
Read only

Former Member
0 Likes
908

Check this BAPI

BAPI_MATERIAL_GETALL

In SALESDATA you'll find SALES_UNIT

Read only

Former Member
0 Likes
907

Hi

try this FM

BAPI_MATERIAL_GET_ALL (volume,Description,Unit)

BAPI_MATERIAL_GETALL

Thanks

Read only

GauthamV
Active Contributor
0 Likes
907

>

> Is there any other way to do that?

>

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