Domains-Without Value range.

HI All,
       My secnario is that  i have use few standard domains that do nat have any value range for that domain,
so i requried for data type char 20
                                      numc 5
                                      numc 10.
I need your valuable suggestions to this.
regards,
Swathi.K

hi  swathi,
goto se11.
there select domain and press f4.
now a pop-up window appears where u need to specify datatype and length  and press enter.
now u can find standard domain elements for your particular datatype and length.
give datatype: char
       length   : 20
sample list of domains:
ABI_DOCITM
ABI_OBJCT
ABLBELNR
ABLLI
ABSCHLGRP
ACEPS_STATUS
ACE_ARCH_PREP_STATUS
ACE_CALC_VARIABLES
ACE_GLSYMB
ACE_SOP_STATUS
ACTIO
ACTIVITYID_BRO
ADFDR_CHAR20
ADFDR_DOCID
ADPIC_DOM_PROCESS_CODE
ADRESSE
ADSPCIP_RANGE
ADSPC_ANGNR
ADSPC_SBNBR
AFRUV
AFW_TEXT20
AII_NAME
AIN_EPC_PREFIX
AIN_SSCC
AKB_TABSET_NAME

Similar Messages

  • Domain - single value range

    HI,
    Ive created an enumarated domain.
    I want to print a report based on this table, how can i print the description depeneding on value.
    For e,.g the domain zcusttype contains following allowed values
    01- Internal
    02 - external
    How can i pick the decsription based on field value .
    Is there any direct FM availabled or would i have to do a case-endcase coding to print descriptions.
    BYe

    hi,
      use FM DOMAIN_VALUE_GET...
    Rgds.,
    subash

  • Diplay Domain Value Range.

    Hi,
    I wish to display Value Range as define in Domain for certain field in R/3.
    Eg, ZSEX domain 's Value Range in R/3 as below
    01 Male
    02 Female
    Assume ZZSEX field is using ZSEX domain;and
    Expected "Male" to be display when field value ZZSEX = 01.
    How to achieve this in Java Web Dynpro?
    Thanks.
    Best regards,
    Xiang Li Heah

    Hi,
    Why dont you send both ZSEX domain 's value range and text to WebDynpro from R/3 in bapi output as below?
    ZZSEX     ZZSEXTXT
    01           Male
    02           Female
    (Or)
    What you need to do is , You have to store these texts (key , value) in WebDynpro side.
    You can use simple type for this purpose.
    Create one simple type "SEXSimpleType" in webdynpro local dictionary and enter the enumeration values as below.
    01           Male
    02           Female
    Create one context attribute called "SEXAttr" and change the type of this context attribute to "SEXSimpleType".
    Now in the code when the value of ZZSEX = 01 then get the corresponding text by using the below code.
    ISimpleTypeModifiable simpleType = wdContext.nodeTest().getNodeInfo().getAttribute( "SEXAttr").getModifiableSimpleType();
    ISimpleValueServices services = simpleType.getSVServices();
    IModifiableSimpleValueSet valSet = services.getModifiableSimpleValueSet();
    wdComponentAPI.getMessageManager().reportSuccess( "SexText: " + valSet.getText(ZZSEX));
    Regards,
    Charan

  • Checking domain fixed values

    I have a screen field in a dynpro where the domain has a fixed value range. The values shows up in the F4 help, but I can't figure out the best way to validate it in the PAI short of hardcoding, which I'd like to avoid.
    Take for example a domain with possible values 'A', 'B', 'C', '1', '2' or '3'. These values pull through to the search help but I also need to validate manual user input against this list.
    I understand the DDIC attribute for a screen element can do this, but that's not an option in this case as the name of the field does not match the name of a dictionary field. Any other suggestions?
    Thanks

    >
    Chris wrote:
    > I have a screen field in a dynpro where the domain has a fixed value range. The values shows up in the F4 help, but I can't figure out the best way to validate it in the PAI short of hardcoding, which I'd like to avoid.
    >
    > Take for example a domain with possible values 'A', 'B', 'C', '1', '2' or '3'. These values pull through to the search help but I also need to validate manual user input against this list.
    >
    > I understand the DDIC attribute for a screen element can do this, but that's not an option in this case as the name of the field does not match the name of a dictionary field. Any other suggestions?
    >
    > Thanks
    If this field should only contain values from the domain fixed value range, why don't you make it into a drop down listbox field?  This would make manual input impossible and all they can do is select values from the drop down list.

  • HR ABAP: Value Range Filtering in F4 help.

    Dear Experts,
    I'm using a common data element and domain used by our team for a field called "Overall Status"! The value range inside the domain for this OS is appended by each individuals, as and on based on individual requirements.
    Now, i've appended 5 value range inside the existing domain's value range.
    When, i call my custom infotype screen, i need only those values added by me in the f4 search help, instead of all the existing enteries in the value range?
    Can anyone throw some lights for the procedure to do so?
    Thanks in anticipation!
    Useful solution will be definitely rewarded!
    Regards,
    Sundar.

    Old!

  • Fixed Value Ranges in Domain

    Hi all,
                i have create table in DDIC and use some domain in that. Now my problem is that there is a option in Domain which is Value Range.I am not able to find the reason why we use this in domain. Means what is the benifit of using Value Range ??
    Hoping for the best solution.
    Thanx,
    Vaneet

    The check table must have a key field which has the same domain as the check field of the foreign key table."
    the above means that when I use domain(which contains value table ) the same domain must be there in check table .
    Yes, the domain must be the same for check field (some field in ztable which you want input help for) and for key field of check table (which we match with check field).
    I.e. when you look at table SPFLI you can see field CARRID (this is check field ) . Click on it and select Foreign keys (key icon button). You will see SCARR (this is check table ) and matching keys MANDT and CARRID (foreign keys for them are SPFLI-MANDT and SPFLI-CARRID). Then you go to check table SCARR and look at field CARRID.
    The domain must be equal for check field (SPFLI-CARRID) and corresponding check table field (SCARR-CARRID). Only then the input help will be provided correctly.
    So that means value table and check table are always same .
    Not necessarly, but most often yes. This is because value table serves only the purpose of providing default table for foregin key relationship (when you want to define one), but you are allowed to change that assignment during relationship creation. No other "value" comes with using value table
    By defining only value table i cannot get input help , i have to have check table
    Correct!
    Then what is the use of value table ?
    As explained above, only for developer to have proposed this value table as a check table during foreign key definition.
    whlile creating z field i can directly use a check table without defining a value table in domain.
    Yes, you can. Nevertheless you will have to provide check table yourself. System will not suggest one.
    Kindly explain me the use of value table in terms of adding zfield .
    No sure if correctly understand you here. ZFIELD can use value table, but without check table it is useless. It will not provide you any input help, nor will check entry for that field when used i.e. on the screen.
    If you still feel not good with above explanations please refer [url]When is Value table called?;url]
    Edited by: ajay KOLLA on Jun 29, 2010 12:40 PM

  • ALV, domain and F4 value ranges.

    Hi all
    I'm having trouble with getting F4 value range help up and running on a cell in my ALV. The main reason for my problems is because I'm not using a DDIC structure, but one I defined locally. The structure's field is associated with a domain type defined in the DDIC and as such I'd like to pull the value range from there.
    Here's what more-or-less what I'm doing:
    - Create a local structure type corresponding to fields of a DDIC table.
    - Select from the table into the structure.
    - Load ALV with structure.
    Is there anyway to get the F4 help on a cell?
    Ps. ref-table and ref-field doesn't work.

    As I'm not at the office at the moment I can't test anything, so I'll give you a progress update tomorrow, but in the mean time:
    Anjali - I'll have a look at that link. I'm still fairly new to ABAP so I can't tell off hand if that's what I'm looking for, but I'll know for sure when I have a look at the demo applications.
    Vijay - I do have value ranges for the domain of the type used by my structure. I believe ref-table and ref-field isn't working because my internal table is of type local structure rather than DDIC table type.
    Sekhar - I did try setting F4AVAILABL to 'X', but all that does is display the 'value range button' (which you can click to get the same effect as pressing F4), without actualling doing anything else.
    Thanks for the help thus far.

  • HOW TO ACESS DOMAINS VALUE RANGE PROGRAMTICALLY

    DOMAIN IS WITHOUT VALUE TABLE, BUT WITH FIXED VALUES,
    HOW CAN WE ACCESS THESE VALUES PROGRAMTICALLY,
    WELL NOT FOR VALUE REQUEST TO SEE THE VALUES BUT TO DISLPAY ALL THE VALUES ENTRED IN THE VALUE RANGE OF DOMAIN , WITHIN THE PROGRAM
    REGARDS

    Using the FM is probably the best way to go.
    report zrich_0001.
    data: idd07v type table of  dd07v with header line.
    start-of-selection.
    call function 'DD_DOMVALUES_GET'
         exporting
              domname        = 'RFBSK'    "<<--- Supply domain name here
              text           = 'X'
              langu          = sy-langu
         tables
              dd07v_tab      = idd07v
         exceptions
              wrong_textflag = 1
              others         = 2.
    loop at idd07v.
      write:/ idd07v-domvalue_l, idd07v-ddtext.
    endloop.
    Regards,
    Rich Heilman

  • 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

  • Get domain value range dynamically

    Hi all,
    I need to create a dynamic method that retrieves the value range (key-value) of a domain.
    It is pretty simple to get fixed values using FM DD_DOMVALUES_GET, but how do I manage a value table?
    For example:
    Field XFELD has fixed values so use DD_DOMVALUES_GET
    Fields BUKRS and SPRAS have value tables.
    I can get the value table name using FM DDIF_FIELDINFO_GET and retrieve the data from that table. Unfortunately, I can be sure to get the right key field, but I can't be sure to get the right value field, it depends on the value table definition.
    BUKRS has T001 that stores the text in field BUTXT of the same instead SPRAS has T002 that stores the text in text table T002T in field SPTXT.
    Is there any standard function module that does the trick?
    In this thread Gregor Wolf managed it manually using a case statement, but I would avoid it, too many case statements...
    Thanks
    Ivan

    What I am doing is not quite the same but similar - I am dynamically getting the text description when I have a data element and the value of the variable that references that data element.
    I was pointed to CL_TEXT_IDENTIFIER which when you pass in the domain and the value magicaly brings back the text description, despite the fact that, as far as I can see, SAP has set up almost every text table slightly differently - sometimes in the main table like T001W or lFA1, sometimes which just the language and the value as a key, sometimes with extra key fields (e.g. MAKT) and sometimes with added organisational key fields e.g. the same GL account have different text descriptions in different chart of accounts.
    I think at some stage CASE statements or subclasses are going to have to come into the equation, due to the utter lack of consistency in SAP table defintions.
    Cheersy Cheers
    Paul

  • 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

  • Can i create value range in domain

    can i create value range in domain

    Hi,
    Value range means we will give possible values at Domain level.
    We will have Value tabe also at Domail level.
    when we give possible values at Domain level it will restrict to those values to that particular field.
    Deepak.
    If this helps you reward with points.
    Message was edited by: KDeepak

  • Value range for domain

    Is it possible to enter value range more than 10 characters long ??

    HI Michal
    This seems to be a restriction as the DOMAIN for storing the value range is defined of length 10 Chars.
    Kind Regards
    Eswar

  • Any FM avaliable for reading domain value range

    Hi experts,
    Is there any FM avaliable to read values from value range of a domain.
    I need to fetch short  descriptions for corresponding fixed values in value range.
    Please help.
    Thanks in advance,
    Neelima

    Hi,
    Is there any FM avaliable to read values from value range of a domain?
    Yes. Of course, you can try using the following.
    Let me assume that there is a domain called ZGENDER and it has the following fixed values:
    Value  Description
    M        Male
    F         Female
    U         Unknown.
    Then do the following code:
    DATA: l_t_gender TYPE TABLE OF dd07v.
    To get the possible list of Genders
      CALL FUNCTION 'GET_DOMAIN_VALUES'
        EXPORTING
          domname         = 'ZGENDER'
        TABLES
          values_tab      = l_t_gender
        EXCEPTIONS
          no_values_found = 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.
    I need to fetch short descriptions for corresponding fixed values in value range.
    Yes. After calling the function module, l_t_gender-ddtext will have the short descriptions.
    Please revert back for any clarifications.
    Best Regards,
    Suresh

  • Value range of domain

    Hi Experts,
                       what is the importance of value range tab of domain?........if we enter any interval in value range for the domain and then we assgined that domain to a table field.Now can we only enter value into the field only satisfying the interval in value range of the domain?
    I have already assigned domain to a package and Now I want to change that package and request no.Is there any way out?

    Hi,
    A Domain defines a Value Range. The value range of a domain can be restricted by defining fixed values. If all the fields or components that refer to the domain should be checked against a certain table, this table can be defined as the value table of the domain. If you maintain only the interval values, then your values entered will be restricted in that Interval only.
    For Changing the package Assignment of the domain, go the Object Navigator (TX:SE80) and then navigate to the domain using the package. Select the Data Dictionary Objects like Domain and using the Context Menu of the mouse you can change the package assignment.
    For changing the transport request, you have to go to SE09 ( Transport Organizer Tool) and then delete the old task from it or you can create a new transport request and the change the task assignment of the existing ones to the new one.
    Hope this helps.
    Thanks,
    Samantak

