‎2007 Dec 06 8:27 PM
Hey ABAPers...
Ok...rudimentary question, but I'm not finding any answers in my reference books, or in a search or the like.
Simple...
I have a z custom table with the following parameters...matnr type matnr and comments type sign_comm. The sign_comm type is a comment on a digital signature. I am using this table to log comments relating to a quality hold process we have. I need to be able to put in >15000 characters in the comment field, so of course this makes it a STRING type.
My code uses the textedit control and determines if a person has updated this text. If so, when they save it the changes should be posted back to this table. I do the regular UPDATE ZTABLE FROM TABLE INTTAB.
You may see the problem with this already. I get a dump when executing the program. When I do an SE11 for the Ztable and try to do the maintenance dialog it tells me that you cannot do a maintenance dialog for a table with STRING types. Ok...but I need the string type for the long data sets that will be going in there. There must be a way to update a Ztable when a STRING type is present. After all table SIGNS has a string on it and it is getting updated.
Thanks for any guidance.
Greg
‎2007 Dec 07 9:25 AM
Hi Greg,
something strange is happening i think...
I've just tried to create a ZTABLE in my SAP System, just like this:
Field - Type
PERNR - PERNR_D
SIGN - SIGN_COMM
SIGN_COMM, as you say, is a string type.
I've even tried to put in a custom data element, ZSTRING, created as a STRING with unlimited length.
I saved, activated the table and all is ok...technical params are:
APPL0 -> 01
Table class is A.
However, the maintenance dialog is not generated, because STRING type is not supported.
Please, can you post here some tech info about your ZTABLE?
‎2007 Dec 07 2:30 PM
Hey Roberto...thanks for the post...
Creating the table is no problem...try to do the table maintenance generator on the table and you will get this...
(Leading to a difficulty in doing an UPDATE to the table)
Data type STRING is not supported in field QA_COMMENTS
Message no. SV178
Diagnosis
The table for which a maintenance dialog is to be generated, contains
fields with the data type STRING.
The data type STRING is not supported by the view maintenance (SE54).
System response
No maintenance dialog can be generated. The program is cancelled.
Procedure
Correct the definition of this field in this table, in the ABAP
Dictionary(SE11).
‎2007 Dec 10 12:01 AM