How to catch error message inside a variable?

Hi,
I'm trying to catch the error message inside a variable using this this command below:-
<%=odiRef.getPrevStepLog("MESSAGE")%>
Could you please tell me what is the right approach to capture the error message inside a variable.
Thanks
Anindya

Hi Bhabani,
I have done this and select an oracle schema.But the variables only captures the (null).Please look into this.You must have one step prior to this refresh variable. Then only it can get the status as given below.
Returns the one-letter code indicating the status with which the previous step terminated. The state R (Running) is never returned.
D: Done (success)
E: Error
Q: Queued
W: Waiting
M: Warning
If you want the complete error details then you will face issues in case of multi line message. For this best option would be jython variable.Could please provide me some idea how to use this jython variable.I will update you on this soon
Thanks
Anindya

Similar Messages

  • How to set error message inside the loop...module pool

    Dear all,
         Am creating Table Control without wizard. In that i am looping the values, that is, Once if i entered 5 digit values means, 12345-08... the values should be stored in z-table like this 12345,12346,12347,12348 . That is 5-8 it as to update in z table. for this i createdloop at itab and inside that i written a code to count the value and all. and also its clearly updating the value in ztable too. now i want to know, if once again i entered the same value means, like 12345-08.. it as to show error messge.I dont know how to set the condition with error message inside the single loop .... Its all comes under module pool program.
    Thanks,
    Santhosh.R

    If i understood your doubt, here goes the answer.
    LOOP AT itab INTO wa_itab.  " This is your loop
      l_tabix = sy-tabix. "l_tabix receives the line of the loop
      READ TABLE itab WITH KEY itab = wa_itab.  "itab is the same tab of your loop
      IF sy-subrc EQ 0 AND l_tabix NE sy-tabix.    "Here the sy tabix have the value of the read table.
    *     Here you do your error treatment.
      ENDIF.
    ENDLOOP.
    Explanation: When you are looping your internal table, you use a READ TABLE to see the already recorded registers. If the read table finds one register (sy-subrc EQ 0) and the this register is not the one of the current line (l_tabix NE sy-tabix). It means you have a duplicated register.
    Maybe there is someway easier to do this, but this is what i thought now.
    I hope this was your doubt hehe.
    Thales Schmidt

  • How to display error message with some variable

    Hi
    I want to display errror message along with material number which is thr in d LOOP .
    Basically i want some variable to display along with error message .
    Can anybody suggest me how can i go about it?
    Edited by: sonal musale on Apr 14, 2009 12:06 PM

    Hi,
    In the message class, suppose  you use 001 for invalid material message.
    So keep it like:-
    Invalid Material : &1
    in the message class for 001.
    Now in loop use as:-
    loop at itab into wa.
      "perform validations
      "if validation fails for current material
      MESSAGE e001 WITH wa-matnr.
    endloop.
    Similary you can use more variables:-
    Invalid Material : &1 &2 &3
      MESSAGE e001 WITH <variable1> <variable2> <variable3>.
    Hope this helps you.
    Regards,
    Tarun

  • How to catch error message and show it in VC?

    I want to catch the error message and show it in VC.For example, if there is no data row in table view queryed from data service, then popup a window to show the message "No Data Found".I don't konw how to implement it!

    Hello Kane
    use expression{disble this after defining erroe messege} box in that popup there u can define your own message as error or warning accordingnly it display message
    I hope it work or Let me know it
    Regards
    ````Satish````

  • How to raise error message in MB_DOCUMENT_BEFORE_UPDATE?

    Dear Friends,
    I have a situation like, need to thro an error Message inside the BADI: MB_DOCUMENT_BEFORE_UPDATE.
    Based on some validations on XMSEG parameter inside the above BADI, I am raising an Error Message as usual.
    Message E208(00) with 'Posting error..'.
    When I raise the above error, the system ends with Short Dump.
    Could anyone please let me know, how to handle the above?
    Thanks in advance,
    Ramani N

    >
    Gaurav Gupta wrote:
    > Hi
    > I would like to suggest you to check whether you have used MESSAGE-ID addition in your REPORT statement or not. We are supposed to use it whenever we are trying to display error messages like *Message E208(00) with 'Posting error..' *.
    > Hope this solves your Problem.
    >
    > Regards
    > Gaurav.
    Hi Gaurav,
    My query is about BADI.  Hence, we can not use REPORT statement.
    Rgds,
    Ramani N

  • OLE Automation: catch error message

    Hi, Experts.
    I am interested in catching error messages after OLE commands. I show it in Excel example, but interested in general:
    REPORT zlcka_ole .
    TYPE-POOLS ole2.
    DATA h_excel TYPE ole2_object.
    DATA h_workbooks TYPE ole2_object.
    DATA h_workbook TYPE ole2_object.
    DATA h_range TYPE ole2_object.
    CREATE OBJECT h_excel 'EXCEL.APPLICATION'.
    SET PROPERTY OF h_excel 'Visible' = 1.
    CALL METHOD OF h_excel 'Workbooks' = h_workbooks.
    CALL METHOD OF h_workbooks 'Add' = h_workbook.
    CALL METHOD OF h_excel 'Rows' = h_range
      EXPORTING
        #1 = 3.
    SET PROPERTY OF h_range 'Name' = 'TEST'.
    CALL METHOD OF h_excel 'Range' = h_range
      EXPORTING
        #1 = 'TEST'.
    SET PROPERTY OF h_range 'Hidden' = 1.
    WRITE / sy-subrc.
    WRITE / sy-msgli.
    I turned on debuging Automation of GUI and execute program.
    Result was sy-subrc = 3 sy-msgli = ''
    But in logfile(directory: SapWorkDir) I find:
    <275=Automation(Error): *****************************ERROR OCCURED IN MODULE: [CALL METHOD OF 12 ('[Excel.Application.10]') 'Range' Imode 1002]*********************************************************************************************************************************
    <275=Automation(Error): PROGRAM_ID                                                          |MODULE_NAME              |METHOD_NAME          |ERROR DESCRIPTION                                        |VERSION                    |GUI VERSION       |MODULE_PATH              |
    <275=Automation(Error): ********************************************************************************************************************************************************************************************************************************************************
    <275=Automation(Error): CALL METHOD OF 12 ('[Excel.Application.10]') 'Range' Imode 1002     |Class name not found     |Hidden               |Unable to set the Hidden property of the Range class     |Version info not found     |6206.6.64.970     |Module doesnot exist     |
    <275=Automation(Error): ********************************************************************************************************************************************************************************************************************************************************
    Is there anybody know how to get that error message <i>"Unable to set the Hidden property of the Range class"</i>?
    SAP Version: 4.6C

    Hi,
    in SRM all messages are stored in the message handler. Also when you set a message within the check BAdI, the message is stored later in the message handler. If you want to know when a message is moved to the message handler, just set a break-point in FM BBP_PD_MSG_ADD.
    Regards

  • Catching Error Message

    Hi,
    Question : could you please tell me how to catch footer error message?
    Background :
    I am working with FM L_TO_CREATE_SINGLE .
    This FM has so many exceptions and I am catching those in my custom program.
    the problem is FM is throwing error message while it executes and simply coming out of my custom program and displaying error message at footer so I am not able to catch error message.
    Please help me how to catch this error and see my code below
            CALL FUNCTION 'L_TO_CREATE_SINGLE'
              EXPORTING
                I_LGNUM                     = '620'
                I_BWLVS                     = '999'
                I_MATNR                     = WA_RECORD_OUT-MATNR
                I_WERKS                     = WA_RECORD_OUT-WERKS
                I_ANFME                     = WA_PHY_INV_HIS-QUANTITY
                I_ALTME                     = WA_PHY_INV_HIS-UNIT_OF_MEASURE
               I_SQUIT                     = 'X'
               I_VLTYP                     = WA_RECORD_OUT-LGTYP
               I_VLPLA                     = WA_RECORD_OUT-LGPLA
               I_VLENR                     = WA_PHY_INV_HIS-STO_UNIT
               I_NLTYP                     = WA_PHY_INV_HIS-STO_TYPE
               I_NLPLA                     = WA_PHY_INV_HIS-STO_BIN
               I_COMMIT_WORK               = 'X'
               I_BNAME                     = SY-UNAME
               I_KOMPL                     = 'X'
             IMPORTING
               E_TANUM                     = I_TANUM
            EXCEPTIONS
               NO_TO_CREATED               = 1
               BWLVS_WRONG                 = 2
               BETYP_WRONG                 = 3
               BENUM_MISSING               = 4
               BETYP_MISSING               = 5
               FOREIGN_LOCK                = 6
               VLTYP_WRONG                 = 7
               VLPLA_WRONG                 = 8
               VLTYP_MISSING               = 9
               NLTYP_WRONG                 = 10
               NLPLA_WRONG                 = 11
               NLTYP_MISSING               = 12
               RLTYP_WRONG                 = 13
               RLPLA_WRONG                 = 14
               RLTYP_MISSING               = 15
               SQUIT_FORBIDDEN             = 16
               MANUAL_TO_FORBIDDEN         = 17
               LETYP_WRONG                 = 18
               VLPLA_MISSING               = 19
               NLPLA_MISSING               = 20
               SOBKZ_WRONG                 = 21
               SOBKZ_MISSING               = 22
               SONUM_MISSING               = 23
               BESTQ_WRONG                 = 24
               LGBER_WRONG                 = 25
               XFELD_WRONG                 = 26
               DATE_WRONG                  = 27
               DRUKZ_WRONG                 = 28
               LDEST_WRONG                 = 29
               UPDATE_WITHOUT_COMMIT       = 30
               NO_AUTHORITY                = 31
               MATERIAL_NOT_FOUND          = 32
               LENUM_WRONG                 = 33
               OTHERS                      = 34       .
            IF SY-SUBRC <> 0.
              CASE sy-subrc.
                WHEN 1.  MESSAGE = 'no_to_created'.
                WHEN 2.  MESSAGE = 'bwlvs_wrong' .
                WHEN 3.  MESSAGE = 'betyp_wrong'.
                WHEN 4.  MESSAGE = 'benum_missing'.
                WHEN 5.  MESSAGE = 'betyp_missing'.
                WHEN 6.  MESSAGE = 'foreign_lock'.
                WHEN 7.  MESSAGE = 'vltyp_wrong'.
                WHEN 8.  MESSAGE = 'vlpla_wrong'.
                WHEN 9.  MESSAGE = 'vltyp_missing'.
                WHEN 10. MESSAGE = 'nltyp_wrong'.
                WHEN 11. MESSAGE = 'nlpla_wrong'.
                WHEN 12. MESSAGE = 'nltyp_missing'.
                WHEN 13. MESSAGE = 'rltyp_wrong'.
                WHEN 14. MESSAGE = 'rlpla_wrong'.
                WHEN 15. MESSAGE = 'rltyp_missing'.
                WHEN 16. MESSAGE = 'squit_forbidden'.
                WHEN 17. MESSAGE = 'manual_to_forbidden'.
                WHEN 18. MESSAGE = 'letyp_wrong'.
                WHEN 19. MESSAGE = 'vlpla_missing'.
                WHEN 20. MESSAGE = 'nlpla_missing'.
                WHEN 21. MESSAGE = 'sobkz_wrong'.
                WHEN 22. MESSAGE = 'sobkz_missing'.
                WHEN 23. MESSAGE = 'sonum_missing'.
                WHEN 24. MESSAGE = 'bestq_wrong'.
                WHEN 25. MESSAGE = 'lgber_wrong'.
                WHEN 26. MESSAGE = 'xfeld_wrong'.
                WHEN 27. MESSAGE = 'date_wrong'.
                WHEN 28. MESSAGE = 'drukz_wrong'.
                WHEN 29. MESSAGE = 'ldest_wrong'.
                WHEN 30. MESSAGE = 'update_without_commit'.
                WHEN 31. MESSAGE = 'no_authority'.
                WHEN 32. MESSAGE = 'material_not_found'.
                WHEN 33. MESSAGE = 'lenum_wrong'.
                WHEN 34. MESSAGE = 'ERROR_MESSAGE'.
                WHEN OTHERS.
                  message id sy-msgid type sy-msgty number sy-msgno with
                          sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
              ENDCASE.
    Thanks
    SB

    Hi I have resloved it myself. here is the working code, thanks for all your help
    CALL FUNCTION 'L_TO_CREATE_SINGLE'
              EXPORTING
                I_LGNUM                     = '620'
                I_BWLVS                     = '999'
                I_MATNR                     = WA_RECORD_OUT-MATNR
                I_WERKS                     = WA_RECORD_OUT-WERKS
                I_ANFME                     = WA_PHY_INV_HIS-QUANTITY
                I_ALTME                     = WA_PHY_INV_HIS-UNIT_OF_MEASURE
               I_SQUIT                     = 'X'
               I_VLTYP                     = WA_RECORD_OUT-LGTYP
               I_VLPLA                     = WA_RECORD_OUT-LGPLA
               I_VLENR                     = WA_PHY_INV_HIS-STO_UNIT
               I_NLTYP                     = WA_PHY_INV_HIS-STO_TYPE
               I_NLPLA                     = WA_PHY_INV_HIS-STO_BIN
               I_COMMIT_WORK               = 'X'
               I_BNAME                     = SY-UNAME
               I_KOMPL                     = 'X'
             IMPORTING
               E_TANUM                     = I_TANUM
             EXCEPTIONS
               NO_TO_CREATED               = 1
               BWLVS_WRONG                 = 2
               BETYP_WRONG                 = 3
               BENUM_MISSING               = 4
               BETYP_MISSING               = 5
               FOREIGN_LOCK                = 6
               VLTYP_WRONG                 = 7
               VLPLA_WRONG                 = 8
               VLTYP_MISSING               = 9
               NLTYP_WRONG                 = 10
               NLPLA_WRONG                 = 11
               NLTYP_MISSING               = 12
               RLTYP_WRONG                 = 13
               RLPLA_WRONG                 = 14
               RLTYP_MISSING               = 15
               SQUIT_FORBIDDEN             = 16
               MANUAL_TO_FORBIDDEN         = 17
               LETYP_WRONG                 = 18
               VLPLA_MISSING               = 19
               NLPLA_MISSING               = 20
               SOBKZ_WRONG                 = 21
               SOBKZ_MISSING               = 22
               SONUM_MISSING               = 23
               BESTQ_WRONG                 = 24
               LGBER_WRONG                 = 25
               XFELD_WRONG                 = 26
               DATE_WRONG                  = 27
               DRUKZ_WRONG                 = 28
               LDEST_WRONG                 = 29
               UPDATE_WITHOUT_COMMIT       = 30
               NO_AUTHORITY                = 31
               MATERIAL_NOT_FOUND          = 32
               LENUM_WRONG                 = 33
               ERROR_MESSAGE               = 99
               OTHERS                      = 34.
            IF SY-SUBRC NE 0.
              CALL FUNCTION 'FORMAT_MESSAGE'
                EXPORTING
                  ID        = SY-MSGID
                  LANG      = '-D'
                  NO        = SY-MSGNO
                  V1        = SY-MSGV1
                  V2        = SY-MSGV2
                  V3        = SY-MSGV3
                  V4        = SY-MSGV4
                IMPORTING
                  MSG       = MESSAGE
                EXCEPTIONS
                  NOT_FOUND = 1
                  OTHERS    = 2.
           ENDIF.
    Edited by: Rob Burbank on Oct 12, 2011 3:44 PM

  • How to prevent error message for material description in MDG material detail screen, when user click on check action

    Dear Experts,
    I have a requirement for making material description as non mandetory in change request view of mdg material screen.
    I have done that using field usage in get data method of feeder classes, but still message is displaying.
    This message 'Material description is mandatory is displaying with check action only, but not with save or submit after i anhance field property as not mandetory.
    How to prevent error message for material description in MDG material detail screen, when user click on check action.
    Thanks
    Sukumar

    Hello Sukumar
    In IMG activity "Configure Properties of Change Request Step", you can completely deactivate the reuse area checks (but will then loose all other checks of the backend business logic as well).
    You can also set the error severity of the checks from Error to Warning (per CR type, not per check).
    Or you provide a default value for the material description, e.g. by implementing the BAdI USMD_RULE_SERVICE.
    Regards, Ingo Bruß

  • How to print error messages in browser?

    When I visit a jsp file in browser, there's some errors in the jsp file, so the browser returns
    The page cannot be displayed
    There is a problem with the page you are trying to reach and it cannot be displayed.
    I want the detail error messages, so I can debug my problem. How to print error message in browser or find the message in some log file?

    Hi Kanaraja,
    Thanks for your answer. I need to get certain information from the list. So, I use LIST_To_ASCII FM. However, may I know the ascii_tab should be type to what? And after this FM, do I have to use another FM to display the ascii list?
    data ABAPLIST type ABAPLIST OCCURS 0.
    SUBMIT  RPCALCU0 VIA SELECTION-SCREEN
    with PNPXABKR = 'US'
    with PNPTIMRA = 'X'
    with PNPPABRP = '10'
    with PNPPABRJ = '2003'
    with PNPPERNR-LOW = '100750'
    with PNPPERNR-LOW = '109202'
    with PNPPERNR-LOW = '100255'
    with PNPABKRS-LOW = 'US'
    with SCHEMA = 'ZUSP'
    with RADI_EDT ='X'
    with EDT_VARI = 'CUS&SAP_US'
    with TST_ON = 'X'
    EXPORTING LIST TO MEMORY and RETURN.
    CALL FUNCTION 'LIST_FROM_MEMORY'
      TABLES
        listobject       = ABAPLIST
    EXCEPTIONS
       NOT_FOUND        = 1
       OTHERS           = 2.
    CALL FUNCTION 'LIST_TO_ASCI'
      EXPORTING
        list_index         = -1
      TABLES
        listasci           = asci_tab
        listobject         = ABAPLIST
      EXCEPTIONS
        empty_list         = 1
        list_index_invalid = 2
        OTHERS             = 3.
    IF sy-subrc NE '0'.
      WRITE:/ 'LIST_TO_ASCI error !! ', sy-subrc.
    ENDIF.

  • How to give error message for the screen element text field when wrong i/p

    How to give error message for the screen element text field when wrong i/p
    when wrong input given
    eg. 
    I have a text box with SBOOK-CARRID
    so when user give wrong entry in text box i.e LG
    then I should give some error stating that the the input is invalid or not available ,
    now it showing the error of standard messages,
    i want manual message to be displayed when error comes.
    Thank you,
    Regards,
    Jagrut Bharatkumar Shukla

    Hi all,
    Thank you for your valuable reply,
    but the thing is that its a screen field,
    i.e text box not a selection screen
    i created in screen layout
    with name sbook-carrid
    now i want to get error message display if wrong i/p is given
    thank you.
    Regards,
    Jagrut bharatkumar Shukla,

  • How to make error message as warning message

    how to make error message as warning message? ie  i get error message hence cannot save the slaes order   i want to make that error message as warning so that i can save the sales order please help.

    Hi
    If a message is a custom message, then by changing the message type from E(Error) to W (warning)   we can convert the message type into error message. This is done with the help of development guy. A change in the code is needed.
    If it is a standard message, then it depends on whether we have teh access to change the message type. If access is there, then it is possible to change the message from Warning to Error. i.e. If we are capturing std SAP message in our code and displaying then we can change it, else if SAP message is displayed directly, we cant change it.
    So, to change it, capture the error message from SAP in some Zcode and then convert that message into a custom message of message type E.
    The whole change needs ABAP support.
    Try with tcode <b>OVA2</b> settings selecting for sales order or in SAPRO--SD-BF-Log of Incompletion Items
    Message was edited by:
            SHESAGIRI.G

  • How to display error message in abap

    How to dispaly error message in report?
    i have to check the range bewteen two days and if it is not in range have to display error message only once.
    next time if i press the execute button report will get executed without showing the warning message.
    i am calculating the days between two dates, i am displaying the error message but if i press the execute button i will not allow me to execute the report.it again shows me the error message.i have to skip this in 2nd time.
    can any one  suggest what to do with this?

    hello suman,
    i am using select-option in my report. And i have to check the difference between two dates in select option input box( low-value and high-value). if it is greater then suppose 10 then i have to display warning message at once and then if click on execute button , the report should get executed without showing any warning messages in report.
    here i am attaching my source code.please take a close look and tell me where should i have to make change.
    SELECT-OPTIONS :s_bedat FOR ekko-bedat.
    AT SELECTION-SCREEN ON s_bedat.
      IF NOT s_bedat IS INITIAL.
        PERFORM bedat_validate.                       " Perform for Purchasing Document Date Validation
      ENDIF.
    FORM bedat_validate .                        " Form for Purchasing Document Date Validation
      DATA  : diffr TYPE i.
      CALL FUNCTION 'DAYS_BETWEEN_TWO_DATES'
        EXPORTING
          i_datum_bis                   = s_bedat-high
          i_datum_von                   = s_bedat-low
      I_KZ_EXCL_VON                 = '0'
      I_KZ_INCL_BIS                 = '0'
      I_KZ_ULT_BIS                  = ' '
      I_KZ_ULT_VON                  = ' '
      I_STGMETH                     = '0'
      I_SZBMETH                     = '1'
       IMPORTING
         e_tage                        =  diffr
    EXCEPTIONS
      DAYS_METHOD_NOT_DEFINED       = 1
      OTHERS                        = 2
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ELSE.
        IF diffr GT 31.
          MESSAGE s009(zerrormsg) WITH text-000 DISPLAY LIKE 'W'.
          LEAVE TO LIST-PROCESSING.
        ENDIF.
      ENDIF.
    ENDFORM.                    " BEDAT_VALIDATE

  • How to display error message in Shopping Cart?

    How to display error message in Shopping Cart and stop the shopping cart for further processing? I try MESSAGE w001(zshop) or MESSAGE e001(zshop). But it is causing run-time error.

    Hi Paul,
    In the DOC_CHECK or DOC_SAVE BADI, you have a global internal table named et_messages. The structure of this table is 'bbp_smessages_badi'. You can append your error message here by inputting the message type, ID and number. The message type is either 'E' for error or 'W' for warning and the number would depend on your message class(ID). You will be able to see the error message on top of the screen, can be a red or yellow highlight depending on your appended message. I don't think creating the error message via the MESSAGE syntax will be successful, maybe this is why you are getting a runtime error.
    Regards,
    Noel

  • Best Practices Question: How to send error message to SSHR web page.

    Best Practices Question: How to send error message to SSHR web page from custom PL\SQL procedure called by SSHR workflow.
    For the Manager Self-Service application we’ve copied various workflows which were modified to meet business needs. Part of this exercise was creating custom PL\SQL Package Procedures that would gather details on the WF using them on custom notification sent by the WF.
    What I’m looking for is if/when the PL\SQL procedure errors, how does one send an failure message back and display it on the SS Page?
    Writing information into a log or table at the database level works for trouble-shooting, but we’re looking for something that will provide the end-user with an intelligent message that the workflow has failed.
    Thanks ahead of time for your responses.
    Rich

    We have implemented the same kind of requirement long back.
    We have defined our PL/SQL procedures with two OUT parameters
    1) Result Type (S:Success, E:Error)
    2) Result Message
    In the PL/SQL procedure we always use below construct when we want to raise any message
    hr_utility.set_message(APPL_NO, 'FND_MESSAGE_NAME');
    hr_utility.raise_error;
    In Exception block we write below( in successful case we just set the p_result_flag := 'S';)
    EXCEPTION
    WHEN APP_EXCEPTION.APPLICATION_EXCEPTION THEN
    p_result_flag := 'E';
    p_result_message := hr_utility.get_message;
    WHEN OTHERS THEN
    p_result_flag := 'E';
    p_result_message := hr_utility.get_message;
    fnd_message.set_name('PER','FFU10_GENERAL_ORACLE_ERROR');
    fnd_message.set_token('2',substr(sqlerrm,1,200));
    fnd_msg_pub.add;
    p_result_message := fnd_msg_pub.get_detail;
    After executing the PL/SQL in java
    We have written some thing similar to
    orclStmt.execute();
    OAExceptionUtils.checkErrors (txn);
    String resultFlag = orclStmt.getString(provide the resultflag bind no);
    if ("E".equalsIgnoreCase(resultFlag)){
    String resultMessage = orclStmt.getString(provide the resultMessage bind no);
    orclStmt.close();
    throw new OAException(resultMessage, OAException.ERROR);
    It safely shows the message to the user with all the data in the page.
    We have been using this construct for a long time for all our projects. They are all working as expected.
    Regards,
    Peddi.

  • Throwing error message in BEx variable

    HI,
    I am using one of the variables in the user exit in cmod. in step1 & step2 I determine some values to be poplated in the variables. What is the ABAP command if say I want to show an error message on the variable screen? For Example, if I want to print that the value is invalid or something

    I want to re-phrase my quesitons a little bit.
    IN user exit there are 3 i-steps. What I want to do is the following.
    In i-step 2 I determine the values for 4 variables based on the 2 values that have default values. This works fine.
    However, if the user changes selection, I want to be able to check in i-step3 what user input and return an error i f values are not valid, so that the query does not run. It seems like step3 does not let me do it.
    Thank you,
    Andrei

Maybe you are looking for

  • Scanning multiple pages to one file

    I have a C310a All in One printer/scanner.  My computer uses OS X 10.9 and all the drivers are updated.  Is there a way to scan multiple pages to one file.  I have tried the three methods mentioned in the HP bulletin for Mavericks but I can only scan

  • Where can I find a good tutorial for mobile game developement with J2ME ?

    Hi All, I'm completely new to J2ME programming. But I have past experience on J2SE developement. Now I would like to know that where can I find a good tutorial for mobile game developement with J2ME ? I'll be very greatful if I can find a useful step

  • 2011 MBP 13" i7, 10.6.8 update, no issues

    So, I bit the bullet and decided to run the 10.6.8 update on my MBP.  All went without a hitch.  Reboot after install was only somewhat longer than usual (typically what I have seen with past OSX updates).  Installed the new Parallels update, and all

  • Event data_changed of cl_gui_alv_grid

    I made a program using oo to show and edit alv grid. Here is the question...if the length of editable cell is less than about 40 ch,It is OK If editable cell is a little longer,the handler method didn't reflect at all, it seems that the event data_ch

  • Max hard drive size in G5

    Hello, Like the G4's before it(not including MDD), do the G5 Quads have a limit on hard drive size? I was wondering what the max size for a hard drive is for the G5 Quad, or can one go up to 4 terabytes?