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: 

Which field to refer?

Former Member
0 Kudos

HI!

There is a task tat,

" BASED ON MATNR IN WHICH STORAGE LOCATIONS THIS MATERIAL IS THEIR,THEN PICK UP THE STORAGE LOCATIONS WHERE THE QUANTITY IS 0. THEN ALL THOSE STORAGE LOCATIONS WILL BE DELETED USING MMO06' to which fields i have to refer in MARA n MARD

Give some idea,Please

Thank you,

Divi

1 ACCEPTED SOLUTION

former_member208856
Active Contributor
0 Kudos

Hi,

In Table MARD

field MATNR is Material Number

LGORT is Storage Location

LABST is Valuated stock with unrestricted use

use these fields,

Reward points, if helpful

sandeep kaushik

3 REPLIES 3

former_member208856
Active Contributor
0 Kudos

Hi,

In Table MARD

field MATNR is Material Number

LGORT is Storage Location

LABST is Valuated stock with unrestricted use

use these fields,

Reward points, if helpful

sandeep kaushik

Former Member
0 Kudos

Hi

Use MARD table

MATNR - Material No

WERKS -Plant

LGORT - Storage Location

LABST - Stock field

write a select for these fields into a Int table ITAB.

<b>Select matnr werks lgort labst into table ITAb where matnr in s_matnr.

sort itab by matnr werks lgort.

delete itab where labst = 0.</b>

<b>Reward points for useful Answers</b>

Regards

Anji

0 Kudos

yeah i got the answer, for checking the stock quantity we have to use all the fields which r having datatype as Quantity.