Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8644

Re: How can we use views in ABAP Programs?

$
0
0

Hello Rakesh,

 

You can create a Database View in Data Dictionary (SE11), after this you can just use in your program as if were a dictionary table.

You can select data from exactly the same way:

 

DATA: t_sxidemo TYPE STANDARD TABLE OF sxidemo_sbook.

 

SELECT client carrid  carrname bookid connid

        fldate  class order_date agencynum

        cancelled passname passbirth

   INTO TABLE t_sxidemo

   FROM sxidemo_sbook

  WHERE carrid = 'AA'.


** SXIDEMO_SBOOK is a Database View.


Good Luck!


Viewing all articles
Browse latest Browse all 8644

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>