04-27-2007 6:11 PM
Hi,
There is one import parameter in rfc "zstat" with char type and length 1. I want to pass value equal to one space in this variable during execution of RFC so that it passes the condition in code where it is not initial.
But during runtime it doesnt store value equal to one space and become initial.
So my question is how to pass value equal to one sapce to this variable.?
Thanks in Advance!!!
-Harkamal
04-27-2007 6:16 PM
Hi
if that variable is of type CHAR and of length 1 CHAR then no need to pass any SPACE for it
By default it take SPACE as its value
how can you say that it is not taking default space (initial for CHAR type is nothing but SPACE only)
if you still wants to pass the value write SPACE for that field value
reward if useful
regards
Anji
04-27-2007 6:19 PM
Hi!
If it a char type, then its initial value is a SPACE character.
If it confuses the program and you wanted to use it another way, then use numbers (type i - integer). It's initial value is "0".
Or try to use other flag characters, like "T" for true and "F" for false values.
Regards
Tamá
04-27-2007 6:20 PM
Hi,
The initial value for the character type is space..
Pass X in the variable..
Thanks,
naren
04-27-2007 6:20 PM
Hi
if that variable is of type CHAR and of length 1 CHAR then no need to pass any SPACE for it
By default it take SPACE as its value.
Otherwise give the space to that variable programatically as
data: var(1) .
var = ' '.
Regards,
Sreeram