cancel
Showing results for 
Search instead for 
Did you mean: 

sorting items in sapscript

Former Member
0 Kudos

Hai everyone! I have sapscriptform . I have to change the sorting order .The program's 'call function write_form ' for 'main' window is in loop ie items are looped in program itself . The program is a global program so I cant modify the program. And the requirement is local, so I am only allowed to change form .Can anyone help me how to change sorting in the form without changing program.

TQ ..Regards

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Srinivas,

If having any condition which differentiate the local with global then you can try this in your print program.

If condition EQ local. " related to ur requirement

Sort the internal table.

endif.

this condition should applicable to ur local requirement..

Hope this helps u.

Thanks

Phani