Quantcast
Channel: SCN : All Content - ABAP for SAP HANA
Viewing all articles
Browse latest Browse all 831

Variable in SQL ABAP Managed Database Procedure

$
0
0

Dear all

 

I have a question regarding the use of a variable in an ABAP Managed Database Procedure.

 

The following method I implemented into a class:

 

Capture.PNG

 

How can I now insert a variable for the string 'YES' ?

 

I tried declaring a constant:

 

Capture.PNG

 

But I cannot use

 

... WHERE a.giftsyesorno = lc_yes;

 

Is there a solution for this problem? I would really like to use variables in the SQL syntax in the method.

 

 

Best regards

 

Thomas Bretonnet


Viewing all articles
Browse latest Browse all 831

Trending Articles



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