Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Change the sort order (ascending/descending) based on parameter field

I have created a formula on a subreport to change sorting based on variables.

select {?Pm-@Sorting}

case "property_type_desc ASC" :

{owned_property.property_type_desc}

case "property_type_desc DESC" :

{owned_property.property_type_desc}

default:

({owned_property.property_type_cd}; )

how can I change the sort order ascending and descending using the formula??

Thanks, Jessica

Not what you were looking for? View more on this topic or Ask a question