Maybe you are looking for

  • WINDOW 8.1 WILL EXPIRE WITHIN 25 DAYS.

    AT STARTUP & DURING RUNNING OF MY hp -Notebook, IT SHOW A MASSAGE THAT' YOUR MICROSOFT WINDOW 8.1 WILL EXPIRE WITHIN 25 DAYS'. WHAT TO DO? I DIND'NT GOT ANY WINDOW CD ALONG MY Notebook.

  • GL ACCOUNTS IN PAYMENT RUN

    HI ALL MY CLIENT WANT TO GET INVOICE NUMBER,GL ACCOUNT,CHQ NO FOR EACH INVOICE IN PAYMENT RUN. IS  THERE ANY WAY TO GET THIS. THANKS/REGARDS MURALIDHAR

  • Reference Invoice number (VBAK-XBLNR) incorrect

    Dear Gurus, I have the following problem. While creating a multiple correctional Sales Order (which means it is referring to a correctional invoice), the field VBAK-XBLNR in the Correction SO's Header is populated with the first invoice number of the

  • Software Updates in an Untrusted Forest

    Hi all, I've build a SCCM2012R2 site with 2 forests involved. They are UNTRUSTED. Forest 1 contains a primary site with SQL and a secondary across WAN distribution point. This all worked great for Applications and Window Updates. The second untrusted

  • Type casting for properties accessed in COM Object

    I have a com object that I need to access which provides my a list of addresses in an Array. The object give me a property that has a count for the number of addresses and then I have a loop that calls the property which contains the address details