How to use catch ---CATCH ... ENDCATCH

Hi Expert:
      How to use CATCH ... ENDCATCH  the statement, would you please explain it with an example non-numeric exception.  that is to say, if it is not a number , an exception would be received and handled. Would you please  give me more discription about how to handle it?
couldn't thank you more.
Best regards.

Hi,
Variants:
1. CATCH SYSTEM-EXCEPTIONS except1 = rc1 ... exceptn = rcn.
Effect
You can catch ABAP runtime errors in the processing block enclosed in the CATCH ... ENDCATCH statements.
Note the following:
rc1 ... rcn must be numeric literals.
CATCH ... ENDCATCH may be placed anywhere where IF ... ENDIF (for example) may occur. It is local, not cross-event.
It may be nested to any depth.
It only catches runtime errors in the current call level. This means, for example, that runtime errors resulting from PERFORM- or CALL FUNCTION statements are not trapped by CATCH ... ENDCATCH.
Specifying a SYSTEM-EXCEPTION
You can specify the following as except1 ... exceptn:
The error ID of the runtime error that you want to catch (ex. CONVT_NO_NUMBER)
An ERROR class
OTHERS, any remaining catchable errors.
Catchable runtime errors are assigned to ERROR classes. If you specify an ERROR class, all of its associated runtime errors will be caught. If you specify OTHERS, the system traps all catchable runtime errors.
Keyword dependency
Within CATCH ... ENDCATCH, a particular runtime error will only be caught if it is caused by a particular keyword.
You can find out the keywords with which you can catch a particular runtime error:
In the keyword documentation. This specifies the catchable runtime errors for the keyword,
In the
Assignment of keywords to ERROR classes.
If the system catches a runtime error,
the current processing block is interrupted, and the program processing jumps directly from the statement where the error occurred to the ENDCATCH statement. This occurs irrespective of the number of control structures (IF, DO, LOOP, SELECT, CATCH, etc, ...) bypassed in so doing.
No guarantees can be made about the contents of any fields involved in the runtime error following the ENDCATCH statement.
The
return code
is set as follows:
After the ENDCATCH statement, SY-SUBRC is set to the corresponding value "rcn". This is the value assigned to the runtime error or ERROR class in the CATCH statement. If there is more than one "exceptn = rcn" expression in the runtime error, the "rcn" from the first expression is used. This is particularly significant if there are two ERROR classes which contain the same runtime error.
If the system does not catch a runtime error, the value of SY-SUBRC after the ENDCATCH statement is 0.
Example
Nested Structures
The example below calculates the factorial of the program parameter "fact ". If "fact" is too large, the system catches the runtime error COMPUTE_BCD_OVERFLOW . In this case, the system leaves the current DO...ENDDO loop at the MULTIPLY... statement, and jumps to the ENDCATCH statement.
PARAMETERS fact TYPE i.
DATA: fact_save TYPE i,
res(16) TYPE p.
ARITHMETIC_ERRORS contains COMPUTE_BCD_OVERFLOW ***
CATCH SYSTEM-EXCEPTIONS ARITHMETIC_ERRORS = 5.
res = fact_save = fact.
SUBTRACT 1 FROM fact.
DO fact TIMES.
MULTIPLY res BY fact. "<- COMPUTE_BCD_OVERFLOW
SUBTRACT 1 FROM fact.
ENDDO.
ENDCATCH.
IF sy-subrc = 5.
WRITE: / 'Overflow! Factorial of', fact_save,
'can not be calculated.'.
ELSE.
WRITE: / 'Factorial of', fact_save, 'gives', res.
ENDIF.
Examples
Keyword Dependency
In the first example, the runtime error CONVT_NO_NUMBER is caught during conversion with MOVE.
In the second example, the runtime error cannot be caught, since the keyword SELECT has no primary conversion function.
In the third example, the conversion takes place in an auxiliary field (MOVE 'abc' TO int.) andn the SELECT statement uses only operands with the same type. This enables the system to catch the runtime error.
DATA I TYPE I.
CONVERSION_ERRORS contains CONVT_NO_NUMBER ***
CATCH SYSTEM-EXCEPTIONS CONVERSION_ERRORS = 1.
MOVE 'abc' TO I. " <- Error: CONVT_NO_NUMBER
ENDCATCH.
IF SY-SUBRC = 1.
ENDIF.
TABLES SFLIGHT.
CATCH SYSTEM-EXCEPTIONS CONVERSION_ERRORS = 1.
SELECT * FROM SFLIGHT
WHERE SEATSMAX = 'abc'. " <- Error: CONVT_NO_NUMBER
ENDSELECT.
ENDCATCH.
TABLES SFLIGHT.
DATA int LIKE SFLIGHT-SEATSMAX.
CATCH SYSTEM-EXCEPTIONS CONVERSION_ERRORS = 1.
MOVE 'abc' TO int. " <- Error: CONVT_NO_NUMBER
SELECT * FROM SFLIGHT WHERE SEATSMAX = int.
ENDSELECT.
ENDCATCH.
Note
Using Runtime Error ID and ERROR Class
You are recommended only to use ERROR classes in the CATCH statement wherever possible. Assignment of keywords to ERROR classes contains a simple description of which errors are covered by a particular ERROR class.
You should only use the runtime error ID if the error situation can be very precisely defined. For more information about when runtime errors occur, see alphabetical list of all catchable runtime errors.
Note
Performance:
The CATCH...ENDCATCH statements require about
3-4 msn (standardized microseconds) of runtime, if no runtime error occurs.
If the statements then have to catch a runtime error, they may require more runtime, depending on the type of the runtime error. In the least serious case, this will be another 3-4 msn. In more serious cases, it can be up to 20 msn. For most cases, the increased runtime will be around 5-10 msn.
Regards,
Narasimha

