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

List of checked (marked) fields in basic list querries

Former Member
0 Likes
2,300

Hi

Is it possible to get list of all marked list fields and selection in all queries (maybe some table) ??

Just all selected below

9 REPLIES 9
Read only

Abinathsiva
Active Contributor
0 Likes
2,192

Hi Adrian,

Mention exact requirement in question for better understanding.

Read only

FredericGirod
Active Contributor
0 Likes
2,192

All the query tables start with AQL

the table your are looking for seams to be AQLDB and is a cluster, you need a code like the standard:

    import headqu clogqu
           dbop dbsn dbfr dblf dblc dbld dbse dbsq
           dbgr dbli dbff dbfm
           dbvh dbvs dbrh dbrl
           dbpt dbct
           maxqu_tindx qutext
           from database aqldb(aq) id l_qukey
           IGNORING CONVERSION ERRORS.
Read only

2,192

Or at a more abstract layer, use a function module like RSAQ_IMPORT_QUERY...(just one level above IMPORT)

Read only

0 Likes
2,192

Wasn't RSAQ_IMPORT_QUERY your very first idea? If so, just add it to your answer (NB: the first statement of RSAQ_IMPORT_QUERY is PERFORM import_query, and almost the first statement of import_query is the IMPORT you mention)

By the way, there's also RSAQ_IMPORT_QUERY_AND_INFOSET, and maybe other function modules...

Read only

0 Likes
2,192

Hi Frederic

Thanks for your answer

Unfortunetly i have blocked ABAP programming in a SAP, is it possible to get it in another way?

Read only

0 Likes
2,192

you will need to program something somewhere, it is not accessing directly by SELECT statement (query)

Read only

Sandra_Rossi
Active Contributor
2,192

Use a function module like RSAQ_IMPORT_QUERY or RSAQ_IMPORT_QUERY_AND_INFOSET.

Read only

0 Likes
2,192

Hello, thanks for your response...

I have about 100 querries and need to extract list of "ticked" checkboxes in columns List Fields and Selection.

Regarding to attached picture:

List fields: Article number, Merchandise Category and Base Unit...

Selection: Article Number, Name of Person etc.

Is this information stored in some table?

Read only

0 Likes
2,192

It's stored in a table that you can only read with ABAP (ABAP storage).