06-19-2008 10:14 AM
06-19-2008 10:16 AM
declare the field and then clear it...
data: wf_char type c.
clear wf_char.
reward points if useful....
06-19-2008 10:16 AM
declare the field and then clear it...
data: wf_char type c.
clear wf_char.
reward points if useful....
06-19-2008 10:18 AM
I have to put it in the if codn.In that i have to check 2 codn like if var1 as blank or var2 = var3.In this situation how to do?
06-19-2008 10:20 AM
U can write condition like
if var1 is initial or var2 eq var3.
...
endif.
Reward points if useful,
Regards,
Janani
06-19-2008 10:22 AM
IF VAR1 = SPACE
OR VAR2 = VAR3.
You can write your own logic
ENDIF.
06-19-2008 10:17 AM
06-19-2008 10:17 AM
hi,
ex:
itab-matnr = ' '.
if u want it blank under some condition do like this.
if itab-matnr = '1000234568'.
itab-matnr = ' '.
modify itab.
endif.
reward points if hlpful.
06-19-2008 10:17 AM
06-19-2008 10:19 AM
Hi Hema,
Here is the logic.
Data: var type c value space.
&*********************Reward Point if helpful********************&
06-19-2008 10:21 AM
Hi,
If you need to declare the field as blank we can write,
parameters: p_matnr type mara-matnr default ' '.
or In initialization event of report ,
Initialization.
p_matnr = ' '.
if you need to put in condition :
if p_matnr is initial.
.....
endif.
Hope this helps you.
plz reward if useful.
thanks,
dhanashri.
06-19-2008 10:22 AM
Hi,
take a look at [Predefined ABAP Types|http://help.sap.com/saphelp_nw70/helpdata/EN/fc/eb2fd9358411d1829f0000e829fbfe/frameset.htm]. Here you can see the initial values.
Regards Rudi
06-19-2008 10:25 AM
Hi
if u define any variable.it is intially blank only until you pass some value into it.
you execute this code.you will get idea.
data:name type c.
write:/ name.