‎2008 Feb 12 7:46 AM
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.
‎2008 Feb 12 7:52 AM
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