Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Data Element Doubt

Former Member
0 Likes
2,639

Generally we will specify three types of descriptions(Long,Meduim,Short) in the data element along with the data element description.

1. In which cases those three types of texts are used ?

2. I think the description of data element comes to the field description in the table .... Right ?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,793

hi manjunath,

the reson for specifying 3 texts are that

1) used in screen elements based on DATA element.

there is something called program parameter OR

Dictionary parameter

when you take dictionary parameter based on the screen field size the appropriate text is shown on the screen - i.e either in push buttons or other elements

2) in ALV you may build a field catalog manually where in the output columns should have a text.

for this you can either doctionary texts(S,M,L) so then the Texts maintained against the Data element are shown in output.

OR when you use the FIELDCATALOG MERGE Function Module to create your Field Catalog based a structure or Internal table then the Column Texts are displayed based on the user interaction on the output columns.

Second Question - Yes the Description you write for a Data Element will be Used as you Field Description as you know that whenver a FIELD in a table is created you can specify the length of the field either through Predefined Direct Types or Trhough Data Elements.

When you define thorugh DATA elements the Data Elements Description is taken as Field Description

ELSE

When you take Direct Type then you need to also Manually Write the Field Description.

Hope this clarifies what you have been looking for.

Encuorage others to answer your queries by suitably rewarding them.

Thanks

Venugopal

6 REPLIES 6
Read only

prasanth_kasturi
Active Contributor
0 Likes
1,790

hi,

1)depends on your o/p

if one of the values of a field in table is long it takes long text otherwise medium or short

Short, Medium and Long Field Labels

Keywords of different lengths for identifying screen fields. Since the space available for such texts depends on the input template, you can define the text information in three different lengths.

A maximum length must be assigned for each field label. It is the upper limit for the lengths of all translations of the given text. The maximum length of the field label therefore should be somewhat longer than the given text in the original language

2) for your second que ans is yes

reward if helpful

prasanth

Read only

Former Member
0 Likes
1,790

Hi Manjunath,

u r right exactly .

Depending on your o/p.

if the displayed value is long it takes long text

if the displayed value is medium it takes medium text

if the displayed value is short it takes short text

A maximum length must be assigned for each field label. It is the upper limit for the lengths of all translations of the given text. The maximum length of the field label therefore should be somewhat longer than the given text in the original language

For Short : A maximum of 10 characters is permitted.

For Medium : A maximum of 20 characters is permitted. A length of 15 characters is recommended.

For Long : The maximum length permitted is 40 characters. A maximum length of 20 characters is recommended.

For Heading : A maximum of 55 characters is allowed.

Plz rewards points if helpful,

Ganesh.

Read only

Former Member
0 Likes
1,790

IN TABLE CONTROL WHEN U DRAG FIELD OR IN ALV..

IT CHANGE BASED ON DRAG AND INCREASED SIZE..

REWARD IF IT USEFUL

Read only

Former Member
0 Likes
1,794

hi manjunath,

the reson for specifying 3 texts are that

1) used in screen elements based on DATA element.

there is something called program parameter OR

Dictionary parameter

when you take dictionary parameter based on the screen field size the appropriate text is shown on the screen - i.e either in push buttons or other elements

2) in ALV you may build a field catalog manually where in the output columns should have a text.

for this you can either doctionary texts(S,M,L) so then the Texts maintained against the Data element are shown in output.

OR when you use the FIELDCATALOG MERGE Function Module to create your Field Catalog based a structure or Internal table then the Column Texts are displayed based on the user interaction on the output columns.

Second Question - Yes the Description you write for a Data Element will be Used as you Field Description as you know that whenver a FIELD in a table is created you can specify the length of the field either through Predefined Direct Types or Trhough Data Elements.

When you define thorugh DATA elements the Data Elements Description is taken as Field Description

ELSE

When you take Direct Type then you need to also Manually Write the Field Description.

Hope this clarifies what you have been looking for.

Encuorage others to answer your queries by suitably rewarding them.

Thanks

Venugopal

Read only

Former Member
0 Likes
1,790

Whenever u press the F1 on a field the text enterted in the dataelement gets displayed

Read only

Former Member
0 Likes
1,790

1) These type of descriptions (S,M,L) are used mainly in ALV reports and Data maintenance screen (in SM30).

This depends on the limit available for you in the report/Screen.

There is no need to change the description in the screen of table maintenance (sm30) if maintained in the data element, it will take descriptions from data element.

2) Yes. data element descriptions will be the description in table.