Similar Messages

  • How to use Try Catch Block in ABAP Like JAVA

    Hi Experts,
       I am using BAPI to post MIGO in one of my application. If the MIGO is successfully gets posted then BAPI returns no message, but if there is some error in posting then it returns an error message. Now I want to print that error message in catch block by calling method RAISE_ERROR_MESSAGE. How to use try catch block in ABAP. Please suggest with example.
    Thanks and Regards.
    Vaibhav Tiwari.

    Hi Vaibhav
    You may not catch exceptions returned by function module using try endtry block.
    It works well with the exception returned by methods.
    In case of function modules or BAPI what u can do is to check sy-subrc returned and give message accordingly. If it returns a structure like bapireturn then display message returned.
    in case of exception returned by a method,  do it like this...
    data: excep type cx_root.
    data: v_str type string.
    try.
    *any method call or division by zero (for ex)
    catch cx_root into excep.
    endtry.
    if  excep is not initial.
    CALL METHOD   excep->if_message~get_text
      receiving
        RESULT = v_str.
    endif.
    *display the value returned in v_str on screen

  • How can I catch and display the "cent" symbol (Alt+0162)?

    Hi,
    I have a jTextArea field in which it supposes to be able to catch a special
    character, money cent symbol by Alt+0162 from the keyboard. Does anyone know
    how I can catch it and display it in money cent symbol in the jTextArea field?
    Thanks for your help.
    -John

    The CATCH-ENDCATCH statement is obsolete as of release was620. You should use TRY. CATCH. ENDCATCH.
    The exception that will be raise is CX_SY_CONVERSION_NO_NUMBER, so you have to catch that exception or a super class of this exception class.
    REPORT zfsl_sum_functions.
    DATA: cin(50),
    cout(50),
    iin TYPE i,
    iout TYPE i,
    etext TYPE string.
    DATA: rf_cx_error TYPE REF TO CX_SY_CONVERSION_NO_NUMBER,
            errortxt TYPE string.
    TRY.
        cin = '123ABC'. " how can i catch this
        iout = cin.
        WRITE: iout.
      CATCH CX_SY_CONVERSION_NO_NUMBER INTO  rf_cx_error.
        errortxt = rf_cx_error->get_text( ).
        WRITE errortxt.
    ENDTRY.

  • How can I catch the exception type c = type i?

    How can I catch the exception and display the error message when I assign the u2018ABC123u2019 value to an int data type.
    Code is as follow.
    REPORT  zfsl_sum_functions.
    DATA: cin(50),
          cout(50),
          iin TYPE i,
          iout TYPE i,
          etext TYPE string.
    cin = '123ABC'.     " how can i catch this
    iout = cin.
    WRITE: iout.

    The CATCH-ENDCATCH statement is obsolete as of release was620. You should use TRY. CATCH. ENDCATCH.
    The exception that will be raise is CX_SY_CONVERSION_NO_NUMBER, so you have to catch that exception or a super class of this exception class.
    REPORT zfsl_sum_functions.
    DATA: cin(50),
    cout(50),
    iin TYPE i,
    iout TYPE i,
    etext TYPE string.
    DATA: rf_cx_error TYPE REF TO CX_SY_CONVERSION_NO_NUMBER,
            errortxt TYPE string.
    TRY.
        cin = '123ABC'. " how can i catch this
        iout = cin.
        WRITE: iout.
      CATCH CX_SY_CONVERSION_NO_NUMBER INTO  rf_cx_error.
        errortxt = rf_cx_error->get_text( ).
        WRITE errortxt.
    ENDTRY.

  • How do I catch the button click event from toolbar for my JSP?

    I am using JDev 3.2 and BC4J for my JSP. I am using data web bean methods to create my JSPs. I need to implement a
    master-detail relation in my JSP. Currently I put my master browser as the top frame of JSTabContainer bean and put my
    6 detailed tables into 6 tabs. I found that when I click the next or previous button of toolbar of master frame, the detail tab
    does not display the corresponding detail data properly. I think the reason is that I did not refresh the tab content when
    the user change the current record of master table. Now my question is that how do I catch those events so that I can
    refresh the content of my detail table? Or whatever suggestion can make this work.
    Thanks,
    Lisa

    You posted here with Firefox 17.0.1.
    Try running a Norton Live Update so Norton can update their Firefox add-on and get that Toolbar working again.
    That said, Norton doesn't do anything about Malware. You need a Malware application to locate and remove Malware.
    Install, update, and run these programs in this order. They are listed in order of efficacy.<br />'''''(Not all programs detect the same Malware, so you may need to run them all to solve your problem.)''''' <br />These programs are all free for personal use, but some have limited functionality in the "free mode" - but those are features you really don't need to find and remove the problem that you have.<br />
    ''Note: If your Malware infection is bad enough and you are mis-directed to URL's other than what is posted, you may have to use a different PC to download these programs and use a USB stick to transfer them to the afflicted PC.''
    Malwarebytes' Anti-Malware - [http://www.malwarebytes.org/mbam.php] <br />
    SuperAntispyware - [http://www.superantispyware.com/] <br />
    AdAware - [http://www.lavasoftusa.com/software/adaware/] <br />
    Spybot Search & Destroy - [http://www.safer-networking.org/en/index.html] <br />
    Windows Defender: Home Page - [http://windows.microsoft.com/en-US/windows7/products/features/windows-defender]<br />
    Also, if you have a search engine re-direct problem, see this:<br />
    http://deletemalware.blogspot.com/2010/02/remove-google-redirect-virus.html
    If these don't find it or can't clear it, post in one of these forums for specialized malware removal help: <br />
    [http://www.spywarewarrior.com/index.php] <br />
    [http://forum.aumha.org/] <br />
    [http://www.spywareinfoforum.com/] <br />
    [http://bleepingcomputer.com]

  • How can i catch the jsp checking event ?

    As we know, there are three parameters which is about checking in the weblogic.xml, pageCheckSeconds,*servlet-reload-check-secs*,*resource-reload-check-secs*, but how can i catch the checking event when the webapp is active.
    The fellowing is my simple test, i deployed a webapp on a weblogic server instance, and it was actived. I wrote a simple bash shell to try to catch the event, but fail. i througnt it may be dependent on the webapp's stage mode. but i change the mode, and try again, it was fail too.
    [weblogic@tdy218 ~]$ ls
    getLastAccessTime.sh webapps
    [weblogic@tdy218 ~]$ ./getLastAccessTime.sh ~/webapps/Test/login.jsp
    The file's last access time is: 2011-05-22 11:10:21.000000000 +0800
    The file's last access time is: 2011-05-22 11:10:21.000000000 +0800
    The file's last access time is: 2011-05-22 11:10:21.000000000 +0800
    The file's last access time is: 2011-05-22 11:10:21.000000000 +0800
    The file's last access time is: 2011-05-22 11:10:21.000000000 +0800
    The file's last access time is: 2011-05-22 11:10:21.000000000 +0800
    The file's last access time is: 2011-05-22 11:10:21.000000000 +0800
    [weblogic@tdy218 ~]$ ./getLastAccessTime.sh
    /bea/wls924/user_projects/domains/base_domain/servers/AdminServer/stage/Test/Test/login.jsp
    The file's last access time is: 2011-05-22 11:11:37.000000000 +0800
    The file's last access time is: 2011-05-22 11:11:37.000000000 +0800
    The file's last access time is: 2011-05-22 11:11:37.000000000 +0800
    The file's last access time is: 2011-05-22 11:11:37.000000000 +0800
    The file's last access time is: 2011-05-22 11:11:37.000000000 +0800
    The file's last access time is: 2011-05-22 11:11:37.000000000 +0800
    The file's last access time is: 2011-05-22 11:11:37.000000000 +0800
    The file's last access time is: 2011-05-22 11:11:37.000000000 +0800
    [weblogic@tdy218 ~]$ stat
    /bea/wls924/user_projects/domains/base_domain/servers/AdminServer/stage/Test/Test/login.jsp
    File: `/bea/wls924/user_projects/domains/base_domain/servers/AdminServer/stage/Test/Test/login.jsp'
    Size: 634 Blocks: 8 IO Block: 4096 regular file
    Device: 804h/2052d Inode: 583725 Links: 1
    Access: (0644/-rw-r--r--) Uid: ( 502/weblogic) Gid: ( 500/ bea)
    Access: 2011-05-22 11:11:37.000000000 +0800
    Modify: 2010-05-24 14:49:08.000000000 +0800
    Change: 2011-05-22 11:10:21.000000000 +0800
    The jsp file's last access time didn't changed in the past.
    [weblogic@tdy218 ~]$ more getLastAccessTime.sh
    #!/bin/bash
    declare -i m=1
    declare -i n=100
    while [ $m -le $n ]; do
    echo "The file's last access time is: $(stat -c %x $1)"
    m=m+1
    sleep 3
    done
    weblogic.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE weblogic-web-app PUBLIC "-//BEA Systems, Inc.//DTD Web Application 8.1//EN" "http://www.oracle.com/technology/weblogic/servers/wls810/dtd/weblogic810-web-jar.dtd">
    <weblogic-web-app>
    <jsp-descriptor>
    <jsp-param>
    <param-name>pageCheckSeconds</param-name>
    <param-value>2</param-value>
    </jsp-param>
    </jsp-descriptor>
    <container-descriptor>
    <servlet-reload-check-secs>2</servlet-reload-check-secs>
    <resource-reload-check-secs>2</resource-reload-check-secs>
    </container-descriptor>
    <context-root>/jdbc</context-root>
    </weblogic-web-app>
    env :
    WebLogic 9.2 MP4、Redhat Linux AS 4 Update 8 x86.

    I tested on WLS 11g ps2(10.3.3) which is running in Development Mode also, but it was the same as WLS 9.2 MP4.
    During the weblogic server running, it don't check the application resources , but it will check the $Domain_Home/autodeploy directory every three seconds in Development Mode , the following is the result.
    [weblogic@tdy218 ~]$ ./getLastAccessTime.sh /bea/wls924/user_projects/domains/base_domain/autodeploy
    The file's last access time is: 2011-05-22 12:01:43.000000000 +0800
    The file's last access time is: 2011-05-22 12:01:43.000000000 +0800
    The file's last access time is: 2011-05-22 12:01:43.000000000 +0800
    The file's last access time is: 2011-05-22 12:01:46.000000000 +0800
    The file's last access time is: 2011-05-22 12:01:46.000000000 +0800
    The file's last access time is: 2011-05-22 12:01:46.000000000 +0800
    The file's last access time is: 2011-05-22 12:01:49.000000000 +0800
    The file's last access time is: 2011-05-22 12:01:49.000000000 +0800
    The file's last access time is: 2011-05-22 12:01:49.000000000 +0800
    The file's last access time is: 2011-05-22 12:01:52.000000000 +0800
    Ctrl + ^
    [weblogic@tdy218 ~]$ ./getLastAccessTime.sh ~/webapps/Test
    The file's last access time is: 2011-05-22 17:26:25.000000000 +0800
    The file's last access time is: 2011-05-22 17:26:25.000000000 +0800
    The file's last access time is: 2011-05-22 17:26:25.000000000 +0800
    The file's last access time is: 2011-05-22 17:26:25.000000000 +0800
    The file's last access time is: 2011-05-22 17:26:25.000000000 +0800
    The file's last access time is: 2011-05-22 17:26:25.000000000 +0800
    The file's last access time is: 2011-05-22 17:26:25.000000000 +0800
    The file's last access time is: 2011-05-22 17:26:25.000000000 +0800
    The file's last access time is: 2011-05-22 17:26:25.000000000 +0800
    Ctrl + ^
    [weblogic@tdy218 ~]$ ./getLastAccessTime.sh ~/webapps/Test/
    insert.jsp login.jsp query.jsp tdy218.sql WEB-INF/
    [weblogic@tdy218 ~]$ ./getLastAccessTime.sh ~/webapps/Test/login.jsp
    The file's last access time is: 2011-05-22 11:44:31.000000000 +0800
    The file's last access time is: 2011-05-22 11:44:31.000000000 +0800
    The file's last access time is: 2011-05-22 11:44:31.000000000 +0800
    The file's last access time is: 2011-05-22 11:44:31.000000000 +0800
    The file's last access time is: 2011-05-22 11:44:31.000000000 +0800
    The file's last access time is: 2011-05-22 11:44:31.000000000 +0800
    The file's last access time is: 2011-05-22 11:44:31.000000000 +0800
    The file's last access time is: 2011-05-22 11:44:31.000000000 +0800
    The file's last access time is: 2011-05-22 11:44:31.000000000 +0800
    The file's last access time is: 2011-05-22 11:44:31.000000000 +0800
    Ctrl + ^
    I set the frequency to every one seconds this time by using sleep method in my Bash Shell script.
    #!/bin/bash
    declare -i m=1
    declare -i n=100
    while [ $m -le $n ]; do
    echo "The file's last access time is: $(stat -c %x $1)"
    m=m+1
    sleep 1
    done

  • Exception Handling In BPEL  By using Catch Blocks or Fault Policies Or Both

    I have a confusion regarding
    Exception handling :
    When Should i go for 1)Catch Block (Remote , or binding ) in bpel for exception handling .
    2)Fault Policy , Fault binding.xml
    Currently iam using catch blocks , but even fault policy is good , but can i use both...
    Currently in My bpel ,when any error occurs i have to send a error notification by Email .
    Currently i have exposed the email service which shuts emails and write a file with errored Message.
    Hence if any error i will catch i in a parent BPEL, i will just invoke the above email, service .
    So anybody can help me by giving the suggestion how to go for the best approach
    Edited by: anantwag on Mar 23, 2011 6:31 AM

    Currently in My bpel ,when any error occurs i have to send a error notification by Email .
    Currently i have exposed the email service which shuts emails and write a file with errored Message.Seeing your use case I will suggest you to use fault handling framework (fault policy). Fault handling framework should be used where you need generic error handling framework which handles all the faults occured in any composite component. Generally BPEL catch block should be used to propagate error info/fault back to the client/to fault handling framework or to consume an error
    Regards,
    Anuj

  • How to Throw/Catch Exceptions in BPM

    Hi All,
    I've seen a couple articles that talk about how to Throw/Catch an execption in a BPM. My question has two parts:
    1) RFC Call: I was able to catch an Fault Message in an exception step when calling an RFC (Synchronous Interface). What I wanted to do is use the fault message (exception) and store it in a DB for later review.
    2) IDOC: I'm sending an IDOC to R3 from a BPM. The send step is enclosed in a block w/ an exception. The send step is throwing an error (IDOC adpater system error), but the exception is never thrown. My question is: when the error occurrs at the adapter level does it still throw an exception in a BPM?
    Thanks for any tip/advice/anything!
    Fernando.

    Hi Fernando,
    1) Define a send step in the exception branch.
    2) If u send a IDoc from R/3 to XI and the IDoc adapter is running to an error of course there cant be an exception in ur business process. Usually the IDoc adapter sends back status back up via ALEAUD. In case of success IDoc should have then '03', if the adapter cannot send anything the IDoc should remain at '39'. U should send a ALEAUD in case of exception of BPM switching to status '40', in case of success to '41'.
    Regards, Udo

  • How can I catch error in JheadStart lastest version

    Dear Forum I want to catch the errors in my Strut Action How can i do it, and then show in the in the component
    <messages>
    <messageBox id="messageBox" model="${data}"/>
    </messages>
    in my uix page. I want to Know how to use the model {data}
    Please help me Forum
    Thanks a lot.

    Christian,
    In the JHeadstart Developer's Guide, chapter 5, there is a section about the ADF Lifecycle phase "Report Errors". This section explains how errors are trapped and shown in the model{data} of a UIX page.
    So your own errors can be caught and transformed in the same way, if you either create a Struts ActionError or ActionMessage, or throw a JboException.
    Hope this helps,
    Sandra Muller
    JHeadstart Team
    Oracle Consulting

  • How to programmatically catch the activeSync errors in identity manager 8.1

    Sun Identity Manager 8.1
    May I know how can I catch the errors thrown by activeSync during create/update/delete process and even errors before the activeSync process reaches to create/update/delete workflows (like errors when the user account is locked, it does not reach the update workflow) pro-grammatically and throw to notification process such as email.
    Your response will be highly appreciated.
    Regards

    I do this in 7.1 by using a workflow for my active sync processes. I'm sure it will be similar in 8.1. If you use a workflow rather than an input form you can set up a transition at top level of the workflow. This transition is used as an error checker which can move the workflow to an error handler section. The error handler can then do stuff like send out notices etc.
    Something like this pseudo code:
    <TaskDefintion...>
    <Extension...>
    <WFProcess...>
      <Variable .../>
      <Variable .../>
      <Transition to="Error Handler">
        <!-- your error checking here, notice it is not inside an activity but at the top level of the workflow -->
      </Transition>
      <Activity ...>
        <!-- Actions go here -->
        <Transition to="next"/>
      </Activity>
      <Activity name="Error Handler">
        <!-- Do things like send notifications out -->
        <Transition to="end"/>
      </Activity>
    </TaskDefinition>The top level transition (which checks for the error) is called between each activity so it's perfect as an error checker.

  • How can I catch Application crash ?

    Hi all.
    I'm developing a client application, which makes several long-time operations on its server.
    These server-operations are started, monitored and stopped by my cllient, during a "normal" lifecycle.
    The problem is: if my client unexpectedly shut down (i.e. system crash or interruption by task manager), how can I catch this event, in order to send the "interrupt" to the server and stop the current thread?
    I tried to add a WindowListener on the Main Window of my client app, but it doesn't work... any other idea?
    Thanks in advance for any help.

    The client is a simple Swing GUI, and I'm using HttpURLConnection to send requests to the Server, which is a web application running on Tomcat.
    Thus, the communication works through I/O ObjectStream and that's the reason why I need to have something on the client able to send an interrupt to the server.
    Infact, after the server received the request, the long-time thread executes until its end or until the client sends an interrupt...

  • Novation SL Mk ii faders - how do they "catch" up with Logic's automation?

    I have a question for anyone using this device or any non-motorized device like Korg Nanokontrol...
    If the faders are not motorized, how does Logic "catch-up"? Like say you are in touch or latch mode and you forward the song to a point where the fader is at 127 but the track automation is at 0, so if you move the fader downwards to pick-up zero, you would have a spike? Would you have to record automation from a point in your song where nothing is playing to avoid such spikes? I hope this is making sense...
    Thanks if anyone can get my head around this. Thanks and regards
    Ken

    From the Novation Answerbase:
    http://www.novationmusic.com/answerbase/en/article.php?id=553

  • CATCH - ENDCATCH;  System Exception???

    Hi Experts,
    Pls. clarify couple of my simple doubt that,I got one statement from exsting Z FM, as follows,
    <i><b>1)   l_auart = /my_namespace/cl_l_order_type=>get_order_type( i_vbak-auart ).</b></i>
    Wht is happening in the above statemnt??
    2)
    <i><b>method GET_ORDER_TYPE.
      data: l_auart type auart,
            l_exit  type ref to /my_namespace/if_ex_get_auart.
      l_auart = i_auart.
      call method cl_exithandler=>get_instance
             changing instance = l_exit.
      if not l_exit is initial.
        catch system-exceptions call_method_not_implemented = 1.
          call method l_exit->get_auart
            changing
              c_auart = l_auart.
        endcatch.
      endif.
      read table G_ORDER_TYPE_ALL into e_data
                 with key auart = l_auart.
    endmethod.</b></i>
    Can  u explain, Wht is doing over here?
    3) CREATE OBJECT
    Wht is the fnctionality of above statenmnt?
    thanq
    Message was edited by:
            Srikhar

    With the use of these statements, system will not give you the short dump if your mehtod get_auart is not implementd.
    catch system-exceptions call_method_not_implemented = 1.
    call method l_exit->get_auart
    changing
    c_auart = l_auart.
    endcatch.
    CATCH - ENDCATCH is used to avoid the short dumps.
    See online help for more information.
    Regards,
    Naimesh Patel

  • How i can Catch perticular data from internet and update SAP R/3 data?

    Hi All,
    I want to catch data from internet and want to update those data into SAP R/3 database. So how i can catch those data ?. what will be format of data to update SAP R/3 database?

    Hi,
    You need to create your own BSP pages which would be displayed on internet/HTML.
    Transaction SE80 => Select BSP application.
    Best regards,
    Prashant

  • How can I catch NFL games on Apple TV?

    I'm thinking of buying apple Tv for Christmas but I'm more a football fan than NBA fan so I was wondering how I can catch my team's game on Apple TV.

    http://www.apple.com/appletv/whats-on/
    This is what you can see on the appletv

Maybe you are looking for

  • HT204053 i want to have 2 apple ids one computer so my husband and I can share music . Is this possible?

    I would like to t have 2 apple ids for one computer so my husband and I can share music he got a 4s and i got the 5. Can this be done?

  • Photos too dark!

    I just tried to print my first photo and the printed photo was much much darker than it appears on screen in Photoshop Elements. How do I correct this so that the printed photo appears approximately the same as the screen display? Thanks.

  • Vendor creation and approval workflow

    some consultants told us that there's eForm functionality delivered with ECC that enable the end users to submit new vendor create application through eForm (I am not sure if he meant using IE for forms in SAPmail) and routed in SAP to create Vendor

  • ArrayList will grow and shrink implicitly

    Hi, I have an ArrayList which is going to hold 1000 elements, hence I have defined the List as :- List list = new ArrayList(1000); If the number of elements is less than 1000 , in such case whether the ArrayList will shrink implictly and similarly if

  • Cursor set in JDialog not behaving correctly

    I have a JFrame which creates a custom modal JDialog. In the JDialog I set the Cursor to WAIT_CURSOR when a certain button is clicked. If I move the mouse outside the bounds of the JDialog, it changes back to an arrow, then if I move back to the JDia