on 11-26-2008 4:54 AM
hi all,
i had a requirement to store 1200 char length in a field as comments in a infotype through webdynpro.
i got some inputs as we can achieve it by using Text Tables concept ..
when ever i saved the text (comments of 1200 lenght) one reference code has to generate and it will act as the address of the comments and by referrign this reference number i have to read the data in INFOTYPES.
1) how to generate this referece code ( 32 length) dynamically ( unique for every user)?
2) how to create Text tables?
3) Whatr is the difference between text table and value tables?
please help me in this regard ..
thanks and regards,
Kranthi kumar .Palle
Cant we use a dataelement of char 1200 ? Is there any issue with this approach ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Use Fm CREATE_TEXT to save the Texts in the Text tables and use Fm GUID_CREATE to generate the Unique Guids EV_GUID_32
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can create the Long Texts using the CREATE_TEXT .
Create a data type of string .
Pass the long data into the string variable and convert into table format using C14W_STRING_TO_TLINE
Now pass this table to CREATE_TEXT and while saving the text u need a unique id so that u can retreive the data by using the READ_TEXT also.
You can use like OrgUnit+Employee Number for the FNAME ..
User | Count |
---|---|
85 | |
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.