Hi All,
I am new to ABAP and recently working on Production support Project..
Some developer guy wrote the code for an object as mentioned below with the if condition comparison
If Z_VAR = 'Sd'
Else.
Endif.
Since the comparison value in the quotes should be capital code, always the code went into the Else part and created some junk data in many tables.
Please tell me your suggestions to remove this junk data which is created in a Z Field. Also I have one more issue..
I wrote the code as follows. for identifying the number of entries in the effected table
Data : gv_tab Type TABNAME,
gv_count Type I,
TB_TABLES Type Standard Table Of DD02L,
X_TABLES Like Line of TB_TABLES.
Tables : DD02L.
Select-options : SO_TAB For DD02L-TABNAME.
Select TABNAME From DD02L into corresponding fields of TB_TABLES Where TABNAME in SO_TAB
Loop At TB_TABLES Into X_TABLES.
GV_TAB = X_TABLES-TABNAME.
Select count (*) from (GV_TAB) Into GV_COUNT.-------------------->>>> Dumping here
Endloop.
I am stuck here what could be the problem please help...
thanks,
Jaggi