Data element change

Hi
I have created a custom table and created a data elemnent of type NUMC.
It has reached production . The table entries are created in production.
Now the users want to change the data element to char.
if the data element is changed from numc to char and released to production ,w ill the existing entries will be deleted ??
reg
Ramya

Hi Ramya S  ,
You have created a data element of type NUMC, which means some field in ur table has data type NUMC right? And now users want it to be CHAR right?
Well definitely this field must be used in some program right?
You have 2 ways :
1)  You can change the data element, the entries won't get deleted. But yes slight change in format will take place, like preceding zeros will be seen in character format as per the length on the field defined...well thats because different data types have their own features.
2)  Another way is keep the data element same as NUMC.
and you can change the data type of the field which you are using, in the code itself.
For Example : You have a field value a of type numc defined in table.
when defining internal table to use this field...u will as usual define it and it wud be in NUMC datatype.
then you can declare another variable b of type char of specific length and then assign a to b.
E.g.:
Table : EMPLOYEE
Field  :EMPLOYEE_NO                
Data Element  : ZEMP_NO
Data Type : NUMC
In Code :
Declaring Internal Table ***
Data : Begin of itab,
             employee_no  TYPE employee-zemployee_no,
          End of itab.
Variable of type CHAR ***
Data : employee_no_new(10) TYPE c.
Assigning old value to new variable ***
employee_no_new  = itab-employee_no.
now all the values will have properties of data type CHAR. You can even send it to production...won't give any problems...
I have just given an example...you can try this for the feld you have created. Hope this helps you.
If any more doubts, do revert
Regards,
Radhika
Edited by: RadhikaS on Mar 25, 2009 6:18 PM

