Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 8076

field symbols in select statement

$
0
0

Hi all.

 

in our company we are not authorized to use work area, we've to use field symbols instead.

Now i have to get a single record i.e. select single * from TABLE into WA.

 

   As stated i can not use work area, now i have to get this data into field symbols, but practically it is not possible (am i correct ? )

 

how do i get the data from the BD table directly into the field symbols inside the select statement.

i tried using the statement ASSIGN, but for that also we need some data object which we'll assign to the field symbol.

 

here is the code snippet.

 

FIELD-SYMBOLS <fs_test> TYPE &**********

**********************************************************************

 

 

UNASSIGN <fs_but000> .

 

  SELECT SINGLE * FROM dbtable into <fs_test>

                 WHERE condtEQ p_vendor.

 

now i am getting a dump, as the field symbol is not assigned. Any solution to this, i tried exercising my mind a lot.                 


Viewing all articles
Browse latest Browse all 8076

Trending Articles



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