Message on the check validity of input with "SPRY "

bonjour,
Comme mon englais n'est pas bon, je vais faire vite.
j'utilise "SPRY" pour controler la saise d'un input.
j'ai bien le message quand la saisie est fausse.
comment faire si je veux aussi un message quand la saisie est
bonne ?
Merci
Merci google traduction ;)

Hi Nadin,
Once you enter YEAR Range in the selection screen, for Ex:., 2000 to 2004,
you can put a select query as below.
SELECT Single * from DBTAB into w_dbtab where dbtab-start GT s_gjahr-low
                                                                 and dbtab-end   LT s_gjahr-high.
If sy-subrc eq 0.
" you can proceed.
else.
  " Throw an error message.
endif.
If the query returns atleast one value, this means that atleast one date exists and you can display the projects/ contracts for that particular period.
<b>Reward points for helpful answers.</b>
Best Regards,
Ram.

Similar Messages

  • How to keep the field open for input with error message in report program

    Hi,
      Need a help in solving the below issue.
    "How to keep the field open for input with error message in report program"
    Regards,
    C.Shasiraj.

    Hi...
    you have to use the event:
    <b>AT SELECTION-SCREEN ON <FIELD> EVENT.</b>
    u have to give an error message in this event.
    Consider the following <b>Example:</b>
    <b>PARAMETERS : NUMBER TYPE I.
    AT SELECTION-SCREEN ON NUMBER.
      IF NUMBER = 10.
        MESSAGE 'Number vakue is 10' TYPE 'E'.
      ENDIF.
    START-OF-SELECTION.
      WRITE NUMBER.
    </b>
    in this if u give the value of number = 10, it will not proceed further, if u give some other value other than 10 you will proceed further...
    Execute this program once u will understand....
    also Consider the following links :
    <b>Regarding events:</b>
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/79/34a237d9b511d1950e0000e8353423/frameset.htm
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/79/34a23ad9b511d1950e0000e8353423/frameset.htm
    <b>Regarding messages:</b>
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/c5/aa575426ad11d2954d0000e8353423/frameset.htm
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/c5/aa575426ad11d2954d0000e8353423/frameset.htm
    This is very useful.......
    Reward points if useful....
    Suresh....

  • IF_EX_ME_PROCESS_PO_CUST multiple error message in the CHECK

    Hi All
    i search a way for multiple error message in the CHECK Methode, because i check every line.
    INCLUDE MM_MESSAGES_MAC.
    ch_failed = 'X'.
    mmpur_message 'E'                                     "&1 sy-msgty
                  '00'                                    "&2 sy-msgid
                  '398'                                   "&3 sy-msgno
                  'Werk nicht in allen Positionen gleich' "&4 sy-msgv1
                  ''                                      "&5 sy-msgv2
                  ''                                      "&6 sy-msgv3
                  ''.                                     "&7 sy-msgv4
    Thanks

    Hi
    ME21N has also a Error Message BAPI for view Errors and i need multiple Messages on these step for each position

  • I'm trying to make a purchase and I get a message that the information does not match with the bank. What can I do?

    I'm trying to make a purchase and I get a message that the information does not match with the bank. What can I do?

    Go to the APP store or Itunes. On the bottom of the mainpage, tap your apple id, view account. Then you can edit the payment information. Or you can do it(if you encounter a problem there) on Itunes on computer. Just go to the store, select your name and edit information. Make sure everything matches...exp date, name as appears on card etc..

  • Doesn't print the checks after i input them on a document (adobe reader xi)

    Doesn't print the checks after i input them on a document

    It's possible the fields were set not to print... Impossible to say for sure without seeing the file.
    Also, which version of Reader and which OS are you using?

  • Is it possible to change the message of the automated validations?

    Hi,
    In APEX 4.0, depending of the type of item you create and the settings you put, certain validations are automatically made like a check on the date when using a Date Picker.
    My question is, is it possible to change this message? Because what happens is, if I have a certain format in the way I formulate the message then those validations will be formulated in a different way.

    Hi,
    Yes, it's possible to translate/replace those messages.
    You can find all the Internal Messages Requiring Translation in the offical documentation.
    Here's a link: http://apex.oracle.com/i/doc/global_mess_reports.htm#CHDEDHBJ
    To translate messages:
    -1. Navigate to the Translate Application page:
    1.On the Workspace home page, click the Application Builder icon.
    2.Select an application.
    3.Click Shared Components.
    4.Under Globalization, click Text Messages.
    -2.On the Translate Messages page, click Create.
    -3.On Identify Text Message, specify the following:
    1.Name - Enter the name of each message that needs to be translated. See Table: Internal Messages Requiring Translation.
    2. Language - Select the language for which the message would be used.
    3.Text - Enter the text to be returned when the text message is called. If the English text message contains positional substitution values (for example, %0, %1), ensure that your defined message also contains the same named and number of positional substitution values.
    -4.Click Create.
    Louis-Guillaume Carrier-Bédard
    http://www.lgcarrier.com
    http://www.apexframework.com

  • How do I use the built-in audio input with AU Lab?

    I just tried AU Lab for the first time, and I can't select an audio input.
    The "Create New Document" window lets me choose "Built-in Output", but the pulldown for Input Source is greyed out. The area under the "Input" button says, "Audio Input Not Supported". How can it not support the built-in audio input? I even tried using SoundFlower to route the signal from the Line In (a small app) to the Input of AU Lab. AU Lab's display then shows two channels from Soundflower, but they are still greyed out.
    All I want to do is get a signal from the built-in audio input routed to AU Lab so I can use AU effects to process the audio signal in real time. How do I do this?

    They comes configured with your software. If you want to use, for example, Skype, you need to run the configuration wizard section.
    Best regards.
    IPnaSh
    First Spanish Community Guru - Colaborador ad honorem

  • Checking/Validating user input in a text field

    How can I validate a user's input in a text field and require them to input it in the following format:
    AAA 9999-999
    (where A can be letters and 9 can be numbers)
    Is there any documentation on how to validate user inputs in this manner?
    Thanks!
    BoilerUP

    Hi,
    Create a validation PL/SQL process, select Function returning Error and use something similar to the example below.
    I tested it but may be I missed something. I used field name P1_TEST.
    DECLARE
    v_number NUMBER;
    v_error VARCHAR2(1000);
    BEGIN
    --check if you have numbers in positions 5-8 and 10-12
    v_number:=SUBSTR(:P1_TEST,5,4);
    v_number:=SUBSTR(:P1_TEST,10);
    --check string length
    IF LENGTH(:P1_TEST)!=12 THEN
    RETURN 'String length must be 12 characters';
    END IF;
    --check if position 4 is empty
    IF INSTR(SUBSTR(:P1_TEST,4,1),' ')=0 THEN
    RETURN 'There should be a space between letters and numbers';
    END IF;
    --check if position 9 has "-"
    IF INSTR(SUBSTR(:P1_TEST,9,1),'-')=0 THEN
    RETURN 'There should be a dash between numbers';
    END IF;
    --check if positions 1-3 has letters
    FOR i IN 1 .. 3 LOOP
    SELECT ascii(substr(:P1_TEST, i, 1)) INTO v_number
    FROM Dual;
    IF v_number>=48 AND v_number<=59 THEN
    RETURN 'Only letters are allowed in positions 1,2,3';
    END IF;
    END LOOP;
    RETURN NULL;
    EXCEPTION
    WHEN OTHERS THEN
    v_error:=SQLERRM;
    IF INSTR(v_error, 'ORA-06502')>0 THEN
    RETURN '...must be integers only';
    ELSE
    RETURN v_error;
    END IF;
    END;
    I hope it will give you an idea on this type of validation.
    Val

  • How can I set up my Mac Pro so that my wife and I can use our separate iTunes accounts? I keep getting an error message that the computer is already associated with an Apple ID even though the two accounts are associated with separate log ins!

    I'm getting very confused with setting up multiple user accounts on my Mac Pro for my wife and I. We each have a separate iTunes account, and we want to keep our music libraries seaprate. I've set up two user accounts on the Mac Pro and I have my iTunes authorised and logged into my user account on my user account. Under my wifes user account (i.e. a separate log in on the computer) I'm trying to set up her iTunes account, but I can't download or play anything from the cloud - it just says "This computer is already associated with another iTunes Account" and tells me that if I 'transfer' then I won't be able to use the other one for 90 days! This is really annoying as my wife can't access music she has purchased on her iTunes account on the home machine. We're not trying to do anything dodgy, just access our music on our own accounts on separate log ins on the same machine. Does anyone have any suggestions? Thanks!

    Hi Allan, thanks for that. I've already set up a log in for my wife and that is all working fine. The problem is that when she logs in and opens iTunes and trys to associate her library with her iTunes account she gets the error message "This computer is already associated with another iTunes account". Whilst this is true, the computer is associated with my iTunes account under my separate log in, which should have nothing to do with hers. If she transfers the association to her account it will lock me out of my content on my log in for 90 days - I'm trying to work out how to associate each of the log in accounts with a separate iTunes account so we can access our music independently of one another without locking each other out. Hope that makes sense!

  • Since I updated to the latest version, I keep getting a message that the server can't connect with urls containing the word "file" . I just want the messages to stop. It's working just fine otherwise.

    See above. Message comes up every hour or so. Three times in a row.

    Restart the iPad by holding down on the Sleep button until the red slider appears and then slide to shut Off. To power up hold the Sleep button until the Apple logo appears and let go of the button.
    Reset the iPad by holding down on the Sleep and Home buttons at the same time (for about 10-15 seconds) until the Apple logo appears (ignore the red slider), then let go of the buttons.
    If the proble is associated with not being connected via wireless, look at iOS Troubleshooting Wi-Fi networks and connections  http://support.apple.com/kb/TS1398
    Additional things to try.
    Turn Off your iPad. Then turn Off the wireless router & then back On. Now boot your iPad. Hopefully it will see the WiFi.
    On your iPad go to Settings > General > Reset > Reset network settings and see if that enables you to connect.
     Cheers, Tom

  • HT5085 Hi my ipad 2 works well with ios7 but just when i updated it to ios 8 after downloading the software it freezes with a message on the screen an itune icon with the sign of the charger pointing an arrow upwards towads the  itunes can you help

    I am trying to update to ios 8 but after downloading a message is come up on the screen when trying to reboot. here is the message. an itune icon with itunes written under the icon then a charger sighn pointing an arrow towards the itune icon it will not reboot

    That image means that it's gone into recovery mode - you will need to connect the iPad to your computer's iTunes (you will need the current version of iTunes installed on your computer)and you should be able to use that to reset your iPad back to factory defaults, you can then restore/resync your content to it.

  • When i open itunes it comes up with an error message saying: "The software required for communicating with ipods and mobile phones was not installed correctly.

    It also askes me, if I want itunes to try to repair this for you? I've hit yes but it does not fix the problem, i've also tried to uninstall and reinstall itunes and it still says the same thing. PLEASE HELP ME!!!!!

    See the second box of  Troubleshooting issues with iTunes for Windows updates.
    tt2

  • I have this message to the resource central "error communication with the server encore cs4"

    can somebody help me;

    Resource Central is no longer available. I don't have a link to it regarding Encore in particular.
    Re: Resource Central in CS6 ?
    Was there anything there that was not in the full Encore library?

  • How do I let a backgroundpicture appear in textfield input with Spry warning colors?!

    DreamWeaver CS4
    Hi,
    I have a background-image-slice behind my Text Field inputs on a form, but after I applied Spry validation I don't see the  Spry color changes that you normally see when you forget to fill in something in the Text Field inputs.
    The text warnings appear like always. When I remove the background slice from the Text Field inputs all works normal and the warning colors are back again.
    I've tried to stick in the background-image-slice in one of the Spry selectors but no luck.
    All suggestion are welcome!

    The reason that the background image overrides the Spry background colours is that resform.css comes after SpryValidationTextarea.css and SpryValidationTextField.css.
    If you place the link to the latter two after the first named, the overriding will be in the reverse order as in
    #textarea {
       background-image: url(../images/Text_area_slice.jpg);
        background-repeat: repeat-x;
        background-position: left top;
        border-top-width: 2px;
        border-right-width: 2px;
        border-bottom-width: 2px;
        border-left-width: 2px;
        border-top-style: solid;
        border-right-style: solid;
        border-bottom-style: solid;
        border-left-style: solid;
        border-top-color: #999;
        border-right-color: #FFF;
        border-bottom-color: #FFF;
        border-left-color: #999;
    will be overridden by
    .textareaFocusState textarea, textarea.textareaFocusState {
        background-color:#FFFFCC;
    when in the focus state.
    Hence the naming of the style sheets as Cascading where the last called style has precedence over earlier called styles.
    Opa

  • TS2570 I have this problem too I cannot boot from the startup disc and the install DVD theat came with the computer cannot be seen by the MacBook and refuses to eject van anybody help? I cannot open in Console as the error message I get says files are in

    Grey screen appears at startup the install disc is not recognised &amp; will not eject every boot is met with grey screen revolving apple logo&amp;folder&amp;circle with diagonal and console error says start up item is in the trash also cannot access external FireWire drive please help. I also have a full copy of leopard if I can get the original install disc out perhaps it is corrupt tia

    john13th wrote:
    Ok, so this was done by Apple by purpose?
    To clarify slightly what others have said, Apple licences the grey system discs that come with a Mac for use only with that specific Mac, not for use with any other Mac, even one of exactly the same model. So using them with any other Mac violates the terms of the license & should be avoided. The installer on the grey discs enforces this in part by checking the model of the Mac when it is run & refusing to install anything if the Mac is not the correct model. It displays a warning message that the disc cannot be used with that Mac & the only available option is to quit the installer.
    Beyond that, while the grey discs may in fact include & install drivers for the hardware in other, older Mac models, they cannot include ones for Macs using hardware newer than the release date of the Mac they came with. In this case, the other Mac can't even start up from the installer disc & it freezes with a kernel panic before it can run the installer. This seems to be what happened here.

Maybe you are looking for

  • Report not displaying data from one of the infoproviders

    Hi Experts, Issue: Report not displaying data from one of the infoproviders I have a report 'ReportA' which has multiprovider MP1 as the source. MP1 has two Infocubes IC1, IC2 in its design. Now, when i execute the report, data from IC1 is displayed.

  • N95-1 fw 31.0.017...funny bug!!!

    SInce fw update to version 31, I have a nice bug...each time I close slider photo button e gallery button (on right side) flash for two times alternatively...this is a bug but it's funny...let me know if also you have this flashing K + C = 1

  • Official ICS update for Neo V ?

    HI, Im from Mumbai,India. My Pc Comapnion shows your phone is up to date for my 2.3.4 GingerBread version. when I'll receive ICS update for my Neo V. ?

  • Another spotlight not working at all

    I have tried all suggestions from the other post about spotlight not working at all but archive and install. Is there any other way to fix it besides that? What are other people doing to fix theirs?

  • Opinions about freebsd 7.x ?

    Hi All, I am currently a very happy 11 year Arch / RHEL / fedora user but always looking for a new challenge. So I am thinking about switching my desktop pc / home server from Arch64 to FreeBSD. I read a lot of stories here about people switching to