Unable to edit validated field in table maintance

Hi all,
my requirement is to show an warning message on non key field if validation is not correct and edit on the same screen.
solution: I have created an event new-entry in table maintance and tried to validate that field field (email)
form new_entry.
   if table-email na '@'.
   message w001(incorrect email id)
  endif.
enfdform.
- In this way it show the warning correctly but i am not able to edit that email field on the same screen.
do i need to validate in chain endchain. If yes how ??
Can anyone suggest the solution with demo code .
Thanks,
Aisha

Simple set sy-subrc some value after message statement and change message type as 'S' like below.
FORM new_entry.
  IF table-email NA '@'.
    MESSAGE s001(incorrect email id).  " Message type 'S' to stay in same screen
        sy-subrc = 1.  " Set some value other than zero to abort saving
  ENDIF.
ENDFORM.                    "new_entry

Similar Messages

  • Unable to edit the fields in PDF interactive form

    Hi,
    We are in the process of developing an interactive form integrating Web Dynpro ABAP with Adobe forms.
    As of now we are able to send the data to Adobe form from Web Dynpro.
    But we are facing the following problem.
    i) Unable to edit the form data for entering/changing the contents of the fields in PDF document,  which is presented to user with a Web Dynpro application URL.
    We have already unset the 'ReadOnly' property of the interactive UI element.
    We are currently working on ZCI installation with SAP SP08, GUI patch level 20, Adobe Reader version 8.0
    Please advise...
    Thanks,
    Satya.

    Hi,
    Check your ADS settings, I feel it's due to lack of some config in ADS only.
    Regards
    <i><b>Raja Sekhar</b></i>

  • Unable to edit birthday field in Address book

    I am unable to edit a card in address book properly. If I try to enter a birthday in the birthday field by either May 2, 1972 or 05/02/1975 no input of any kind sticks. 
    Can anyone tell me why and how to fix this problem?

    There is something really weird going on. 
    If I start a blank test card and I type (all end in return):
    December 1 1973, the field goes blank
    If I type December 1 (return), the field changes to 1 December.  Then, if I put my cursor in, I can go back and add 1973, but not with the orignal December 1.
    I CAN write 1 December 1973, but not December 1 1973.
    This is bizarre.  It worked just fine before Lion. 
    In Canada (which is my chosen country and language on my keyboard when I set up my user) we say Month/Day/Year.  In Quebec I believe they would write 1 December 1973, but in Ontario we would write December 1, 1973.
    This is no longer intuitive and a huge time waster!

  • Unable to edit certain fields in order type RE comparing with OR

    Dear friend,
    When I am creating return order with order type 'RE', I find out there are certain fields that are not editable. However, this issue doesnt happen with standard order(order type 'OR'). please refer to the following snapshot:
    where you can see fields such as 'intercom', 'payment term' is eidtiable in order type or, but not in RE. Anybody could tell me why? and what configuration control this screen layout? how to edit this? thanks!
    Best Regards
    T.P

    Hi Peng,
    do you face this only for you ID/few users or for every user these 2 fields are not editable ? you have to check this by asking your colleagues/users .
    If it is problem with few users then they have done some authorization check here only for few users.
    if it is for all, then as mentioned by Venugopal, some enhancement is done for this to make non editable these fields.
    What to you want, do you want to make it editable fields or do you just want to know why it has done ?
    Regards
    Sundar

  • Unable to Edit month field in iCal

    Hello all,
    I'm having a very strange problem with iCal. I can not edit the month field of any event. The field always shows "01" (no mater the month) and when I try to move the cursor to edit it, it jumps over the month field to the year. This happens for all kind of event in all calendars. I have been to an apple store and show their support team the issue but they seems to have never seen anything like that before and asked me to reinstall the OS, which I did but no chance... still the same issue. Has anyone encounter such problem before? Any idea how to handle this? It is very annoying. I'm an over 20 year Microsoft user and shifted few weeks ago to Mac ... very cool but these small things are killing me :-(! Please Help!
    Thank you in advance!
    - a.

    Ok cool, I have changed the time displayed to Military 24H in Time and Date setting ... while keeping my International region to Canada ... and iCAl still seems to be working well! Great!
    Again thank you very much! I have recently transitioned from WIN to MAC and this was making me crazy!
    - a.

  • Unable to edit "calendar" field of events with invitees

    I am having a couple problems with the "calendar" drop-down field on calendar events.
    This is on a 4S, iOS5, syncing calendars with iCloud.
    If I create an event with an "invitee" (or add an invitee to an existing event), I can no longer change the "calendar" field of that event.  In fact, the "calendar" drop-down doesn't even appear on the iPhone calendar app's "Edit" dialog for events that have an invitee.  I can still change it via the web interface at www.icloud.com, and the change is even pushed to the iPhone.  But on the iPhone itself, I cannot find a way to change the "calendar" field on an event that contains one or more "invitees".
    Second, if I receive an "invitation" from someone else, I cannot find a way specify which of my calendars I want the event on when accepting it.  I would expect it to go to the calendar I have defined as "default" in Settings, but it seems instead to go to the last calendar I created.  And after accepting it, I cannot change it because the "Edit" dialog doesn't display the "calendar" field, as mentioned above.  Again, I can change it via the web interface at www.icloud.com, but cannot find a way to change it directly on the iPhone.
    Am I missing some way to edit/change the "calendar" field of an event with invitees?  Or to select which calendar I want events to be on when I "accept" invitations from others?

    I have the same problem.  I recently updated to iOS5 and set up syncing through iCloud. 
    I was able to add one event into my iphone calendar app, but for the next event that I tried to add, there was no longer the option to choose a calendar and when I tried to add it by tapping "Done," an error message came up: "No calendar is set". and there was no way to select a calendar.
    I was able to add the event on my Google Calendar on my laptop (PC), and it synced automatically, but I wasn't able to add any events from the iphone itself because "no calendar is set". 
    I tried turning off and on the phone and syncing back to my laptop, but the problem persisted.
    I deleted the iCloud account on my iphone, and that seemed to fix the problem; I'm able to add events again from the iphone and it's syncing to my Google Calendar.
    I then signed on to iCloud and setup syncing again, but turned off syncing everything except photostream, documents&data, and find my iphone since everything else would sync to outlook or internet explorer, neither of which I use.
    That might have been the problem.  For PC, iCloud will only sync to Outlook and Internet Explorer, and I don't have Outlook setup (can't connect to my work's email server with my account and the IT guys don't know how to fix it or they're too lazy to troubleshoot) and I only use Firefox and Chrome.  Since iCloud isn't syncing to any calendars on Outlook, there aren't any calendars set...
    I just did this a minute ago and everything seems to be back to normal, including the ability to choose a calendar when adding events.
    I'll have to see if it the problem comes back

  • Unable to edit "Note:" field in Address Book

    I have updated to Mac OS X 10.6.4 one week ago (from 10.5.).
    Now for the first, I am trying to edit the "Note:" field of one of my contacts, but I am neither able to add text, nor can I delete text.
    I have 47 lines of text in that Note field and wanted to add a few words, but after typing it, it keeps disappearing after a few seconds. If I delete a few lines of text, they keep reappearing after a few seconds.
    Editing the Note field (which has less lines of text) in another contact first exhibited the same behavior, but now works flawlessly.
    Having the "Edit" button depressed or not, does not make a difference.
    Address Book Help says that this happens when there is not enough disk space, but I have over 41GB left.

    Hello Marcus and others,
    I have experienced the same issues with my Address Book (version 5.0). First things first, let me suggest you complete a back up of your address book:
    1. Go to the File drop down menu
    2. Click on Export
    3. Select *Address Book Archive* from the 2 choices
    4. Choose where you would like to store this back up. Let's just say the Desktop for now.
    5. Disclaimer, any unsaved data will be lost during this reset, so please back up all files you will need.
    6. After you have successfully archived your Address Book, turn off your computer.
    7. Now here's the important part, hold down the power button for at least 6 seconds or until you hear a loud sound or tone. This should reset your settings back to default.
    This is how I just fixed the problem with editing the Notes of my contacts in my Address Book 5.0
    Good luck and I hope this helps someone.
    Nupeologist

  • Unable to edit the cells of tables after dinamically adding the rows

    below is the code that dynamically add the rows to a table.But when i try to edit the table otherthan boolean cell are throwing ClassCastException.
    please correct the code
    //code is this
    public RowTable()
    colname.addElement("Name");
    colname.addElement("Education");
    colname.addElement("Age");
    colname.addElement("Pass");
    Vector v1=new Vector();
    v1.addElement("Nagaraju");
    v1.addElement("MS");
    v1.addElement(new Integer(24));
    v1.addElement(new Boolean(true));
    Vector v2=new Vector();
    v2.addElement("Mahesh");
    v2.addElement("MS");
    v2.addElement(new Integer(24));
    v2.addElement(new Boolean(true));
    data.addElement(v1);
    data.addElement(v2);
    tm=new TabModel();
    JTable table=new JTable(tm);
    table.setPreferredScrollableViewportSize(new Dimension(500,70));
    JScrollPane jpane=new JScrollPane(table);
    jb.addActionListener(this);
    getContentPane().add(jpane,BorderLayout.CENTER);
    getContentPane().add(jb,BorderLayout.WEST);
    class TabModel extends AbstractTableModel
    public void addrow()
    Vector v1=new Vector();
    v1.add("Hari");
    v1.add("BHMS");
    v1.add(new Integer(24));
    v1.add(new Boolean(true));
    data.addElement(v1);
    fireTableDataChanged();
    public int getColumnCount()throws ClassCastException
    return ((Vector)data.elementAt(0)).size();
    public int getRowCount() {
    return data.size();
    public Object getValueAt(int row,int col)
    return ((Vector)data.elementAt(row)).elementAt(col);
    public Class getColumnClass(int c)
    return getValueAt(0,c).getClass();
    public boolean isCellEditable(int row,int col)
    //Class columnClass=getColumnClass(col);
    // return columnClass!=String.class && columnClass!=Integer.class;
    return true;
    public void setValueAt(Object value, int row, int col)
    ((Vector)data.elementAt(row)).add(col,value);
    fireTableCellUpdated(row,col);
    public void actionPerformed(ActionEvent ae)
    tm.addrow();

    The problem here is that you are using the same column for multiple different kinds of Objects. JTable expects that all Objects in a column are of the same Class the since the default CellRenderer is based on JLabel the default column class is String (I believe).
    One way to fix this problem is to convert the Object to a string before displaying them. This would be done in your getValueAt() method...
    return ((Vector)data.elementAt(row)).elementAt(col).toString();
    I believe that you can also designate the column class (in getColumnClass() of your TableModel) as Object and build a custom cell editor to translate for you but in the end this would probably be the same as the solution above only with more work and obfuscation.

  • Unable to edit Document in WEB UI, when the status is Closed.

    Hi,
    I am working on Service Request Transaction in WEB UI. When the status of the document is set to closed, I am unable to edit the fields. Could you please help me why the system is behaving in this way? Any configuration is involved in this?
    Thanks,
    Sandeep

    Some standard system statuses are preconfigured to disalowe certain activities when the system status s set. You can try setting in your status profile for that status the business transaction "Change document" to "Allowed".
    Regards.

  • Editing a field in ALV and validating the newly entered Value

    Hi Experts,
       I have an ALV report in grid display (not object oriented). My requirement is to edit a field on the output and write the validations to validate the value that was edited on the ALV output.
    This can be done using object oriented coding by using the method check_changed_data. For this to happen, i need to change the entire scope of my report into object oriented, which is like reinventing the wheel.
    Since my report was developed using classical ABAP, what needs to be done to get this functionality. Any suggestions are welcome.
    Thanks.

    in the FM 'REUSE_ALV_GRID_DISPLAY'  import parameter IS_LAYOUT check out the columsn EDIT and EDIT_COLUMN. Also Use FM 'REUSE_ALV_EVENTS_GET' to get list possible event and pass a subroutine name which will be called when ever event is fired.
    example:
      CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
        EXPORTING
          i_list_type = 0
        IMPORTING
          et_events   = l_events.
      READ TABLE l_events WITH KEY name = slis_ev_top_of_page
                                   INTO g_event.
      IF sy-subrc = 0.
        MOVE top_of_page TO g_event-form.
        APPEND g_event TO t_events.
      ENDIF.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          i_buffer_active    = 'X'
          i_callback_program = t_repid
          is_layout          = t_layout
          it_fieldcat        = t_fieldcat[]
          i_save             = t_save
          it_events          = t_events[]
        TABLES
          t_outtab           = g_editpos1[].

  • How to Add/Edit validation rule for Column in ADf table(Jdeveloper11g)

    I am working on Jdevloper11g with ADF table. There i have one column where user can enter numeric value in range 1-1000 .So i have to add validation as such he/she can't enter value apart from 1-1000 range also not any other charcters.
    I know on form, if i select attribute from binding and right click i will find one option "Edit Vlaidation rule..." and from there i can change validation rule for perticular field.
    But how i can achive same on Column's filed??
    Thanks for all help.
    Jaydeep

    Hi Barnislav,
    I tried the way you mentioned but i am getting below exception.
    Could not complete Edit validation Rule... Because it would result in an invalid document
    oracle.bali.xml.model.XmlInvalidOnCommitException: SEVERE: Element RangeValidationBean not expected [ node = RangeValidationBean ]
    <tree IterBinding="searchConfigurationDataIterator" id="searchConfigurationData" ApplyValidation="true">
    <nodeDefinition DefName="com.oraclecnm.util.search.SearchAttributeBean">
    <AttrNames>
    <Item Value="searchAttributeName" />
    <Item Value="searchAttributeId" />
    <Item Value="weightage" />
    <Item Value="isAttributeSearchable" />
    </AttrNames>
    </nodeDefinition>
    <RangeValidationBean OnAttribute="weightage" ResId="pages.SearchConfigurationPageDef.searchConfigurationData_Rule_1" Inverse="false" Severity="Error" Name="searchConfigurationData_Rule_0" OperandType="LITERAL" MinValue="1" MaxValue="1000" />
    </tree>
         at oracle.bali.xml.model.XmlModel._validateSubtree(XmlModel.java:3669)
         at oracle.bali.xml.model.XmlModel._validateDocument(XmlModel.java:3577)
         at oracle.bali.xml.model.XmlModel.__precommitTransaction(XmlModel.java:2825)
         at oracle.bali.xml.model.XmlContext.precommitTransaction(XmlContext.java:1166)
         at oracle.bali.xml.model.XmlContext.__precommitTransaction(XmlContext.java:1653)
         at oracle.bali.xml.model.XmlContext.__commitTransaction(XmlContext.java:1684)
         at oracle.bali.xml.model.XmlModel.__requestCommitTransaction(XmlModel.java:2898)
         at oracle.bali.xml.model.XmlModel.commitTransaction(XmlModel.java:586)
         at oracle.bali.xml.model.XmlModel.commitTransaction(XmlModel.java:556)
         at oracle.bali.xml.model.task.StandardTransactionTask.__commitWrapperTransaction(StandardTransactionTask.java:469)
         at oracle.bali.xml.model.task.StandardTransactionTask.runThrowingXCE(StandardTransactionTask.java:208)
         at oracle.bali.xml.model.task.StandardTransactionTask.run(StandardTransactionTask.java:103)
         at oracle.adfdtinternal.model.ide.validation.RuleEditAction.actionPerformed(RuleEditAction.java:35)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
         at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
         at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1220)
         at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1261)
         at java.awt.Component.processMouseEvent(Component.java:6041)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
         at java.awt.Component.processEvent(Component.java:5806)
         at java.awt.Container.processEvent(Container.java:2058)
         at java.awt.Component.dispatchEventImpl(Component.java:4413)
         at java.awt.Container.dispatchEventImpl(Container.java:2116)
         at java.awt.Component.dispatchEvent(Component.java:4243)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
         at java.awt.Container.dispatchEventImpl(Container.java:2102)
         at java.awt.Window.dispatchEventImpl(Window.java:2440)
         at java.awt.Component.dispatchEvent(Component.java:4243)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)

  • Unable to edit the data in z-table

    Hi All,
    I can create new entries in a z-table.
    But i am unable to edit the existing rows of a z-table in the Production server.
    The same can be done in DEV and test servers.
    How to come out of this issue?
    Kindly Help me....
    Regards
    Pavan

    Hi,
    For this you have to maintain table maintenance generator....
    go to se11....your table name
    utilities--->table maintenance generator...
    build a table maintenance generator..and transport the table...
    then only you will be able to edit data in production server...
    Regards
    Debarshi

  • How to Edit Key Fields or Delete Lines from Table Entries

    Hi Experts
    While releasing Transport Request Number we are getting an error during release. This seems to be as a result of improper data feed while running of eCATT's . The dates in the all these fields have been entered as "  .   .0101" which is in the wrong format ( eg. Table T811F u2013u201CSDATEu201D field). "SDATE" seems to the key field of the table . Can you please guide on how we may delete these lines or edit the field in the table.
    Regards
    Ananda

    Hello,
    I dont think its a good idea to delete the records from those standard tables. You rather re-run your ecatt and edit/update the existing records and try.
    regds,
    Kiran

  • Unable to create table maintance generator

    Hi all,
    I created  z table and trying to generate table maintance but it is giving below error.
    The maintenance object description has no transportable package
    Message no. SV415
    Diagnosis
    You want to generate the maintenance modules for object ZFI10. The correction system is not active for the package $TMP, to which the corresponding maintenance object description is assigned. The function group assigned for the generation has a package which can be corrected.
    System response
    The generation is not performed.
    Procedure
    Either assign the maintenance object description for object ZFI10 to a correctable package, or assign the table for the generation of the maintenance module to a function group with non-correctable packages.
    please suggest me how to assign correctable package.
    Regards,
    Ramprasad

    go to se11 utilities
    ->table Maintaince Genrater
    give your function Group name or make new Function group
    give maintaince screen one or two 
    after that click on create
    the check it on table contents and create Entries .
    or u can check in se80
    gice your function group  name and check the screen or u can change heding of the field title from here

  • Table Maintance for fields having length 3000

    Hi,
    How to create Table Maintance generator for Table fields having length 3000, expecting quick reply
    Thanks in advance,
    Srinivas M

    Hi
    In that Tcode
         Slection date:  It is only on e field.(BUDAT).
    This field declared using select options satement internally.
    U should give range of dates.
    If it is helpful rewards points.
    Regards
    Pratap.M

Maybe you are looking for

  • Creation of index

    How many types of indexes are there? On what criteria index type is selected for a given table. Thanks in advance...

  • Disk Repairs Please Help!

    I know there are many posts about this problem, but none of them have seemed to help me out.  My Imac runs fast and fine, but when i pull up safari pages take unusually long to load and sometimes dont completely load without saying something like "23

  • Install to factory settings?

    So I want to instal my macbook back to factory settings. However, when I put in the instal disk there is no harddrive present. All that shows up under disk utility is max os x instal disk 1 and some 5.1GB thing. I did the whole take out battery thing

  • Lost Publishing Services Plugins: Faceboog, Smug, etc

    how can i restore the plugins

  • Addon domain image links broken

    I use addon domains inside my main site to maintain small side sites and to preview client sites before handing off. My host recently upgraded the servers. The addon domain sites affected were last synched w/Dreamweaver CS4 v10+. The addon domains -