WF with Exception class issue

Hi folks.
I'm on ECC 6.0. I bult a ZCLASS and a Zworkflow which works with a ZCL_class, which works with a ZCX_class (exception class) and its messages.
Inside workflow, in dialog task/step, I use a PFAC (rule) to determine agent.
This PFAC rule works fine to get agent. BUT I tryied to force a error (test purpose to see correct ERROR Zmessage in WF log) inside the FM called, but it doens't work. The error is like "Indice ParForEach (id of node).". (I know this error happens when left the correct parameter in bind)....BUT:
I know this rule works correct when find a agent. BUT when I simulate "no agents", it gives this WRONG error message. I'd like to put my OWN error message.
Inside the FM called by rule, I instatiated object and I use TRY..CATCH..ENDTRY structure. My CATCH command have a call to exception class and it has the correct message. BUT still not giving (expected) CORRECT ERROR MESSAGE when necessary.
Thanks.
Glauco

Hi.
Inside the FM, I instantiate a object and call method of Zclass to find user, using TRY..CATCH..ENDTRY.
TRY.
      CALL METHOD lo_curso->get_usuario_lider
        EXPORTING
          objid_lider   = lv_id_gerente
        IMPORTING
          usuario_lider = l_usuario_lider.
      IF l_usuario_lider IS NOT INITIAL.
        CONCATENATE 'US'
                    l_usuario_lider
                    INTO l_actor.
        APPEND l_actor TO actor_tab.
      ENDIF.
    CATCH zcx_hcm_curso .
      RAISE nobody_found.
  ENDTRY.
OBS.: I also tryied to use (coment RAISE nobody_found.) nd put OO exception, but when verifying code, give error "Old and new exceptions cannot be used at the same time".

