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

Using a function module in ABAP Query

Former Member
0 Likes
1,317

Hi All,

I want to use a function module in ABAp query in the Record Processing Section.

In the report program we click on Pattern button to inser the function module so that all the Importing and exporting parameter automatically appears.

Similarly is there any particular method of inserting a function module in ABAp Query.

Regards

Manipal Parkala

2 REPLIES 2
Read only

Former Member
0 Likes
543

When you are doing the infoset for the query (SQ02) you can add coding by clicking the coding tab. You can chose in wich event you want your coding and there is Pattern Button for you to easy use.

If you don't want to put the code in the infoset just in the query then is not posible.

Nevertheless, I higly descourage the use of coding in queryies. If you need to insert some coding make an ALV its easier, clearer and much easier to mantain.

Hope it helps.

Read only

Former Member
0 Likes
543

1. do it in SE38, and then do copy paste.

2. try to have as less quesry as possible on your system as they make it slow.