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 a view

0 Likes
2,133

Hi,

is it possible to use a abap function module and create a view from it?
I have a function module that calculates something from MATNR and WERKS and I want it for all materials.

Thanks

1 ACCEPTED SOLUTION
Read only

retired_member
Product and Topic Expert
Product and Topic Expert
1,468

Up to now, it is not possible to use an ABAP procedure call that has a tabular result as a data source of CDS views.

Such a feature might be available in some future (hopefully not in a parallel universe only) ...

In Open SQL, you can access internal tables as data source of queries already.

5 REPLIES 5
Read only

Ganesh_Pandian
Explorer
0 Likes
1,468

you can create a ALV for the requirement.

I hope using function module in a view is simply not possible.

Read only

retired_member
Product and Topic Expert
Product and Topic Expert
0 Likes
1,468

What do you mean by "view"?

Read only

0 Likes
1,468

cds view or database view

Read only

retired_member
Product and Topic Expert
Product and Topic Expert
1,469

Up to now, it is not possible to use an ABAP procedure call that has a tabular result as a data source of CDS views.

Such a feature might be available in some future (hopefully not in a parallel universe only) ...

In Open SQL, you can access internal tables as data source of queries already.

Read only

0 Likes
1,468

thats bad. thanks anyway.