Domain Value Shot Description instead of Fixed Value

Hi Everyone,
I am having a peculiar issue in Passing domain values from ABAP webdynpro to Interactive forms.
The scenario is as given below.
1> Interactive form is only for display purpose.
2> Passing fields from a Z structure in interactive forms interface.
3> Certain fields in the Z structure are having data elements which are linked to domains.
4> The domains mentioned in point number 3 are having fixed values as well as short descriptions.
5> Fixed values are stored in the tables in R/3 and not short descriptions.
6> I want to display the Short Description in Interactive forms as a text box and not a dropdown value. Since it is just for display purpose, i dont want to display a dropdown value. Currently The fixed values are getting displayed.
I wanted to know if there is some way to do this without using Code.
I have quite a lot of fields and for all of these fields if we select values from dd07t table, Performance would be severely affected.
Please let me know if someone has any suggestions. If you need any more clarifications don't hesitate to ask.
Thanks in advance and Warmest Regards
Mz

Hello Robert,
Thanks for your prompt reply.
Let me try to clarify a bit more.
As mentioned by you, let us suppose that i have a field ZBUKRS with the domain ZZBUKRS having the same fixed values.
In case of Webdynpro ABAP, if i create a dropdown and bind this domain (ZZBUKRS) to the dropdown, when i run the report, i see the short descriptions in the dropdown. When selecting a value, the Fixed value is automatically selected for the selected short description. There is no need to go in for seperate coding to acheive this.
I was wondering, is there any way that a similar thing can be acheived in interactive forms without doing the coding. I know that we can use the FM 'STF4_GET_DOMAIN_VALUE_TEXT'. But since i have a large number of domains, i will have to use this repeatedly.
Hope i have not confused you
Please let me know if any further clarifications are required.
Thanks & with warmest regards,
Mz

