2008 May 07 12:21 PM
Hi
I have sorted MATNR in desceding order
I need to fetch the highest material number that is first index.
i need the syntax for that.
Regards,
Jayashree.
2008 May 07 12:30 PM
sort itab by matnr descending.
read table itab index 1.
if sy-subrc = 0.
< process >
endif.
regards,
madhumitha
sort itab by matnr descending.
read table itab index 1.
if sy-subrc = 0.
< process >
endif.
regards,
madhumitha
2008 May 07 12:24 PM
sort itab by matnr descending.
read table itab index 1.
get the highest matnr from itab-matnr.
2008 May 07 12:29 PM
sort itab descending matnr.
Matnr should be first field in itab.
After sorting the table in descending order use below statement:
Read table itab into work_area index 1.
Best Regards,
Vibha
Please mark all the helpful answers
2008 May 07 12:30 PM
sort itab by matnr descending.
read table itab index 1.
if sy-subrc = 0.
< process >
endif.
regards,
madhumitha
2008 May 07 12:33 PM
Hi,
I think the answer is already given...
Please close this issue if answered.
Regards,
Anu.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |