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

Funtion module get_sort_by_loc

Former Member
0 Likes
403

Hi,

What is the use of function module get_sort_by_loc. will it returrn all the details of material and stock if we r importing matnr werks lgtyp and lgnum.

plz help...

Hi,

What is the use of function module get_sort_by_loc. will it returrn all the details of material and stock if we r importing matnr werks lgtyp and lgnum.

plz help...

2 REPLIES 2
Read only

Former Member
0 Likes
369

Select material stock sorted by location

CALL FUNCTION 'GET_SORT_BY_LOC'

EXPORTING

I_MATNR = MAT_AFTER_CONVERSION

I_LGNUM = WHS_ID

I_WERKS = I_PLANT_ID

I_STORAGE_TYP = I_STORAGE_TYP

IMPORTING

EV_UOM = LV_UOM

TABLES

T_INV_DATA = TAP_LQUA

EXCEPTIONS

NOT_FOUND = 01

WRONG_CALL = 02.

Read only

Former Member
0 Likes
369

Hi,

The Funtion module just gives the data of the material and stock sorted by storage type and bin location

Thanks,

Muthu.