Prob. while using error message in OOPS ALV

Friends,
I have developed an OOPS ALV to display the records with cost field as editable. And the cost should not accept decimals values, if the user enter the same (12.56) and click the save button (user-defined) then need to populate the error message. I am populating the error message, then the user change the value (12) and click the save, then in the ALV screen the chanegd value 12 is automatically back to prv. one 12.56 and the same error messgae is displaying.
If i change the message type from Error to Info, then its working fine... but the client wants only error message. So anybody came across the same scenario? if yes.. pls share the solution..
Ganesh C

Hi,
In this case, after the error message issued though the value is corrected , corrected data is not transferred to progarm.
Program still works with old data. Check how you are issuing message and how you refereshing the table after user inputs.
you can check program BCALV_EDIT_03 for vlidating fileds.
I believe you can simply refer a data element which does not accepts decimal values.
Regards,
Ravi.

Similar Messages

  • Handling error messages in OOPs ALV

    The question below is foolish.But I am a beginner so please excuse.
    I have successfully displayed an OOPs ALV which displays the material, batch and plant.
    A custom toolbar button(delete batches) has been appended to the standard toolbar.
    Now when I do not select any rows from the ALV  and click the button(delete batches) I have ensured that an error message flahes at the bottom of the screen.
    If I repeat the same procedure without coming out of the program it exits from the program itself. i want to avoid this.
    I want to flash the error message continually without coming out of the program till the user commits the mistake. Please note that I have not used any leave screen commands etc.
    Can someone please help me..
    Thanks in advance

    I assume you have the ON TOOLBAR event regiistered and the ENTER event for example.
    method constructor .
    create object grid_container1
            exporting
    *           container_name = 'CCONTAINER1'.
        container_name = cfname.
        create object  grid1
           exporting
              i_parent = grid_container1.
        set handler z_object->on_user_command for grid1.
        set handler z_object->on_toolbar for grid1.
        set handler z_object->handle_data_changed for grid1.
        set handler z_object->handle_data_changed_finished for grid1.
        set handler z_object->on_dubbelklik for grid1.
        set handler z_object->on_hotspot for grid1.
        call method grid1->register_edit_event
            exporting
               i_event_id = cl_gui_alv_grid=>mc_evt_enter.
      endmethod.
    So the easy way to do this is in your ON USER COMMAND routine when you can check to see if you selected any rows and the issue a popup warnimg message with the standard SAP MESSAGE statement.
    For example in my TEST function here I call a method to get the selected cell.
    If none are selected you can then issue your message and you will then be returned back to your GRID display after the user presses the OK button on the message popup.
    the grid1 object refers to the class cl_gui_alv_grid.
    in your case call a method that gets selected cells rather than selected cell. Use the standard method in cl_gui_alv_grid.
    If nothing selected then issue your message.
    (Note that your method ON DATA CHANGE / ON DATA CHANGED FINISHED might also be entered as well  so insure that you haven't got any coding in these methods that will interfere with processing flow).
    method on_user_command .
    *        FOR EVENT before_user_command OF cl_gui_alv_grid
    *        IMPORTING
    *          e_ucomm
    *          sender
    case e_ucomm.
          when 'EXIT'.
            leave program.
          when 'EXCEL'.
           call method me->download_to_excel.
          when 'SAVE'.
          when 'PROC'.
            call method me->process.
          when 'REFR'.
            call method me->refresh.
            when 'SWITCH'.
            call method me->switch.
           when 'TEST'.
            call method me->get_cell.
           endcase.
    method get_cell .
    break-point 1.
    call method grid1->get_current_cell
    importing
    e_row     = ls_row
    e_value   = ls_value
    e_col     = ls_col
    es_row_id = ls_row_id
    es_col_id = ls_col_id
    es_row_no = ls_row_no.
    endmethod.
    cheers
    jimbo

  • Unsupported black in use error message for laserjet p2055

    Receiving "unsupported black in use" error message for laserjet p2055.  I replace the cartridge with a new one and the same message appears.  Any suggestions how to resolve this issue?

    Hi,
    Does it become active if you go to System Preferences > Accounts and Click on the current Account Pic and attempt to take a Pic ? (you do not have to Set it as the Pic)
    Go to System Preferences > Accounts
    Click on Your Account (in the list on the Left)
    The Right hand side will now show some options.
    Clicking the current Pic will give you access to Edit Pic
    One of the Options then is to take a Snapshot.
    Take a Snap Shot but you do not have to "Set" the Pic.
    This process will invoke VDCAssistant.
    Explain further about the PRAM Reset please.
    You should shut down the computer (Rather than trying to catch the Restart)
    You should then Start the Computer holding down the AppleALT+PR keys and keep holding them until you hear three Start Up0 Bongs (Chimes)
    This deletes some settings such as System Preferences Settings for the Volume (Sound) and Date and Time that may need resetting afterwards. (Others may also be effected such as Screen Saver)
    On Spotlight.
    This does not look or report on certain Folders.
    At the Hard Drive Level this is Library and Syatem
    In your Home Folder (Little House icon) it will not look in your Library.
    com.ecam.iusbcam.plist and com.apple.ichat.plist
    Are in your Home Folder/Library/Preferences
    The Others are in the /Library at Hard Drive Level
    7:15 PM Wednesday; June 3, 2009
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"

  • Facing problem while capturing error messages in ME51N

    Hi Experts,
    In ME51N transaction, we have included custom fields and tried to capture Error messages by building ex_message.
    Below is the code that we used:
             loop at tb_error into wa_error.
                wa_message-type   = WA_ERROR-TYPE.
                wa_message-id     = c_zpr.
                wa_message-number = '007'.
                 wa_message-message    = wa_error-message.
              wa_message-message_v1 = WA_ERROR-MESSAGE.
                wa_message-message_v2 = wa_eban1-bnfpo.
                APPEND WA_MESSAGE TO EX_MESSAGES.
                CLEAR WA_ERROR.
              endloop.
    In my message class we have not hardcoded the messages because we need to capture dynamic messages(In message class it is 007: & & ). For that we have passed message text in wa_message-message.
    But when Check button is selected, we are not the desired error message.
    But if we pass the same message in Message_v1, we are getting the error message but it is getting truncated as the size is small when compared to Message field.
    Waiting for your response.
    Thanks & Regards,
    Amarnath

    Looks like configuration prob.
    Have you tried jms examples of weblogic ? you may need to re-configure your server setup, to create example server.

  • Windows Server 2012 Used: Error Message from Windows 7 PC: Remote session was disconnected because there are no remote desktop license servers available to provide a license. Please contact the server administrator.

    We are using Windows Server 2012 Standard installed in VMWare / Virtual machine and to access this we use vSphere client and Remote Desktop Connection / service was already enabled and was working fine with User PCs / laptops remote desktop into the server
    2012, until it gave an error message of: Remote session was disconnected because there are no remote desktop license servers available to provide a license.  Please contact the server administrator. whilst logging into the server. 
    We DON'T use Active Directory nor and we don't use domain and not looking to use it any-time soon. 
    I checked the RD Licensing Diagnoser and it says the grace period has expired and the licensing mode for the remote desktop session host server is not configured.  I have checked the Remote Desktop Gateway has been stopped and I tried to start it and it
    resumed to stop, here I assume its where the licensing part comes in to re-enabled this. 
    I have been trying to follow these articles online: http://ryanmangansitblog.com/2013/03/27/deploying-remote-desktop-gateway-rds-2012/ and http://www.concurrency.com/blog/rds8-add-a-licensing-server-2/#Install  the overview part that I cannot get into,
    because I think we have to be is AD DS for this which we don't.  Is there a way around this for non domain / just standalone set-up?  Is it a must / requirement we need to be in a domain in order for Remote Desktop Connection to work? 
    Also, we have a Windows Server 2012 RDS CALs - 10 (software and licence key), will the licence key work for the Windows 2012 Server Standard?  We do not want to install the other Server mentioned which comes with CAL / licence key as its time consuming
    to reinstall other programs.  I have installed  Server role service of Remote Desktop Licencing and automatically installed other associated services needed.  in the RD Licencing Manager, the Server had a red cross and I "Activate Server"
    where I followed: http://www.concurrency.com/blog/rds8-add-a-licensing-server-2/#Install in Install Licences section and I have used the licence key of CAL - 10 mentioned above; it stated I have successfully completed the install licences wizard and displayed:
    10 Windows Server 2012 - RDS Per User CAL installed, and in the RD Licensing Manager the server turned into a green tick and added the licence.  
    I then tested the Remote desktop connection from my PC and the same error message was there and checked the RD Licensing Diagnoser and the same error messages was there.  I haven't restart the services of Remote Gateway / the server itself; do I really
    need to reboot server?  
    Any advice / guidance would be very much appreciated and this is a urgent matter.  
    Thank you for your time.

    Hotfix Released here:
    http://support.microsoft.com/kb/2916846

  • "ipod cannot be updated...required file in use" error message HELP!

    So I just updated my itunes with the new 7.0 and everything works great, except-- every 10 mins or so, I get this error message "The ipod "xxx's ipod" cannot be updated. The required file is in use."
    Nothing happens, I just have to click "ok", but its really annoying. And it pops up again in a few minutes.
    I seem to remember this happening before on another update but I don't remember what I did.
    Anyone else experiencing this or know what to do?
    Thanks!!

    I am having the exact same problem -- Itunes version 7 update seems to have created this issue. I get this error message about every five minutes if my Ipod is plugged into my computer, "Ipod cannot be updated. Required file is in use." Super annoying. I noticed a solution posted on this forum but it doesn't seem to work for Macs. Does anyone have any suggestions?
    G5   Mac OS X (10.3.9)  

  • "Port In Use" error message when trying to sync Palm m500 to Windows Vista machine

    An error message on my Palm displays "Error: Serial Port in Use (Serial 0307)" when I try to sync my Palm m500 to my Windows Vista (32 bit) Home Basic machine. It worked until about 3 months ago and I don't have a restore point that far back to try System Restore. I've upgraded to Palm Desktop 6.2.2 (was using 4.xx) and downloaded the PalmHotSyncSetup from Pimlico Software but nothing helps. Any ideas are appreciated.
    Post relates to: Palm m500

    I would try connecting the Palm's cradle, with the Palm in it, to your PC and then, in Device Manager, right-clicking on Palm Handheld #2 and selecting Uninstall Driver.  Palm Handheld/Palm Handheld #1 could be visible if you connect the Palm to USB port you may have tried using perviously.
    After uninstalling Palm Desktop, reboot the PC, make sure Palm Desktop 6.2.2 is installed (since you are using Vista) and then try reconnecting the Palm.
    One last thing: Make sure that you are using a 32-bit version of Windows.  There is no 64-bit USB driver support from Palm or ACCESS.  If you do have a 64-bit version of Windows Vista installed, that would clearly explain why you are having so much trouble getting your m500-series PDA to sync. This thread tells you how to check for a 32 or 64-bit install of Windows.
    Alan G

  • Using Error Message in BPM Error Handling Branch

    Hello,
    I closed the old BPM thread not to mix up different questions.
    As I found out now a synchronous Send Step with Eror handling branch is working fine to directly handle errors.
    As in the send step there could be several errors possible, e.g. XML validation fails, error in communication channel etc.
    Is it possible to have access to the error message that can be seen in monitoring and use this as input parameter for message mapping for example?
    Would be helpful because otherwise I just would be able to send back a generic error message to the sender.

    Hii Florian,
    Adapter module can only provide information about the failures in Adapters.
    But other failures like XML Validations, can be informed depending on the mode of Validation.
    As per help.sap.com
    You can perform the structure check at the following points in PI message processing:
    ●      Validation in the sender adapter
    If the sender adapter has created the PI message, you can then perform the validation of the PI payload. If the structure of the payload differs from the definition of the data type provided for comparison, message processing is stopped. The adapter sends a synchronous response to the sender of the message, informing it about the structure error. The industry-specific adapters inform the sender asynchronously, as required by the RNIF protocol and the CIDX protocol.
    ●      Validation in the Integration Engine
    In inbound and outbound processing, *validation of the PI message payload takes place as a pipeline step *of the Integration Engine. If the structure of the message payload does not match the saved definition of the data type, an error description is generated. The error description contains status information and a list of all structure errors. Message processing is stopped. The message is set to error status and an error report is saved.
    If validation takes place in the Integration Engine, the sender of the message is not automatically informed of the structure error. The message is set to error status and an administrator can process the message further using the Runtime Workbench.
    So if you use XML Validation in Sender Adapter you can get back the Exception ( i think you need to do some java mapping here). Else if you are using Integration Engine, then alerts are there for them.
    Anyway this discussion has opened a lot of To Be Explored area for me. I will keep looking for them.
    Regards
    Suraj

  • The backup disk image "/Volumes/Data/Neil-MacBook Pro (171).sparsebundle" is already in use. error message. How do I fix? Ideas

    "The backup disk image “/Volumes/Data/Neil-MacBook Pro (171).sparsebundle” is already in use"
    OS X 10.8.1 (12B19)
    " error message just started
    Mountain Lion
    OS X 10.8.1 (12B19)
    MacBookPro 2.53 Corei5
    All software update installed
    Time Capsule : 1TB, 599 of 998GB used
    What causes it?
    How do you fix it?
    How do you stop it happening again?
    Any ideas please

    Thanks for fast response.
    I already tried C12, no luck. I did read C17, but that did not help either.
    I agree that Apple should really spend a bit more time on ensuring this common problem is resolved more quickly
    But where to do you sent this request to?  Doesn't seem easy to find a person to send it to.
    I dumped by corporate wIn-pc environment that I was forced to use for the past ...forever.  Have been delighted with the Mac experience..... for 24 months..but these type of un-resolved matters with terse error messages reminds me of the bad old days.
    I had the problem 2 weeks ago and solved it by "clicking about" after reading the forum  Can't remember what i did though. V. V. V. frustrating when the Mac is a business tool.  I don't want to be a mechanic, I want to be a driver.
    Thanks again for your help

  • Using Error Message Box in Flash

    Hi,
    Can i use errror message pop up in flash.Could some one give
    an idea how can i do that error reporting?

    Hii Florian,
    Adapter module can only provide information about the failures in Adapters.
    But other failures like XML Validations, can be informed depending on the mode of Validation.
    As per help.sap.com
    You can perform the structure check at the following points in PI message processing:
    ●      Validation in the sender adapter
    If the sender adapter has created the PI message, you can then perform the validation of the PI payload. If the structure of the payload differs from the definition of the data type provided for comparison, message processing is stopped. The adapter sends a synchronous response to the sender of the message, informing it about the structure error. The industry-specific adapters inform the sender asynchronously, as required by the RNIF protocol and the CIDX protocol.
    ●      Validation in the Integration Engine
    In inbound and outbound processing, *validation of the PI message payload takes place as a pipeline step *of the Integration Engine. If the structure of the message payload does not match the saved definition of the data type, an error description is generated. The error description contains status information and a list of all structure errors. Message processing is stopped. The message is set to error status and an error report is saved.
    If validation takes place in the Integration Engine, the sender of the message is not automatically informed of the structure error. The message is set to error status and an administrator can process the message further using the Runtime Workbench.
    So if you use XML Validation in Sender Adapter you can get back the Exception ( i think you need to do some java mapping here). Else if you are using Integration Engine, then alerts are there for them.
    Anyway this discussion has opened a lot of To Be Explored area for me. I will keep looking for them.
    Regards
    Suraj

  • HT3275 Why would Backup suddenly stop and give me sparse bundle already in use error message?

    The error message I keep getting is:  The backup disk image “/Volumes/Data/Brenda Glim’s MacBook Pro.sparsebundle” is already in use.  Help!

    Because you are running ML and that is one of its bugs.
    Even Lion can do it.
    Wireless makes it worse.
    Reboot the TC.. or reboot the network and it should go away.

  • "The backup disk image 'Volumes...sparsebundle' is already in use" error message

    Since upgrading to Lion, I seem to be able to back up my MacBook over Wi-fi to an external hard drive attached to my Airport Extreme just fine.  However, if Time Machine is in the middle of a backup and I interrupt it by closing my MacBook hence putting it to sleep, next time my MacBook attempts a backup I get the message "This backup disk image "/Volumes....Macbook.sparsebundle" is already in use.  I've tried disconnecting all users from the hard drive in the Airport Utility, and then unplugging the hard drive and plugging it back in, and then it seems to backup fine, until I interrupt another backup, then the problem starts all over again.
    I never had this problem before upgrading to Lion.  Suggestions?

    NateCook, I'm experiencing the exact same issue.  I'd previously been enjoying how seamless Time Machine worked, wirelessly and automatically, to backup my MacBook Pro to a 2 TB drive attached to my Airport Extreme.  I also liked that I had the flexibility to plug that drive directly to my Mac, via FW800 or USB 2.0, if I needed to.  It would always work too, regardless of whether or not I interrupted a backup in progress.  Now, with Lion, I'm constantly getting the same  "This backup disk image "/Volumes....Macintosh.sparsebundle is already in use" error.  I fix it by restarting the Airport Extreme but that's a pain in the butt to have to do all the time.
    Can you verify whether or not the recent OS X 1.0.7.1 update helps fix this in any way?  Or is the situation the same for you?
    I'm loathe to "give in" and buy a Time Capsule to replace this setup, but I will if I have to... I want everything to work like it did before and I'm not willing to downgrade fom Lion back to Snow Leopard over this.  I was hoping Apple would fix it properly, but since this isn't a "supported configuration" (even though we know full well it works just fine) I was afraid Apple wouldn't focus on this as a priority.
    I'm also a bit fearful that the same issue will occur with a Time Capsule.. hmm... my hunch is I'll be finding out soon enough.

  • We randomly get the "specified Group is in use" error message when using the DIO Buffered Handshake In VI. How do we get rid of this?

    We're using the DIO Buffered handshake in VI (PCI 6503 Board) to read TTL pulses from a wavemeter. Sometimes we are able to collect data, but sometimes we get this error message: "specified Group is in use". No matter how long we wait between taking data, we sometimes (yet not always) get this message. We have one group of 2 ports that we're reading. Is there a way we can get rid of this problem?

    Hi,
    Are you running any example program or your own?
    1. This problem happens when you abnormally terminate the program, such as, by clicking on the abort button.
    Say first time you run the programd and it runs fine and then abort the program. In that case, the DIO group is not cleared and hence the subsequent runs give the error that you said.
    In such case I would suggest you to open the Device Reset.vi which is under Functions Pallete>>Data Acquisition>>Calibration and Configuration>>Device Reset.vi.
    On the front panel of the Device Reset.vi, enter the device number of your card and run the Device Reset.vi. If you get an error on the front panel, then run again so the error goes away. Now run you DIO program and it should run fine.
    The botto
    mline is, dont abort the program. If it has no functionality incorporated to stop it depending on some condition, then incorporate it.
    Please do let me know if my suggestion helped.
    Sincerely,
    Sastry V.
    Applications Engineer
    National Instruments

  • How do I fix sparsbundle already in use error message

    I continue to get the following error message since updating to Mountain Lion:  "The backup disk image “/Volumes/Paul's Time Machine/XXX’s MacBook Pro.sparsebundle” is already in use." 

    Welcome to Apple Communities
    http://blog.mc-thias.org/?title=time-machine-not-completing-backup-due-to-backup -disk-already-in-use&more=1&c=1&tb=1&pb=1

  • Printer in use error message

    I set up my printer and it was working fine but now everytime I use it (once every few days) it has a problem which won't let me print. Comes up with a 'printer in use' message when nothing is being printed or says that my laptop can't connect to the printer due to network reasons yet the connection status when I looked it up said conneceted and ready for use as well as the wifi light being on on my printer. It is a Hp Deskjet 2540 all-in-one. It is very annoying because i can never just print somehting quickly but have to spend hours of my time fixing it whenever I need to print. I dont know how to make sure it stays connected between uses. 

    Hi, Pbennett4!
    So that the Community can help you better, we will need to know exactly what error message you're seeing, the Computer Operating System you're using (Windows XP/Vista/7/8 or Mac 10.x), as well as the way you connect to your device (USB or networked via WiFi or Ethernet).
    Any other details you'd like to give will only help the Community better understand your issue!
    If this is a time-sensitive matter, our US-based technical support team is standing by, ready to help 24/7 via Email at http://bit.ly/EmailCanon or by phone at 1-800-OK-CANON (1-800-652-2666) weekdays between 10 AM and 10 PM ET (7 AM to 7 PM PT).
    Thanks and have a great day!

Maybe you are looking for