on 12-09-2004 9:35 AM
Anyone who knows a good DD-data type for long text messages (+255).
Thanks!
What about STRING or XSTRING (for hex)?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you be more specific on what you want to achieve?
This is BTW the list of all built in types (with their length):
http://help.sap.com/saphelp_webas620/helpdata/en/fc/eb2fd9358411d1829f0000e829fbfe/content.htm
Message was edited by: Eddy De Clercq
Hello Elvez,
You are saying that you want to store the long text field in the backend. Does that mean you are trying to create a new table in the ABAP Dictionary?
If yes, then I'm afraid, you cannot do it without some concepts. If you are creating a table in SE11, then, you will have to go in for Cluster Tables. Instead of the normal SELECT Statements, you will now have to use the IMPORT Statements to get the data from this cluster table. And Instead of the normal INSERT statement, you will have to use the EXPORT statement to enter the data into the database table.
If you decide to go for the cluster table, please read the SAP documentation about the cluster tables carefully. It is explained very clearly (under ABAP Programming).
The following is a summary of the requirements to build a cluster table in the ABAP Dictionary.
======================================================
The tables used to perform EXPORT/IMPORT operations should have
the following structure:
Fld name Fld type
1. MANDT CLNT Key field
2. RELID CHAR(2) Key field
3. File-specific key (one or several CHAR fields)
4. SRTF2 INT4 Key field
5. Further fields, not part of the key
6. CLUSTR INT2 (Length field for EXPORT/IMPORT data)
7. CLUSTD VARC or LRAW (Container for EXPORT/IMPORT data)
In tables that are not client-specific, you can omit the field MANDT. The field SRTF2 can (for compatibility's sake) also defined as type INT4.
======================================================
If you need further information, please do get back.
Regards,
Anand Mandalika.
P.S. : If you have found the information useful, Please do reward the points.
I'm developing portal applications that is communicating with the R/3 backend. The problem is that I try to use the standard framework as far as possible. Unfortunately, that implies that I do not have control over the entire process, i.e. I can only define the portal data type and the R/3 data type. What is happening inbetween is out of my control ...
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.