Skip to Content
0
Former Member
Dec 05, 2011 at 04:10 PM

Select MARA ordered by select-options?

1538 Views

Hi,

it try to get the data from mara ordered by the select-option, is this possible.

Normally i use:

TABLES: MARA.
*
SELECT-OPTIONS:   S_MATNR FOR MARA-MATNR.
*
select * from mara where matnr in s_matnr.
  write: / mara-matnr.
endselect.

Is there any FM, BAPI or any parameter for "ORDER BY" which i get use?

Thanks.

Regards, dieter