on 06-30-2014 12:32 PM
Hi all,
I have a requirement that I need to create a data element which supports 1000 characters.
I have created a data element with char and output length as 1000 it activates with errors but when I maintain the table using SM30 it allows me to take only upto 255 characters, even I tried with different data element but the same problem .
I have also looked into following link http://scn.sap.com/thread/1110840 http://scn.sap.com/thread/1835228 http://scn.sap.com/thread/1462541 but same issue even after the steps mentioned in it.
Hi All,
i have found the solution for this issue ,
1. Use the domain element char1000.
2. But there is a catch if we use char1000 we will be not able to create a table maintenance generator.
3. So create a report program, get a option to upload files from the system and convert the same to desired format (to internal tables) .
4. And update the database table from the report directly.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
1. Create Text Object Using SE75.
2. Create Text ID Using SE75.
3. Now you have to Save the text with FM SAVE_TEX
This type of text should be treated as Long Text
To re-transfer texts from the internal work areas to the text file, use the function module SAVE_TEXT.
The application program does not know whether the text is new or a changed version of an existing text. To be able to find this out, the program must read the text file first.
If a text exists, the transferred text lines overwrite the old version. If it does not exist, the system creates it. If you know from the beginning that the text is new, you can suppress this read process using the parameter INSERT and thus improve performance.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
The out put length of a string in screen is limited to 255 chars. But, you can store as many chars as of length of domain at runtime / in data base.
You can go for an alternative approach as its the limit in screens. I suggest customize the SM30 program and via popup window which has table control to acceptl the 1000 chars.
By looping over entries in popup window you can save lines to the data base by concatenating it.
Regards,
Rama
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ramakrishnappa,
I have tried using module pool but I was not able to do it. can u share any example with steps it would be helpful.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.