How can I get (using API) the current sort column for some report

hello,
How can I get (using API) the current sort column for some report ? For example something like "fsp_sort_1_desc" - if the user sorts by the first column ?
I cannot use the :REQUEST for this, sometimes the current sort column is not in the :REQUEST, but it is still active.
I thought it was posssible by using
APEX_UTIL.GET_PREFERENCE (
p_preference IN VARCHAR2 DEFAULT NULL,
p_user IN VARCHAR2 DEFAULT V('USER'))
RETURN VARCHAR2;
function, but I don't really know which preference should I pass as parameter.
looking in WWV_FLOW_PREFERENCES$, i saw preferences_names like FSP4000_P527_R6281510839654570_SORT , I'm not sure how this name is formed.
I'm using generic columns for that complex report (which has a flexible number of columns shown), and the idea is that sometimes I have to overwrite that sort column, in case the user chose the version of the report with fewer columns than the previous one.
Can I get (using API) a list of all preferences set for some user ?
Thank you,

seems that it is FSP<app_number>P<pagenumber>R<regionnumber>_SORT.
is there anyplace where I can get these kind of things documented ?
Thank you.

Similar Messages

Maybe you are looking for

  • Is it possible to "refresh" the INBOX from the Server?

    Using POP protocole. My Inbox is corrupted, in that the older emails are missing. I was thinking that if I could 1. Delete the INBOX Folder and INBOX.MSF folders, then somhow "force" a retrieval of all the emails retained on the server I could resolv

  • Security Error when trying to access web service

    I have an app that connects over HTTPS to a web service on our internal network. The interface to the web service was created by using the WSDL Import function of the Flex IDE. I can run the app and retrieve data without a problem when I run from the

  • Source files with dynamic name

    Hi, Is there a way to load from a variable file name sources, for example file name with date postfix, something like this: INPUT_DEPT_20070313.txt ?? Or i must create an external process in the process flow wich is to rename the file every time to a

  • Restrict bank details in ESS.  allow two other bank records infotype 0009

    I have a user exit that can restrict the user to only create 2 infotype 9 with a subtype of 1. But the ESS application does not us the same screen user exit as the back end. Is there a way to limit the user to only be able to create 2 bank details us

  • Why my numbers doesn't have full screen button?

    iOS5.1 Numbers1.6 I'm reading the guider now, it says that in the upright corner there is a full screen button, but I can't find it. Anyone help me?