Skip to Content
avatar image
Former Member

sort descending for MARD

Hello Everyone,

i am stuck , i have to print the storage location where the stock is maximum .

My select program prints the storage location where the stock appears first .

Please help.

for example :

material :-xyz

plant :abc

storage location:- 0,0,3,7,0,4,8

What i want is to print storage location where the stock is 8 but it is printing the storage location where the stock is 3.

Any suggestions , I have to use in a smartform

BR

Sumit

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Jun 22, 2010 at 09:30 AM

    Hi,

    you need to trigger the Smartform when storage location is maximum i.e.

    SORT internal table with Storage Location in ascending .

    This will give first record as maximum storage location.

    Read the first reocrd from internal table where storage location is populated.

    If this is true then call FM SSF_FUNCTION_MODULE_NAME and pass the formname .

    Thanks,

    Pramod

    Add comment
    10|10000 characters needed characters exceeded