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

SAP Query program generation issue

Former Member
0 Likes
574

Hi,

I am generating a program for specific SAP Query designed by me. But the code getting generated consists of Function Modules. Which I don't want. I want simple Report Program to get generate.

The codes which got got generate for my earlier SAP Queries were proper simple Report program and did not contain FMs. Is there any option which by mistake I might have Checked while creating the Query, which might be resulting into FMs getting included in the generated code?

Please help me.

2 REPLIES 2
Read only

Former Member
0 Likes
468

Its sad to find that no one could help me out.

But I got the solution. Here it is,

To avoid creation on FM into the code generated for SAP Query, we need to check one option. Following is the path one should follow

1) Open Query in Edit mode.

2) Extras.

3) Additional Special Attributes-

4) Check 'Use Old Report Structure' option.

Read only

Former Member
0 Likes
468

Avoid FM creation in SAP Query Code.