2009 Sep 10 7:08 AM
Hi,
I am having a 'Z' table with 7 fields. In this 'Z' table I also have a field whose data type is STRING, for which I've created a 'Z' data type and a 'Z' domain.
I am not able to create:
1) Maintainence view using Tale maintanence generator for this table.
Error is get is 'Data type STRING not supported in field SMS'.
2) Neither am I able to maintain/modify entries in table using SE16N and check maintain entries, even after changing attributes as 'Display/Maintenance Allowed'.
Even if I change some entries and click SAVE I get a dump saying
Runtime errors ASSIGN_CASTING_ILLEGAL_CAST
Exception CX_SY_ASSIGN_CAST_ILLEGAL_CAST
Occurred on 10.09.2009 at 11:34:41
Error in an ASSIGN ... CASTING statement in program "SAPLSE16N".
Is it because of my data elemene string or something else?
Please help.
Regards,
Amit
2009 Sep 10 8:08 AM
Hi,
Try changing that String to char of required length and regenerate the Maintenance Generator.
Regards
Karthik D
2009 Sep 10 8:08 AM
Hi,
Try changing that String to char of required length and regenerate the Maintenance Generator.
Regards
Karthik D
2009 Sep 10 8:13 AM
Hi,
I am trying to store an URL.
If I declare it as CHAR, it allows me to define on 255 chars.
But my URL length is more than that.
Please suggest.
Regards,
Amit
2009 Sep 10 8:20 AM
Hi,
In the data element try using built in type as String and give length as 500.
I hope this will solve your problem.
KR Jaideep,
2009 Sep 10 8:20 AM
Hi,
Other way is to use SAVE_TEXT and save the text separately as long text.
Regards
Karthik D
2009 Sep 10 8:14 AM
Hi Amit,
Yes. You are right. Table maintenance generator does not support fields of type with string, raw, rawstring, internal table, object reference etc...
One solution I think is to create a maintenance transaction on your own.
Regards,
Deepika.
2009 Sep 10 8:25 AM
Hi Amit,
I ve faced a similar situation where my url could be upto 450 characters.. for that i created two fields in the table and then concatenated it.
If you have any idea of how long can ur url be , u can use the same solution.
Regards
Palak
2009 Sep 10 8:28 AM
Hi,
I was thinking of the same solution, because there seems to be no other option.
Thanks all.
Regards,
Amit