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: 

BAPI

Former Member
0 Kudos

For Getting Parts UOM ,theses two BAPIS i have found.

but can anybody plz. suggest out of

1)BAPI_Material_GetAll and

2)BAPI_Material_get_all

gives the same result? .which one is better to use?.and if any what is the diffrence between them.

1 REPLY 1

Former Member
0 Kudos

Hi ,

BAPI_MATERIAL_GETALL simply is a wrapper for BAPI_MATERIAL_GET_ALL.

That is to say, BAPI_MATERIAL_GETALL calls the BAPI BAPI_MATERIAL_GET_ALL itnernally.

The reason a new BAPI was created was to create an interface (signature - importing/exporting parameters) which are more readable.

E.g. STGE_LOC in BAPI_MATERIAL_GET_ALL is replaced with STORAGELOCATION in BAPI_MATERIAL_GETALL, hence it is easier for a developer to map to.

Hence use BAPI_MATERIAL_GETALL,

Cheers,

Aditya