Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Select with constants

In SQL I can use a constant in my selection parameters. Is it possible to do this in ABAP as well? For instance is there a similar way to do the following in ABAP (obviously the following will not compile just an example of what I'm trying to do)?

data: begin of g_itab occurs 0,

order_no like vbap-vbeln,

line_no like vbap-posnr.

data: end of g_itab.

select vbeln '000010' into table g_itab.

Former Member
Not what you were looking for? View more on this topic or Ask a question