Skip to Content
Former Member
Aug 01, 2006 at 08:41 AM

Variables problem.


1). I have value ...123.

sometimes values is like ..123.

How to count number of dots (.) in that variable.

2).One more thing is I am using


lv_var1(6) TYPE c,

lv_var2(6) type c,

lv_var3(6) type c.

( because in my SAPSCRIPT data is coming thru structure itcsy ( itcsy-value which is character ), I am taking character )

and I am calculating

lv_var3 = lv_var2 - lv_var1.

in my subroutine pool program which is used for script.

It is working fine.

Please suggest me whether I am correct or not ?