Similar Messages

  • Table lookup instead of fixed value mapping

    Hi Folks,
    My current scenario is that I have used fixed value mapping to map a single target field.  These details are actually maintained in the TP_Code table in R3 (a sample table).
    TradingPartner:SAP:Short Text
    PA:PA:Package
    PL:PAL:Pallet
    The table contains 20 entries.
    I am thinking that fixed value mapping is not a good option since there might have future changes in the TP_Code table.
    Is rfc lookup a good option?  But I am not sure which rfc to use and if there is any udf availble to be used in parsing the xml payload.
    Please advise.
    Thanks a ton!

    Thanks so much for the links!
    I managed to use and run the RFC lookup to an R3 table using JCo.  However, I am not getting the right result.
    I am getting the result in this format -> 800,PA,PAC,Package
    The correct output is PAC which is the third node.  Could this only be achieved by using java tokenizer?
    The code that I have used is as follows:
    Import com.sap.mw.jco.*;
    //write your code here
    String DBTABLE = a;
    String WHERE_CLAUSE = b" = ""'"c"'" ;
    String sapClient = "xxx";
    String hostName = "nnnxxx";
    String systemNumber = "xx";
    String userName = "nnnnn";
    String password = "******";
    String language = "EN";
    JCO.Repository mRepository;
    JCO.Client mConnection = JCO.createClient(
                   sapClient,
                   userName,
                   password,
                   language,
                   hostName,
                   systemNumber );
    // connect to SAP
    mConnection.connect();
    // create repository
    mRepository = new JCO.Repository( "SAPLookup", mConnection );
    // Create function
    JCO.Function function = null;
    IFunctionTemplate ft = mRepository.getFunctionTemplate("RFC_READ_TABLE");
    function = ft.getFunction();
    // Obtain parameter list for function
    JCO.ParameterList input = function.getImportParameterList();
    // Pass function parameters
    input.setValue( DBTABLE, "QUERY_TABLE");
    input.setValue( "," , "DELIMITER");
    //Fill the where clause of the table
    JCO.ParameterList tabInput = function.getTableParameterList();
    JCO.Table inputTable = tabInput.getTable("OPTIONS");
    inputTable.appendRow();
    inputTable.setValue(WHERE_CLAUSE,"TEXT");
    mConnection.execute( function );
    JCO.Table valueSet = function.getTableParameterList().getTable("DATA");
    String resultSet = valueSet.getString("WA");
    mConnection.disconnect();
    return resultSet;

  • How do i show descriptions instead of dimension values at presentations ?

    We are facing a problem that could be a BIBeans problem or could be an OLAP problem, please inform if to change forum:
    We are using jdev 903/BIB903 accessing an AW created at Oracle OLAP 9205 with AWM.
    All our dimensions were created at OWB 10g and deployed to RDBMS following the general rules below:
    DIM X
    ID_X - sequence primary key
    CD_X - original key from source systems
    DS_X, NM_X, and so on - description fields and hierarchy fields related to this record.
    i.e.:
    SQL> desc dim_rota
    Name Null? Type
    ID_ROTA NOT NULL NUMBER(6)
    CD_EMPRESA NOT NULL NUMBER(2)
    CD_FILIAL NOT NULL NUMBER(2)
    CD_ROTA NOT NULL VARCHAR2(3)
    NM_FILIAL NOT NULL VARCHAR2(40)
    NM_ROTA NOT NULL VARCHAR2(30)
    CD_SETOR NOT NULL VARCHAR2(1)
    ID_SETOR NOT NULL NUMBER(6)
    NM_SETOR NOT NULL VARCHAR2(30)
    this dimension has 1 hierarchy with 2 levels called SETOR and ROTA.
    when we generated the AW using AWM, each field (except ID) is created as a variable dimensioned by DIM_ROTA, as shown below:
    ->listby dim_rota
    35 objects dimensioned by or related to DIM_ROTA in analytic workspace AW1
    DIM_ROTA_CD_EMPRESA
    DIM_ROTA_CD_FILIAL
    DIM_ROTA_CD_ROTA
    DIM_ROTA_CD_SETOR
    DIM_ROTA_CREATEDBY
    DIM_ROTA_FAMILYREL
    DIM_ROTA_GID
    DIM_ROTA_INHIER
    DIM_ROTA_LEVELCOLMAP
    DIM_ROTA_LEVELREL
    DIM_ROTA_NM_FILIAL
    DIM_ROTA_NM_ROTA
    DIM_ROTA_NM_SETOR
    DIM_ROTA_ORDER
    DIM_ROTA_PARENTREL
    ID field was concatenated with level name to generate the dimension value - so, for the following relational record:
    SQL> select id_rota, cd_rota, nm_rota from dim_rota where ID_ROTA = 233;
    ID_ROTA CD_ROTA NM_ROTA
    233 A99 A99-Consig. Sup. Setor A
    we have at multidimensional side:
    ->LIMIT DIM_ROTA TO 'ROTA.233'
    ->rpr dim_rota
    DIM_ROTA
    ROTA.233
    ->dsc dim_rota_nm_rota
    DEFINE DIM_ROTA_NM_ROTA VARIABLE TEXT <DIM_ROTA DIM_ROTA_HIERLIST ALL_LANGUAGES>
    LD IMPLEMENTATION NM_ROTA Attribute for DIM_ROTA Dimension
    ->rpr down dim_rota w 30 dim_rota_nm_rota
    ALL_LANGUAGES: AMERICAN_AMERICA
    -------DIM_ROTA_NM_ROTA-------
    ------DIM_ROTA_HIERLIST-------
    DIM_ROTA ROTA
    ROTA.233 A99-Consig. Sup. Setor A
    here comes our question: how do we show at BIBeans designer/presentations the related descriptive fields and NOT the dimension values themselves?
    thanks in advance,
    Flavio

    There a re two additional attributes that need to be mapped within OWB for each dimension:
    Long Description - this is used by the presentation beans and query and calc builder to replace the dimension values with more meaningful/end-user friendly descriptions
    Short Descriptions - this can be used where the long description is too long for display purposes. In BI Beans 10g Release 2 (due out soon) you will be able to select between long/short descriptions when using many of the new tags.
    These new attributes will be automatically picked up by the OLAP Bridge in OWB and automatically added to the OLAP catalog.
    Hope this helps
    Business Intelligence Beans Product Management Team
    Oracle Corporation

  • Both attribute value and description showing on attribute value dropdown list

    Hi All,
    I am using CRM 7.0 EhP 1 and I have encountered a item I need to address in regard to the display of a Marketing Attribute values on the Account Overview page (BP_HEAD/BPHEADOverview) on the Web Client.
    The component in question on the page is BP_DATA/MarketingAttributesEOVP.
    The value dropdown lists for each attribute show both the Attribute Value (in my case a number) and Description. We require that only the Description is shown and not the Attribute Value in brackets also.
    Is there a user setting that controls this or is displaying both standard with no adjustment possible through user settings or configuration? 
    Thanks,
    Jonathan

    Hi All, 
    The following OSS note looks to resolve issue in question above:
    1647509 - Attributes value shown as value+description in accounts page
    Thanks for your assistance.
    Jonathan

  • How to read the 'Input help with fixed values' of domain .

    How to read the 'Input help with fixed values' of domain .
    The domain has a Value range i want to read those values .
    Are these values stored in any table ?
    Plz help me i need it ver badly...
    Thanks in Advance...

    Hi Chandra Shekhar,
    To read the 'Input help with fixed values' of domain , you can use the function module : HR_P_GET_FIXED_VALUE_TEXT.
    iIf you enter the domain name, you will find the fixed values entered in the domain.
    These values are stored in a table DD07L(DD zero 7 L). Here the values are stored based on domain name.
    See if it works for you.
    Award points if its helpful.
    Regards,
    Bhanu

  • ALV + fixed values

    Hi All,
    In my ALV GRID report I have a field which uses a domain.
    This domain has some fixed values like: 1 - Male, 2 - Female.
    In the output only 1 or 2 is appearing.
    Is there a way by which instead of the value, we can display the
    description of the fixed value?
    Any value to be passed in the field catalog to do so?
    I wanted to avoid an extra select query to get the description.
    Regds
    Anuj

    Hi,
      While updating the final internal table (used for display) in the ALV,move the corresponding descriptions in the column.I think this may help you.
    Reward if found useful.

  • Fix Values Standard Function

    Hi
    My question is regarding the standard function Fix Values :
    There is a Table where a field from the Legacy File ,if has a value X then 123 has to be passed to ERP and so on .....
    I want to use Fix Value (key-Value Pair) in the same , but the limitation is that there are 200 such combinations
    Is it advisable to manually fill these or is there a way that it can be accomplished in SAP XI  deriving it from an excel sheet or somewhere?
    The same are not stored in SAP and thus can't be looked up  !
    Kindly advise if there is an alternate if the Key value pairs are of large number of the order say 500 etc
    Thanks
    Dev

    >
    sd wrote:
    > Hi
    >
    > My question is regarding the standard function Fix Values :
    > There is a Table where a field from the Legacy File ,if has a value X then 123 has to be passed to ERP and so on .....
    >
    > I want to use Fix Value (key-Value Pair) in the same , but the limitation is that there are 200 such combinations
    > Is it advisable to manually fill these or is there a way that it can be accomplished in SAP XI  deriving it from an excel sheet or somewhere?
    >
    the best is to go for a value mapping instead of fixed values when the count is high
    > The same are not stored in SAP and thus can't be looked up  !
    >
    > Kindly advise if there is an alternate if the Key value pairs are of large number of the order say 500 etc
    >
    > Thanks
    > Dev
    For mass loading of values, value mapping replication can be used - /people/udo.martens/blog/2009/04/03/value-mapping-replication-scenario

  • Finding short text description of Fixed values for value range for domain

    Hi,
    When I got to Dictionary: Dispaly Domain and click on tab value range; I get the template showing Fix. Val and its associated short text.
    I want to fetch the short text for a particular fix. val for a domain.
    How can I do that ? What table can I use it ? Or do I need to use some function module ?
    Lets say I want to fetch the short text for a given Fix val. for domain VBELN.
    Please help me out.

    Hi,
    You can use Function Module 'FM_DOMAINVALUE_CHECK' to get the fixed values of any domain.
    Regards,
    Atanu

  • Possible to display domain value range descriptions rather than values?

    Hi All,
    We're using ECC6.
    I have a context input field on my view, which is  bound to a data type that is bound to a domain.  The values are brought back from the domain automatically but when the user selects a row, the fixed value is displayed rather than the description, i.e. the code for the value is displayed rather than the short description.
    This is not acceptable.  Before I go off and code something for this instead is there a parameter I can set to tell it to display the description rather than the code.
    Many thanks,
    Liz.

    HI Liz,
    You can read the domain name i guess, then you can use the Function Module DD_DOMVALUES_GET, make the call as
    CALL FUNCTION 'DD_DOMVALUES_GET'
           EXPORTING
                domname        = i_dom_name
                text           = 'X'
                langu          = sy-langu
           IMPORTING
                rc             = lv_rc
           TABLES
                dd07v_tab      = t_dd07v
           EXCEPTIONS
                wrong_textflag = 1
                OTHERS         = 2.
    you should get the short description in the field ddtext of result t_dd07v.
    Now instead of creating a domain you can provide these values to the valid values for your context dynamically.
    Hope this helps.
    Regards
    Vineet

  • Domain fixed values columns

    Hello all,
    a liitle bit strange while maintaining fixed values to the domains in 2 diff SAP systems.
    in one SAP system, i am getting 3 columns for maintaining fixed values namely:
    I (Initial value)
    Fix.Val.
    Short Descrip.
    but in another SAP system, i am NOT getting the column I (Initial value).
    Should i need to do some settings, in order to get coumn I (Initial value).
    <removed by moderator>
    Regards,
    Venkat
    Edited by: Thomas Zloch on Mar 5, 2012

    Hi Venkata,
    For value range in the domain - when the 'Configuration' icon that is table settings icon in the top right corner is  opened and
    'Current settings' and 'Standard settings' are maintained as 'Basic setting' and 'Use as standard setting' check box is selected and saved then all the columns in that table(I , Fix Val , Short Description , Fixed Value Append , Switch ) are displayed.
    Please check it for your domain.
    Regards,
    Sai

  • Domain Values and Description

    I have defined one custom data element with custom domain and some fixed values at the Domain level.
    I am using that data element at the Custom screen. The problem is that I am getting F4 help without Desription.
    In the drop down help I am getting on Values not the description. How I can get both in the F4 drop down help.

    You can try something like this... It is building the search help on the fly in the program based on the domain fixed values. 
    report zrich_0001 .
    data: dbdiff_values type ddfixvalues,
          dbdiff_val    type ddfixvalue.
    data: begin of help occurs 0,
          low type ddfixvalue-low,
          ddtext type ddfixvalue-ddtext,
          end of help.
    data: return type table of ddshretval with header line.
    parameters: p_koart type koart.
    at selection-screen on value-request for p_koart.
      call function 'DDIF_FIELDINFO_GET'
           exporting
                tabname      = 'BSEG'
                fieldname    = 'KOART'
                lfieldname   = 'KOART'
           tables
                fixed_values = dbdiff_values.
      clear help.  refresh help.
      loop at dbdiff_values into dbdiff_val.
        move-corresponding dbdiff_val to help.
        append help.
      endloop.
      call function 'F4IF_INT_TABLE_VALUE_REQUEST'
           exporting
                retfield    = 'KOART'
                dynprofield = 'P_KOART'
                dynpprog    = sy-cprog
                dynpnr      = sy-dynnr
                value_org   = 'S'
           tables
                value_tab   = help.
    Regards,
    Rich Heilman

  • Function Module to validate a value against domain fixed values

    Hi,
    Could anybody please let me know if there is a standard Function Module that takes a Value and Domain name as an input and checks if the input value exists in the Fixed Values of the domain.
    Thanks,
    Shalabh

    Hi,
    you can use fm FM_DOMAINVALUE_CHECK. Pass parameter values for I_DOMNAME and I_DOMVALUE.
    If the value is invalid, exception VALUE_NOT_ALLOWED will occur.
    Regards,
    Klaus

  • F4 help not reflecting in ALV Grid for fixed values specified in domain

    Hi experts,
       As per subject i have a field for which i have assigned 5 fixed values in the domain level (of that field) . The problem is when i am displaying my ALV grid output i need a F4 help and F4 Option for the same is not reflecting and i have assigned in the field catlog as shown bellow.
    wa_fcat-fieldname = 'ZDEPLOY'.
      wa_fcat-tabname = 'IT_FINAL'.
    wa_fcat-f4availabl = 'X'.
    wa_fcat-key     =  'X'.
      WA_FCAT-SELTEXT_L = 'Deployment Planned'.
      wa_fcat-outputlen = '25'.
       WA_FCAT-EDIT = 'X'.
       WA_FCAT-REF_FIELDNAME = 'ZDEPLOY'.
       WA_FCAT-REF_TABNAME = 'ZETMDEPL'.
      APPEND WA_FCAT TO IT_FIELDCAT.
      CLEAR WA_FCAT.
    for the above field the f4 help is not reflecting.
    Intrestingly i have another field which i have declared using the same procedure for which my F4 help (with fixed values ) is reflecting in the same program .with the values as shown below
        wa_fcat-fieldname = 'ZFINAL'.
      wa_fcat-tabname = 'IT_FINAL'.
      WA_FCAT-SELTEXT_L = 'Final Status'.
      wa_fcat-outputlen = '10'.
       WA_FCAT-EDIT = 'X'.
       wa_fcat-ref_fieldname = 'ZFINAL'.
       wa_fcat-ref_tabname = 'ZETMDEPL'.
      APPEND WA_FCAT TO IT_FIELDCAT.
      CLEAR WA_FCAT.
    can u plz suggest me with a solution .
    Regards,
    Edited by: abhilash aswath on Oct 20, 2010 3:32 PM
    Moderator message: please do not use SMS speak.
    Edited by: Thomas Zloch on Oct 20, 2010 3:58 PM

    hi,
    There was a mismatch of characteristics. I resolved by matching the same.

  • DrillDown in ALV for fixed values of domains

    Hi,
    i want to create an ALV Grid with an structure that has data elements with domains containing fixed values.
    As far as i know, in Table Controls and other dynpro fields refering to such domains, the drilldown function is automatically available.
    In an ALV-Grid the values are available with the F4-Button.
    Ok, you can select a value, but the value is shown in the grid is the fixed value not the short text of the value like it is in Table Controls. What I did is to implement an conversion exit to show the short text in the grid, but I am not really satisfied.
    What I ask you: Is there a possability to show a field of the ALV-Structure with drilldown functionality automatically, when the domain has fixed values?
    Thanks in Advance
    Michael

    Hi Michael,
    I think I have found the solution to your problem. When you call the method SET_DROP_DOWN_TABLE of the ALV Grid, you can see that there are two tables parameters (both of which are optional).
    You can use the second tables parameter to give the short text of your field-value.
    Consider the following code snippet.
    ==========================
    data : lt_dropdown_with_alias type LVC_T_DRAL,
           ls_dropdown_with_alias type LVC_S_DRAL.
    ls_dropdown_with_alias-handle = '1'.
    ls_dropdown_with_alias-int_value = 'T'.
    ls_dropdown_with_alias-value = 'True'.
    append ls_dropdown_with_alias to lt_dropdown_with_alias.
    ls_dropdown_with_alias-handle = '1'.
    ls_dropdown_with_alias-int_value = 'F'.
    ls_dropdown_with_alias-value = 'False'.      
    append ls_dropdown_with_alias to lt_dropdown_with_alias.
    call method ALV_GRID->set_drop_down_table
                exporting IT_DROP_DOWN_ALIAS = lt_dropdown_with_alias.
    ==========================
    Obviously, <b>int_value</b> is the internal value and <b>value</b> is the text that you want to be displayed.
    Hope this helps.
    Regards,
    Anand Mandalika.
    P.S. I'm almost certain that this code will work. If it does, please do reward the points.

  • FTXP-error-Domain MWART fixed value  does not exist- Message no. F4341

    Hi,
    I am trying to created a new record for a tax code, and i get this error
    Domain MWART fixed value  does not exist
    Message no. F4341
    I looked up OB40, and not sure how to fix this. Do you know how to check the tax codes? How to validate OB40?
    Thanks.

    Hello,
    Please follow this procedure for the input tax codes which experience
    the error F4341:
    1) Go to SE16 and enter table T007A
    2) Hit enter and in the next screen choose the following parameters
       and enter values that represent the tax code for input tax which are
       encountering the problem.
       KALSM (tax procedure)
       MWSKZ (tax code)
    3) Click on the "execute" button.
    4) Take special attention to column MWART which represents tax type.
       This should only have a value "V" to represent input tax (or "A" if
       output tax).
    5) The cause of the error F4 341 is when this column does not contain
       any value or is blank.  Which means that there is no defined tax type
       "A" or "V" maintained in customizing.
    6) To correct this you should maintain the value again via FTXP for the
       corresponding tax codes and complete all the customizing settings
       relating to tax on sales and purchases thereunder. Afterwhich you
       should no longer experience the error message.
    Regards,
    REnan

Maybe you are looking for