Quantcast
Channel: SCN : All Content - ABAP Development
Viewing all articles
Browse latest Browse all 8332

to change variable defaulted values dynamically using field symbol

$
0
0

Hi Team,

 

Suppose in my program, I have declared two variables and defaulted values there itself.

 

data:var_a  type c value 'X',

       var_b  type i value '102.

 

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

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

 

Now in the middle of program I want ot change the values based on what is present in data base .

 

In my datbase table the values are like this,

 

ParameterValue
var_aK
var_b500

 

 

I have to fetch teh new values and change the variable var_a and var_b values , and those values are used in later part of my program.

 

After the change write:var_a, var_2. should print K and 500.

 

Can anybody help me with  a very small smaple program that does that.

 

Thanks,

Sourya Prakash.


Viewing all articles
Browse latest Browse all 8332

Trending Articles



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