2008 Sep 19 6:17 AM
Hi experts,
please give me solution for following dump very urgently.
we have developed Zreport working properly.but when clicked on Print preview(CtrlshiftF10) giving
Dump
Error analysis
At the statment
"STRLEN( obj )..."
, only character-type data objects are supported at the argument
position "obj".
In this particular case, the operand "obj" has the non-charcter-type type
"P".
OBJECTS_NOT_CHARLIKE" "
SAPLKKBL" or "LKKBLF99"
GEN_FIELD_OUT2"
Regards
K.shohba
2008 Sep 20 5:03 AM
Hi Shobha,
Declare the variable obj of type c.
eg.
data : obj(20) type c.
Best regards,
Prashant
Hi experts,
please give me solution for following dump very urgently.
we have developed Zreport working properly.but when clicked on Print preview(CtrlshiftF10) giving
Dump
Error analysis
At the statment
"STRLEN( obj )..."
, only character-type data objects are supported at the argument
position "obj".
In this particular case, the operand "obj" has the non-charcter-type type
"P".
OBJECTS_NOT_CHARLIKE" "
SAPLKKBL" or "LKKBLF99"
GEN_FIELD_OUT2"
Regards
K.shohba
2008 Sep 20 5:03 AM
Hi Shobha,
Declare the variable obj of type c.
eg.
data : obj(20) type c.
Best regards,
Prashant
2008 Sep 22 4:42 AM
Dear Prashant.
Thanks for helping
solved my problem.
regards,
K.shobha
2008 Sep 20 7:44 AM
Hi shobha,
This is because the function STRLEN only works with character type data objects ( C, N, D, T) , here you are trying to find length of a object of type P, so declare a variable;
Data obj_chr(15) type c.and before finding length transfer obj into obj char as;
Write obj to obj_char decimals 2.Now use;
len = STRLEN( obj_char ).This should work.
If u have any doubts revert back.
Regards
Karthik D
2008 Sep 22 4:40 AM
Dear Karthik D.
Thanks for helping
solved my problem.
regards,
K.shobha
2008 Sep 20 7:52 AM
Yes Shoba,
Declar e that variable of char type....generally STRLEN command uses characters to define length...
Thanks
Cool
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |