Dataelement

Hi All,
In my module pool program I need to show range of two numbers in one field  up to now we are using ".",if the number contains decimal places it is difficult to us,I think problem in data type,if I take "-" instead of "." which type of datatype I have to take.
Thanks&regds,
Srinivas.

Hi,
You need to use the charecter type data type
Regards
Sudheer

Similar Messages

  • Differece b/w dataelement and domain

    hi every body
    when creating table after giving the column name we can mention the direct type or specify the data element. in data element we mention data types and other properties, similarlay in dataelemens we can also specify the domain.
    my question is that what the relationship or diff. b/w data element and domain. plz clear my concepts.
    Rai.

    Domain is the central object for describing the technical characteristics of an attribute of an business objects. It describes the value range of the field. Data Element: It is used to describe the semantic definition of the table fields like description the field. Data element describes how a field can be displayed to end-user.
    A domain defines the properties of a data element within ABAP. The properties include the data element type, it's length if required and any restrictions on the values that may be entered into that variable. By defining a domain you can automate and greatly reduce the amount of work required when handling amongst other things user input parameters. Domains also standardise your programs. By using a domain rather than individually defining the variables within your program, any changes to the domains characteristics are automatically passed on to any programs that use that domain
    A dataelement is the one which has the information about the field's representation on the screen in the form of FIELD TEXTS, COLUMN CAPTIONS in list outputs of the table contents and the format of the output via PARAMETER IDS and Online field documentation.
    Cheers
    Nishanth

  • DATAELEMENT FOR A FIELD

    HEllo Friends,
    How can we find the DATAELEMENT used for a FIELD with the help of ABAP CODE?
    Is there any table reflecting this?
    THanks and Regards
    Ashish NAik

    Hi,
    You can write a select query on DD03L table with where condition by giving table name and fieldname...
    check the field 'ROLLNAME".
    regards
    padma

  • F4 Valuehelp with own dataelement in ALV

    Hi out there,
    i createt own dataelement with own domain. in domain there are fixed values.
    Now i designed an itab for alv grid. (abap oo methods).
    Unfortunately the F4 Help does not appear.
    How to config the corresponding fieldcat?
      CLEAR ls_fieldcat.
      ls_fieldcat-ref_table = '<Name ITAB>'.
      ls_fieldcat-fieldname = '<Name Column in ITAB>'.'.
      ls_fieldcat-DD_ROLL   = '<Name Dictionary Element>'.
      ls_fieldcat-F4AVAILABL   = 'X'.
      ls_fieldcat-edit = 'X'.
      APPEND ls_fieldcat TO pt_fieldcat.
    Unfortunately nothing happens. Just empty valuehelp.
    I testet the ddict-elem as selscreenparameter...and valuehelp appears..

    Thanks!
    I already got my f4 help. It's not a dynamic one. Jaust a custom Dataelement depending on Custom Domain WITH FIXED VALUES.
    I suggest its not neccesary to use eventing etc. Just ddictfunctionality in alv grid.
    I tried with
      ls_fcat-inttype = <name DDICT Element>.
    Like in   BCALV_EDIT_08.
    No Effect.

  • Its urgent regarding dataelements

    hi,
    i got requirement that creation of  new dataelement even though we have standard
    dataelements.y bcoz they want elobrate field description.
    my actual requirement is i have one field PMTNR in QMTB table.
    here created new table with the field PMTNR with dataelemt  QPMETHODE
    field label for this  method but they want description like Inspection method.
    for this i created new dataelement   /GLB/RGTPT_INSP_METHOD
    i maintained field label as  short      10   method
                                          medium   15  insp.method.
                                          long         20  inspection method
                                          header     17  inspection method.
    in table maintanance generator  i am getting only short field lable i.e method only
    here what i want is i want either long label or header label.
    can any one suggest how can i get full description like inspection method.
    thanks inadvance
    points will be awarded to correct answer.
    regards
    suneetha

    Go to SE11, ur table name and click on change ..now go to Utilities->Table maintenance Generator ,
    there click on the single screen,it will take u to the screen code and then u have to click on button Layout(for screen) ..
    here double cllick on the field label for which u want long text to be displayed,double clicking will open up Attribute window for tht field ,here in the Dict Tab u can see one option named Modify, give value as 3 there (fro long text)..
    now it wil take long text of the field once saved n activated.
    amit

  • How to create the dataelement CTFC_CRM

    Hi ,
    I am struggling
    t.code : CTFC_CRM where we create the data element what is the field
    name take. And also how to create the dataelement . or any dataelement use or
    standard dataelement use that small confusion……

    I'm not sure if I understood your queries:
    Name = Name of th field which will be name of the field in the condition DB (should start with ZZ or YY ) and you choose the fieldname, I mean is not generated or automatically determined
    Data elment = You can use Standard or Custom Data element, but to avoid and prevent (upgrade) errors I recommend you to use allways a custom data element and refer to a custom or standard Domain, check the documentation of the BADI /SAPCND/ROLLNAME tu understand what I'm talking about
    Cheers!
    Luis

  • How to add short field of POSITION on dataelement of OrgModeler

    Hi,
    I am implementing OrgModeler 3.0 SP1.
    I want to use SHORT of HRP1000 as sort field on OrgModeler.
    It seems not to be read by OCI.
    If you know how to config data elements usw. Please advise.
    Best Regards,
    Hiroshi Takimoto

    Hi Luke,
    Thank you very much for explanation.
    Things are becoming clearer. So, let me clarify some points.
    Apology for the long reply...
    Let me continue discussion by quoting your reply.
    1) I don't believe it uses a view, just an evaluation path
    If you run function RH_STRUC_GET with the evaluation path ZNAKO2PP does it return the fields you see in the data element? If this doesn't include SHORT then you might be able to extend the function module to include it.
    The view mechanism allows to add fields with HROCI framework, but SAPPositionDataElementHROCI.xml with evaluation path doesn't allow adjustment of returning fields. Is this true?
    Then, if we look at the FM, the SHORT field is returned from the FM, but I suppose that returned fields from FM are converted/mapped in Nakisa.SAP.SAPSPProcessor.BAPI_SP_Hierarchy_OrgUnit2JointSP. I guess this mapping is performed because FM returns OBJID/STEXT/SHORT as a field name, but table BAPI_1_DataSets_O2S has "Object_ID","Name" as a field name (which I don't see any alias unlike others). There must be something that maps FM field and table fields. Would you know mappings?
    2) No, the sort fields are defined in the hierarchy configuration and come from the data element SAPPositionDataElement
    Is your field added to the NakisaRFC function SAPPositionVacancy.xml (in <you build>\.delta\OTFSchema\functionconfiguration)? If so, has the field also been added to SAPPositionDataElement.xml and SAPPositionVacancy.xml data elements? If so then in the AdminConsole you should be able to select your field in the Sort Order section. If not then you have done something incorrect.
    Do you mean "hierarchy configuration" is configuration of the node "Position" under "Organization Structure" in "Source OrgChart" pane "Hierarchies"?
    I have defined the added field in Sort Order section, but sorting doesn't take place. I have added the field to all the XMLs and confirmed field definition by showing the added field in a view (view shows values correctly).
    My assumptions here is:
    A) "SAPPositionDataElement.xml" is not sorting order by any field from "AdditionalFieldsDataElement".
    B) Class "Nakisa.SAP.Custom.OTFProcessor.BAPI_SAP_OTFProcessor_LinkedDataElement" returns sorted table entries from ERP system and will not use the "Sort Order in hierarchy".
    C) the sort order from "CurrentFieldsDataElement" is predominantly used for "BAPI_SAP_OTFProcessor_LinkedDataElement"
    D) DataElement using "Nakisa.SAP.Custom.OTFProcessor.BAPI_SAP_OTFProcessor_Report" sorts based on the "Sort Order in hierarchy". Return of Report itself is confrimed sorted.
    E) single method of data fetch (either report, chart, or HROCI) will assure "the sort order in hierarchy".
    The current understanding of Nakisa leaves me with few options. These are:
    Option 1) understand mapping from FM to BAPI_1_DataSets_O2S. This may tell me SHORT is available in the SAPPositionDataElementHROCI.
    Option 2) use sort order (PRIOX) from object relationship (from FM: HR_STRUC_GET). HRP1001 has to be updated by another program.
    I still would like to pursue the SHORT sort by using Nakisa.
    Would you be able to share your expert knowledge about the assumptions above A,B,C,D,E and possibly about Op1?
    Thank you again.
    Akinori

  • Creating table without creating domain n dataelement(what type of data is)?

    is it possible to create table without creating domain n dataelement
    for what thoose tables are used for(what type of datait holds?)

    Yes it is possible to create a table without domains and data tables.
    Enter the table name and click on CREATE. On the next screen click on "Predefined types" button. This will gray out the data element column and open the columns data type, length, decimals and text columns for input. You need to specify the data type details in these columns.
    Even though it is possible to create the table in the above fashion I would suggest you create data elements and domains for all the fields.
    -Kiran
    *Please reward useful answers

  • Change dataelement of EEWB field... pls help

    Hi friends,
    We have EEWB fields created in CRMD_ORDER tcode, with Customer data tab.
    I have one field with length 40 char.
    Now I have to change this field's length from 40 to 60. Can i change it ?
    Basically I can see dataelement ZEEW_DATAELEMENT0701, created for this field. Can i directly go and change the dataelement length from 40 to 60?
    How feasible is it to change? this field is also been used in PCUI and ICWeb screens...
    Kindly pls can u give me ur advice..
    thanks in well and advance,
    Niraja

    Shiva,
    thanks,
    But
    for point 1, i checked where used list. it gave some 100 results, and most of them are standard structures.... and couple of z structures, with z developments.
    Now can i change the dataelemt now?
    point 2. im not able to see any projects right now in dev server in tcode EEWB.. hwo come?
    can u pls reply back.
    Niraja

  • To find dataelements for Purchasing data

    Hi All,
      I want to know how to find <b>source table name</b> for keyfigures in<b> purchasing data</b>, i tried in help.sap, and in metadata repository, but i could not find that .
    eg: <u><b>Delivery Date Variance 1</b></u>for this keyfigure i want to know the fields , dataelements and source table name..i tried in this link http://help.sap.com/saphelp_nw2004s/helpdata/en/ed/62073c44564d59e10000000a114084/frameset.htm
    but i m not getting for some keyfigures
    can one help me in this issue
    thanks and regards
    Pushpa L

    Hi,
    The delivery date variances 1-5 are the numbers of deliveries assigned to the time windows 1-5 on the basis of their delivery date variance.
    The key figures are updated at the time of goods receipt as per the entry date.
    The delivery date variance is evaluated with the aid of a grid whose windows you can define in Customizing for the Logistics Information System (LIS). You can define a total of four window limits, so that altogether five windows are available for evaluation purposes. The grid is defined in dependence on the purchasing organization.
    You should take a look at the links below.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/c5/a26f37eb997866e10000009b38f8cf/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/3e/812f387ef4311ce10000009b38f889/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/15/5dd6384e4bd811e10000000a114084/content.htm
    Regards,
    ®

  • What is domain and dataelement.....diff b/w domain and data element

    dear all
    what is domain?
    what is data element?
    In one domain how many data elements are possible to used?
    with out data element how can u create a table? explain briefly.

    To clarify it little further the Data element and Domains are used in combination where similiar type of data fields are to be used with some more additional characteristics to each Data element.
    For example consider creating a table which contains Employee details. The Columns Name1 and Name2 are to be of type char and length 40. There are 2 ways to do this,
    1. You can assign the fields Name1 and Name2 directly to CHAR40(as the data element) in SE11. But this will make both the fields to have same characteristics with no difference among them.
    2. The other way is to assign the columns Name1 and Name2 to seperate Data elements say DE_NAME1 and DE_NAME2. This method has tha advantage of adding further charectristics and labels to the data element. Hence in this case you can add a label "Name1" for the data element DE_NAME1 and "Name2" for data element DE_NAME2. And both these data element will point to the same domain CHAR40, hence length and type is same.
    Hope this helps.
    Thanks,
    Prasath N

  • Call Remote Function Module with SAEURI  dataelement as Export parameter

    Hi Experts, Am creating a program in a Gateway system, where i need to call a FM from HR system.
    My Code is like this,
    Data: lname(20) type c,
             lv_url type SEAURI.
    Call 'Z_EMP_GET' Destination 'HR_DEST'
    Exporting
    Pernr = '12345678'
    Importing
    lname = lv_lname
    Url = lv_url.
    At HR Destination system, I have a FM 'Z_EMP_GET ' with signature as
    Importing : Pernr Type NUMC
    Exporting : lname Type Char20
                     Url Type SAEURI(Char 4096).
    When i debugged it, I see the Remote FM is getting Perner value and returning only lname, but URL paramter is empty.
    I believe i have problem in receiving Long Text (URL - Char 4096).
    How can i handle this and let me know if need to specify String length parameter for RFC call somewhere.
    Also let me know if need more details
    Thanks in advance.
    Thanks in advance.

    Hi naveenraj,
    I don't know which type of URL you want in output but you can check  entries in table HTTPURLLOC and or if you want URL of employee photo then you have to use this FM HRWPC_RFC_EP_READ_PHOTO_URI.
    Regards,
    Shahezad

  • Dataelement and Datatype regarding photo

    hi this is praveen we are connecting .net to sap  .
    .net people  give photo to us so we have option in se78 direct we can insert photo
    but in my requirement is i need datatype and dateelement and table to insert a photo
    can any one pls help me
    thanking you

    HI Praveen,
    Try using the Tcode OAER where we can have the document type - as color photos etc. pls cehck this
    OAER- Document type - HRIEMPFOTO, HRICOLORFOTO etc try searching as HRI* we can also do this way
    OR
    save the photo in BMP format before uploading it in SAP. it doesn't support gif or other format.
    go to se78.give the name of the photo in graphics->BMAP-> F4. it will ask for the path. select from the path and upload the photo.give the desired resulution. Resulation will decide the size of photo. try different combination in form u'll get the desired size.

  • How to swap two primitive dataelements using swap function??

    How to write a swap function that can swap two integer..??

    Now we are getting somewhere. Next time you post code, use the code tags!! See Formatting Tips or just select the code and click the Code button.
    you cant swap i,j using the above code...You're right. You can't do that.
    so how to do that??The ints must be within some object, like I showed you
    You cannot swap the values of two arguments to a method and expect the caller's variables be swapped because Java passes arguments by value not reference. There is no such thing as a pointer to a variable in Java as there is in C/C++.

  • Dataelement of data type char but accepts only integers

    Hi Experts,
    I have a scenario where quantity field in output is editable and the user wants the quantity field printed without thousand separator. If i take a char field and display the field is editable then user may mistakenly type a,bcd...z/ special characters which it should not capture. Is there any char data type data element which accepts only integers. Because after that i need to save that value in z database table quantity field.
    Please share your suggestions.

    I have a scenario where quantity field in output is editable and the user wants the quantity field printed without thousand separator.
    I'm a bit lost with your statement, as you consider changing the data type it sounds like you have control over the program and thus most likely also over the forms (assuming that printing means sending some output to a printer). In that case I'd first consider keeping the quantity field as is and change the output logic (e.g. print program or form) so that the group (thousands) separator doesn't appear for that quantity field (and refrain from changing the field definition). (Similarly if it's just concerning the output of a field on the screen then an appropriate output mask/template for that screen field should be the right way to go.)

Maybe you are looking for

  • Web Gallery

    I can only add 10 images to the Web Gallery in Bridge CS4 even if I choose more than 10 images from the Content Panel before clicking Refresh Preview. Are 10 images the maximum for the Web Gallery?

  • WLS 6.1 Error 160001 in wl-domain.log

    ####<Feb 6, 2004 10:04:10 AM GMT-06:00> <Error> <J2EE> <myHost> <myServer> <main> <system> <> <160001> <Error deploying application console: error retrieving component [Caching Stub]Proxy for myDomain:ApplicationConfig=console,Location=myServer,Name=

  • PO/ Invoice created for supplier does not exist for particular company code

    Hi Gurus, We have a case where PO created w.r.t supplier X does not exist for any company code A. Also Invoice is generated. As per my analysis: 1. Purchasing organization is assigned to the particular plant and Plant does assigned to company code. T

  • Problems using multi mov files in one AE screen

    I've imported three mov files and have created them on three separate layers in my AE comp screen. When I press to preview the files they play but only for about 3 seconds. I need them to play the full length of the mov files which is about 15 second

  • C:\Windows\system32\Macromed\Flash\Flash10d.ocx

    Can someone please, please help??? I installed FP10 on Windows Vista & says it's complete (shows the "F" icon flipping around & all).  But, when I try to open C:\Windows\system32\Macromed\Flash\Flash10d.ocx in my "C Drive", I keep getting a pop up wi