05-19-2015 6:21 AM
hii experts,
i want to maintain a custom table in SM30 view. my table has RAWSTRING type data element and in my case it is not possible to change data element type as CHAR or LCHR . because my data not having fixed length and it will get truncated. please suggest if any alternative is possible.
05-19-2015 1:44 PM
Rawstring type of data elements are used when there are complex data structures to be stored in the database table (Check statements IMPORT/EXPORT to database/ data buffer). Since the data in Rawstring field cannot be typed in manually, the table containing such a field shouldn't ideally be edited through SM30.
Thanks,
Juwin
05-19-2015 1:44 PM
Rawstring type of data elements are used when there are complex data structures to be stored in the database table (Check statements IMPORT/EXPORT to database/ data buffer). Since the data in Rawstring field cannot be typed in manually, the table containing such a field shouldn't ideally be edited through SM30.
Thanks,
Juwin
05-19-2015 7:32 PM
hi juwin,
yes u r right but is there any alternative solution is available for such problem??
I don't require RAWSTRING type field in SM30 but should remain in respective custom table
05-19-2015 8:12 PM
Try creating a maintenance view that does not include the RAWSTRING field.
Rob
05-20-2015 5:06 AM
05-20-2015 7:32 AM
Rob’s solution is the good one, which error did you get or what step was unsuccessful (creating the view, creating/executing the dialog on the new view?)
Regards,
Raymond
05-20-2015 8:57 AM
hi raymond,
when i have created maintenance view and display it in SM30 transaction it shows the dump as
""Ztable" must be a flat structure. You cannot use internal tables, "
"strings, references, or structures as components ."
" "
" "
05-20-2015 9:03 AM
05-20-2015 1:46 PM
So, what is the structure (including data types) of the view that you created?
Rob
05-21-2015 4:57 AM
hi Rob,
i just excluded the field from maintenance view which have RAWSTING data type.
and when i execute that view it displays above short dump.
05-21-2015 6:52 AM
Regards,
Raymond
05-21-2015 8:51 AM
05-21-2015 1:44 PM
05-22-2015 4:07 AM
hi rob,
please try with some example with including a field having raw string data type.
05-22-2015 10:36 AM
Bhupendra,
What is the enhancement Category for the z table ?
SE11>>table name>>display>>Extras>>Enhancement Category.
Did you chose "Can be Enhanced (Deep)"
K.Kiran.
05-22-2015 11:09 AM
Hi Kiran,
enhancement category for for my ztable is "can be enhanced (Deep)"
regards,
Bhupendra
05-22-2015 2:21 PM
Dear,
Kiran, Rob,Raymond,Juwin
please provide any alternate solution.
if any Z development is possible then also suggest for the same.
regards,
Bhupendra