Similar Messages

  • Servlet failed with Exception java.lang.LinkageError: Class javax/servlet/ServletConfig

              Hi
              I registered a web app with Weblogic 5.1 in the weblogic.properties file. I try
              to run the web app from my browser typing http://localhost:7001/xxx(Webapp name)
              and a jsp page. Following is the error I get. It would be helpful if some one
              could point me to a fix for this problem
              Tue May 01 13:56:41 CDT 2001:<I> <ServletContext-omxclient> Generated java file:
              D:\weblogic\myserver\omxclient\_tmp_war\jsp_servlet\_omx\_login.java
              Tue May 01 13:56:43 CDT 2001:<E> <ServletContext-omxclient> Servlet failed with
              Exception
              java.lang.LinkageError: Class javax/servlet/ServletConfig violates loader constr
              aints
              at jsp_servlet._omx._login._jspService(_login.java:59)
              at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
              pl.java:105)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
              pl.java:123)
              at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
              textImpl.java:742)
              at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
              textImpl.java:686)
              at weblogic.servlet.internal.ServletContextManager.invokeServlet(Servlet
              ContextManager.java:247)
              at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.jav
              a:361)
              at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:261)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              

              Sorry, I didn't look very closely - the exception is for
              javax.servlet.ServletConfig - should be in weblogicaux.jar.
              Is there anything wrong with it? What service pack are you
              using? Could be a problem with weblogic.policy.
              mike
              >>java.lang.LinkageError: Class javax/servlet/ServletConfig
              "KC" <[email protected]> wrote:
              >
              >Hi Mike
              >The login.jsp page just contains a javascript function and two text boxes
              >in it.
              >Will try making changing it. If that is not the issue could you let me
              >know of
              >any other issues.
              >
              >"mreiche" <[email protected]> wrote:
              >>
              >>I would guess that login.jsp is a very large JSP and that
              >>the generated service method is too large for the classloader's
              >>liking. Try making it smaller.
              >>
              >>Mike
              >>
              >>
              >>"KC" <[email protected]> wrote:
              >>>
              >>>Hi
              >>>I registered a web app with Weblogic 5.1 in the weblogic.properties
              >>file.
              >>>I try
              >>>to run the web app from my browser typing http://localhost:7001/xxx(Webapp
              >>>name)
              >>>and a jsp page. Following is the error I get. It would be helpful if
              >>>some one
              >>>could point me to a fix for this problem
              >>>
              >>>Tue May 01 13:56:41 CDT 2001:<I> <ServletContext-omxclient> Generated
              >>>java file:
              >>> D:\weblogic\myserver\omxclient\_tmp_war\jsp_servlet\_omx\_login.java
              >>>Tue May 01 13:56:43 CDT 2001:<E> <ServletContext-omxclient> Servlet
              >>failed
              >>>with
              >>>Exception
              >>>java.lang.LinkageError: Class javax/servlet/ServletConfig violates
              >loader
              >>>constr
              >>>aints
              >>> at jsp_servlet._omx._login._jspService(_login.java:59)
              >>> at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
              >>> at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
              >>>pl.java:105)
              >>> at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
              >>>pl.java:123)
              >>> at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
              >>>textImpl.java:742)
              >>> at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
              >>>textImpl.java:686)
              >>> at weblogic.servlet.internal.ServletContextManager.invokeServlet(Servlet
              >>>ContextManager.java:247)
              >>> at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.jav
              >>>a:361)
              >>> at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:261)
              >>>
              >>> at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              >>>
              >>>
              >>
              >
              

  • Errors with CF 8.0.1 hotfix 3 and hotfix 4, "Object Instantiation Exception.Class not found"

    We need to get our servers up to date with the latest ColdFusion hotfixes in order to pass our security scans and policies. We have been following the Adobe instructions for installing the hotfixes, but we’re getting the same errors each time. The CF 8 hotfix 2 works fine, but once we install hotfix 3 and/or hotfix 4, we get the following errors:
    "Object Instantiation Exception.Class not found: coldfusion.security.ESAPIUtils The specific sequence of files included or processed is: C:\ColdFusion\wwwroot\WEB-INF\exception\java\lang\Exception.cfm, line: 12 "
    coldfusion.runtime.java.JavaObjectClassNotFoundException:
    We have dozens of servers running Windows XP, Netscape Enterprise Server 6.1 (I  know, don’t laugh), ColdFusion 8,0,1,195765, and Java Version 1.6.0_04. Just about  the only good thing about running XP on our servers is that it matches  our development boxes, so we have almost mirrored environments for dev,  test, and production. We do NOT have the CF install with the J2EE configuration.
    The crazy thing is, on tech note 51180 (http://kb2.adobe.com/cps/511/cpsid_51180.html), it says that the fix for bug # 71787 (Fix for "Object Instantiation Exception" thrown when calling a Java object constructor or method with a null argument under JDK 1.6.) was added in cumulative hotfix 2. However we don’t see this problem until we go to hotfix 3 (or 4).
    I’ve also been reading that other people had this same problem, and that the CF 8 hotfix 3 was not compatible with certain versions of JDK, then when you read the Adobe site for CF 8.0.1 hotfix 3, it says “Added the updated cumulative hotfix to make it compatible with jdk 1.4.x, 1.5.x and 1.6.x.”, so that makes me think that Adobe was supposed to have fixed this CF 8.0.1 hotfix 3 JDK incompatability issue - but unfortunately it's still not working for us. We have followed the instructions for removing the jar files and starting/restarting the CF server as directed, we’ve tried this 5-6 times, and still no luck.
    Recommendations? Seems like this is a ColdFusion bug to me – one that says is fixed on the Adobe site, but is not fixed in our environment. Please advise, thanks.

    For what it's worth, we had an MXUnit user describe a similar, though not identical, problem after installing the latest hotfixes. In his case, he's getting "NoSuchMethodExceptions".

  • Issue with JSPs with inner classes (bug)

    FYI:
    Turning on Versioning in the registry (Disable=0) JSPs with inner classes causes the following IllegalAccessException...
    This has been confirmed with SP3 and SP4 with our testing...
    14/Jan/2002 13:26:24:4] error: Exception: SERVLET-run_failed: Failed in running template: /NASApp/fortune/foo.jsp, java
    lang.IllegalAccessError: try to access class jsp.APPS.fortune.foo$foobar from class jsp.APPS.fortune.foo
    xception Stack Trace:
    ava.lang.IllegalAccessError: try to access class jsp.APPS.fortune.foo$foobar from class jsp.APPS.fortune.foo
    at jsp.APPS.fortune.foo._jspService(foo.java:78)
    at org.apache.jasper.runtime.HttpJspBase.service(Unknown Source)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
    at com.netscape.server.servlet.servletrunner.ServletInfo.service(Unknown Source)
    at com.netscape.server.servlet.servletrunner.ServletRunner.callJSP(Unknown Source)
    at com.netscape.server.servlet.platformhttp.PlatformHttpServletResponse.callJspCompiler(Unknown Source)
    at com.netscape.server.servlet.platformhttp.PlatformHttpServletResponse.callUri(Unknown Source)
    at com.netscape.server.servlet.platformhttp.PlatformHttpServletResponse.callUriRestrictOutput(Unknown Source)
    at com.netscape.server.servlet.platformhttp.PlatformRequestDispatcher.forward(Unknown Source)
    at com.netscape.server.servlet.jsp.JSPRunner.service(Unknown Source)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
    at com.netscape.server.servlet.servletrunner.ServletInfo.service(Unknown Source)
    at com.netscape.server.servlet.servletrunner.ServletRunner.execute(Unknown Source)
    at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
    at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
    at com.kivasoft.thread.ThreadBasic.run(Native Method)
    at java.lang.Thread.run(Thread.java:479)
    Looking for work around....
    Cheers,
    Martin Gee

    I do not see why you would use two sorts.
    And what is the issue exactly by the way? Errors?
    So, the records before the Merge Join need to come sorted, to achieve this simply tick:
    Arthur My Blog

  • Issue with Exceptions in Reporting

    Hi BW Gurus,
                I am still new to BW, Like I have a issue with exceptions in reporting.
                Let me explain clearly, I created a report which gives me two MRP values they are for example V1 and PD(there other MRP types but I am focusing only this two). Here I can see in my report those two values and the overall result of all MRP types (they are 6 different types). My report looks like this for examply
       V1                  46,782,434(this are rough figures)
       PD                  56,232,453
       Overall Result      102,434,111
            Here my requirement is I need to find this overall result like accroding to thresold values this overall result shows RED,YELLOW,GREEN.
            I have given threshold values in exceptions. like
       0           -
    > 45,000,000(Red)
       45,000,001  -
    > 65,000,000 (Yellow)
       65,000,001  -
    > 500,000,000 (Green)
           But according to this values I should get Red( Overall Result), I cant see any change in the overall result.
           Please can some one give advice how to reflect this threshold values in my report.Or I have to select any other options in exceptions.
           Thanks in advance.
    Regds
    Sam

    Not really possible with BEx functions, but if you provide a workbook to users you can just type in this information in a non-Bex cell and save the workbook.
    Else you can try to name your exception such that it shows the value ranges. Then in the report, from the toolbar Layout > Display Exceptions.
    Hope this helps...

  • Query issue with exception aggregation

    Dear all,
    I have to solve the following reporting issue with BEx:
    Cube Structure:
    Cube A:
    Characteristics: Company Code, Article, Distribution Channel, Customer, FiscalYear/Period
    Key-Figures: Sales Val., Sales Qty.
    Cube B:
    Characteristics: Company Code, Article, FiscalYear/Period
    Key-Figures: COGS
    I simply want to multiply:  Sales Qty@COGS = NODIM(Sales Qty) * COGS,
    but this calculation should be valid for all characteristics of my cube A, even if I do not have them available in Cube B (like Customer and Distribution Channel). Additionally the calculated totals of my characteristics must be correct so that I can apply in second step a Margin Calculation: Sales Val. - Sales Qty@COGS which is valid on single level, as well as on total level.
    I started to setup calculated key-figures
    COGS1 = NODIM(Sales Qty) * COGS   with Exception aggregation TOTAL by Company Code
    COGS2 = COGS1 with Exception Aggregation TOTAL by Article
    and this worked fine for both characteristics. If I use COGS2 in my report I get correct figures in a drilldown by Company Code and Article.
    I enhanced the calculation by
    COGS3 = COGS2 with Exception Aggregation TOTAL by Distribution Channel, but the result in this case is 0. I guess the result is 0, as the characteristic Distribution Channel is not availble in Cube B.
    Any ideas how to solve this? Is there probably a different (more elegant) approach, as I fear that having all the exception aggregations my query runtime/ressource consumption will be awful.
    Thanks for any idea,
    Andreas

    Hi,
    You should define a new selection for COGS having Constant Selection on DC as defined in following link for PRICE with CUSTOMER.
    [http://help.sap.com/saphelp_nw70/helpdata/en/46/91f0f090ea13e8e10000000a155369/content.htm]
    and then apply your formulas....
    hope it will solve the problem...
    Regards.

  • Exception has occurred Exception Class  CX_SY_MOVE_CAST_ERROR

    HI ,
    I added two value nodes in the in the BUILHEADERINDUSTRY context node of the component BP_ DATA. The issue is that after adding the value nodes i edited the configuration to add the new fields to displayed on WEB_UI now when i open the view in web UI after clicking onthe relevent assignment block the following exception is thrown.
    Cannot display view BP_DATA/CorpAccountIndustriesList of UI Component BP_DATA
    An exception has occurred Exception Class  CX_SY_MOVE_CAST_ERROR - Source type
    \CLASS=CL_BSP_WD_MIXED_NODE is not compatible, for the purposes of assignment, with target
    type \CLASS=CL_CRM_BOL_ENTITY 
    Method:  CL_BP_DATA_CORPACCOUNTIN1_IMPL=>DO_PREPARE_OUTPUT 
    Source Text Row:  37
    Please suggeest how can this be resolved....

    Hi Abhi,
    in do_prepare_output you are getting mixed entity which is combination of bol entity and value node.
    you can get the bol entity from mixed node by calling a method get_model_node similarly to get value node entity get_value mode method is available check the class CL_BSP_WD_MIXED_NODE methos, you will get an idea.
    Cheers,
    Sumit Mittal

  • Is Verizon going to end up with a Class Action Lawsuit regarding the Trade-In Scam?

    I notice I'm not the first to report this issue.  In fact, after reading the horror stories in the community, I'm questioning if going with Verizon Wireless and/or using their online trade-in program was the right thing to do.  I see so many other people experiencing the same nightmare, I figure it's just a matter of time until there's a Class Action Lawsuit against them regarding their Trade-in Scam of 2014.
    I was lured to Verizon by their promotion of receiving $200 for my iPhone 4s.  I pre-ordered my iPhone 6 online on 9/12.  Following the check-out, I was given the option to complete the online trade-in program.  My iPhone 4s was in perfect condition as it was kept in a LifeProof case since day 1.  Being in that condition made it eligible for the full $200 trade-in value.
    My iPhone 6 arrived on time.  I transferred my data from the iPhone 4s to the iPhone 6.  Then ensured the 'find my phone' feature was turned off, all passwords unlocked and factory reset completed.  Then I fully charged the phone and turned it off prior to packing into the provided trade-in program materials/envelope.
    I was a little concerned about the trade-in program materials/envelope.  The envelope itself was nothing more than a padded envelope.  It was a pre-printed business reply envelope.  No tracking number other than a bar code with my submission id on it and then stamped with the word PROMO.  I was hesitant to drop it in a mailbox so I took it right into my local post office.  That was on 9/23.
    I started checking the trade-in status a week later but the status was 'Not Received'.  Another week later, same thing.  Finally, I reached out to the trade-in program via email on 10/11.  I received a 'canned' response back on 10/16 that I should wait 4-6 weeks for my gift card.  That time period includes a 2-3 for inspection and processing from the date of receipt at the warehouse.
    On 10/25, I reached out again to the trade in program via email.  On 10/26, I received the very same response... word for word.  I reached out again on 11/7 and they didn't even reply.  I tried calling but got no where by phone.  They claim they'll escalate the issue but I never hear back.
    I really feel scammed out of $200 by using this online trade-in program.  The guideline stipulated that I must use the supplied packing materials and envelope or the promotion amount would not be guaranteed; however, without tracking there is no way to know where the phone is.
    Come on Verizon...  you lured me in, now do the right thing and send me the $200 gift card I was promised.

    I've gone through the same process as you've described with a different twist. They advised me that the screen on
    my phone was cracked. They are sending me $36 instead of the Appraised Value of $200.  I'm not an Attorney
    but I would bet it would be an easy win over Verizon in a Class Action, because this whole process smells
    bad. There must be tens of thousands of people getting ripped off and they're not all liars, which is what Verizon would have a judge believe. Contract or no contract, most states prohibit Agreements that would negate consumer protection
    from fraudulent business practices.
    Verizon may play hardball with it's disenchanted customers and there isn't much you can do as an individual.
    This just happened with me on one phone and I'm waiting for news of a second phone that I sent at the same time.
    In the meantime I will visit the Verizon Store and talk to the salesperson who sold me the two new iPhone 6's
    and see what he can do. I will also contact my local Better Business Bureau office for their advice. If there's no satisfaction, I will keep the phones, stop paying my bill and get a new carrier. They can take me to court, but I will be there first in@ Small Claims Court. I'm retired so I have time to do this stuff, but most people can't, so the best bet is still a
    good Lawyer with a Class Action Suit and lots of negative publicity in the papers and the internet.

  • ABAP OO Exception Class based processing

    Hi there,
    Note: In going forward with SAP WAS 6.20, one can handle exceptions using exception-class based handling using RAISE EXCEPTION TYPE abc and then CATCHing it in TRY/ ENDTRY block. Standard method like GET_TEXT can be used to get the text of the exception raised.
    Question: If I know the EXCEPTION CLASS and Exception ID of my exception class, is it possible to get the exception text directly from the repository without creating the exception class object?
    E.g. Exception class is CX_MY_SECRET_ID
    and Exception IDs for this class are
    ID_NOT_FOUND,
    ID_EXPIRED,
    ID_IS_FOR_SPECIAL_ACCESS
    E.g. last two exception IDs are my warning conditions, and if such conditions are encountered, all I want to do is collect the warning messages. Whereas first exception ID condition (i.e. ID_NOT_FOUND) is an error for me, in which I have pass the exception back to the calling program. E.g. the source code is like this:
    PERFORM.......
    If ID is not found
       RAISE EXCEPTION TYPE ZCX_MY_SECRET_ID
               EXPORTING TEXT_ID = 'ID_NOT_FOUND'.
    else if ID has expired
       ...... then do I have to first raise the exception like raised above and CATCH it before I can get its text? or can I get the exception text directly without raising the exception first (as I know i have to retrieve the text of ZCX_MY_SECRET_ID exception class for Exception ID ID_EXPIRED)?
    In other words, if a certain condition is warning for my program, can I get the condition for that exception (from exception class based on exception class name and exception ID), or do I have to RAISE it first explicitely and then CATCH it immediately and execute GET_TEXT to get its text?
    Thanks very much!

    Hello Chetan,
    in basic the raise exception type xxx creates an exception object and aborts normal execution continuing in the enclosing try block.
    The Abap runtime contains some optimizations regarding the try block has an 'into xxx' clause. But as long you use the same exception you cant take benefit from this.
    As far I understand your problem you have two different kind of severities. So I would use 2 differnt exception classes (maybe derived from a common parent type, or one from the other).
    So both the code which throws the exception and the one which catches it are aware of the different semantic.
    Kind Regards
    Klaus

  • MS SQL server is going down frequently(10 days of gap) with exception message: "A severe error occurred on the current command. The results, if any, should be discarded".

    MS SQL server is going down frequently(10 days of gap) with exception message: "A severe error occurred
    on the current command. The results, if any, should be discarded". We are facing this issue for past two month.But funny thing is server will be up automatically with out any service restart manually.  Also if we try to restart the SQL
    server service manually then SQL server will be in a dead lock situation and it will not come up even if we wait for long time. Then we should do a windows server machine restart to
    make the SQL sever up. As a suggestion from Microsoft to fix this kind of similar issue,
    we have installed service pack 3 for SQL Server. But even after we are facing same issue.
    Server Details:
    Server OS: Windows Server 2008 R2
    Two type of database servers are installed on server:
    1. MS SQL Server 2008 R2
    2. My SQL
    Also Reporting server is configured for the purpose of generating SSRS report from a dot net website.
     NOTE:Immediately after the data retrieval/save, we are closing the connection explicitly by the
    application.
    we have checked the windows event log and below are the details:
    Log Name:      Application
    Source:        ASP.NET 4.0.30319.0
    Application information:
        Application domain: /LM/W3SVC/5/ROOT-1-130718142067856406
        Trust level: Full
        Application Virtual Path: /
        Application Path: E:\WebSpaceFolder\ACSQuiK\Production\
        Machine name: DBSERVER 
     Process information:
        Process ID: 148
        Process name: w3wp.exe
        Account name: NT AUTHORITY\NETWORK SERVICE 
     Exception information:
        Exception type: SqlException
        Exception message: A severe error occurred on the current command.  The results, if any, should be discarded.
       at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
       at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
       at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
    Log Name:      Application
    Source:        Report Server Windows Service (MSSQLSERVER)
    Description:
    Report Server Windows Service (MSSQLSERVER) cannot connect to the report server database.
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Report Server Windows Service (MSSQLSERVER)" />
        <EventID Qualifiers="0">107</EventID>
    Could anybody can suggest any kind of fix for this issue? Thanks in advance.

    Hi YesYemPee,
    I have tried but still not clear about your issue, I would like you provide more details information about your issue based on below points to better analysis about the issue:
    What action did you do and caused the error "A severe error occurred on the current command. The results, if any, should be discarded", did you run report on the web application or something else then the error happen?
    If you rendering the report and got the error, please try to provide us more error information in the log files which path like:
    C:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting Services\LogFiles
    If it is not the case in step1, Please try to provide SQL Server Error log(SQL Server Logs) and more details information.
    If you still have any problem, please feel free to ask.
    Regards,
    Vicky Liu
    Vicky Liu
    TechNet Community Support

  • Error message in WebGUI after adding fields with EEWB - Class doesn't exist

    Hello!
    After adding fields to the component BT111H_OPPT within EEWB and BSP_WD_CMPWB I recieved an error message while trying to open an Opportunity in the WebGUI, stating:
    Cannot display view MainWindow
    An exception has occured
    Exception Class CX_SY_DYN_ILLEGAL_CLASS - Method call of IF_BSP_WD_DYN_RT_REP_SUPPORT~GET_URL_PARAMETERS failed; the class ZL_BT111H_O_BSPWDCOMPONEN_IMPL does not exist
    Method: CL_BSP_WD_COMPONENT_FACTORY=>GET_REPOSITORY_XML
    Source text Row:25
    An exception occured during the activation of target view CUBTOpptOverview.MainWindow for the navigation
    An exception has occured
    Exceptions Class CX_BSP_WD_RUNTIME_ERROR - View CUBTOpptOverview.MainWindow could not be bound
    Method: CL_BSP_WD_VIEW_CONTROLLER=>BIND_VIEW
    Source text Row:162
    Has any one an idea, if this could be a bug or what went wrong? I am especially irritated, that it seems, that class was not created. After all I never changed any tables or anything in the background manually. I just used the standard tool EEWB, nothing else.
    Many thanks for any kind of help!
    By the way, I tried to go back all the steps I took previously to, kind of "un-do" my error, but I was not able to delete all created extensions, due to a another error - but that's a different story, or isn't it?
    Cheers,
    Marek

    Hello Experts,
    I know my question was a tricky one and no-one was able to help me from this forum. That's why I would like to share with you the solution I just recieved from SAP:
    Although all classes that were created whilst extending the component BT111H_OPPT were deleted, there still existed a seperate extension definition in ViewCluster BSPWDVC_CMP_EXT still persisted.
    I wasn't aware of the fact, that I had to delete that too.
    Note: in order to delete ViewCluster, use tx SM34
    The problem ist now solved!
    Cheers!
    Marek

  • Approval task SP09: Evaluation of approvalid failed with Exception: while trying to invoke the method java.lang.String.length() of an object loaded from local variable 'aValue'

    Hi everyone,
    I just installed SP09 and i was testing the solution. And I found a problem with the approvals tasks.
    I configured a simple ROLE approval task for validate add event. And when the runtime executes the task, the dispatcher log shows a error:
    ERROR: Evaluation of approvalid failed with Exception: while trying to invoke the method java.lang.String.length() of an object loaded from local variable 'aValue'
    And the notifications configured on approval task does not start either.
    The approval goes to the ToDO tab of the approver, but when approved, also the ROLE stays in "Pending" State.
    I downgraded the Runtime components to SP08 to test, and the approvals tasks works correctly.
    Has anyone passed trough this situation in SP09?
    I think there is an issue with the runtime components delivered with this initial package of SP09.
    Suggestions?

    Hi Kelvin,2016081
    The issue is caused by a program error in the Dispatcher component. A fix will be provided in Identity Management SP9 Patch 2 for the Runtime component. I expect the patch will be delivered within a week or two.
    For more info about the issue and the patch please refer to SAPNote 2016081.
    @Michael Penn - I might be able to assist if you provide the ticket number
    Cheers,
    Kristiyan
    IdM Development

  • Exception class: RFC not found

    Hi,
    Do you know whether there is an exception class in web dynpro java that i can catch in case the RFC is not found in the backend system?
    Thanks and regards,
    Nada

    Thank you!
    Are the mentioned exceptions general exceptions if something is going wrong with the execute() method or they are specific for the problem 'RFC not found in the backend).
    So I need this specfic information that the RFC is not found in the backend.

  • Exception class log

    Hi all,
    i build exception class with massages ,and i want to know if there is log that
    manage this exception ? i,e. where i can see the exception's of the program if they occur .
    Best regards
    Nina

    Hi Nina,
    take a look at the function modules in function group SBAL. They let you add messages to message logs which can be displayed using transaction SLG1.
    You can find more information here:
    [Online help for application logs|http://help.sap.com/saphelp_erp60_sp/helpdata/EN/2a/fa0216493111d182b70000e829fbfe/content.htm]
    Regards,
    David

  • Exception class help

    Hi,
    i create exception class like it write in the sap help and when i want to send the exception with parameters to the ABOVE METHODS i don't susses  i just get the message without the parameter ?
    there is simple guideline how o transfer the exception with parameters?
    br
    Ricardo

    HI Uwe,
    Thanks,
    This is my sample code:
    This is the first method on the tree:
    the method name is create .
    INSERT (lt_table_name) FROM <ls_obj>.
        IF sy-subrc <> 0.
          RAISE EXCEPTION TYPE /cx_db_db_error
            EXPORTING
              textid     = cx_db_error=>create_failed
              table_name = lt_table_name.
        ENDIF.
    this method call to the above method - create .
    TRY.
            CALL METHOD lo_obj_create->create
              CHANGING
                is_bound_object = ls_obj_user.
          CATCH cx_db_error INTO lo_exc.
            "Create user failed. Throw an exception.
            RAISE EXCEPTION TYPE cx_db_error
              EXPORTING
                textid     = cx_db_error=>create_user_error
                previous   = lo_exc.
            result = lo_exc->get_text( ).
        ENDTRY.
    here in result i just get the massage without the table name that i export in the first method ,what i miss here ?
    Best Regards
    Ricardo

Maybe you are looking for

  • Problem with Filtering Data by Using "Greater Than" in APD

    Dear Experts,   First of all, I am a novice of SAP Data Mining. I try to filter data in APD by using the 'Restrict Amont of Data (the Filter Icon).' My problem is really simple. I don't know how to filter data which have value greater than a constant

  • Outgoing calls to new number "Ends"...

    Hi,     I use a Nokia Lumia 800 with an Airtel Connection. If I make a call to any new (unknown) number, the call ends instantly. If I save the same number (to some name eg. ABC) in my phone & call ABC from my contacts, then it is working fine... Any

  • IDVD unexpectedly quitting

    I'm running Mac OS X 10.3.9 and iDVD 6, and I know that's old software now, but I checked for software updates and it was just for GarageBand and iMovie. But every time I try to burn a DVD, it unexpectedly quits (right after it asks me to put a blank

  • How can I set delay time to POST on tcp/ip

    I tried to convert to Labview from PHP below source. but I couldn't check EOF on Labview as php source. function http_post($host, $path, $data) $http_response = ''; $content_length = strlen($data); $fp = fsockopen($host, 80); fputs($fp, "POST $path H

  • An extraordinary workflow

    I saw this question on an ePub etc forum I lurk on, on Linkedin: "Let me start this off with the preface: Epub is not the answer. Been there done that. I have a client who wrote a book and put that book on a Powerpoint. I converted that to a compatib