Skip to Content
author's profile photo Former Member
Former Member

Correct the code

Hi,

Is this code is correct SORT GT_EREV BY EDOKN DESCENDING ERDAT FGDAT. If wrong how should I write. ERDAT and FGDAT I want the latest one should be the first.

Thanks

Ram

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jan 10, 2007 at 10:03 PM

    Hi Shri Ram,

    You code works fine.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 10, 2007 at 10:04 PM

    It should be like this:

    SORT GT_EREV DESCENDING BY ERDAT FGDAT EDOKN.

    Thanks,

    Santosh

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 10, 2007 at 10:04 PM

    You can even do this -:)

    SORT GT_EREV BY EDOKN DESCENDING ERDAT ASCENDING FGDAT
    

    Greetings,

    Blag.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 10, 2007 at 10:05 PM

    If you want the latest i.e. by date to be the first then you should change it as

    SORT GT_EREV BY EDOKN ERDAT DESCENDING FGDAT.

    - Guru

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.