Application Development 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: 

how to call view in abap program

Former Member
0 Kudos

HI,

Is that possible to call & display view in the abap program.

Thanks & Regards

Guhapriyan

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

Are you talking about a database view ? If yes, then I did not understand your question.

You can use a SELECT statement on a view just like you would on a table. What do you mean <i>calling a view</i> ?

Regards,

Anand Mandalika.

6 REPLIES 6

Former Member
0 Kudos

Hi,

Are you talking about a database view ? If yes, then I did not understand your question.

You can use a SELECT statement on a view just like you would on a table. What do you mean <i>calling a view</i> ?

Regards,

Anand Mandalika.

Former Member
0 Kudos

Hi,

Thanks. How to Declare it in the report.

ex: Tables:

how to call view:

Thanks & Regards

Guhapriyan

0 Kudos

Hi,

As Anand mentioned, selecting from a view is just like issuing select on a table i.e. <b>SELECT <cols> FROM <table/view></b>.

Regards

0 Kudos

Hi,

You can declare a view using the tables statement itself.

For example -

tables AUFKV.

Regards,

Anand Mandalika.

Former Member
0 Kudos

hi,

Thanks, I get an error message when i call a view in my program.

MFHM not defined in datadictionary as table, Projection view / Database View.

Thanks & Regards.

Guhapriyan

0 Kudos

MFHM happens to be a structure. So it is understandable that you would get the error.