Application Development 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: 

Sort data in sap script

Former Member
0 Kudos

I want to display one field sortwise in SAP Script . But I extract single data to one structure in my print program and pass single record from print program to sap script at a time. Thats why I cannot be able to sort that field value in output. Please give me the exact solution.

1 REPLY 1

former_member191761
Active Participant
0 Kudos

Hi Jaya,

So from the Print program sapscript is being called in a loop and the select statement should be inside loop. Can you please check if it is possible to fetch required data into internal table outside the loop. Later, sort the internal table as per your requirement and then loop the internal table to pass data to your script. Please check if this helps.

Thanks

Sri