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

Get Query name from program name

Former Member
0 Likes
15,538

Hi ppl,

I have the program name of a query (eg. AQ1010==========11============).

How do I find the query name and user group details ( transaction SQ01) from this program?

Thanks,

David.

3 REPLIES 3
Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
6,540

Hello David,

You can try with RSAQ_DECODE_REPORT_NAME

BR,

Suhas

Read only

Former Member
0 Likes
6,540

Hi,

For example:

Assigned report: AQA0Ztest=====ZMAT_COST3====

My query name would be : ZMAT_COST3.

Please tell me the complete program name?

Regrds,

Nikhil.

Read only

Former Member
6,540

Hi,

In the SAP Query, you can determine the user group and query from program name ...

For eg: I have the prog name: AQZZ/GRC/APPL===CO_OM_CA_10_Q1

First 4 chars are system specific and are same for all the queries in the system

Next 12 chars are user group

Last 12 chars are the Query name.

Note if there are less than 12 chars in the query or user group then rest of the chars will be filled up by "="

Hope this helps

Regards

Shiva

Edited by: Shiva Kumar Tirumalasetty on Nov 2, 2009 4:23 PM