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

Change logic in SAP Query Program

Former Member
0 Likes
2,536

Dear Guru's

We have created SAP Query in SQ02 and it have generated an pogram like AQL4TAS_CO=====ZPLAN. Is it possible to change(Enhance) the logic or code in this program.

Please help us how to chage the system generated code.

<promise removed by moderator>

Thanks in advance.

Shreyansh

Edited by: Thomas Zloch on May 5, 2011 4:34 PM

5 REPLIES 5
Read only

Former Member
0 Likes
1,130

Hi,

It is not possible to change the generated program, it is generated based on your query and you will have to change your query to meet your requirements.

Regards,

Himanshu Verma

Read only

Former Member
0 Likes
1,130

Well, I may be wrong but I don't think it's possible to change the code/program generated from SAP query and it's not recommended as well.

Regards,

Santosh

Read only

Former Member
0 Likes
1,130

<< Moderator message - Please do not cross post and do not offer points>>

Please read [Rules of Engagement|https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement], and [Asking Good Questions in the Forums to get Good Answers|/people/rob.burbank/blog/2010/05/12/asking-good-questions-in-the-forums-to-get-good-answers]* *Rob

Read only

Former Member
0 Likes
1,130

Hi,

You can write the code in SQ02 . it will reflect in the program.

Menubar->goto_selections....in code tab you can write the code accroding all possible events like report.

Kind Regards,

Padmaja.

Read only

Former Member
0 Likes
1,130

Hi shreyansh,

Can you elaborate your question.

What you need to change in SAP Query to get a required output.

Query is only meant to display data by joining different database tables .

I don`t think it require to change standard Query program.

if you need to validate or add any new fields , there is an option in SQ02 to create addition fields and write a code for that field.

Please reply your detail requirement.

Regards,

Ankur.