01-27-2008 1:05 PM
Hi Experts,
I need to know Significance of Field label and Field Heading in Data Element. Why we define that and where is it used? Also, at times i have seen that the labels and headings defined for a particular DE is different from the label (Show on selection screen) and heading (show in list display).
Please explain!!
~Sid
"Max Points are gaurenteed"
01-28-2008 4:26 AM
Hi Sid,
A field displayed on a page can be named with a field label.
You can choose an application-specific text that describes the field in greater detail as text for the label. If the field is an ABAP data object with a Dictionary reference, a suitable label can be determined from the corresponding elementary Dictionary type with method GET_FIELD_LABEL. In this way you can standardize the field label of fields with the same type of semantics
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.
This text is used as a column header when you output the contents of fields as a list in the Data Browser. It can also be assigned to a field in the Screen Painter.
A maximum length must also be assigned for the header. It is the upper limit for the lengths of all translations of the header. Choose the maximum length of the header to be somewhat longer than the given text in the original language. Also note that the header is often displayed above the corresponding column when preparing list output. The length of the header therefore should not exceed the length of the data element.
kindly reward if found helpful.
cheers,
Hema.
01-28-2008 1:00 PM
Hi
Field name, which we give on Fields tab is used to call data from that particular field. We can also say its like a variable name which holds a record.
Example: LFA1-LIFNR refers to a field name, which helps to insert, display, update the data.
And Filed label is the name of the field which is displayed like a heading whenever we are entering records from SM30 i.e. Table Maintenance Generator or When we place the fields on a screen painter layout at that time we can see the Field label given in the DATA Element. If Data Element were not maintained, then only text boxes would be displayed.
Reward points if its helpful
Thanks & Regards
RK Nimma