Use of alternative field label in TMW
Hi,
I'm using a customer-specific field under
IMG>Time Management>Time Manager's Workplace
>Screen Areas>Time Data>Define Table for Time Events
and I want to change the field description displayed in TMW under the Time Events tab.
I've tried to use the alternative field label, but it doesn't work. Am I missing a step? Does anyone have any idea how to configure this?
Thanks
Al
That doesn't really help me though...I understand that it's sap standard, but why then give an option for an alternative field label if it doesn't work. Or am I not understanding that functionality?
Similar Messages
-
What is Field Label ? and where do we use it .
What is Field Label ? and where do we use it .
Hi,
You can assign text information to a data element with the field labels.
The field labels are used to display a screen field. You can copy structure components and table fields from the ABAP Dictionary to the input template when you define a screen in the Screen Painter (Get from Dict. function). You can also assign a field a field label that is derived from the data element of the field.
The text of the field label can be translated centrally with the translation tools. The text is then displayed in the input template in the users logon language.
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.
Headers
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.
Short Field Label
Definition
One of the following:
- Short field label
- Medium field label
- Long field label
Can be assigned as prefixed text to a screen field referring to the ABAP Dictonary. The text is displayed on the screen in the logon language of the user (if the text was translated into this language).
A heading can be defined to output the field values in lists. This heading is automatically included in the list header row, in the logon language.
Medium Field Label
Definition
One of the following:
- Short field label
- Medium field label
- Long field label
Can be assigned as prefixed text to a screen field referring to the ABAP Dictonary. The text is displayed on the screen in the logon language of the user (if the text was translated into this language).
A heading can be defined to output the field values in lists. This heading is automatically included in the list header row, in the logon language.
Long Field Label
Definition
One of the following:
- Short field label
- Medium field label
- Long field label
Can be assigned as prefixed text to a screen field referring to the ABAP Dictonary. The text is displayed on the screen in the logon language of the user (if the text was translated into this language).
A heading can be defined to output the field values in lists. This heading is automatically included in the list header row, in the logon language.
Heading
Definition
One of the following:
- Short field label
- Medium field label
- Long field label
Can be assigned as prefixed text to a screen field referring to the ABAP Dictonary. The text is displayed on the screen in the logon language of the user (if the text was translated into this language).
A heading can be defined to output the field values in lists. This heading is automatically included in the list header row, in the logon language.
Thanks,
Reward If Helpful. -
Changing Field Label length for Data Element using ABAP code.
Hi Experts,
We have a scenario where we have to update the maximum length of the various Field Labels (Short, Medium, Long..) for a Data Element using ABAP code.
Does anyone know how to do this ? Is there a Function Module available for this purpose ?
Appreciate your valuable inputs.Hi ,
Use the view
DD03M
Give
TABNAME as table name,
DDLANGUAGE = EN / sy-langu
and order by position. (for correct sequencing)
You will get description of the fields (short,medium, long etc). You will also get the length and other details. -
Hello
Is there a way to use the field label in the header of a ALV grid?
I am currently using a hard coded solution, and i know it's not good.
form buildfieldcat .
clear wa_fcat.
refresh it_fcat.
wa_fcat-col_pos = '1'.
wa_fcat-tabname = 'KNA1'.
wa_fcat-fieldname = 'KUNNR'. " I want to use the field label of this field in the header...
wa_fcat-seltext_l = 'Customer Number'. " ...To not use this line.
wa_fcat-outputlen = 15.
wa_fcat-key = 'X'.
wa_fcat-no_zero = 'X'.
I hope my query was clear. Thanks a lot!Hi,
If you want header columns from Dictionary field labels, instead of hardcoding, you can follow what fellow SDNs mentioned.
Here is the solution.
<li>define internal table like this.
TYPES:
BEGIN OF t_mard,
werks TYPE mard-werks,
lgort TYPE mard-lgort,
matnr TYPE mard-matnr,
insme TYPE mard-insme,
einme TYPE mard-einme,
speme TYPE mard-speme,
END OF t_mard.
DATA:
w_mard TYPE t_mard.
DATA:
i_mard TYPE STANDARD TABLE OF t_mard.
<li>Buidl fieldcatalog internal table like below . It works
PERFORM build_fcat USING:
"Field Int Tab ref field ref table
'WERKS' 'I_MARD' 'WERKS' 'MARD',
'LGORT' 'I_MARD' 'LGORT' 'MARD',
'MATNR' 'I_MARD' 'MATNR' 'MARD',
'INSME' 'I_MARD' 'INSME' 'MARD',
'EINME' 'I_MARD' 'EINME' 'MARD',
'SPEME' 'I_MARD' 'SPEME' 'MARD'.
*& Form BUILD_FCAT
FORM build_fcat USING l_field l_tab ref_field ref_tab.
w_fieldcat-fieldname = l_field.
w_fieldcat-tabname = l_tab.
w_fieldcat-ref_fieldname = ref_field.
w_fieldcat-ref_tabname = ref_tab.
* w_fieldcat-seltext_m = l_text.
APPEND w_fieldcat TO i_fieldcat.
CLEAR w_fieldcat.
ENDFORM. " BUILD_FCAT
<li> You can check program [here|http://hr-abap-freeeducation.blogspot.com/2008/04/alv-list-display_17.html]
I hope that it solves your problem.
Thanks
Venkat.O -
Include Field Labels in GUI_Download
How do I include field labels in GUI_DOWNLOAD (I am using it to download an Excel file from an internal table)? I see a table called fieldnames but when I add fields to that table they system only shows the first field. How can I show a label for each row, in Excel?
See the code below:
wa_fade_fields-posid = 'Project#'.
wa_fade_fields-poski = 'Phase Code'.
wa_fade_fields-usr02 = 'WBS Element'.
wa_fade_fields-txt04 = 'Status'.
wa_fade_fields-sakto = 'Cost Elem'.
wa_fade_fields-vrsen = 'Vsn'.
wa_fade_fields-wrttp = 'VT'.
wa_fade_fields-planned_hours = 'Planned Hours'.
wa_fade_fields-arbei = 'Current Hours'.
wa_fade_fields-ismnw = 'JTD Hours'.
wa_fade_fields-etc = 'Estimate to Complete'.
wa_fade_fields-variance = 'Variance'.
wa_fade_fields-percent = 'Percent'.
INSERT wa_fade_fields INTO TABLE it_fade_fields.
*Fade table
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
* BIN_FILESIZE =
filename = d_fullpath
* FILETYPE = 'ASC'
* APPEND = ' '
write_field_separator = 'X'
* HEADER = '00'
* TRUNC_TRAILING_BLANKS = ' '
* WRITE_LF = 'X'
* COL_SELECT = ' '
* COL_SELECT_MASK = ' '
dat_mode = 'X'
* CONFIRM_OVERWRITE = ' '
* NO_AUTH_CHECK = ' '
* CODEPAGE = ' '
* IGNORE_CERR = ABAP_TRUE
* REPLACEMENT = '#'
* WRITE_BOM = ' '
* TRUNC_TRAILING_BLANKS_EOL = 'X'
* WK1_N_FORMAT = ' '
* WK1_N_SIZE = ' '
* WK1_T_FORMAT = ' '
* WK1_T_SIZE = ' '
* WRITE_LF_AFTER_LAST_LINE = ABAP_TRUE
* SHOW_TRANSFER_STATUS = ABAP_TRUE
* IMPORTING
* FILELENGTH =
TABLES
data_tab = it_fade
fieldnames = it_fade_fields
* EXCEPTIONS
* FILE_WRITE_ERROR = 1
* NO_BATCH = 2
* GUI_REFUSE_FILETRANSFER = 3
* INVALID_TYPE = 4
* NO_AUTHORITY = 5
* UNKNOWN_ERROR = 6
* HEADER_NOT_ALLOWED = 7
* SEPARATOR_NOT_ALLOWED = 8
* FILESIZE_NOT_ALLOWED = 9
* HEADER_TOO_LONG = 10
* DP_ERROR_CREATE = 11
* DP_ERROR_SEND = 12
* DP_ERROR_WRITE = 13
* UNKNOWN_DP_ERROR = 14
* ACCESS_DENIED = 15
* DP_OUT_OF_MEMORY = 16
* DISK_FULL = 17
* DP_TIMEOUT = 18
* FILE_NOT_FOUND = 19
* DATAPROVIDER_EXCEPTION = 20
* CONTROL_FLUSH_ERROR = 21
* OTHERS = 22
Regards,
DavisI think the problem might be with the WORK AREA structure, the work area which contains the description should be atleast 50 characters long so that it can accomodate all the characters...
Declare it something like this
DATA: BEGIN OF excel_schedule OCCURS 0,
refno(50),
ebelp(50),
etenr(50),
eindt(50),
menge(50),
ameng(50),
END OF excel_schedule.
Ok there is another simple way of doing this
Use GUI_DOWNLOAD twice and the second time you just append it to the existing first file...
SAmple code
DATA: BEGIN OF excel_schedule OCCURS 0,
refno(50),
ebelp(50),
etenr(50),
eindt(50),
menge(50),
ameng(50),
END OF excel_schedule.
* Download to Workstation the Description Fields of error schedule file
CALL FUNCTION 'GUI_DOWNLOAD'"
EXPORTING
filename = w_lstring
filetype = 'ASC'
write_field_separator = 'X'
TABLES
data_tab = excel_schedule
EXCEPTIONS
file_write_error = 1
no_batch = 2
gui_refuse_filetransfer = 3
invalid_type = 4
no_authority = 5
unknown_error = 6
header_not_allowed = 7
separator_not_allowed = 8
filesize_not_allowed = 9
header_too_long = 10
dp_error_create = 11
dp_error_send = 12
dp_error_write = 13
unknown_dp_error = 14
access_denied = 15
dp_out_of_memory = 16
disk_full = 17
dp_timeout = 18
file_not_found = 19
dataprovider_exception = 20
control_flush_error = 21
OTHERS = 22
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
* Download to Workstation the error schedule file
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
filename = w_lstring
filetype = 'ASC'
append = 'X'
write_field_separator = 'X'
TABLES
data_tab = t1_eschedule
EXCEPTIONS
file_write_error = 1
no_batch = 2
gui_refuse_filetransfer = 3
invalid_type = 4
no_authority = 5
unknown_error = 6
header_not_allowed = 7
separator_not_allowed = 8
filesize_not_allowed = 9
header_too_long = 10
dp_error_create = 11
dp_error_send = 12
dp_error_write = 13
unknown_dp_error = 14
access_denied = 15
dp_out_of_memory = 16
disk_full = 17
dp_timeout = 18
file_not_found = 19
dataprovider_exception = 20
control_flush_error = 21
OTHERS = 22.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
use the append property of GUI_DOWNLOAD the second time -
Rename the Field Label in the sales order application.
Hi,
Please suggest me how to rename one of the field name in the sales order application.
I have add a new field called YOUR_REF_SHIP and simultaneously have to rename it from your reference to Carrier Account No. this field is available in the filed group SLO_DETAILS_GENERAL1.
This field is located in the General data tab of the sales order application.
I have created the Text Key in the Define Interface Texts and used the same text key in the Rename Field Label, but it is not working.
and i dont want to change it with the CMOD transaction.
Please suggest me where i have went wrong.
Thanks.
AnilkumarHello Anil,
The field groups are to be regenerated.
However, I have done a similar thing and in the past, the layout generation helped me. In the recent example, the name is not reflected as per the interface text.
Let me know if you find anything on this.
Regards
Priyanka -
Field labels that won't go away in Address Book
Help!
Many of my contacts have credentials at the end of their names, so I use the Suffix feature to keep track of them. However, for people without credentials at the end of their names, the word "SUFFIX" appears in gray on their contact card, and I can't make it go away.
Same thing with other unused fields on any given card, such as prefix. It is pretty annoying to have "Prefix Bob Jones Suffix" on a contact card.
How do I make these field labels disappear without eliminating the field?
Thanks for your help.
PPC Mini Mac OS X (10.4.9)Welcome to the discussions, Cobra.
Are you leaving the cards in edit mode? Those fields don't show up, if empty, unless you are in edit mode.
AK -
XML Output - Issue with multiple field labels.
Dear Users,
I am trying to create an XML sheet as output for my program, and am struck at a point where I don't need field labels appearing on the XML output.
The code looks as below:
l_element_order = l_document->create_simple_element(
name = 'Order'
parent = l_element_ordertype ).
l_value = it_order-aufnr.
l_rc = l_element_order->set_attribute( name = 'AUFNR' value = l_value ).
On my output though, both the field labels 'Order' and 'AUFNR' appear side by side. I would ideally only want the 'Order' label to appear.
Is there a method through which I can suppress the labels?!
I am using the following classes as a part of the code:
DATA: l_ostream TYPE REF TO if_ixml_ostream,
l_ixml TYPE REF TO if_ixml,
l_streamfactory TYPE REF TO if_ixml_stream_factory,
l_renderer TYPE REF TO if_ixml_renderer,
l_document TYPE REF TO if_ixml_document,
l_value TYPE string.
Would be much appreciated if someone could help me with this please. Thanks!
VijayHi,
recipent list is filled once,there are no loops in the program, and the SOST shows two same items with some have same time stamp and some have difference of a second.
Regards
Govind -
Function Modul for read field label
hi all
i search a function modul for read the field label from data element.
Example for data element matnr, i must have field label text material.
Thx abap_beginHi,
If you give input parameters type, field and table you get data element using
RP_PRINT_GET_DATA_ELEMENT
Try also
KL_TABLE_INFO_GET
But not sure if this futfill your requirement... -
Changing Address Field labels in PM module.
Hi all,
We have an urgent requirement where we need to change the field labels of address subscreen.
These changes should reflect only in IE01, IE02 and IE03 transactions restricted to only one particular equipment type.
Example: <i>Field label ( Name2 )</i> changed to <i>Field label ( Manufactured By )</i>
Points will be rewarded to all useful suggestions.
Thanks,
Bhanu.Hi all,
We have an urgent requirement where we need to change the field labels of address subscreen.
These changes should reflect only in IE01, IE02 and IE03 transactions restricted to only one particular equipment type.
Example: <i>Field label ( Name2 )</i> changed to <i>Field label ( Manufactured By )</i>
Points will be rewarded to all useful suggestions.
Thanks,
Bhanu. -
I need to change the description of three fields, VKBUR, VKGRP and BZIRK so that the terminolgy aligns iteself with our business processes.
I have used SE80 to modify the Data Elements descriptions, short, mid and long. I have registered the change through SAP.
The changes have been activated. Though the log reported that a number of tables could not be modified because the enhancement category for some obscure tables was missing. Most of the tables were adjusted.
Viewing transaction VA22 - Quotations the sales header screen has the correct new description for only one of the three fields! Why this should be one of three is a mystery.
I think that the structure DD04D is filled with the short, mid and long descriptions.
Any ideas?Hi Nigel,
You can change field labels, in tx CMOD->Go to->Text Enhancements-> Keyword->Change.
Here you can enter the Data Element of the field you want to change the text, and the language. Also, you should look at the screen where the text field is. Because if the text has the attribute "Modify" to "F" (Fixed), you cannot modify this text.
Thanks
Warm Regards,
Mohammed Hussain. -
Reading Field Labels from Lookup Table
Post Author: Ohmylord
CA Forum: Formula
I'm trying to read the field labels from the database so I can have one set of reports and have them work in multiple languages by changing the display value. I created a lookup table that has these fields and values: ID EnglishValue DisplayValue1 Customer Cliente2 CustomerNumber Numero del Clienteetc. I then created a formula field for each label (@Customer Label, @CustomerNumber Label). The formula just contains the DisplayValue field. Then I used Select Records and added a Where ID=1 or ID=2. The problem is that whatever the last value I put in for the ID applies to each of the different formulas I created. In other words, it reads the labels from the database, but they are all the same. It seems like it should be pretty easy but I'm obviously missing something. Most reports probably have 15 or so labels on them. Thanks for any help!Post Author: Ohmylord
CA Forum: Formula
Here's some sample data from the table I created.
Translation
Autonumber
ID
EnglishLabel
DisplayValue
1
1
Customer
Cliente
2
2
Customer Number
Codice Cliente
3
3
Quote Date
Data Quota
4
4
Expiration Date
Data Scadenza
What I want on the report is 4 fields each one would show a different value. The simplified select statement I'm trying to get for the different fields is something like:Field 1 - Select DisplayValue where ID=1Field 2 - Select DisplayValue where ID=2etc for the other 2 fields. When a different user has a different language we would just populate the DisplayValue with different data. -
Hello SAP
Hello everbody,
We are an ISV developing Add-ons for various customers. We use NWDS and NWDI with layered track development.
The following problem has occured:
- Until last week we created Java WebDynpro based upon Abap function modules. These modules were located on a WEB AS 6.20 server. When re-importing the models al field labels from the ABAP function modules
were visible in the NWDS.
- Since last week we transported the ABAP function modules on a different server, This is a WEB AS 6.40 server. From this moment when we perform a re-import of the model in the same project, the field labels are no longer visible in the NWDS. The system reports that they
are not only not visible but they actually don't exit.
Does anybody know how to do this re-import so that the field labels are visible again.
Best regards
RonHi Ron,
Refer to the following blog, it will help,
RFC Model Re import issue
Best regards,
Guru. -
How do you change fields labels in adf query please ?
Hello , I would like to change the field labels in an adf query as they have been generated by default by oracle .
The only code found is as follows :
<af:query id="qryId1" rows="6" headerText="Search" disclosed="true" maxColumns="2"
value="#{bindings.ImplicitViewCriteriaQuery.queryDescriptor}"
model="#{bindings.ImplicitViewCriteriaQuery.queryModel}"
queryListener="#{bindings.ImplicitViewCriteriaQuery.processQuery}"
queryOperationListener="#{bindings.ImplicitViewCriteriaQuery.processQueryOperation}">
<af:inputText value="#{bindings.PrtDesc.inputValue}" label="Desc"
required="#{bindings.PrtDesc.hints.mandatory}"
columns="#{bindings.PrtDesc.hints.displayWidth}"
maximumLength="#{bindings.PrtDesc.hints.precision}"
shortDesc="#{bindings.PrtDesc.hints.tooltip}" id="it3">
<f:validator binding="#{bindings.PrtDesc.validator}"/>
</af:inputText>
</af:query>Hi,
if you use ADF BC, set the UI Hints on the View Object attributes for the attributes and these will make the labels
Frank -
Change field label for field IZWEK in transaction AS03
Hi experts,
I would like change field label for field IZWEK because I want use it for another purposes. Itu2019s name is Investment Reason at transaction as03.I can change name this label in reports by using se63(translation->abap object->short text->repository text->data element) and giving object name as IZWEK. I get changes in reports only, in help(F1). But I havenu2019t idea what cause change label in as03 transaction.
Help me please.
Regds Stenwain tr. AOLK and AOLA you can change this.
Maybe you are looking for
-
Help with exporting file for print
Hello, I'm trying to print a banner through Spoonflower (a site that lets you print on fabric). They recommend an RGB, 150dpi file. (max 58" wide x 288" long, 40MB) and accept a wide variety of file types (ai, svg, eps, tif, png, jpeg). My banner is
-
Under ALDSP 2.5, the following XQuery... where string-length($medacf) = 0 or $medacf = $acf/column_name ...used to generate this SQL: where ((? = 0) OR (? = t1."COLUMN_NAME")) However, under ODSI 10gR3, the where clause is missing. Here's the query p
-
Q10 BBY Link : Outlook 2013 sync deleting appointmen​ts on BBY 30 days past
Hi, Running: PC Outlook 2013, MSwindows 7 BBY: Q10 BBYlink 1.1.1.32 With the release of 1.1.1 a great amount of pent up frustration and anger was released and happiness restored, but a little bit beginning to build again. Maybe I just have things
-
Downloaded the new ios7 it didn't save any passwords and still won't.
-
So normally when i download a ringtone it goes straight to tones, but this time it is in music. What should i do?