Similar Messages

  • How to deal with the change of data element?

    Hi, experts
    My trouble's background is:
    A CBO table(ZIEBTCIITM) saves invoice items .
    There are three fields relevant to quantity in it.
    And they have the corresponding data elements with the same type QUAN,13 characters and 3 decimals.
    Now because the quantity is so small,for example 0.00004,that the 3 decimal digit is not suitable.
    I want to change the CBO table to adapt my business,so the quantity fields' decimal should be expanded firstly,and there are transction data in the CBO table.
    My question is :
    1) Is it necessary to backup the CBO table before data element change?
    2) What should I do is Only to expand the data elements' decimals?
    Anyone can give me suggestion?

    Hello Mic
    To be on the save side I would suggest to export the table entries to Excel and create a transport request containing the original table and its entries:
    R3TR TABL ZIEBTCIITM
    R3TR TABU ZIEBTCIITM *
    Next you should create your own data element (or search for a suitable standard data element), e.g. ZQUAN13_5 (13 digits, 5 decimals).
    Replace the data element of the DB fields with your new data element and activate the DB table.
    I expect that nothing will happen to the entries in the DB table except that your quantity fields should have 5 decimals now.
    Regards
      Uwe

  • Change in data element

    dear all ,
    I have changed my data element of a field in a  table , previously that was N 5 length , now i have changed to P decimal 3 ..if i move this to qas server , this table already in qas with datas,, when i try to moving that to qas i cannot move the request to qas but i can see the changes in table i mean data element changed to P in qas , but when i try to see contents in se11 , i am getting TABLE IS NOT FOUND IN DATABASE , and i tried to adjust thro SE14 , ther was error log and i tried to  unlock the table but it showing 'data will be lost ' . what should i do to rectify that .
    Thanks

    Hi peter,
    what do you mean. Possible to upload stuff via excel? If so here is a link
    http://wiki.scn.sap.com/wiki/display/ABAP/ABAP+code+snippet+to+upload+Excel+file+into+an+internal+table+and+display+it+in+alv+format
    But I'm pretty sure you know that...I think I just do not got the question
    ~Florian

  • NAKISA-CHANGE DATA ELEMENT

    Hi ,
    I have enhanced the RFC interface '/NAKISA/OC_POSITION_DETAIL' by adding a new Export table .
    However,this new export table is not reflected in NAKISA Admin Console when i am doing the operation " Edit/Create new data element connecting to SAP RFC"
    for the data element "PositionDetailDataElement"  under Export Tables Section.
    Am I missing anything?....
    Thanks!
    Sunitha

    Dear Sunitha,
    Below the step i'm do for enhanced RFC interface :-
    Step 1 : Copy RFC
    In transaction code SE37, copy RFC /NAKISA/OC_POSITION_DETAIL to a new custom
    RFC ZNAKISA_OC_POSITION_DETAIL (including its corresponding INCLUDE programs).
    Step 2: Go to Data Center > Edit/Create new data element connecting to SAP RFC
    Step 3: Check the checkbox to change the desired data element and click Next button.
    Step 4: Search custom RFC by clicking on magnifying glass icon > click Ok to confirm.
    *Note: Take a screenshot of ALL the configurations (import parameters, exported tables, field mappings, data field captions, data element properties etc) of the data element, changing to another RFC will refresh all configurations of the data element. Ensure that all configurations are the same as before, except that the RFC name has changed
    Examples of configurations:
    FYR –#1 Take a screenshot of the import parameters for all 3 pages, then do the same configurations after you’ve modified the RFC name.
    FYR –#2 Take a screenshot of the exported tables, then do the same configurations after you’ve modified the RFC name.
    FYR –#3 Take a screenshot of the data element properties for all 5 pages, then do the same configurations after you’ve modified the RFC name.
    Regards
    Mohamad Firhad Samuri

  • I have Elements 11. Sometimes, if I edit a photo in Elements Editor, the date gets changed to the current date. Why does that happen? It doesn't happen all the time, so I can't isolate the cause. Any ideas?

    I have Elements 11. Sometimes, if I edit a photo in Elements Editor, the date gets changed to the current date. Why does that happen? It doesn't happen all the time, so I can't isolate the cause. Any ideas?

    I have Elements 11. Sometimes, if I edit a photo in Elements Editor, the date gets changed to the current date. Why does that happen? It doesn't happen all the time, so I can't isolate the cause. Any ideas?

  • Error in Adobe form based in a xml interface when changing data element

    The adobe form is called from a web dynpro.
    The adobe form contain a page and subforms (positioned y flowered).
    The form worked out perfectally.
    Then edited a descriptive text in a data element, from se11.  The form continues worked out correctelly.
    Then modify a fixed text from the form.  The form is activated.
    Since this modification, the form stopped to work out, informing the following message:
    "WebDynpro Exception: The ADS call has failed. You can find information about the cause in the error.pdf on the application server".
    I have updated the nodes of the web dynpro, the xml interface of the form, is all activated and this is still not working.
    Someone could help me? Does anyone know what it could be happened?
    Is there a way to re-generate the form?
    Thanks you very much.
    Regards,

    The data element is char 4.  I have only changed descriptive texts.
    I have take take all the objects to the previous version (data element, wd view, interface xml, adobe form), and the form is still not working.
    Do you have another posible solution for this?
    Thanks you for your answer.
    Kind regards,

  • Need changes in standard data element

    Hi gurus,
    I want to change in one of SAP standard data element for adding search help into it.
    for this fields there is no user exit or any enhancement is present.
    I have taken access key from our basis guy after putting access key i am unable to change the data element i mean access key is correct but i am unable to edit data element.
    so can anybody tell me how can i change in this data element.
    note : I have access key.
    Regards
    Ankit

    Hi,
    What data element you are about to change, you should take extra care before changing standard data elements as it may be used in many places.
    Do a Where-Used list to determine nothing else will be affected because of this change.
    Regards
    Karthik D

  • How to change the name of an XML data element in link editor?

    Hi,
    Is it possible to change the name of a data element dynamically while doing the assignment in the link editor?
    Something like Transaction.ReceiveXML{/Rowsets/Row/Name1 (name="Name2")}?
    Regards,
    V M.

    Hi VM,
    in the link editor you can use the Dynamic Link (see [Expression Editor|http://help.sap.com/saphelp_mii121/helpdata/EN/45/b89adfaf1447f7e10000000a114a6b/frameset.htm]).
    With the dynamic link, you can enclose the property that contains the value with "#", which makes MII evaluate the value rather than use the property name. In your example, it looks something like this:
    ReceiveXML{/Rowsets/Row[name='#MyProperty#']}
    Hope this helps.
    Michael
    Edited by: Michael Otto on Oct 27, 2010 8:09 AM

  • How to change the Text  description on screen...(not the Data Element)

    I want to change the just text of one of the label on one of the screen. I don't want to change the Data Element, as the same data element is used in multiple places, but I want to change only at one particular screen, at one particular spot
    Any suggestion....?

    a)If you change the Text in a LABEL manually, then translation of the text can't be done.
    Better create a new structure which will be used in all such cases where u can't change the data element.
    Create fields in the Structure with your newly created data element and refer the field in the Label.
    b)IF the translation is not an issue then manually enter the text.

  • How to change data element of IDOC segment

    HI Experts,
    I have copied a segment E1ISU_MEASUREMENT_MEA to ZE1ISU_MEASUREMENT_MEA.
    Now i want to change data element of one of the field of the segment.
    Please guide me how i can do it?
    is there any disadvantages of doing this?
    can we do it easily?
    please give me step by step instructions if possible .
    thanks in advance
    Anit

    Hi,
    When you want to modify the segment details of a particular IDoc, you could do the same by editing the segment details via t-code, WE19. Once you edit, click on, Outbound or Standard Inbound if your IDoc is Outbound or Inbound respectively. A new IDoc will get generated. The generated IDoc will be in "yellow" status, ready to be picked up by a batch job if there exists one. Else you need to manually process the IDoc via the respective program.
    ~ Bineah

  • How to change data element in table?

    Hello all:
          I just need to change data element for a field in some Z table. I know I can do it through SE11 but I just want to make sure if there is anything I should be aware of? Are there any other steps I should perform apart from making changes through SE11? Any information you could provide would be great.
    Thanks.
    Mithun

    Hi Mithun,
    Yes, you can change the table using SE11. After saving, check for errors and activate. Using Menu, Utilities
    -> click on Database Utility and then click on 'activate and adjust database'.
    Hope this helps.
    Thanks,
    Srinivasa
    Message was edited by:
            Srinivasa Bhanuprasad Moningi

  • Change data element in search help

    Hi at all,
    how can i change the data elemte of an parameter in the search help?
    The selektion method of the search help is a view and the data element comes from the DB.
    Maybe it is possible to change the length of the parameter in the result list? That would help, too!
    Thanks in advance.
    Regards

    Alexander,
    see this code bellow:
    REPORT  zsearch.
    TYPES:
    BEGIN OF ty_scustom,
      id   TYPE scustom-id,
      name(8) TYPE c,
    END OF ty_scustom.
    DATA: wa_scustom TYPE ty_scustom.
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-002.
    SELECT-OPTIONS s_name FOR wa_scustom-name NO INTERVALS OBLIGATORY.
    SELECTION-SCREEN END   OF BLOCK b1.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_name-low.
      PERFORM f_select.
    *&      Form  f_select
    *       text
    FORM f_select.
      TYPES: BEGIN OF ty_data,
            name TYPE scustom-name,
            END OF ty_data.
      DATA: tl_data TYPE STANDARD TABLE OF ty_data,
            wl_data TYPE ty_data,
            tl_return TYPE STANDARD TABLE OF ddshretval,
            wl_return TYPE ddshretval.
      SELECT  name
        FROM scustom
        INTO  TABLE tl_data.
      CHECK sy-subrc = 0.
      SORT tl_data BY name.
      DELETE ADJACENT DUPLICATES FROM tl_data COMPARING name.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
    *   DDIC_STRUCTURE         = ' '
          retfield               = 'NAME'
         value_org              = 'S'
        TABLES
          value_tab              = tl_data
    *   FIELD_TAB              =
         return_tab             = tl_return
      EXCEPTIONS
          parameter_error = 1
          no_values_found = 2.
      IF sy-subrc = 0.
        READ TABLE tl_return INDEX 1 INTO wl_return.
        CHECK sy-subrc = 0.
        s_name-low = wl_return-fieldval.
      ENDIF.
    ENDFORM.                    "f_select
    Is it helpful? In search help show full name, but in parameter, only 8 first chars. Is it what you want to do?
    Regards,
    Rodrigo

  • Data element description not changing in ALV output

    Hi Friends
      I changed the description of the data element from xx to yy,but this is not reflecting in the alv output,
    It is still showing xx,After activating everything and running the report I get the same problem,
    Can any one help?

    Hi,
    Write your code in following manner.
    ATA:ist_fieldcat TYPE slis_t_fieldcat_alv WITH HEADER LINE.
    DATA: wa_fieldcat LIKE LINE OF ist_fieldcat.
    DATA : l_pos TYPE i VALUE 1.
      ist_fieldcat-fieldname = 'POSID'.
      ist_fieldcat-tabname   = 'IT_FINAL'.
      ist_fieldcat-outputlen = 24.
      ist_fieldcat-col_pos   = l_pos.
    *  ist_fieldcat-ddictxt = 'L'.
      ist_fieldcat-key = 'X'.
      ist_fieldcat-seltext_l = 'Appropriation Request Number'.
      APPEND ist_fieldcat.
      CLEAR ist_fieldcat.
      l_pos = l_pos + 1.
      ist_fieldcat-fieldname = 'TXT04'.
      ist_fieldcat-tabname   = 'IT_FINAL'.
      ist_fieldcat-outputlen = 4.
      ist_fieldcat-col_pos   = l_pos.
      ist_fieldcat-ddictxt = 'L'.
    *  ist_fieldcat-key = 'X'.
      ist_fieldcat-seltext_l = 'Status'.
      ist_fieldcat-EMPHASIZE = 'C400'.
      APPEND ist_fieldcat.
      CLEAR ist_fieldcat.
      l_pos = l_pos + 1.
      ist_fieldcat-fieldname = 'UDATE'.
      ist_fieldcat-tabname   = 'IT_FINAL'.
      ist_fieldcat-outputlen = 8.
      ist_fieldcat-col_pos   = l_pos.
      ist_fieldcat-ddictxt = 'L'.
      ist_fieldcat-key = 'X'.
      ist_fieldcat-seltext_l = 'Status Date'.
    *  IST_FIELDCAT-EMPHASIZE = 'C600'.
      APPEND ist_fieldcat.
      CLEAR ist_fieldcat.
      l_pos = l_pos + 1.
      ist_fieldcat-fieldname = 'CRTD'.
      ist_fieldcat-tabname   = 'IT_FINAL'.
      ist_fieldcat-outputlen = 4.
      ist_fieldcat-col_pos   = l_pos.
      ist_fieldcat-ddictxt = 'L'.
    *  ist_fieldcat-key = 'X'.
        IST_FIELDCAT-EMPHASIZE = 'C700'.
      ist_fieldcat-seltext_l = 'Status CRTD'.
      APPEND ist_fieldcat.
      CLEAR ist_fieldcat.
    <i>Rewards point if helpful</i>
    <b>Debjani</b>

  • Change document flag in data element

    Hi All,
    What exactly the purpose of Change document flag   that has been associated with  the data element? How it keeps track of changes done to that particular field can some body explain in detail please.
    Thanks&Regards
    Mahesh

    Hi,
    Many commercial objects are frequently changed. It is often useful, or even necessary, to be able to trace the changes made. If changes are logged, you can find out at any time, what was changed and when and how the change was made. This can sometimes make the analysis of errors easier. In financial accounting, for example, change documents are used to make auditing possible.
    Changes are logged in change documents, which can be created for actual or planned changes.
    <b>Set change document flag</b>
    This is necessary so that the object-specific function modules can identify which field of the defined object should be entered in the change document during logging.
    If the flag is not set, you can change it. The flag becomes effective after the activation
    http://help.sap.com/saphelp_nw2004s/helpdata/en/2a/fa015b493111d182b70000e829fbfe/frameset.htm
    Regards,
    Raghav

  • Activate Change Document Check box in Data Element "J_CHGKZ"

    Hi experts,
    Our developer want to activate the change document for the data element "J_CHGKZ". The access key has been applied. We have tried to activate the change document check box in SE11, but the change box is disabled even in change mode. Has anyone come across this before and does anyone have a solution to this?
    Thanks

    Hi,
    SAP does not allow to use change management for date, time fields. Thats the reason for not allowing change to BDTER field.
    Hope that answers your question.
    Thanks
    Pavan

Maybe you are looking for

  • Upgrade to Yosemite and can no longer place jpg files in Illustrator

    I have recently upgraded to Yosemite, wish to hell I hadn't, but now all my Illustrator work that has placed images that are not eps images is destroyed. When I open a file I am asked to repair or replace the images but any that are not in eps format

  • Aperture 3 and Photo-Feeds

    how can I suscribe to Photo-Feeds? In iPhoto this works easily with "cmd and U".

  • Monthly prices increases in crosstab

    Hello all, I am currently developing a DESKI report that will tell me in which month a supplier has put through a price increase and what the value of the price increase is (%), by product reference (SKU). The data provider pulls in the following fie

  • Syntax for EVALUATE function - placing condition in it

    Hello All, I have a formula in discoverer like this SUM(col1) OVER(PARTITION BY col2, col3, col4 ORDER BY col5 ASC RANGE BETWEEN col6-3 AND col6 I need to implement the same in BI, I have used this to implement the SUM part EVALUATE( 'SUM(%1) OVER (

  • Filters not working in Compressor

    Sorry if this has been posted before, but none of the filters I am applying to an MPEG-1 setting seem to be taking effect. Anyone experiencing this problem as well? I'm going in uncompressed 8-bit and, but things are coming out quite pixelated, contr