Domain Value Range: long value

Hi,
how can i get the "long value" (Short Description of the Fix. Value) of a Domain?
-> for example
A    ABAP
J    JAVA
In the db, i get the value 'A' or 'J' , on screen i want to give out ABAP or JAVA..
Thx

This will work
  REFRESH vrm_table.
  SELECT domvalue_l ddtext INTO TABLE vrm_table
    FROM dd07t
    WHERE domname = 'ZLMFUCONTTYPE'
      AND ddlanguage = sy-langu
      AND domvalue_l IN type_range.

Similar Messages

  • Filtering domain value ranges

    Is it possible to filter domain value ranges when displaying a dropdown listbox in a table control according to the value of another field?
    For instance,
    - I have an ITAB with the fields FIELD1 and FIELD2 and a table control TABCON connected to it.
    - FIELD1 is an instance of the domain ZDOMAIN1 and FIELD2 is an instance of the domain ZDOMAIN2.
    - ZDOMAIN1 has the value range X, Y.
    - ZDOMAIN2 has the value range A, B, C, D.
    The value of FIELD1 will be already set and not changeable at this point, as for the drop-down list for FIELD2, I want it to include
    - only A and B if the value of FIELD2 is X for that entry
    - only C and D if the value of FIELD2 is Y for that entry
    I hope I've been able to explain my problem here.

    yes it is possible
    in process before output, you should build the value list dynamically and call function module VRM_SET_VALUES to update it on screen

  • Domain value range

    hi
    i am changing the table field domain value range. after changing i am getting the warning msg like below. if i ignore it and transport odes it affect anyways.
    and also does anyone tell me when we transport only the structure get transported or even the values get transported?
    <b>The key length, i.e. the sum of the field lengths of all the key fields of the table,
    is more than 120 bytes.
    Note the following restricted fuctionality for this table:
    - Table contents cannot be transported by specifying key values, at
      best by specifying generic key values with a maximum length of 120
      bytes.
    - The table may not be used as the base table of a lock object.</b>

    Hi ,
    Instead of changing the domain value range ,
    create a Z Domain group say copy it from the existing one and increase the range .
    This will reflect on the field name in the Ztable . Do activate and adjust database from SE14 on the table .
    Remember that the new range of values will be overlapped to the existing version in the target system .
    for this what u have to do is for the existing domain field where used list see the tables in which it is to be used .
    and then if its not causing any inconsistencies u can transport or else the dependent tables which are referring to the domain group have to be modified .
    regards,
    Vijay

  • How to retrieve data from domain(Value Range)  of the table

    hi
    how to retrieve data from domain(Value Range)  of the table
    thanks

    Hello,
    You can try using the FM: DOMAIN_VALUE_GET TB_DOMAINVALUES_GET.
    BR,
    Suhas
    Edited by: Suhas Saha on Mar 24, 2009 10:08 AM

  • Extract data from domain-value range

    Hi,
    I have a requirement to extract data from Domain-Value range.
    I am using MDM generic extractor(mdmgx)
    in 'Maintain ports and check tables' i can create a port but i should mention a table name.
    I have a 'DOMAIN'
    with a specific value range:
    01    text1
    02   text2
    03   text3
    so on...
    i need to get these entries as a part of extracted data.
    Could you please tell me how to do this?
    Thanks a lot in advance.
    Regards,
    Rashmi

    Hey guys,
    you're making things much to complicated. For extracting Domains with MDMGX, the TABLE NAME equals the DOMAIN NAME. Example for domain XFELD that is a common Yes/No Flag:
    CLIENT            000
    SYSTEM TYPE       R3
    OBJECT TYPE       Vendor
    MDM PORTCODE      LT_YesNoIndicator
    TABLE NAME        XFELD
    NONLANG FIELDS    KEY=Key
    LANG FIELDS       LANGKEY=LANGKEY,VALUE=Name
    WHERE CLAUSE
    LINK INFO
    FUNC XML
    FUNC XSD
    PROCESS LEVEL     0
    TABLE NAME equals the domain name.
    NONLANG FIELDS and LANG FIELDS use default entries as defined above.
    If you check your system for "table" XFELD, you'll clearly see that it's a domain.
    Cheers
    Michael

  • How to fetch domain value range short descriptions?

    hi all,
    how can i fetch the short descriptions given in domain level, as single values- descriptions for report generation
    Regards,
    Naveen Natarajan

    Hi naveen,
    1. This if the FM.
    2. eg
      DATA : DD07V LIKE DD07V OCCURS 0 WITH HEADER LINE.
    *-----  Get all Master Document Types
      CALL FUNCTION 'GET_DOMAIN_VALUES'
        EXPORTING
          DOMNAME         = 'VBTYP'
        TABLES
          VALUES_TAB      = DD07V
        EXCEPTIONS
          NO_VALUES_FOUND = 1
          OTHERS          = 2.
    DD07V will contain all the domain values.
    regards,
    amit m.

  • Error in Domain value mapping.

    Dear all,
    I was trying a simple file to file scenario using ESB with the Domain value mapping(DVM).
    I was trying to replace the incoming long state codes with the short keywords.
    I was using the DVM to configure the field to be changed in the XSL map.
    I have also configured tracking fields for Routing service and the Outbound adapter in the ESB Console.
    But after the instance the long names are not replaced with short keywords it come as blank in the place of names.
    In the ESB console the RS is tracking the fields and the outbound adapter not. I was using a simle text file which has two columns Andrew, Bangalore delimited by comma and optionally enclosed by space.
    Please help me.

    Thanks for the reply Chintan,
    Yes it is not working, I was doing the esb-customerdvm.pdf sample DVM as specified in the following link
    http://www.oracle.com/technology/products/integration/esb/files/esb-customerdvm.pdf
    My map also has three columns and I was the specifying Map name, Source column name as "Long" and the target column name as "Short" and the default value as "" in the lookup-dvm function in the XSL stylesheet.
    And I have also specified the trackable fields for the Routing service and the Outbound adapter in the ESB Console but after the instance only the RS shows the tracked data and the Outbound adapter doesnot and it shows Nodata.
    When I give the Input as the text file with columns Prasath, Chennai in the output file the Prasath is only coming what I expect is Chennai should be replaced by its short name CH but it is not coming like that.
    Here I also specify the coding of XSL Stylesheet map.
    <?xml version="1.0" encoding="UTF-8" ?>
    <?oracle-xsl-mapper
    <!-- SPECIFICATION OF MAP SOURCES AND TARGETS, DO NOT MODIFY. -->
    <mapSources>
    <source type="WSDL">
    <schema location="DVMapsInput.wsdl"/>
    <rootElement name="Leaf" namespace="http://TargetNamespace.com/DVMapsInput"/>
    </source>
    </mapSources>
    <mapTargets>
    <target type="WSDL">
    <schema location="DVMapsOutput.wsdl"/>
    <rootElement name="Leaf" namespace="http://TargetNamespace.com/DVMapsInput"/>
    </target>
    </mapTargets>
    <!-- GENERATED BY ORACLE XSL MAPPER 10.1.3.3.0(build 070615.0525) AT [FRI MAY 23 12:31:40 IST 2008]. -->
    ?>
    <xsl:stylesheet version="1.0"
    xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:plt="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
    xmlns:pc="http://xmlns.oracle.com/pcbpel/"
    xmlns:ehdr="http://www.oracle.com/XSL/Transform/java/oracle.tip.esb.server.headers.ESBHeaderFunctions"
    xmlns:imp1="http://TargetNamespace.com/DVMapsInput"
    xmlns:ns0="http://www.w3.org/2001/XMLSchema"
    xmlns:jca="http://xmlns.oracle.com/pcbpel/wsdl/jca/"
    xmlns:ns1="http://xmlns.oracle.com/pcbpel/adapter/file/DVMapsInput/"
    xmlns:tns="http://xmlns.oracle.com/pcbpel/adapter/file/DVMapsOutput/"
    xmlns:hwf="http://xmlns.oracle.com/bpel/workflow/xpath"
    xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
    xmlns:xref="http://www.oracle.com/XSL/Transform/java/oracle.tip.xref.xpath.XRefXPathFunctions"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:ora="http://schemas.oracle.com/xpath/extension"
    xmlns:ids="http://xmlns.oracle.com/bpel/services/IdentityService/xpath"
    xmlns:orcl="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc"
    xmlns:hdr="http://xmlns.oracle.com/pcbpel/adapter/file/"
    exclude-result-prefixes="xsl plt pc imp1 ns0 jca ns1 hdr tns bpws ehdr hwf xp20 xref ora ids orcl">
    <xsl:template match="/">
    <imp1:Leaf>
    <imp1:C1>
    <xsl:value-of select="/imp1:Leaf/imp1:C1"/>
    </imp1:C1>
    <imp1:C2>
    <xsl:value-of select='orcl:lookup-dvm("Citycode","Long",/imp1:Leaf/imp1:C2,"Short","")'/>
    </imp1:C2>
    </imp1:Leaf>
    </xsl:template>
    </xsl:stylesheet>
    Please help on this.
    Thanks.

  • Can we select Domain text instead of domain value for a field?

    Hi all,
    I have a requirement to display Domain text in the output. when I select a field from table, for example field ZZDIRECT from LFA1 table, it has domain value range as D and I with texts Direct/Indirect. is there any way to get these texts for displaying in the output.

    Hi,
    C the below code, it may guide u...
    DATA: int_domval TYPE dd07v OCCURS 0 WITH HEADER LINE.
    SELECT DOMNAME VALPOS DOMVALUE_L DOMVALUE_H
    into int_domval
    from dd07v
    where domname = Domain Name
    and ddlanguage = sy-langu.
    or use this FM.
    DATA : BEGIN OF int_orient OCCURS 10,
    domvalue_l LIKE dd07v-domvalue_l,
    ddtext LIKE dd07v-ddtext,
    END OF int_orient.
    DATA: ZPETS_PORTORIEN type dd07l-domname,
    int_values_table TYPE dd07v OCCURS 0 WITH HEADER LINE.
    CALL FUNCTION 'GET_DOMAIN_VALUES'
    EXPORTING
    domname = 'ZPETS_PORTORIEN'
    text = 'X'
    TABLES
    values_tab = int_values_table
    EXCEPTIONS
    no_values_found = 1
    OTHERS = 2.
    LOOP AT int_values_table.
    int_orient-domvalue_l = int_values_table-domvalue_l.
    int_orient-ddtext = int_values_table-ddtext .
    append int_orient.
    ENDLOOP.
    Regards.

  • Domain value Mapping types.

    Hi,
    I have a doubt with the Domain value mapping whether they are classified into static DVM and dynamic DVM.
    The static part I have finished where we will be creating a new map in the ESB console and refering it in the XSLT map using the lookup-dvm tool.
    I want to know whether there is dynamic type of DVM is there and how it works.
    If there is any link for the dynamic type of DVM please specify me.
    Thanks.

    Thanks for the reply Chintan,
    Consider my case I have given the Incoming cityname Chennai as Long in ESB console, and the Output after Domain value mapping will be CHI as mentioned in short field in the ESB console.
    If this is the case anyone give the older name of Chennai which is Madras the incoming cityname Madras after Domain value mapping must also come as CHI in output where Madras is not mentioned in the Console.
    I want to know whether it is possible or not.
    Thanks.

  • Domain Value Mapping with Text file

    Hai,
    I have done the Domain value mapping with the xml file to xml file and it is working fine.
    But in the case of Text file to Text file it is not working i.e. If the citiname is the
    first field it is domain value mapping and working fine.
    INPUT:
    Erode, Mahes, 22
    Coimbatore, Veera, 22
    OUTPUT:
    ED, Mahes, 22
    CBE, Veera, 22
    But if I change the Citiname to the second column it is not working the problem is
    it is not working for subsequent columns.
    INPUT:
    Mahes, Erode, 22
    Veera, Coimbatore, 22
    OUTPUT:
    Mahes,, 22
    Veera,, 22
    The input Text files are delimited by "comma" and optionally enclosed by "space".
    Does anyone have attained the DVM in the Text file successfully.
    Please help me.

    Thank you for the reply Abhi
    Text to Text means instead of giving the input file as XML file i am giving the input as a simple .txt file and I also want the output in the .txt format.
    For the text file only it is not working fine in the xml file to xml file it is working fine.
    For your another query I am not providing the correct parameters for "lookup-dvm"
    I am giving the xsl file
    <?xml version="1.0" encoding="UTF-8" ?>
    <?oracle-xsl-mapper
    <!-- SPECIFICATION OF MAP SOURCES AND TARGETS, DO NOT MODIFY. -->
    <mapSources>
    <source type="WSDL">
    <schema location="TextInput1.wsdl"/>
    <rootElement name="Root-Element" namespace="http://TargetNamespace.com/TextInput1"/>
    </source>
    </mapSources>
    <mapTargets>
    <target type="WSDL">
    <schema location="TextOutput1.wsdl"/>
    <rootElement name="Root-Element" namespace="http://TargetNamespace.com/TextInput1"/>
    </target>
    </mapTargets>
    <!-- GENERATED BY ORACLE XSL MAPPER 10.1.3.3.0(build 070615.0525) AT [TUE JUL 15 15:31:55 IST 2008]. -->
    ?>
    <xsl:stylesheet version="1.0"
    xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:plt="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
    xmlns:pc="http://xmlns.oracle.com/pcbpel/"
    xmlns:ehdr="http://www.oracle.com/XSL/Transform/java/oracle.tip.esb.server.headers.ESBHeaderFunctions"
    xmlns:ns0="http://www.w3.org/2001/XMLSchema"
    xmlns:jca="http://xmlns.oracle.com/pcbpel/wsdl/jca/"
    xmlns:hwf="http://xmlns.oracle.com/bpel/workflow/xpath"
    xmlns:imp1="http://TargetNamespace.com/TextInput1"
    xmlns:tns="http://xmlns.oracle.com/pcbpel/adapter/file/TextInput1/"
    xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
    xmlns:xref="http://www.oracle.com/XSL/Transform/java/oracle.tip.xref.xpath.XRefXPathFunctions"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:ora="http://schemas.oracle.com/xpath/extension"
    xmlns:ids="http://xmlns.oracle.com/bpel/services/IdentityService/xpath"
    xmlns:orcl="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc"
    xmlns:hdr="http://xmlns.oracle.com/pcbpel/adapter/file/"
    xmlns:ns1="http://xmlns.oracle.com/pcbpel/adapter/file/TextOutput1/"
    exclude-result-prefixes="xsl plt pc ns0 jca imp1 tns hdr ns1 bpws ehdr hwf xp20 xref ora ids orcl">
    <xsl:template match="/">
    <imp1:Root-Element>
    <xsl:for-each select="/imp1:Root-Element/imp1:Leaf-Element">
    <imp1:Leaf-Element>
    <imp1:C1>
    <xsl:value-of select="imp1:C1"/>
    </imp1:C1>
    <imp1:C2>
    <xsl:value-of select='orcl:lookup-dvm("Citinames","Long",imp1:C2,"Short","")'/>
    </imp1:C2>
    <imp1:C3>
    <xsl:value-of select="imp1:C3"/>
    </imp1:C3>
    </imp1:Leaf-Element>
    </xsl:for-each>
    </imp1:Root-Element>
    </xsl:template>
    </xsl:stylesheet>
    Here I am checking the DVM function for the Second column and it is not working and I have given their Inputs and Outputs in my first message .
    I have another question as you told both import and export of the DVM is always in the XML format only so I have a doubt whether the lookup-dvm will be working for xml files only and not for text files.
    But in my case in text file it is working for the first column but not in the subsequent columns.
    Thanks.

  • Query on Changing Domain Value ...

    Hi All,
    I have a requirement in which i have to change the Value range of a domain while executing a program...
    Is there any FM available to achieve this functionality.... Kindly provide pointers to achieve my requirement...
    Regards,
    Navin.

    Hi
    <b>I have already replied this in my earlier post.</b>
    <u>Use the following Function module - RPY_DOMAIN_READ to read the Domain values in a program and use them as per your requirements.</u>
    <b>Sample code</b>
      CALL FUNCTION 'RPY_DOMAIN_READ'
        EXPORTING
          activation_type_i = 'M'
          doma_name         = 'DOMAIN'         <<<<<- UseYour domain name here
           language          = sy-langu
        TABLES
          doma_values       = i_values            <<<--- Returns domain values
        EXCEPTIONS
          cancelled         = 1
          not_found         = 2
          permission_error  = 3
          illegal_type      = 4
          OTHERS            = 5.
      IF sy-subrc <> 0.
      ENDIF.
    Incase you need any other details, let me know.
    Hope this will help.
    Please reward suitable points, incase it suits your requirements.
    Regards
    - Atul

  • How to change the Credential domain Value in XML gateway?

    How to change the Credential domain Value in XML gateway?
    configured the XML Gateway trading partner . It is generating the header as given below. but need to change the Credential domain to DUNS.
    <Header>
    <From>
    <Credential domain="olgridap1.lan">
      <Identity>53369415-cxml</Identity>
    </Credential>
    </From>
    Desired XML header
    <Header>
    <From>
    <Credential domain="DUNS">
      <Identity>53369415-cxml</Identity>
    </Credential>
    </From>

    You might want to check WLP 10.3 & deployment plan & log4j.xml for a similar topic.

  • Anybody having experiences on Domain Value Mapping in interconnect?

    Hi
    Anybody have experiences on Domain Value Mapping in interconnect or any case study for the same.
    If so please forward it to the forum or my mail id [email protected]
    Thanks in advance.
    Sandeep Gaadhe

    Hi siyer1,
    Thanks for responding.
    i have created a case that uses Cross reference table. Now i want to design a case study using domain value mapping. I am having following doubts.
    1. How DVM is different than CRT?
    2. I used cross reference tab while subscribing to message(as suggested by Ian
    in one thread) and specified the CRT table to application . Now i have created the table for DVM and added my applications to it. Now how do i specify the DVM table name to application?
    I hope i am able to post doubts clearly.
    I read oracle documentation but it is too short and difficult to implement it in some practical scene.
    A case study or a document which can give more on DVM can help.

  • Domain Value Mapping in Oracle Service Bus

    Hi all,
    I am looking for a similar functionality with Oracle Service Bus that exist in the Enterprise Service Bus.
    The XPath function is lookup-dvm() that looks up the value based on a domain value mapping.
    The case is to use this in a XQuery mapping.
    Any input or experience on this?
    Thanks,
    Knut

    Currently out-of-box implement of similar functionality in OSB is not possible. This DVM feature will supplied out of box in future releases of OSB. Talk to your sales representative to get exact date lines for this feature.
    Thanks
    Manoj

  • 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

  • Translation of Domain Value

    Hi ,
    In which SAP table are stored the Translation of Domain Value ?
    Thank you

    Hi,
    check table DD07T - DD: Texts for Domain Fixed Values (Language-Dependent)
    Regards,
    Ivan

Maybe you are looking for

  • Can't ping routers across point-to-point frame-relay

    'evening,   Really basic setup.  Designed with Packet Tracer, trying to ping routers across a point-to-point frame-relay.  I've designed this according to three different training sources who all say the same thing.  Yet, all pings failed. The shows:

  • MIGO posting  for asset

    Hi During creation of MIGO for asset we got error " YOU CAN NOT POST TO ASSET IN COMPANY CODE BP01 FISCAL YEAR 2011" We have copied an existing one asset.Plz tell us the solution.

  • Image Capture & ICC profiles

    Is it possible to use Image Capture with my scanner and have it embed something other than the sRGB colour profile when scanning colour photographs? I'd like it to embed AdobeRGB instead. In most other respects I prefer it for scanning photos to Epso

  • Adding space between a buttons in a navigation list

    Hello, I am currently using apex 3.2.1 with a 10g backend. All of my forms are using a button list navigation. On one of my forms, I want to add more space between two buttons. Is this possible? Thanks, Mary

  • What is RESULT ANALYSIS,REVENUE RECOGNITION in PS

    hi gurus can any one explains me abt revenue recoginition and result analysis in Project Systems thx regards mahesh