Coding - where is the error?

Hello,
in transformation I have following coding:
      CLASS routine IMPLEMENTATION
CLASS lcl_transform IMPLEMENTATION.
   METHOD compute_YBV2LIEGR.
  IMPORTING
    request     type rsrequest
    datapackid  type rsdatapid
    SOURCE_FIELDS-/BIC/YBV2HPTLF TYPE /BIC/OIYBV2HPTLF
   EXPORTING
     RESULT type tys_TG_1-/BIC/YBV2LIEGR
     DATA:
       MONITOR_REC    TYPE rsmonitor.
$$ begin of routine - insert your code only below this line        -
*--  fill table "MONITOR" with values of structure "MONITOR_REC">
*-   to make monitor entries
    ... "to cancel the update process
   raise exception type CX_RSROUT_ABORT.
     ... "to skip a record
   raise exception type CX_RSROUT_SKIP_RECORD.
     ... "to clear target fields
   raise exception type CX_RSROUT_SKIP_VAL.
if SOURCE_FIELDS-/BIC/YBV2HPTLF = '90118255'.
       RESULT = '10'.
     elseif SOURCE_FIELDS-/BIC/ZZHPTLF = 'CL500115'.
       RESULT = '10'.
    elseif SOURCE_FIELDS-/BIC/ZZHPTLF = '90051227'.
       RESULT = '20'.
     elseif  SOURCE_FIELDS-/BIC/ZZHPTLF = '90806180'.
       RESULT = '30'.
elseif SOURCE_FIELDS-/BIC/ZZHPTLF = '90031'.
       RESULT = '80'.
     else.
       result = '90'.
       clear RESULT.
       endif.
     endif.
For CL500115 result is 10. That works. For the others it does not work.
Why?
Any idea. The target object is defined as char 2.

Hi
Could you plz place the Code in between and check :
$$ begin of routine - insert your code only below this line -
"Plz put the code here"
*-- fill table "MONITOR" with values of structure "MONITOR_REC">
*- to make monitor entries
... "to cancel the update process
raise exception type CX_RSROUT_ABORT.
... "to skip a record
raise exception type CX_RSROUT_SKIP_RECORD.
... "to clear target fields
raise exception type CX_RSROUT_SKIP_VAL.
Regards,
Aparna

