Hi Kishore,
use input parameters (in below example :IP_FINSTATMNT is the input parameter), which can be provided externally when calling the view.
SELECT COUNT (*)
INTO lv_found
FROM "RSHIEDIR"
WHERE "HIEID" = :IP_FINSTATMNT
AND OBJVERS = 'A';
br,
Simon