Application Development and Automation 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: 
Read only

a dynamic logic

Former Member
0 Likes
350

Hello friends,

How can sort below weekdays meaningfully like

Monday,

Tuesday,

Wednesday,

Thursday,

....

instaed.

There must be a dynamic logic .

This is the output in the ALV-Grid-Output.

WD Nr-Accidents

-


Monday 1

Saturday 2

Tuesday 4

Friday 5

Thursday 3

Wednesday 4

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
332

WD Nr-Accidents dayno

-


Monday 1 1

Saturday 2 6

Tuesday 4 2

Friday 5 5

Thursday 3 4

Wednesday 4 3

take one extra field in your table (Final internal table).

when you are populating the Day name that time you fill the DAY no.

now sort internal table with the DAYNO.

DAy no<-- you can hide this using no_out = 'X'. when you are filling the catalog.

WD Nr-Accidents

-


Monday 1

Tuesday 4

Wednesday 4

Thursday 3

Friday 5

Saturday 2

2 REPLIES 2
Read only

Former Member
0 Likes
333

WD Nr-Accidents dayno

-


Monday 1 1

Saturday 2 6

Tuesday 4 2

Friday 5 5

Thursday 3 4

Wednesday 4 3

take one extra field in your table (Final internal table).

when you are populating the Day name that time you fill the DAY no.

now sort internal table with the DAYNO.

DAy no<-- you can hide this using no_out = 'X'. when you are filling the catalog.

WD Nr-Accidents

-


Monday 1

Tuesday 4

Wednesday 4

Thursday 3

Friday 5

Saturday 2

Read only

0 Likes
332

Vijay

thank you it was very helpful

Rgds

ertas