‎2007 Aug 06 1:16 PM
halo fellow SAPiens,
i have made a Ztable with one of the fields being a string with length 1024.....it is activated.............now when i use it in my program it gives me an error saying "TABLE MUST BE A FLAT STRUCTURE....U CANNOT USE INTERNAL TABLES,STRINGS,REFERENCES OR STRUCTURES AS COMPONENTS"..........
‎2007 Aug 06 2:23 PM
please make Your data element as
" -> MAX_SEGM.. it is char type and has lenght of 8164 ..
which has more than your and accepts the table field of reffering the above field inyou program .
reward points if it is usefull ...
Girish
‎2007 Aug 06 1:19 PM
Hi,
Take that as Charecter type then this will work
Regards
Sudheer
‎2007 Aug 06 1:21 PM
but char can only be of max size 255..........me want more than tht (1024).............
‎2007 Aug 06 2:09 PM
Hello,
Please create a domain and in the definition.........
Data type <b>CHAR</b> Character string
No. characters <b>1024</b>
Decimal places 0
Output length 1024
Then assign this domain to the date element and inturn to the table field of your choice..
Hope the suggestion proved useful
Reward if helpful
Regards
Byju
‎2007 Aug 07 10:41 AM
hey it says........."GIVE A VALUE BETWEEN 0-255"..................1024 NOT VALID
‎2007 Aug 07 12:10 PM
Hi...
You have to Use the Data type LCHR (Long Character) field for this purpose.
<b>Reward if Helpful.</b>
‎2007 Aug 07 1:35 PM
but it only shows a single character....like if i i/p "hallo every body".............it only shows "h" in the o/p i.e. in the table................
‎2007 Aug 06 2:23 PM
please make Your data element as
" -> MAX_SEGM.. it is char type and has lenght of 8164 ..
which has more than your and accepts the table field of reffering the above field inyou program .
reward points if it is usefull ...
Girish
‎2007 Aug 07 10:40 AM
hey......MAX_SEGM dint help..............it says............"ENTER A VALID VALUE"