Similar Messages

  • When target DB is down in which table is the data from source is stored, also where are the error messages stored in ODI

    When target DB is down in which table is the data from source is stored, also where are the error messages stored in ODI( I am not getting any error message in E$_TARGET_ANI_TEST).
    When i am running the interface i am getting the below error against the errored step
    "ORA-01045: user ABC lacks CREATE SESSION privilege; logon denied."
    Only E$_TARGET_ANI_TEST  is created with no data. No such tables like C$_0TARGET_ANI_TEST, I$_TARGET_ANI_TEST are created and also data is not inserted in the target table TARGET_ANI_TEST.

    Hi,
    I have checked that only E$ table is created. C$ and I$ table are not created ( I have selected my target schema as the part for the staging table).
    All the parameters for dropping the tables are selected as "<default>:false".
    I am importing the following KMs with the following parameters:
    1) CKM Oracle
    DROP_ERROR_TABLE
    :false
    DROP_CHECK_TABLE
    :false
    CREATE_ERROR_INDEX
    :true
    COMPATIBLE
    :9
    VALIDATE
    :false
    ENABLE_EDITION_SUPPORT
    :false
    UPGRADE_ERROR_TABLE
    :false
    2) LKM SQL to SQL
    DELETE_TEMPORARY_OBJECTS
    :true
    3) IKM SQL Incremental Update
    INSERT
    :true
    UPDATE
    :true
    COMMIT
    :true
    SYNC_JRN_DELETE
    :true
    FLOW_CONTROL
    :true
    RECYCLE_ERRORS
    :false
    STATIC_CONTROL
    :false
    TRUNCATE
    :false
    DELETE_ALL
    :false
    CREATE_TARG_TABLE
    :false
    DELETE_TEMPORARY_OBJECTS
    :true 

  • Where is the Error-Handler config DB file?

    Where is the Error-Handler config DB file?
    <P>
    All the Config DB files are in the config directory under the
    postoffice directory. Each config file has the same name as the
    Module it's the config for (e.g. Error-Handler contains the configs
    for the Error-Handler.)

    Look in the database alert file - in the "bdump" directory
    Look in the trace files in the "udump" directory
    If still no wiser:
    ALTER system SET event = '31098 trace name context forever, level 2' scope=spfile
    Try again and look for the trace files starting with "s..." in the "udump" directory.

  • Wher's the error? BPPF-BLART IN TD_PROTOCOLLO AND SYST-TCODE NOT IN Z_ECCEZ

    Hi All,
    cuold anyone tell me wher's the error in this code I've used in validation rules of FI?
    BPPF-BLART IN TD_PROTOCOLLO AND SYST-TCODE NOT IN Z_ECCEZIONE
    Thanks

    Hi All,
    cuold anyone tell me wher's the error in this code I've used in validation rules of FI?
    BPPF-BLART IN TD_PROTOCOLLO AND SYST-TCODE NOT IN Z_ECCEZIONE
    Thanks

  • Where is the error ring constant in LV 8.2?

    Where is the Error Ring Constant in LabView 8.2?  It was in the block diagram numerics panel in 7.1.1.

    You might wish to have a look at this.
    Try to take over the world!

  • Where's the error

    hey all, plz if any one can tell me where is the error in this method, its giving me arrayOutOfBounds error:
              for(int i=0; i<arr.length; i++)
                   if(arr[i+1] == arr)
                   result += arr[i]+arr[i+1];
                   if(result > maxResult)
                   maxResult = result;
              System.out.println(maxResult);
    thanks alot
    Abed

    Stop the loop one iteration earlier.
    By the way, both the API description and the error message, as well as the stack trace of an AAIOBE are very obvious and straightforward in pointing out the error's cause.

  • Where is the Error? in JSP

    I have develpoed a small application in java. which contains on one servler and one jsp page.
    Here is the servlet code:
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.io.*;
    import java.util.*;
    public class Controller extends HttpServlet {
    private static final String CONTENT_TYPE = "text/html";
    //Initialize global variables
    public void init() throws ServletException {
    //Process the HTTP Get request
    public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
    response.setContentType(CONTENT_TYPE);
    // PrintWriter out = response.getWriter();
    String teststring = "Good";
    request.setAttribute("Noman", teststring);
    RequestDispatcher reqdispatcher = this.getServletConfig().getServletContext().getRequestDispatcher("model1.jsp");
    reqdispatcher.forward(request,response);
    //Clean up resources
    public void destroy() {
    and here is the jsp page code:
    <html>
    <head>
    <title>
    model1
    </title>
    </head>
    <body bgcolor="#ffffff">
    <!--<form method="GET" action="Controller">
    JBuilder Generated JSP
    </form><-->
    <% String a = (String)request.getAttribute("Noman"); %>
    <%= a %>
    </body>
    </html>
    I want to pass a string drom servlet to jsp page.
    but when i run the jsp page. it displays null value in string.
    Where is the error.
    i tried it a lot but can not find error in code.
    plz help me.
    Thanks
    Nomi

    i have passed the URL of servlet to run then it shows that error
    Apache Tomcat/4.0.6 - HTTP Status 500 - Internal Server Errortype Exception reportmessage Internal Server Errordescription The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request.exception java.lang.IllegalArgumentException: Path model1.jsp does not start with a "/" character
    at org.apache.catalina.core.ApplicationContext.getRequestDispatcher(ApplicationContext.java:572)
    at org.apache.catalina.core.ApplicationContextFacade.getRequestDispatcher(ApplicationContextFacade.java:174)
    at test.Controller.doGet(Controller.java:21)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1027)
    at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125)
    at java.lang.Thread.run(Thread.java:534)
    i have not wrote any "/" character . i dont know what is that ?

  • Q: Where is the "errors message" reference?

    Folks,
    I'm trying to startup an instance of iFS but I'm facing some problems. When I execute the command line "ifsstartdomain" and enter the values on the dialog window, the following errors occurs:
    "IFS-45002: Unable to start domain controller/domain
    oracle.ifs.common.IfsException: IFS-20101: Unable to determine whether service exists(null)
    oracle.ifs.common.IfsException: IFS-19001: Required parameter was null (service name)"
    Does anybody know what is happening? I didn't find this errors in any documentation.
    Thanks in advance,
    Bruno Moreno

    Luis,
    I have entered BMORENO-BRA(my machine) in Domain Controller field, 53140(default port) in port field and the password of the IFSSYS schema in the password field.
    The main question is where I can find the errors documentation so I won't disturb you when I meet some news problems.

  • Where's the error?? Help....

    Hi all,
    well, i parse a file with the stream tokenizer and when find a number, i nedd to add it in an array. To verifiy if it works, i'd like to display by example array1[4][2]. But it doesn't work...
    Could you please have a look at this code and tell me where the error is?? I'd be very grateful....
    Here it is
    public void accept() {
              int n;
              int i=0;
              int j=0;
              int l1 = 0;
              int m1 = 0;
    try {FileReader fr = new FileReader("test2.dat");
            BufferedReader br = new BufferedReader(fr);
         StreamTokenizer stk = new StreamTokenizer(br);
         int [][] array1 = new int [9][3];
                   do {
                   n = stk.nextToken();
                   while (n != stk.TT_NUMBER);
                   do {
                   n = stk.nextToken();
                   if (n == stk.TT_NUMBER) {
                        double m = stk.nval;
                        m1 = (int) m;
                        n = stk.nextToken();
                        if (n == stk.TT_NUMBER){
                             do {
                             i++;     
                             double l = stk.nval;
                             l1 = (int) l;
                             array1 [m1] = l1;
                             n = stk.nextToken();
                             while (n!= stk.TT_EOL);
                   while (n != stk.TT_WORD); //fin du fichier
                   int r = array1 [4][2];
                   System.out.println(r);
                   br.close();
                   fr.close();
                   catch (IOException ioe1) {
                        System.out.println("io error");
    Thanks very much.....

    A few general advices for the forums:
    - Use code tags when posting code.
    - Be more specific than "it doesn't work". Tell what result you get! A compile error? Say so, and give the error. An exception during runtime? Say so, and give the stacktrace. It compiles and runs, but gives unexpected results? Say so, and tell both what results you expected and what you get.
    I think your problem is that you try to use '==' for String comparison. That won't work, use String.equals() instead.

  • Where is the error message for Debrief line stored?

    Hi,
    I'm writing an sql query to display all the debriefs (and lines) in error and need to display the detailed error message (the field labeled "Error" on the Material tab on Debrief form). Does anyone know where this is stored in tables? I am digging the form and have not found anything yet. Any help is appreciated.
    Sorry - I guess it is - CSF_DEBRIEF_LINES.error_text - But there have been some error records for which I could not find the error message in error_text field and I thought that it was stored somewhere else and that got me confused. - Please ignore the question.
    TIA
    Alka.
    Message was edited by:
    user498444
    Message was edited by:
    user498444

    when you set a picture to be a background of some folder that picture is not moved from its original location. instead a record is made in the .DS_Store file of that folder indicating that this picture is the one to be used for the background. in case of the DVD it is likely sitting in some hidden folder right on the DVD.
    run the following terminal command to enable showing hidden files in finder
    defaults write com.apple.finder AppleShowAllFiles 1; killall Finder
    then look on the dvd and the picture should be there somewhere. if you still can't find it open the .DS_store file of the folder in question using Text Editor. a lot of this file will be unreadable but the picture path will be present in plain text.
    when done rerun the above command after changing 1 to 0.

  • WLS 7 MDB JMSConnection Alive false - where is the error reported?

    I have a few MDBs subscribed to various destinations. One of them is
    subscribed to a queue called jms.queue.queue1 in JNDI. queue1 is a
    regular Queue (not distributed), lives in JMSServer1, which is
    deployed to WLS server1. An entry for it appears in JNDI on each
    server in the cluster (server1 + server2). The MDB lives in an
    ejb-jar which is deployed to the cluster containing server1 & server2.
    In the console, under deployments -> ejb -> myejb.jar -> monitoring ->
    Monitor all Message Driven EJBRuntimes, all the other MDBs have
    "JMSConnection Alive" appearing as "true", but the one subscribed to
    queue1 has "false". I cannot see any exceptions in the server logs.
    Is there any way to get at the reason for the "false"?
    I can use a command-line QueueSender and Receiver on queue1 without a
    problem, using the t3:// url of either of the WLS Servers.
    What's most important to me is where the error is reported - I've had
    this problem a couple of times and it seemed to go away on its own.
    I'm not getting any diagnositics right now.
    Many thanks,
    Jeremy.

    I guess you got the answer by this time.
    IF not the answer is:
    Use enable the TX flags in the JMSConnectionFactory. Goto console. Select
    the JMSConnectionFactory (what MDB is using). Click on the trnsactions tab.
    Check the boxes there.
    Cheers,
    ..maruthi
    "Jeremy Watson" <[email protected]> wrote in message
    news:[email protected]..
    >
    I "stumbled on" this - if you set these system properties:
    weblogic.ejb20.jms.connect.verbose=trueweblogic.ejb20.jms.connect.debug=true
    >
    ..then you get some informative error messages from the EJB runtime as ittries
    to connect to the JMS destination. In my case, I got the followingexception coming
    out:
    [JMSConnectionPoller] : ** FAILED TO CONNECT TO JMS WITH:weblogic.ejb20.WLDeploymentException:
    Message Driven Bean 'mdb3' is transacted but the provider defined in theejb is not
    transacted. Provider should be transacted if onMessage method in MDB istransacted.
    >
    >
    Apologies for double-posting. Thanks for the piece of direction Tom (inthe jms group),
    which helped me find the answer.
    Jeremy.

  • Where is the error support link now??

    There used to be very good knowledge base when esupport was there...
    http://primussupport.hyperion.com/esupport/esupport/consumer/esupport.asp?
    But now no esupport.... there is somesort of knowledge base in the new oracle metalink but i cannot find any support for even the common errors there..
    where is the esupport error msg support now???
    any idea???

    metalink 3?

  • Where is the error hiding

    CFC Code:
    <cffunction name="comp_extList"
    access="remote"
    returntype="query"
    description="Get a list of employees, phone extensions, and
    departments">
    <cfargument name="abbrCode" required="yes" />
    <cfargument name="searchBox" required="no" />
    <cfset searchBox = UCASE("#arguments.searchBox#") />
    <cfldap name="phoneList"
    server="#cfc.ldap.server#"
    username="[email protected]"
    password="#cfc.ldap.key#"
    action="query"
    filter="company=#arguments.abbrCode#"
    start="dc=bii, dc=corp"
    scope="subtree"
    attributes="sn,givenName,telephoneNumber,department"
    sort="sn ASC"
    port="389" />
    <cfif len(arguments.searchBox) GT 0>
    <cfquery name="phoneList" dbtype="query">
    SELECT *
    FROM phoneList
    WHERE (UPPER(givenName) LIKE '%#searchBox#%'
    OR UPPER(sn) LIKE '%#searchBox#%'
    OR telephoneNumber LIKE '%#searchBox#%')
    AND telephoneNumber <> ''
    </cfquery>
    <cfelse>
    <cfquery name="phoneList" dbtype="query">
    SELECT sn,givenName,telephoneNumber,department
    FROM phoneList
    WHERE telephoneNumber <> ''
    </cfquery>
    </cfif>
    <cfreturn phoneList>
    </cffunction>
    I need to pass entered information for a search, but I
    receive error message:
    element searchbox is undefined in arguments.

    The error is not hiding at all actually. First, I recommend
    scoping all your variables. Inside a <cffunction> you can use
    <cfset var myLocalVar = "" /> to keep the variables local.
    But I noticed that you have this line:
    <cfargument name="searchBox" required="no" />
    The searchBox argument is not required, but you're using it
    the very next line:
    <cfset searchBox = UCASE("#arguments.searchBox#") />
    Since the argument is not required, it may not be passed in
    and hence won't exist in the arguments scope. The way to fix this
    is giving it a default value like so:
    <cfargument name="searchBox" required="no" default=""
    type="string" />
    That way if nothing is passed, Arguments.searchBox will still
    have a value.

  • Where is the error code ring constant in LV8 ???

    Hi
    the question seems rather stupid to me but I can't find the error code ring constant any more in LV8.
    Where does it hide?
    Gruß,
    Sören

    You can copy it from some VI made in previous version of LV. It works fine.
    jochynator
    LV 8.0.1, WinXP Pro
    Attachments:
    error_ring_example.vi ‏11 KB

  • Clusterware (11g) pre-check fails but where is the error?

    Hi,
    I'm attempting to install 11g clusterware but when I run the cluster verify it seems to indicate an error ...
    -bash-3.2$ ./runcluvfy.sh stage -pre crsinst -n optest01,optest02 -verbose
    Performing pre-checks for cluster services setup
    Checking node reachability...
    Check: Node reachability from node "optest01"
      Destination Node                      Reachable?             
      optest01                              yes                    
      optest02                              yes                    
    Result: Node reachability check passed from node "optest01".
    Checking user equivalence...
    Check: User equivalence for user "oracle"
      Node Name                             Comment                
      optest02                              passed                 
      optest01                              passed                 
    Result: User equivalence check passed for user "oracle".
    Pre-check for cluster services setup was unsuccessful on all the nodes.
    -bash-3.2$ ./runcluvfy.sh comp admprv -n optest01,optest02 -verbose -o user_equiv
    Verifying administrative privileges
    Checking user equivalence...
    Check: User equivalence for user "oracle"
      Node Name                             Comment                
      optest02                              passed                 
      optest01                              passed                 
    Result: User equivalence check passed for user "oracle".
    Verification of administrative privileges was successful.
    -bash-3.2$ ./runcluvfy.sh comp admprv -n optest01,optest02 -verbose -o crs_inst -orainv oinstall
    Verifying administrative privileges
    Checking user equivalence...
    Check: User equivalence for user "oracle"
      Node Name                             Comment                
      optest02                              passed                 
      optest01                              passed                 
    Result: User equivalence check passed for user "oracle".
    Verification of administrative privileges was unsuccessful on all the nodes. How do I get more information on what the error is?
    Thanks,
    Steve
    Edited by: steve_baldwin on Nov 24, 2008 8:46 PM

    Thanks Rodrigo. I'm sure it's something stupid I'm doing. I manually created $CRS_HOME/cv/log but still no log file ...
    -bash-3.2$ echo $CV_DESTLOC
    /tmp
    -bash-3.2$ echo $CRS_HOME
    /var/oracle/product/clusterware/
    -bash-3.2$ ls -la $CRS_HOME
    total 24
    drwxrwxr-x 3 oracle oinstall 4096 Nov 24 15:53 .
    drwxrwxr-x 3 oracle oinstall 4096 Nov 24 14:57 ..
    drwxr-xr-x 3 oracle oinstall 4096 Nov 24 15:53 cv
    -bash-3.2$ ls -laR $CRS_HOME
    /var/oracle/product/clusterware/:
    total 24
    drwxrwxr-x 3 oracle oinstall 4096 Nov 24 15:53 .
    drwxrwxr-x 3 oracle oinstall 4096 Nov 24 14:57 ..
    drwxr-xr-x 3 oracle oinstall 4096 Nov 24 15:53 cv
    /var/oracle/product/clusterware/cv:
    total 24
    drwxr-xr-x 3 oracle oinstall 4096 Nov 24 15:53 .
    drwxrwxr-x 3 oracle oinstall 4096 Nov 24 15:53 ..
    drwxr-xr-x 2 oracle oinstall 4096 Nov 24 15:53 log
    /var/oracle/product/clusterware/cv/log:
    total 16
    drwxr-xr-x 2 oracle oinstall 4096 Nov 24 15:53 .
    drwxr-xr-x 3 oracle oinstall 4096 Nov 24 15:53 ..
    -bash-3.2$ ./runcluvfy.sh comp admprv -n optest01,optest02 -verbose -o crs_inst
    Verifying administrative privileges
    Checking user equivalence...
    Check: User equivalence for user "oracle"
      Node Name                             Comment                
      optest02                              passed                 
      optest01                              passed                 
    Result: User equivalence check passed for user "oracle".
    Verification of administrative privileges was unsuccessful on all the nodes.

Maybe you are looking for

  • How do I disable the back and forward gestures in F9 for OSX Lion?

    The new gestures in Firefox 9 for OSX Lion that enable you to browse forward and backward with a two-fingered swipe are driving me crazy. I like the idea, but it's way too sensitive. Every time I'm trying to scroll up or down a page (which also uses

  • Domains usage in SQL Developer data MODELER

    Hi, I'm trying to understand how to use Domains in Oracle SQL Developer Data Modeler. We use version 3.1.3 .  before I used Toad Modeler  where domains are just part of your main design. Oracle data modeler has some different concept. let's assume I'

  • Alac file size changes when added to iTunes

    Hello, I've converted some FLAC files to ALAC using dbPowerAmp.  The file bit rate remains unchanged.  However, when I add the ALAC files to iTunes, the bit rate shown in iTunes is reduced. Example - Alice Cooper, Hello Hurray FLAC Bit Rate - 4608 kb

  • Networking imac with pc

    New iMac just want to know how? Thanks

  • AR : Transaction Types

    Hello folks Why should I define transaction types in the following order? These are separate entry in the transaction window. So why the document says about the “following order”. Pls advice me. *• Credit memo transaction types* *• Invoice, debit mem