‎2007 Aug 28 2:36 PM
Hello,
I need help... I have to test some parameter, which default is '00:00:00 .
How can I test this, because ..is not initial not working, neither the test par =' 00:00:00'.
Suggestions?
‎2007 Aug 28 2:40 PM
Hi ,
try this
parameters: p type syuzeit default '000000'.
if p = '000000'.
write: / 'nil'.
endif.
write:/ p.
thanks & regards,
Venkatesh
‎2007 Aug 28 2:40 PM
Hi ,
try this
parameters: p type syuzeit default '000000'.
if p = '000000'.
write: / 'nil'.
endif.
write:/ p.
thanks & regards,
Venkatesh
‎2007 Aug 28 2:41 PM
Hi!
If it is a TIMS type field, then it is internally stored only in '000000' style, without any formatting.
Regards
Tamá
‎2007 Aug 28 2:41 PM
Hello Do it like this.
data c(10).
c = yourdate- "I mean ->'00:00:00'
if c is initial.
write 'message'
endif.
Bye
Gabriel
‎2007 Aug 28 2:42 PM
Hi,
take that PAR as type SY-UZEIT,
this SY-UZEIT is 6 charecter length,so check for '000000' then your problem will be solved
Regards
Sudheer
‎2007 Aug 28 2:55 PM
REPORT ZTEST.
DATA : V_TIME LIKE SY-UZEIT.
IF V_TIME EQ '000000'.
WRITE : 'Time is initial'.
ELSE.
WRITE : 'time is not initial'.
ENDIF.