Field label from data element (language dependent)

I have 2 development systems and am struggling to get different language from a standard sap data element.
On Dev system 1 the program is:
   parameters:  l_file1  like filename-fileintern.
In the selection texts of the program I select "Dictionary ref." and the text is automatically populated with the value "Logical File" i.e. it picks it up from the data element FILEINTERN of the parameter.
Now I log out and log back in in German and in this field I have "logische Datei" i.e. as expected this is the value in the data element of FILEINTERN.
When I logon in English and execute the program, the selection screen has "Logical File", and when I login in German and execute the program the selection screen has "logische Datei".
All well and good at this point and everything works as expected.
On Dev system 2 I have exactly the same program i.e. the same parameter, and same selection text settings.
However when I logon in English and execute the program I get "Logical File", but when I log on in German and execute it displays "L_FILE1" i.e. the name of the parameter and not the data element text value?
Any help greatly appreciated.

Hi Edgar and Sree,
Yes I have checked the data element in both systems and it is identical. In fact in the 2nd system when I log in in German and display the selection text it is correctly in German, only when I execute the program I don't get the value on the screen!
I realise I can simply uncheck this "dictionary ref." and translate the value myself but i want to understand why this doesn't work.... argh.

Similar Messages

  • 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.  

  • Description of field from data element in table control

    hello people !!! I need help !!
    I’m using a table control in my module pool program. I create this table through wizard, taking the fields from an internal table. This internal table was defined like this:
    Table Control ; posting items
    DATA: t_postitems  TYPE stucture_fd OCCURS 0 WITH HEADER LINE.
    Where  <b>stucture_fd</b> is strucuture with the fields.
    The problem that I have is that the titles of the fields does not take their description from the data element.
    How I create this table control from the internal table and that takes the description from the data element? It is very important this, because this development will be used in different languages.
    From already I am thanking for any answer.
    Thank so much.
    Best regards, Esther.

    Gracias, es mas facil para mi en espanol.
    tables: tab_prb.
    types: begin of <b>ti</b>.
               include structure <b>tab_prb</b>.
    types: end of <b>ti</b>.
    data: <b>ti_b</b>kpf type table of ti,
             <b>wa_bkpf</b> type ti.
    Explicacion:
    tab_prb, es una tabla transparent que contiene la estructura <b>struct_fd</b> que tiene los campos mas un flag para la seleccion de fila (flag).
    Defini esta tabla transparente, para que los campos tomen su decripcion desde los elementos de datos.
    Si creo el TB directo de la tabla tab_prb, no me permite seleccionar el campo flag como campo de seleccion, cuya funcion es marcar linea simple.
    Si yo hago la definicion anterior en mi programa, cuando creo el TB, va todo bien, hasta <b>ti_bkpf</b> que seria mi tabla interna, pero cuando me pide el work area, le ingreso <b>wa_bkpf</b> me indica que no esta definido en mi programa o ne es una estrucutura.
    Espero haber aclarado un poco mi respuesta.
    Muchas gracias !!!
    Esther.-

  • How to change the field labels from English to German language.

    Hi Experts,
    I have added 2 more fields for the output of the standard transaction ME2L.
    I have added in English Language. Now i want to display those field labels in German Language.
    How can i get this.Please help.
    Thanks in Advance.
    Jyothi.

    Jyothi,
    The problem was solved?
    If so, can you close the message?
    Best regards,
    Rafael Sá

  • Field names for data element are not displayed in selection box

    Hallo zusammen,
    ich habe ein Selektionsfeld definiert und einen Parameter erzeugt, der auf ein Tabellenfeld verweist. Der Feldbezeichner für das Datenelement aus der Tabelle wird nun aber nicht angezeigt, sondern ausschließlich der Variablenname.
    Woran kanndas liegen?
    Danke!
    Edited by: Matt on Feb 9, 2010 1:41 PM - translated subject

    I created data elements and use them in a db table. I've added this data elements as parameters of a selection screen in a function group top include but when I test my function module with this selection screen I see only the field names and not my field captions of my data elements.
    While editing report choose Goto->Text elements->Selection Texts-> select Dictionary checkebox next to your parameters ->activate. The caption will be used then.
    And another question: I have defined and activated a search helper which I can call in my selection screen with F4 but I don't see the symbol behind the text-field. What is the reason?
    Refer standard program DEMO_DYNPRO_F4_HELP_DICTIONARY to see various techniques of attaching input help to screen field, together with search help
    Regards
    Marcin

  • Fields missing from Data Source but displayed in RSA3

    Hello Experts
    I have an issue while finding for a field in the data source. As I am looking for some fields : MABST, MINBE, EISBE on BW Side but not found. When I llok the same fields in ECC Side in the table RSOSFieldmap, then I get these fields in 0MAT_PLANT_ATTR Data Source. In the same time , the fields are not available in the Data source on BW Side as well as on ECC Side(while goin thru RSA6). Also when I execute the RSA3 for the data source, I am getting the data in the Missing Fields. How it can be possible? Also plz let me know how can I make these fields available in Data Source.
    I replicate the data source, also i looked for the hidden fields, but still not succeed.
    Thanks in advance
    Neha

    Hello,
    TO unhide the field,
    Just Goto T.code RSO2 > press change button.> unhide the filds and --> Generate the Datasource
    or
    Goto RSA6 --> select the Datasource and --> press change button (pencil icon) --> unhide the filed --> Save and Generate the Datasource.
    Try the above two option and check if it is working.
    also go thru the below post
    BI : Hidden field Datasource
    Hope this helps,
    Sri...

  • Coldfusion create instance of class from data element when cosuming a webservice

    I am calling the following wsdl via cfobject https://services-staging.labcorpsolutions.com/webservice/services/LabcorpOTS/wsdl/LabcorpO TS.wsdl
    I am attempting to call the following method registerDonor(java.lang.String, java.lang.String, com.labcorp.ots.ws.data.CreateRegistrationRequest) which references the CreateRegistrationRequest data element.
    I haven't been successful in creating an instance of the CreateRegistrationRequest class and setting values of its members, as well as the Phone class which is also a data element.
    Any assistance would be greatly appreciated in creating instances of methods located in the targetNamespace="http://data.ws.ots.labcorp.com" of the wsdl.
    Thanks

    Thanks for the explanation and example. At first, I didn't understand what you were getting at, but after reading "Using Top-Level Containers" and "How to Use Root Panes" java tutorials it made much more sense. Unfortunately, the books I've read up to this point, did not cover those topics at all. The books simply stated that the first step in creating a Swing gui was to extend the JFrame, or JApplet, or etc.
    Unfortunately, my original problem persists. I continue to get compile-time errors such as:
    TestUserInterface.java:5: cannot find symbol
    symbol: class UserInterface
    location: class projects.web.TestUserInterface
                          UserInterface ui = new UserInterface(); Anyone know why?
    Both the classes are in the same named packaged. Below is my code:
    package projects.web;
    import java.awt.*;
    import javax.swing.*;
    public class UserInterface extends JFrame{
         JPanel menuPanel = new JPanel();
         JPanel contentPanel = new JPanel();
         JPanel selectionPanel = new JPanel();
         JButton save = new JButton("Save");
         JButton addFiles = new JButton("Add");
         public UserInterface(){
         super("File Upload");
         setSize(500, 500);
         menuPanel.add(addFiles);
         selectionPanel.add(save);
         setLayout(new BorderLayout());
         add(menuPanel, BorderLayout.NORTH);
         add(contentPanel, BorderLayout.CENTER);
         add(selectionPanel, BorderLayout.SOUTH);
         } // end constructor
    } // end UserInterface class
    package projects.web;
    public class TestUserInterface{
         public static void main(String[] args){
              UserInterface ui = new UserInterface();
    } // end TestUserInterface class

  • Field Catalog from data object..

    Hi all,
    data:
    g_head_ref      TYPE REF TO data,
           g_item_ref      TYPE REF TO data.
        CALL BADI handle->set_header_item_data
          EXPORTING
            i_document_type    = g_document_type
            i_head_item        = g_head_item
            i_ab_document_type = doc_typ
            i_header_table     = g_header_table
            i_item_table       = g_item_table
            i_map_fields       = g_map_fields
          IMPORTING
            e_subrc            = l_subrc
            e_head_ref         = g_head_ref
            e_item_ref         = g_item_ref.
    here i get the g_data_ref and g_item_ref filled with the values..
    now i assigned these object to field symbols to display the same in the ALV.....
    Issues is follwoing-->
    I dont know the table structure or table name with which these ref object or the field symbols is type of now....
    (in this case it can be a local prog type defined structure..)..
    how can i create a fieldcatlog out of it..??
    I have already tried
    FM 'REUSE_ALV_FIELDCATALOG_MERGE' --> need an internal table with defined type...
    cl_abap_structdescr=>describe_by_data --> need a DDIC structure (in this case it can be a local prog type defined structure..)..
    if the class cl_abap_structdescr is the correct way to do it...please let me know exact flow of methods...if there is some other solution do let me know.
    Regards,
    Yadesh

    Hi
    i don't know what the variable g_map_fields, perhaps has it the definition of the table? if it's so you can use it to fill catalog table for ALV, else you can use CL_ABAP_STRUCTDESCR
    data: g_head_ref TYPE REF TO data.
    data: g_item_ref TYPE REF TO data.
    field-symbols: <fs_head> type table.
    field-symbols: <fs_wa> type any.
    data: l_comp type flag.
    DATA: MY_STRUCT TYPE REF TO CL_ABAP_STRUCTDESCR.
    ASSIGN g_head_ref->* TO <fs_head>.
    LOOP AT <fs_head> ASSIGNING <fs_wa>.
        MY_STRUCT ?= CL_ABAP_TYPEDESCR=>DESCRIBE_BY_DATA( <fs_wa> ).
        EXIT.
    ENDLOOP.
    Now in MY_STRUCT->COMPONENTS you have the definition of the table and u can use it in order to fill the catalog table for ALV
    Max

  • Display repeated fields label in data form

    I have created an input form with periods & years in columns. One column for current period & year according to user selection and the other for Dec of prior year. Whenever Dec period is selected, the "December" word will not display in other column because it is the same. It seems like system default not to display for repeated fields. However, users would like to see it. Does anybody have any ideas/workarounds for this? currently, i typed in the word "December." with a dot at custom header to make it looks different so that the comparative column header will be displayed.

    Hello Raul,
    where can I change this setting? in workspace?
    Thanks in advance.
    JC

  • 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_begin

    Hi,
    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...

  • Table that stores field label, language wise

    Hi,
       Is there any table that stores the field label of a data element, language wise ?
    For example, the field 'kunnr' has label as 'Customer' in EN
    and  'Client' in FR .
    I need to know this FR label where i am given only the field and language .
    How to know ?
    ( In SE16 i get these field names language specific, I need the same info, where it is fetched )
    Answers will be suitably rewarded !
    Thanks,
    Lively

    try this sample code it may help you
    DATA : V_REPTEXT TYPE REPTEXT,
           V_SCRTEXT_S TYPE SCRTEXT_S,
           V_SCRTEXT_M TYPE SCRTEXT_M,
           V_SCRTEXT_L TYPE SCRTEXT_L.
    DATA : LANG TYPE DDLANGUAGE.
    LANG = 'FR'.
    CALL FUNCTION 'WCGW_DATA_ELEMENT_TEXT_GET'
      EXPORTING
        I_DATA_ELEMENT       = 'KUNNR'
        I_LANGUAGE           = LANG
    IMPORTING
       E_REPTEXT            = V_REPTEXT
       E_SCRTEXT_S          = V_SCRTEXT_S
       E_SCRTEXT_M          = V_SCRTEXT_M
       E_SCRTEXT_L          = V_SCRTEXT_L
    EXCEPTIONS
       ERROR                = 1
       OTHERS               = 2
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    WRITE : / V_REPTEXT.
    WRITE : / V_SCRTEXT_S.
    WRITE : / V_SCRTEXT_M.
    WRITE : / V_SCRTEXT_L.
    regards
    shiba dutta

  • LANGUAGE dependent TEXT data load to Infoobject

    Hi,
    We had Z infoobject with LANGUAGE dependent TEXT data.
    We had a Z table in ECC in which the Text data of the Z info object is maintained.
    Table Structure:
    ZObjects : Lanuage:1-Text : Lanuage:2-Text
    Now i created a data on the Z table and extracted data to PSA and sample data is like below
    KEY,English Text,German Text134,potato,Kartoffel
    145,chocolate,Schokolade
    150,biscuit,Keks
    Please update me how can i load this data as LANGUAGE dependent TEXT data of the Infoobject.
    Thanks in advance

    Hi Maxicosi
    My understanding of the problem is you have text in english ( second field) and german ( 3rd field) while first field being the key.
    If m understanding is correct please read further.
    1. Your target InfoObject text table will have a structure like below
    Key Langu  Text
    2. Create one transformation Rule Group which will have mapping.
    Key ( DataSource)  to Key ( InfoObject Text Table)
                                       Langu ( "EN" as constant value)
    second filed   to   Short/Medium/Long text in (Text Table)
    3. Create another Rule Group which will have the mapping for German.
    Key ( DataSource)  to Key ( InfoObject Text Table)
                                        Langu ( "DE" as constant value)
    Third field   to  Short/Medium/Long text in (Text Table)
    Below how to document will give you an idea of Rule Group.
    Link: [Rule Group |http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d085fa63-f54c-2c10-b5ba-cc4ac231512b?QuickLink=index&overridelayout=true]
    Regards
    Anindo
    Edited by: Anindya Bose on Nov 27, 2011 11:33 PM

  • Read data element given field name

    Hello All,
       I have a DB table and field name, with this information how can i find the data element for this perticular field.
      is tehre any Funtion Modules exists for teh same.
    Thanks in advance
    Amarender Reddy B

    Hi Amar,
    You can get the data element for a field in a database table using DD03L table.
    Check this code.
    DATA V_ROLLNAME TYPE DD03L-ROLLNAME.
    SELECT ROLLNAME
       FROM DDO3L
         INTO V_ROLLNAME
    WHERE TABNAME = 'MARA'  -->Provide table name
         AND FIELDNAME = 'PSTAT'. -->Provide field name
    WRITE:/ 'Data element is: ', V_ROLLNAME.
    Otherwise, use function module KL_TABLE_INFO_GET to get the data element for a field of a database table. Provide table name to I_TABNAME and field name to I_FIELDNAME and you will get the data elemet in the export parameter E_TABFIELD_W-ROLLNAME.
    Thanks,
    Vinay

  • Creation of field without data element

    Hi all,
    i want to create a field SLNO without data element, i.e. by assigning direct data type NUMC.
    by doing so while activating it is giving the below message.
    "The table must be adjusted by unloading and reloading
    it in the database. This function has a long runtime and should
    not be performed while the table is being used for production."
    "If you want to start the adjustment nevertheless,
    select a processing type and choose 'Adjust'.
    Otherwise choose 'Terminate'."
    pls let me know which is better i.e. by assingning direct data type, or else can i create a data element with type as 'NUMC'.
    Regards,
    venkat

    hi venkat,
    when creating the db table in se 11 ,if u want to use predefined data type ie char,numc,date etc ... With in se14,in fields tab, click predefined type button which is placed in the first row along with cut ,delete icons.
    When u click predefinedtype button, the field named data type will be enabled and its there ready for editing.Choose the data type u need and data length etc.
    If u r creating the db for the first time, there is no need for , adjusting the db table using se14.
    But if u r trying to edit a db ,that is already been created , then make neccessary changes in the db and go to se14. There give ur edited db name, and click "activate and adjust database " button...Ensure that "save data " option button is selected.
    Note:
    If u r making any structural  changes in already existing db ,then use se14 to adjust ,save and activate the db.
    Hope the content is usefull
    please change the problem  status if its resolved .Thank you.
    thanks
    rajeshwari
    Edited by: Rajeshwari padmanaban on Jan 16, 2009 11:24 AM

  • PCUI - CRM - Text (Field Label) Replacement

    Hi Friends,
    I want to change the Field Label displayed on the PCUI.
    In PCUI the field label displayed, is the value taken from the Medium Text of that field's respective Data Element in DDIC. Please correct me if I am wrong.
    Now for example - I want to replace 'Sold-To Party' field label as 'Buyer Site', how can I achieve this without modifying the data element's medium text ?.
    I tried using Text Replacement Tool (trans CRMST62), but it reads values from Header, Short text, but not from the medium text. And also it is time consuming as it runs several background job process.
    Does PCUI Applications stores field labels in any table ? Or is there any config available by which we can insert field labels in the PCUI Application.
    Thanks
    Harsh

    Hi everybody,
    with a little modifcation it works fine.
    See below, how I have implemented it.
    Cheers,
    Marc
    <b>Note:</b>
    Necessary modification is supposed to causing no problems during upgrade.
    <b>Realization:</b>
    - Customizing table controls text labels in user interface of CRM application
    - Maintenance via customizing view
    1. Create customizing table 'ZMAL_DDIC_C'
    MANDT  type MANDT
    TABNAME  type TABNAME
    FIELDNAME  type FIELDNAME
    2. Create text table for language dependent text 'ZMAL_DDIC_CT'
    MANDT  type MANDT
    TABNAME  type TABNAME
    FIELDNAME  type FIELDNAME
    LANGU  type SPRAS
    SCR_TEXT_S  type SCRTEXT_S
    SCR_TEXT_M  type SCRTEXT_M
    SCR_TEXT_L  type SCRTEXT_L
    3. Create method 'get_fieldtext()'
    Porperties: static and public
    Parameters: I_FIELD_LIST  importing  type DDFIELDS
                R_FIELD_LIST  returning  type DDFIELDS
    method get_fieldtext.
    DATA: field_itab type ddfields,
          ddic_ct_struc type zmal_ddic_ct,
          ddic_ct_itab like table of ddic_ct_struc.
    FIELD-SYMBOLS: <field_struc> type dfies.
    field_itab[] = i_field_list[].
    loop at field_itab assigning <field_struc>.
    at first entry we look for new lables in our
    customizing table
    if sy-tabix = 1.
    select * from zmal_ddic_ct
      into table ddic_ct_itab
      where tabname = <field_struc>-tabname
        and langu   = <field_struc>-langu.
    endif.
    check if an individual lable exists
    read table ddic_ct_itab
      into ddic_ct_struc
      with key fieldname = <field_struc>-fieldname.
    only when text in customizing table is not empty ,
    replace standard text
    if sy-subrc = 0.
      if not ddic_ct_struc-scrtext_s is initial.
        <field_struc>-scrtext_s = ddic_ct_struc-scrtext_s.
      endif.
      if not ddic_ct_struc-scrtext_m is initial.
        <field_struc>-scrtext_m = ddic_ct_struc-scrtext_m.
      endif.
      if not ddic_ct_struc-scrtext_l is initial.
        <field_struc>-scrtext_l = ddic_ct_struc-scrtext_l.
      endif.
    endif.
    endloop.
    return edited field list
    r_field_list[] = field_itab[].
    endmethod.
    3. Mofification
    Class: CL_ABAP_STRUCTDESCR
    Method: GET_DDIC_FIELD_LIST()
    if sy-subrc <> 0.
    fill cache with negative result
       cache_wa-langu     = p_langu.
       cache_wa-not_founf = abap_true.
       insert cache_wa into table me->ddfields_cache.
       raise not_found.
    endif.
    START INSERT
    p_field_list = <own_class>=>get_field_text( i_field_list = p_field_list).
    END INSERT
    fill cache
    cache_wa-langu     = p_langu.
    create data cache_wa-value.
    cache_wa-value->* = p_field_list.
    insert cache_wa into table me->ddfields_cache.

Maybe you are looking for

  • Unable to Install Adobe Reader 8.1.2 on Firefox Explorer

    HELP!!! I have tons of shipping labels to print and cannot for the following reason. When I try to install Adobe Reader 8.1.2, I get error message 1935 I have made numerous attempts both on Windows Explorer and Fire fox

  • ICloud Photo Library doesn't upload

    I have this issue since this morning (I live in Italy, so it's been happening the whole day): when I take a photo (or save it) with my iPhone 6 (iOS 8.3), the Photos app starts to upload it but within a few seconds it stops, and instead of showing "u

  • Oracle linux 6.3: (yum update)  [Errno 14] PYCURL ERROR 22

    Hi all, i get this error when i try to update a new fresh instalation of OL 6.3 yum update Downloading Packages: http://public-yum.oracle.com/repo/OracleLinux/OL6/latest/x86_64/getPackage/apr-1.3.9-5.el6_2.x86_64.rpm: [Errno 14] PYCURL ERROR 22 - "Th

  • Data loading in Hyperion Web Forms

    Hi, I am new to Hyperion Planning technology. I have few doubts regarding Meta data and data loading. I am aware that we can load data into Essbase cubes and see it from Web Forms. Can we load data directly into webforms? Can we load meta data into e

  • OBIEE mixed hierarchy based on Essbase

    Hi all, I wonder if anyone of you came accross the following requirement: There is an essbase cube with 2 for this post relevant dimensions - location and rates. Location is a geographical dimension structured as follows Global -> Region -> Country -