Error Messages popup in editable ALV

Hello All,
Iam working on Editable ALV  as a table maintainance for a Ztable and usng OOPs for that.
Lets say i have material and plant fields for editing in ALV.
If the user enters some junk value in the material field, its automatically getting validated and giving an error message with a popup.
my question is, is there any way we can restrict this popup messages with error and have our own messages insted ?
Appriciate your help in this.
Thanks.

check out this thread, where the poster wanted to append custom messages to the standard SAP messages... check otu the refresh_protocol method to see if you can clear out pre-existing SAP messages...
Re: editable alv: add custom validation and display "errors" in protocol li

Similar Messages

  • Error message when running editable alv

    Hi all,
    I hava a problem with an editable ALV. I created it with the following method wddoinit:
    METHOD wddoinit .
    initialize ALV Component
      DATA: l_ref_cmp_usage TYPE REF TO if_wd_component_usage.
      l_ref_cmp_usage = wd_this->wd_cpuse_alv( ).
      IF l_ref_cmp_usage->has_active_component( ) IS INITIAL.
        l_ref_cmp_usage->create_component( ).
      ENDIF.
    Get model data
      DATA: l_ref_interfacecontroller TYPE REF TO iwci_salv_wd_table .
      l_ref_interfacecontroller = wd_this->wd_cpifc_alv( ).
      DATA:
      l_value TYPE REF TO cl_salv_wd_config_table.
      l_value = l_ref_interfacecontroller->get_model( ).
    set read only mode to false (and display edit toolbar)
      DATA: lr_table_settings TYPE REF TO
      if_salv_wd_table_settings.
      lr_table_settings ?= l_value.
      lr_table_settings->set_read_only( abap_false ).
    set cell editor for input fields (~make colum editable)
      DATA: lr_column TYPE REF TO cl_salv_wd_column.
      DATA: lr_column_settings TYPE REF TO if_salv_wd_column_settings,
      lr_input_field TYPE REF TO cl_salv_wd_uie_input_field.
      lr_column_settings ?= l_value.
      lr_column = lr_column_settings->get_column( 'SAMPLE' ).
      CREATE OBJECT lr_input_field
        EXPORTING
          value_fieldname = 'SAMPLE'.
    lr_column->set_cell_editor( lr_input_field ).
    ENDMETHOD.
    But when I run the Web Dynpro Application I get an error message with the note:
    "Access over "Null" Object Reference not possible" ( I translated it from german to english )
    The error occures in the line:
    lr_column->set_cell_editor( lr_input_field ).
    But what is wrong?
    Thanks for your help!!
    Regards
    Ingmar

    Sorry. I'm stupid. I didn't the "Sample" for column and field!!!
    But:
    How can I reach that not only one cell is editable, but the whole table? And how can I save the data that I put in, when I add a new line?
    Thanks!!

  • I get error message DB745 with EDIT ALV on a field type DEC?

    Hi,
    I have an ALV which has a field type DEC.
    The ALV is open for edit.
    Once I put negative number in, I get the error message DB745.
    This error is retrieved from SAP code and I do not see any reason why.
    I checked the field cat and it looks fine (ref to a field type DEC).
    I am using lcl_grid_event_receiver with method: handle_data_changed FOR
    EVENT data_changed OF cl_gui_alv_grid.
    In that method I get the error in er_data_changed->mt_protocol.
    There is no problem to show negative data if it is saved in the database
    as negative.
    Can anyone throw ideas how to fix that?
    Thanks,
    Itay

    If you simply check the domain WERT7, you'll see that the checkbox for "Sign" is <b>not</b> checked. Therefore negative numbers are <b>not</b> allowed.
    Just because a field is decimal or currency does <b>not</b> mean that negatives are allowed.
    Many times, the sign is handled by a separate debit/credit indicator field such as a field with a domain of SHKZG.
    Rob
    Message was edited by:
            Rob Burbank

  • Add "*" infront of the label  in the error message popup window

    Dear all,
    I am new in ADF, I would like to add an "*" infront of the Salutation label in the error message popup,
    does anybody know how to do it? pls help me out in this...thanks
    PS: The Salutation is a af:selectOneChoice component with required validation,
    and if I modified the Salutation to af:inputText with required validation the "*" is shown automatically.
    http://dl.dropbox.com/u/11032207/screen%202012-12-18.jpg
    Edited by: user5638657 on Dec 18, 2012 6:04 PM

    Here is the jsf, thanks
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
    xmlns:f="http://java.sun.com/jsf/core">
    <af:panelBorderLayout id="pbl1">
    <f:facet name="start"/>
    <f:facet name="bottom">
    <af:panelGroupLayout id="pgl3">
    <af:popup id="p1">
    <af:noteWindow id="nw1">
    <af:outputText value="#{particularsBundle['TEXT.GENERAL.NOTE.SURNAME']}"
    id="ot13"/>
    </af:noteWindow>
    </af:popup>
    </af:panelGroupLayout>
    </f:facet>
    <f:facet name="end"/>
    <f:facet name="top">
    <af:group id="g1">
    <af:outputText value="#{particularsBundle['TEXT.PARTICULARS.PAGE']}"
    id="ot2" inlineStyle="color:Black; font-size:large;"/>
    <af:spacer width="10" height="10" id="s3"/>
    </af:group>
    </f:facet>
    <af:panelGroupLayout id="pgl4" layout="vertical">
    <af:outputText value="#{particularsBundle['TEXT.GENERAL.REQUIRED']}"
    id="ot5"/>
    <af:spacer width="10" height="10" id="s5"/>
    <af:panelFormLayout id="pfl1" labelAlignment="start">
    <af:panelLabelAndMessage label="#{bindings.UserId.hints.label}"
    id="plam1" inlineStyle="color:Black;">
    <af:outputText value="#{bindings.UserId.inputValue}" id="ot1"/>
    </af:panelLabelAndMessage>
    <af:selectOneChoice value="#{bindings.UserSalutation.inputValue}"
    label="#{bindings.UserSalutation.label}"
    required="true"
    shortDesc="#{bindings.UserSalutation.hints.tooltip}"
    id="soc1">
    <af:selectItem label="#{particularsBundle['SELECT.SALUTATION.MR']}"
    id="si1" value="Mr."/>
    <af:selectItem label="#{particularsBundle['SELECT.SALUTATION.MRS']}"
    id="si2" value="Mrs."/>
    <af:selectItem label="#{particularsBundle['SELECT.SALUTATION.MISS']}"
    id="si3" value="Miss"/>
    <af:selectItem label="#{particularsBundle['SELECT.SALUTATION.DR']}"
    id="si4" value="Dr."/>
    <af:selectItem label="#{particularsBundle['SELECT.SALUTATION.PROFESSOR']}"
    id="si5" value="Professor"/>
    </af:selectOneChoice>
    <af:inputText value="#{bindings.UserSurname.inputValue}"
    label="#{bindings.UserSurname.hints.label}"
    required="#{bindings.UserSurname.hints.mandatory}"
    columns="#{bindings.UserSurname.hints.displayWidth}"
    maximumLength="#{bindings.UserSurname.hints.precision}"
    shortDesc="#{bindings.UserSurname.hints.tooltip}"
    id="it6">
    <f:validator binding="#{bindings.UserSurname.validator}"/>
    </af:inputText>
    <f:facet name="footer">
    <af:spacer width="10" height="10" id="s4"/>
    </f:facet>
    </af:panelFormLayout>
    <af:spacer width="20" height="10" id="s11"/>
    <af:panelGroupLayout id="pgl0" layout="horizontal">
    <af:commandButton text="#{particularsBundle['BUTTON.CONTINUE']}"
    id="cb1"
    action="#{updateProfileBackingBean.actionContinue}">
    <af:setActionListener from="#{bindings.UserEmail.inputValue}"
    to="#{bindings.email.inputValue}"/>
    </af:commandButton>
    <af:spacer width="20" height="10" id="s2"/>
    <!--af:resetButton text="#{particularsBundle['BUTTON.RESET']}" id="rb1"
    inlineStyle="height:19.0px;"/-->
    <af:resetButton text="#{particularsBundle['BUTTON.RESET']}" id="rb1" inlineStyle="background-position:center top;
    background-repeat:repeat-x;
    margin:0;
    padding-bottom:3px;
    padding-top:1px;
    text-decoration:none;
    white-space:nowrap;"/>
    </af:panelGroupLayout>
    </af:panelGroupLayout>
    <af:spacer width="20" height="10" id="s1"/>
    </af:panelBorderLayout>
    </jsp:root>

  • I installed adobe digital editions but when I want to authorize a device (an e-reader) it doesn't work, I receive an error message that digital editions cannot connect with the activation server. what can I do?

    I installed adobe digital editions but when I want to authorize a device (an e-reader) it doesn't work, I receive an error message that digital editions cannot connect with the activation server. what can I do?

    Please quote the exact error message, word-for-word, verbatim.
    What is your operating system?
    What version of Lightroom?

  • Why do I keep getting error message from Digital Editions when trying to open it. Keeps telling me that it has encountered a problem and needs to close. I need this apparently to download a text book fro Proquest - need the text book for Uni work what giv

    Why do I keep getting an error message from Digital Editions saying that it has encountered a problem and needs to close. I need this programme to download a text book from Proquest for University work what gives????

    You are using ADE on Windows or Mac ? and their versions ??
    Please restart your machine and try once again.
    Thanks

  • Error message: Camera Raw editing is not enabled!

    Error message: Camera Raw editing is not enabled! in Bridge CS6. Images are jpeg files. Tried many suggestions from internet but still not working! Help please.

    Use the Adobe Cleaner Tool but first back up important files and read the instructions carefully.
    Try this link for the cleaner tool:
    http://helpx.adobe.com/creative-suite/kb/cs5-cleaner-tool-installation-problems.html

  • Your role no longer valid error message and cannot edit page

    Unfortunately I don't have access to the file, am asking on
    behalf of a
    friend who is skittish about his skills navigating a forum.
    His question is:
    When I open contribute, and select the website I want to
    edit..there is a
    yellow bar across the top of the screen that says "your role
    in this website
    is no longer valid. Click connect to update your connection
    with a valid
    one" so when I click connect, it goes through some screens,
    then it asks
    what folder on the ftp server the website is in? before there
    was this
    problem, I could get into the page I wanted to edit, and make
    the changes,
    then when I would hit the publish button the old page would
    show up..so I
    could make the changes but they weren't publishing..but at
    that point I was
    getting no error message???
    He's having those two problems.
    Any thoughts? I don't know diddly about Contribute. Thanks.
    Libbi

    Hi, This is because SSRS requires a Login to connect to the datasource to process the report when subscription will be occuring at its scheduled time. I would recommend you to store the credential securily into report server.
    GoTo: Report>Properties> Click on the Data Sources tab and you will see following options:
    a)A shared data source
    b)A custom data source
    Use option b) and click on option Credentials stored securely in the report server
    and provide credential information and further you can use options: Windows credentials and Impersonate the authenticated User if you require. Click on apply button.
    *You can use any option of them provided in first option(a) also using the shared data source which is having credential saved into report server.
    Once you have done with above you will be able to create subscription.
    Cheers Sunil Gure

  • Error message prevents further editing

    Of course, after working for hours on a project, I'm now getting an error message that reads: You may be able to continue without any problems. You may also wish to save, quit, and re-launch iMovie HD.
    Now, I can't make any alterations/edits, etc. to the file. I've copied it and renamed it, but to no avail. I have a copy of the file backed up on my external hard-drive, but I'd like to discover the problem.
    Thanks for your expertise.

    Hello and Welcome to the Discussions.
    Posted below are some general tips that may assist.
    First start off with a basic Uninstall of Apple software. This is listed in a particular order to reduce reboots. And you may or may not see everything in the list. If you run into issues during this phase skip to step 2
    1. Uninstall the following programs
    -Apple Mobile Device Support
    -Apple Software Update
    -Bonjour
    -iPod Updaters
    -Mobile Me
    -Quicktime
    -iTunes
    *Reboot, then download and install iTunes
    http://www.apple.com/itunes/download/
    2. Follow the steps in the document below. It will assist with full removal of Apple Software and files. This does not touch the iTunes Music Library at all.
    http://support.apple.com/kb/HT1926?viewlocale=en_US

  • WD Drive Manager Services component error message MyBook Studio Edition II 2TB on iMac

    For five months I have been using a WD MyBook Studio Edition II 2TB in RAID 1 mode on a 27" iMac i7, 2.93 GHz, running Mac OS X 10.6.7, as a Time Machine connected via FW800.  Initial installation and operation was all good.
    Recently, the blue WD logo disappeared from the menu bar. I reinstalled the WD Drive Manager version 2.25 from the installation disk. The logo reappeared, however when selecting Launch WD RAID Manager from the menu an error message appears:
    "The WD Drive Manager Services component could not be found. Make sure the Drive Services component is running first."
    I removed the WD Drive Manager with the installation disk and reinstalled and tried again. No good.
    Tried again, this time using the USB connection with the same result. No joy.
    Tried using the downloadable version (2.25) from the WD website with same results.
    Searching Google lead to no hits on anything remotely related for a solution.
    So, at this point, I cannot confirm that the drive is actually in RAID 1 mode. It shows up in the Finder as a 1TB drive with 268 GB used.
    How can I restore a working version of the WD Drive Manager?
    WD Tech Support has escalated the issue to programmer level but without a successful solution. They suggested I post here as well to see if any other Mac users may have had this problem and have found a solution.
    Thanks for any assistance or referral.

    Unfortunately you probably will not find very many if anyone using WD Drive Manager here, most of us are using a variety of backup strategies that include Time Machine, an on-line backup and a Bootable Clone made with CarbonCloner or SuperDuper.
    The no-worry backup plan | Business Center | Working Mac | Macworld
    Dennis

  • Error Message with Flex Editing (Elastic Audio)

    Hello....
    We have a song project where we are currently grafting in bass tracks to suit the existing drums. The drum sections (verse, chorus, etc) were all recorded piecemeal one section at a time in their own unique projects (btw, everything has been tracked in LP9). Once the drum sections were completed, I then "Flexed" them and then imported all of those drum tracks into a new "Master Assembly Plant" project where mixing would begin. So far so good. In this "M.A.P." project I have penciled in the required tempo changes (via the global tempo track) and I have noticed that the new Flex Editing feature gets completely confused when a Region with Flexing is placed somewhere overlapping where there is any sort of tempo change. I am assuming that when Regions are analyzed for Flex markers that Logic embeds the tempo info into the region. Many of our drum sections were tracked at 117 BPM. Some were faster, some slower, as the song required. So when I assemble these various drum regions into the "M.A.P." project, anytime one of those regions overlaps a tempo change point, all sorts of havoc begins. The workaround we have been using is to snip the region at the same point where the tempo change occurs and then exclude Flexing for the part of the region that overhangs into the new tempo. Seems to work, albeit certain Regions then give up the Flex. Not a problem but that sort of defeats the purpose of having Flex Editing, yes? Once I got the drum tracks to my liking I then bounced out a rough mix for a guide track for the bass player to begin tracking bass.
    So to make matters a bit more tricky, we have been tracking electric bass parts against that new rough mix bounce of the drums, and in order to keep things tidy, I copied the tempo changes/data into the bass tracking project. This is where the real trouble has begun. If a bass section starts at say 117BPM and then needs to gradually bump up to 125BPM, the metronome click is fine, the rough mix drum bounce is fine, and the bass is as recorded. But when we try to Flex the bass track Regions, the audio wave forms get all moved around randomly. Turn the Flexing off and all is back to normal. But for some reason Logic doesn't want to Flex in time with any tempo changes. Again, I'm guessing the tempo a recorded Region began in is somehow embedded into the Region? So a Region that starts in 117BPM but ends in 125BPM is only Flexed as if the entire Region is at 117BPM? When the tempo begins to change the Flex/Transient Markers get all screwed up and confused. Also, Logic chokes (although the audio keeps rolling along just fine) and it gives me this error message:
    *+Logic Pro:+*
    *+Unexpected request for audio data.+*
    *+See console. (Elastic Audio)+*
    (-10024)
    Anyone else run into this issue?
    I'm on a 2.4 Core2Duo MBP running Leopard (latest but not SL).

    I have also experienced this, and gotten that same error message. And yes, this was in songs with some tempo changes.
    It appears, at this point, that flex editing is NOT possible on regions recorded with tempo changes in the Logic song.
    The recorded audio always plays fine, but as soon as you analyze it for flex editing, the markers are everywhere BUT the transients, and the track plays completely out of sync.
    Its a mess... does anyone at Apple listen to, or create music that isn't 4 on the floor? Just wondering...

  • Supress error log display in editable ALV

    Hi,
    I am using an editable ALV to get input. Some of the fields in the grid are assigned a check table. So when a entry which does not exist in the check table is made for these fields ALV by default displays a error log.
    Is there any way to supress the display of this error log and collect the errors in this log to some internal table? I want to do this because apart from the standard validations done by the ALV i am performing some validations in the program and displaying a log. So i want to capture the error log of the ALV and display them in my log so that 2 error logs wont be displayed.
    Thanks in advance,
    Tongston Immanuel.

    I'm building a kind of feature, where you can go different ways in a tree, based on a condition. The values for this condition are entered in an ALV-grid, which is a table with fields of type C(30). However to have a F4 help, I fill in ref_field and ref_table in the fieldcatalog. Most of the time, this works fine, but for fields of type NUMC, even if no F4 help is available, this doesn't work since internally it wants to convert this NUMC field to my CHAR field and it fails.
    I refreshed my log table in the DATA_CHANGED event. Thanks for your suggestion!

  • Error messages pop up in ALV list (OOPS)

    Hi All,
    I want to display error messages in ALV list using OOPS. I am using methods 'ADD_PROTOCOL_ENTRY' and 'DISPLAY_PROTOCOL' of class 'CL_ALV_CHANGED_DATA_PROTOCOL'  to display messages but the problem is that n the pop up, field name is not coming.
    Actually this method returns the name of the field in which some data is changed but my requirement is to display a field name which may or may not change. Like if anything in the list is changed and we press a button on application toolbar, it should check for a specific field's value. If value is not filled, it should display error messages for all the rows in which value is not filled. Currently I am using above methods but this field name is not coming.
    Please tell me how to do this.
    Thanks and regards,
    Ridhima

    Does anyone have solution to this, I am facing same problem!!!!

  • Unknown Error message appearing when editing Nikon D810 files on Lr 4

    Hi Guys,
    Recently bought a Nikon D810 and whenever I import files and have a play around with them Lightroom will freeze and then come up with the Unknown Error message. Just wondering if anybody else has encountered this and if so, what you have done to rectify it?
    Thanks in advance,
    Pete

    Then they must be using Lightroom 5. According to the list of supported cameras, support for the D 810 was added in Lightroom 5.6. I seriously doubt that any of your friends are actually using it in Lightroom 4 Unless they are using software to change the camera model in the exif data.
    Camera Raw plug-in | Supported cameras

  • I am getting an error message popup saying unknown error while trying to login to ITunes on my ipod

    I am trying to log in to ITunes to download some updates for some existing apps and getting the error message does it too when making a purchase

    Go to iTunes>Preferences>Devices and select the iPod backjp and click on delete and try again.
    Also
    - Reboot the computer
    - Try another cable
    - Try another USB port

Maybe you are looking for