Error in executing a layout which has a hierarchy in lead column

Hi Experts,
I have used a planning level where a characteristic called 'reporting code' is restricted with a hierarchy.
Now when I am trying to execute a layout under this level I am getting some error. The characteristic is used in the lead column in this layout.Two differene type of error I am getting in following two different cases.
1. When I am using the hierarchical settings for the lead column then I am getting the error 'Hierarchy INPUT is not suited to the planning mode.
2. When I am not using the hierarchical settings for the lead column then I am getting the error 'Too many characteristic combinations for manual planning'.
If I reduce the no of nodes in the hierarchy for testing then none of this error is coming. So I think this is related to the volume of the hierarchy.
Can anybody put some light on this why this error is coming and how to resolve this error?
Regards,
Saikat Datta Gupta.

In case of text hierarchies, wherein we can plan only on leaves, for the layout to be displayed in a hierarichal manner, we need the following settings.
In the first screen of the layout builder, next to the layout description, click on the hierarchy icon, choose non-hierarchical data model and in the additional settings, all possible char combinations.
In the last screen of the layout builder, in lead column settings, check display totals as hierarchy.
With the above settings, layout shows the result in hierarchy mode.
In BPS layout, the no of rows will be limited. As you have given all possible combinations, system tries to display the entire hierarchy, i think which is exceeding the max limit. Try reducing the hierarchy size or keep the additional settings as "Transaction data" and check if the problem persists.

Similar Messages

  • In JDBC Sender Adapter , the server is Microsoft SQL .I need to pass current date as the input column while Executing stored procedure, which will get me 10 Output Columns. Kindly suggest me the SQL Query String

    In JDBC Sender Adapter , the server is Microsoft SQL .I need to pass current date as the input column while Executing stored procedure, which will get me 10 Output Columns. Kindly suggest me the SQL Query String , for executing the Stored Procedure with Current date as the input .

    Hi Srinath,
    The below blog might be useful
    http://scn.sap.com/community/pi-and-soa-middleware/blog/2013/03/06/executing-stored-procedure-from-sender-adapter-in-sap-pi-71
    PI/XI: Sender JDBC adapter for Oracle stored procedures in 5 days
    regards,
    Harish

  • Short dump while executing few queries , which has got created on Infoset.

    Hi,
    We went to BI7.0 upgrade from BW3.x now.
    We are getting short dump short dump while executing few queries and work book, which has got created on Infoset.
    When i was executing work book where i was geting popup message saying that "Erro ZSD_XST_F00121 is invalid".When i click that message it went to dump.
    I was getting this error while executing query on infoset.
    We are currently SP Stack 13(Patch level 15).
    I found some note 1067918 as per the shortdum,where it is saying that you need to apply SP Stack14(patch level16).
    Please some one who had earlier this kind of issue.
    I appreciate your answer.

    Dear Krish,
    Yes, It is the patch problem.
    We too faced the same issue on Infosets.
    Apply SP 15.
    Regards,
    Ram.

  • Error while executing SSIS package which contains Script component through SQL Server Agent Job

    Hello All,
    I have written one SSIS 2012 package which is fetching records from CSV and put it into staging DB and from staging DB , using SSIS script component task, I am inserting data into Dynamics CRM. So far it is working fine when
    I manually execute SSIS package.
    but when I run the SSIS package using SQL server agent job, I encounter below error. After seeing below error at step "Insert TLM Headers Script Component " I understand that it is failing at script component which I have used in SSIS package,
    but I am not sure what is the cause behind that? please advise.
    Error:
    Executed as user: domain\user account. Microsoft (R) SQL Server Execute Package Utility  Version 11.0.5556.0 for 64-bit  Copyright (C) Microsoft Corporation. All rights reserved.    Started:  1:21:41 PM  Error: 2015-02-25
    13:21:45.94     Code: 0xC0047062     Source: Insert TLM Headers Script Component [205]     Description: System.ServiceModel.FaultException: The server was unable to process the request due to an internal
    error.  For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the <serviceDebug> configuration behavior) on the server in order to send the exception information back to
    the client, or turn on tracing as per the Microsoft .NET Framework 3.0 SDK documentation and inspect the server trace logs.    Server stack trace:      at System.ServiceModel.Channels.ServiceChannel.ThrowIfFaultUnderstood(Message
    reply, MessageFault fault, String action, MessageVersion version, FaultConverter faultConverter)     at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)    
    at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)     at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage
    methodCall, ProxyOperationRuntime operation)     at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)    Exception rethrown at [0]:      at Microsoft.SqlServer.Dts.Pipeline.ScriptComponentHost.HandleUserException(Exception
    e)     at Microsoft.SqlServer.Dts.Pipeline.ScriptComponentHost.ProcessInput(Int32 inputID, PipelineBuffer buffer)     at Microsoft.SqlServer.Dts.Pipeline.ManagedComponentHost.HostProcessInput(IDTSManagedComponentWrapper100
    wrapper, Int32 inputID, IDTSBuffer100 pDTSBuffer, IntPtr bufferWirePacket)  End Error  Error: 2015-02-25 13:21:45.94     Code: 0xC0047022     Source: Insert TLM Headers SSIS.Pipeline    
    Description: SSIS Error Code DTS_E_PROCESSINPUTFAILED.  The ProcessInput method on component "Script Component" (205) failed with error code 0x80131501 while processing input "Input 0" (215). The identified component returned an error
    from the ProcessInput method. The error is specific to the component, but the error is fatal and will cause the Data Flow task to stop running.  There may be error messages posted before this with more information about the failure.  End Error 
    DTExec: The package execution returned DTSER_FAILURE (1).  Started:  1:21:41 PM  Finished: 1:21:45 PM  Elapsed:  4.009 seconds.  The package execution failed.  The step failed.
    Thanks
    Pankaj

    domain\user account has not proper rights
    That being said, often SSIS jobs require a proxy to be runnable and this is how you make one up
    http://www.mssqltips.com/sqlservertip/2163/running-a-ssis-package-from-sql-server-agent-using-a-proxy-account/
    Arthur
    MyBlog
    Twitter

  • Error While Executing Report - "Field symbol has not yet been assigned."

    Dear All,
    I am using Cube 0PP_C01 which filled with data Source 2LIS_04_P_MATNR.
    Based on this Cube I had developed a report.
    0MRP_CONTRL characteristic filled using 0MATERIAL master data.
    Authorization in this report is based on Characteristic 0MRP_CONTRL & 0PLANT.
    While running report User gets error u201CField symbol has not yet been assignedu201D & Analyzer just quit.
    Also getting dump in tcode ST22.
    This problem occurs when limited authorization of 0MRP_CONTRL & 0PLANT assigned to user & if I provide full authorization 0BI_ALL then report runs fine.
    When I will remove 0MATERIAL characteristic from report then Report runs fine & at a time when I put 0MATERIAL in the report its gives error.
    Please suggest me what to do as I can not give user 0BI_ALL right in RSECADMIN.
    Please help.
    Regards,
    Divyesh Khambhati.

    Hello Shashank,
    Thanks for your reply.
    No material is not checked for authorization relevant.
    Is it required to make 0MATERIAL to be checked as Authorization relevant ??
    I had make 0MATERIAL authorization relevant & assign all material Authorization to User but still error coming..
    I do not have any idea regarding this colon authorization, if possible can you explaine me how I can use this colon authorization ?
    Divyesh Khambhati
    Edited by: Divyesh M Khambhati on Oct 2, 2010 10:29 AM

  • Error in procedure with cursor which has a select query in NVL

    cursor has a select statement in the NVL functiion
    sample query in given
    SELECT fu.user_name Core_ID,
    fu.description User_Name,
    fu.LAST_LOGON_DATE LAST_LOGON_DATE,
    TRUNC(SYSDATE) - TRUNC(fu.LAST_LOGON_DATE) DAYS_SINCE_LAST_LOGON,
    NVL((SELECT 'YES' FROM custmot.moto_rma_approvers mra
    WHERE mra.primary_approver = fu.user_name),'NO') PRIMARY_RMA_APPROVER,
    NVL((SELECT 'YES' FROM custmot.moto_rma_approvers mra
    WHERE mra.secondary_approver = fu.user_name), 'YES', 'ALL RESPONSIBILITIES',
    DECODE(fu.employee_id, NULL, 'USER ACCOUNT', 'ALL RESPONSIBILITIES' ))) END_DATE_WHAT
    FROM apps.fnd_user fu
    This query runs fine when it is run seperately. But when its defined in cursor in a procedure it throws up the following error.
    "Encountered the symbol "SELECT" when expecting one of the following:
    ( - + mod not null others <an identifier>
    <a double-quoted delimited-identifier> <a bind variable> avg
    count c"
    can you please help us with this

    I noticed your statement has one additional end-bracket at the end. Probably this is just a typo. It should read like this:
    SELECT fu.user_name core_id,
           fu.description user_name,
           fu.last_logon_date last_logon_date,
           TRUNC (SYSDATE) - TRUNC (fu.last_logon_date) days_since_last_logon,
           NVL ((SELECT 'YES'
                   FROM custmot.moto_rma_approvers mra
                  WHERE mra.primary_approver = fu.user_name), 'NO')
                                                             primary_rma_approver,
           NVL ((SELECT 'YES'
                   FROM custmot.moto_rma_approvers mra
                  WHERE mra.secondary_approver = fu.user_name),
                'YES',
                'ALL RESPONSIBILITIES',
                DECODE (fu.employee_id,
                        NULL, 'USER ACCOUNT',
                        'ALL RESPONSIBILITIES'
               ) end_date_what
      FROM apps.fnd_user fuIf that doesn't help, you may make your cursor dynamic:
       OPEN c FOR 'SELECT fu.user_name core_id,
           fu.description user_name,
           fu.last_logon_date last_logon_date,
           TRUNC (SYSDATE) - TRUNC (fu.last_logon_date) days_since_last_logon,
           NVL ((SELECT ''YES''
                   FROM custmot.moto_rma_approvers mra
                  WHERE mra.primary_approver = fu.user_name), ''NO'')
                                                             primary_rma_approver,
           NVL ((SELECT ''YES''
                   FROM custmot.moto_rma_approvers mra
                  WHERE mra.secondary_approver = fu.user_name),
                ''YES'',
                ''ALL RESPONSIBILITIES'',
                DECODE (fu.employee_id,
                        NULL, ''USER ACCOUNT'',
                        ''ALL RESPONSIBILITIES''
               ) end_date_what
      FROM apps.fnd_user fu';

  • How to re-execute a job which has failed

    hi everyone,
                        i am executing a job ....it executed for few minutes and hav been able to load few records in the final table(target)....some exception is thrown up and job failed after that....i want to re-execute the job with only the records that are not processed...how to identify which records are processed?
    is there any process to do so in BO DI?

    Hi Suneel
    You can use several methods to ensure that you do not insert duplicate rows:
    u2022 Design the data flow to completely replace the target table during each
    execution
    This technique can be optimal when the changes to the target table are
    numerous compared to the size of the table. You can use tuning
    techniques such as bulk loading options to improve overall performance.
    u2022 Set the auto correct load option for the target table
    The auto correct load option checks the target table for existing rows
    before adding new rows to the table. Using the auto correct load option,
    however, can needlessly slow jobs executed in non-recovery mode.
    Consider this technique when the target table is large and the changes
    to the table are relatively few.
    u2022 Include a SQL command to execute before the table loads
    Preload SQL commands can remove partial database updates that occur
    during incomplete execution of a step in a job. Typically, the preload SQL
    command deletes rows based on a variable that is set before the partial
    insertion step began.

  • Error while running a Query which has measures from both facts

    Hi Guys,
    I have three tables. 1 Dimension table D1 and two fact tables F1 and F2.
    D1 has columns ------> Accountid, Account Number
    F1 has Columns ------> Accountid,Current Balance1, Balance Type
    F2 has Columns ------> Accountid,Current Balance2
    Now i want to run a report like
    D1.Account Number,F1.Current Balance1,F2.Current Balance2, F1.Balance Type.
    When i run this Report then i am getting values only for F1.Current Balance1 and F2.Current Balance2 is Null.
    But when i remove F1.Balance Type from Query i am getting both F1.Current Balance1 and F2.Current Balance2.
    Can any one help me with this.
    Thanks
    Rondo.

    RONDO wrote:
    Hi Guys,
    I have three tables. 1 Dimension table D1 and two fact tables F1 and F2.
    D1 has columns ------> Accountid, Account Number
    F1 has Columns ------> Accountid,Current Balance1, Balance Type
    F2 has Columns ------> Accountid,Current Balance2
    Now i want to run a report like
    D1.Account Number,F1.Current Balance1,F2.Current Balance2, F1.Balance Type.
    When i run this Report then i am getting values only for F1.Current Balance1 and F2.Current Balance2 is Null.
    But when i remove F1.Balance Type from Query i am getting both F1.Current Balance1 and F2.Current Balance2.
    Can any one help me with this.
    Thanks
    Rondo.Run the report again and get the SQL from the log and run it in TOAD/(Any SQL Developer). Then check for the joins and filters in the SQL.
    Correct the joins and filters appropriately in the SQL to make sure you got it right before implementing the same changes in the RPD.
    Hope this helps.

  • Trying to execute a STP which has TABLE TYPES.

    Hi,
    I wrote a program with the below specification inside a pkg :
    pl/sql varray declaration inside the pkg,
    TYPE varray_tnb IS TABLE OF CHAR(10) INDEX BY BINARY_INTEGER;
    TYPE varray_act_cd IS TABLE OF CHAR(15) INDEX BY BINARY_INTEGER;
    TYPE varray_sts_cd IS TABLE OF CHAR(10) INDEX BY BINARY_INTEGER;
    TYPE varray_sts_txt IS TABLE OF CHAR(250) INDEX BY BINARY_INTEGER;
    PROCEDURE re_STP_u(
    a_order_num IN re.nbr_order%TYPE,
    a_tnb IN varray_tnb,
    a_action_code IN varray_act_cd,
    a_status_code IN varray_sts_cd,
    a_status_txt IN varray_sts_txt);
    When I try to run a test script to test if the above STP, I get the below error:
    DECLARE
    TYPE V_TNB iS TABLE OF CHAR(10) INDEX BY BINARY_INTEGER;
    TYPE V_ACT iS TABLE OF CHAR(15) INDEX BY BINARY_INTEGER;
    TYPE V_STS iS TABLE OF CHAR(10) INDEX BY BINARY_INTEGER;
    TYPE V_TXT iS TABLE OF CHAR(250) INDEX BY BINARY_INTEGER;
    a_OrdN rehome_migration_ord.nbr_order%TYPE := '789';
    a_tnb V_TNB := V_TNB(7192340129,7192340128);
    a_ac V_ACT := V_ACT('ACT CDE','BGE CDE');
    a_sc V_STS := V_STS('INITIATED','INITIATED');
    a_st V_TXT := V_TXT('TExt for Status','status text');
    begin
    tds_upd_pkg.re_STP_u(a_OrdN,a_tnb,a_ac,a_sc,a_st);
    exception
    WHEN OTHERS THEN
    RAISE;
    end;
    ORA-06550: line 7, column 16:
    PLS-00222: no function with name 'V_TNB' exists in this scope
    ORA-06550: line 7, column 7:
    PL/SQL: Item ignored
    ORA-06550: line 8, column 15:
    PLS-00222: no function with name 'V_ACT' exists in this scope
    ORA-06550: line 8, column 6:
    PL/SQL: Item ignored
    ORA-06550: line 9, column 15:
    PLS-00222: no function with name 'V_STS' exists in this scope
    ORA-06550: line 9, column 6:
    PL/SQL: Item ignored
    ORA-06550: line 10, column 15:
    PLS-00222: no function with name 'V_TXT' exists in this scope
    ORA-06550: line 10, column 6:
    PL/SQL: Item ignored
    ORA-06550: line 12, column 44:
    PLS-00320: the declaration of the type of this expression is incomplete or
    malformed
    ORA-06550: line 12, column 1:
    PL/SQL: Statement ignored
    Can somebody look at the script and see where I am wrong.
    If I do not assign any value to the varray variables I am able to go past the above error and getting "PLS-00306: wrong number or types of arguments in call to..".

    I can't recall the exact wording Oracle uses but you are mixing the two different types of Collections that Oracle allows. One is where Oracle manages the size of the entry for you automatically. The other is where you have to .EXTEND the collection to increase the number of entries. Using "INDEX BY BINARY_INTEGER" tells Oracle to automanage the collection size. "V_TNB(7192340129,7192340128)" can only be used on those collections where you manage the size. See my modified example that doesn't error out until line 10 (a_sc) with the errors you listed. Note what I commented out on line 2, line 9, and added on lines 13 and 14 to replace line 9.
    DECLARE
      TYPE V_TNB iS TABLE OF CHAR(10); -- INDEX BY BINARY_INTEGER;
      TYPE V_ACT iS TABLE OF CHAR(15) INDEX BY BINARY_INTEGER;
      TYPE V_STS iS TABLE OF CHAR(10) INDEX BY BINARY_INTEGER;
      TYPE V_TXT iS TABLE OF CHAR(250) INDEX BY BINARY_INTEGER;
      a_OrdN VARCHAR2(3) := '789';
      a_tnb V_TNB := V_TNB(7192340129,7192340128);
      a_ac V_ACT;-- := V_ACT('ACT CDE','BGE CDE');
      a_sc V_STS := V_STS('INITIATED','INITIATED');
      a_st V_TXT := V_TXT('TExt for Status','status text');
    begin
      a_ac(1) := 'ACT CDE';
      a_ac(2) := 'BGE CDE';
      NULL;
    end;Here is the Oracle documentation I was thinking of. http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14261/collections.htm#sthref1153

  • Need to reset page numbers for each layout which has same data

    Hi Gurus,
    I have an requriement to reset the page number from 1 for each layout in same template.
    I know we can do this by @section when we have multiple header_id, but in my case, i have the same data that need to be shown in 3 different layouts under the same template.
    So for the first layout it should start with 1 of 2, 2 of 2
    Second layout should start with 1 of 2 , 2 of 2
    Third layout should start with 1 of 2 , 2 of 2
    Any help is highly appreciated.
    Thanks,
    Edited by: R on May 16, 2013 8:27 AM

    Hello Everyone,
    Appreciate if any clue about the mentioned requirement.

  • Recently i upgraded my operating system from snow leopard to mavericks.  no my adobe creative suite 4 programs do not launch. it gives me an error code of 150.30 which has to do with licensing.  I tried to download adobe license repair app but

    Recently I upgraded from snow leopard to Mavericks . Since the upgrade my Adobe Creative Suite 4 will not launch any programs. I downloaded adobe license recovery it says " this program is no longer supported " .
    At this point I am ready to go back to snow leopard if that will fix the problem.   What do I do ?

    A long thread with some fixes for various problems including licenseing, it may help.
    https://discussions.apple.com/message/24181438#24181438

  • Internal Error while executing a query with varaints in BEX

    HI All,
    I am executing a query which has 4 variants. when I use the first 3 variants the query is working fine.....but when I try to execute the same query for the 4th variant....the system is giving an error message called Internal Error.....
    when I executed the same query with same variant...in RSRT transaction code...I was able to see the results....
    The error messages that I am getting as follows...
    <Internal Error> receiving from the BW Server Failed. BW server raised exception SYSTEM_FAILURE. DO you want to see more information...
    when I selected YES....I got the following message
    Error in a ABAP statement when processing an Internal Table.table.
    Error Group
    RFC_ERROR_SYSTEM_FAILURE
    when clicked on the OK button the following message is displayed....
    <Internal Error> Can not determine text elements for the current query.
    Can any one explain me what went wrong...is there any thing that I need to do in the BEX settings...are there any patches that needs to be installed...or any OSS notes available for this sort of errors...?
    Advance in thanks
    Dilse...
    Hash

    Hi Harish,
    Execute the query in RSRT and check whether you have any short dump is in ST22. This would give a clear idea at what might have gone wrong.
    Another thing is to check whether the code for the variable is fine in the user exit.
    Hope this helps.
    Bye
    Dinesh

  • Runtime error when executing smarforms.

    Dear All,
    I am getting the runtime error while executing a smartfrom which I have prepared for payslip display.
    After the completion of smartform, I have tested by using print program, it was working fine. But, when I got the print of the same and I found, little modification it requires to enlarge the views.So, I increased the width of templates, tables and windows which has been used in this smartform.
    After that modification, it is going to reuntime error.
    Please sugget....to rectify this.
    Thanks & Regards
    Nrusingha.

    Please find the below details fr dump.
    Short text                                                            
        Exception condition "ERROR" raised.                                                                               
    What happened?                                                           
        The current ABAP/4 program encountered an unexpected                 
        situation.                                                                               
    What can you do?                                                         
        Note down which actions and inputs caused the error.                                                                               
    To process the problem further, contact you SAP system               
        administrator.                                                                               
    Using Transaction ST22 for ABAP Dump Analysis, you can look          
        at and manage termination messages, and you can also                 
        keep them for a long time.                                                                               
    Error analysis                                                           
        A RAISE statement in the program "SAPLSTXBC" raised the exception    
        condition "ERROR".                                                   
        Since the exception was not intercepted by a superior                
        program, processing was terminated.                                                                               
    Short description of exception condition:                                                                               
    For detailed documentation of the exception condition, use           
        Transaction SE37 (Function Library). You can take the called         
        function module from the display of active calls.                    
    How to correct the error                                                                               
    If the error occures in a non-modified SAP program, you may be able to
        find an interim solution in an SAP Note.                             
        If you have access to SAP Notes, carry out a search with the following
        keywords:                                                                               
    "RAISE_EXCEPTION" " "                                                            
        "SAPLSTXBC" or "LSTXBCU19"                                                       
        "SSFCOMP_GENERATE_SMART_FORM"                                                                               
    or                                                                               
    "SAPLSTXBC" "ERROR"                                                                               
    or                                                                               
    "RS_TESTFRAME_CALL " "ERROR"                                                     
        If you cannot solve the problem yourself and want to send an error               
        notification to SAP, include the following information:                                                                               
    1. The description of the current problem (short dump)                                                                               
    To save the description, choose "System->List->Save->Local File               
        (Unconverted)".                                                                               
    2. Corresponding system log                                                                               
    Display the system log by calling transaction SM21.                           
           Restrict the time interval to 10 minutes before and five minutes              
        after the short dump. Then choose "System->List->Save->Local File                
        (Unconverted)".                                                                               
    3. If the problem occurs in a problem of your own or a modified SAP              
        program: The source code of the program                                          
           In the editor, choose "Utilities->More                                        
        Utilities->Upload/Download->Download".                                                                               
    4. Details about the conditions under which the error occurred or which          
        actions and input led to the error.

  • Update enrolled table which has 6 composite primary key

    Hi Everyone,
    I am trying to update a grade column in table called enrolled which has 6 composite primary key column including SID, TERMYEAR, FACCODE, DEPCODE, COURSENO, SECNO and 2 extra column including GRADE, IDD all of them are of type VARCHAR2 as describe below:
    To update this table I used the command below:
    UPDATE enrolled
    SET grade = :COURSE_BLOCK.GRADE_TEXT
    WHERE IID = :GLOBAL.logUserid
    AND SID = :COURSE_BLOCK.SID_TEXT
    AND FACCODE = :COURSE_BLOCK.FACULTY_TEXT
    AND DEPCODE = :COURSE_BLOCK.DEPARTMENT_TEXT
    AND COURSENO = :COURSE_BLOCK.COURSE_TEXT
    AND SECNO = :COURSE_BLOCK.SECTION_TEXT;
    Note: the :GLOBAL.logUserid is a global variable that I assigned the user id when the user log on to the application.
    When I run the application and fill out the form in order to update the table this doesn't update the table and if I use SQL*PLUS as well with the values that I use for the form to update the table I get message: o rows updated
    Can Someone help please?

    Here is the solution.
    The problem:
    The problem was that the enrolled table was designed in a way that a student can enrolled in the lecture(LEC type column) and Laboratory(LAB type column). When a student is given a grade, it is given a grade for the course 100 (eg: 03-60-100) this course has a lecture and lab. this course belong to the faculty code 03(science) department 60 (computer Science) so when a student register to a course, will register to a lecture and a lab but he will receive a grade for the course 100 lec in this case Oracle couldn't update the table because there was two column with course 100 for that particular student Id
    The solution:
    There are many solution I believe but my quickest solution is when a student register to the course by default is given a grade 'I' means Incomplete then when the instructor add the grade, he can just update a grade from incomplete to the final grade (eg A) now the code will be to get only the course 100 that has grade and discard that doesn't have grade this means that I need only to make sure that the WHERE Clause grade is not null shown below.
    UPDATE enrolled
    SET grade = BLOCK_NAME.FIELD_NAME
    WHERE grade IS NOY NULL
    AND IID = BLOCK_NAME.FIELD
    AND faccode = BLOCK_NAME.FIELD
    AND depcode = BLOCK_NAME.FIELD
    AND courseno= BLOCK_NAME.FIELD_NAME
    NAD secno = BLOCK_NAME.FIELD_NAME
    AND SID = BLOCK_NAME.FIELD_NAME

  • Error when executing interface which load data from csv file which has 320

    Hi,
    Can some one provide a resolution for below error:
    I have created an interface which load data from csv file which has 320 columns, to a Synonym which has 320 columns in it
    using LKM File to SQL, IKM Sql Control Append.
    I am getting below error when executing the interface :
    com.sunopsis.tools.core.exception.SnpsSimpleMessageException: ODI-17517: Error during task interpretation. Task: 6 java.lang.Exception: BeanShell script error: Sourced file: inline evaluation of: ``out.print("The application script threw an exception: java.lang.StringIndexOutOf . . . '' Token Parsing Error: Lexical error at line 2, column 42. Encountered: "\\" (92), after : "": <at unknown location> BSF info: Create external table at line: 0 column: columnNo
    at com.sunopsis.dwg.codeinterpretor.SnpCodeInterpretor.transform(SnpCodeInterpretor.java:485)
         at com.sunopsis.dwg.dbobj.SnpSessStep.createTaskLogs(SnpSessStep.java:711)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:461)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2093)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:366)
         at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:300)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:292)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:855)
         at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:126)
         at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
         at java.lang.Thread.run(Thread.java:662)
    Caused by: org.apache.bsf.BSFException: BeanShell script error: Sourced file: inline evaluation of: ``out.print("The application script threw an exception: java.lang.StringIndexOutOf . . . '' Token Parsing Error: Lexical error at line 2, column 42. Encountered: "\\" (92), after : "": <at unknown location>
    BSF info: Create external table at line: 0 column: columnNo
         at bsh.util.BeanShellBSFEngine.eval(Unknown Source)
         at bsh.util.BeanShellBSFEngine.exec(Unknown Source)
         at com.sunopsis.dwg.codeinterpretor.SnpCodeInterpretor.transform(SnpCodeInterpretor.java:471)
         ... 11 more
    Text: The application script threw an exception: java.lang.StringIndexOutOfBoundsException: String index out of range: 2 BSF info: Create external table at line: 0 column: columnNo
    out.print("createTblCmd = r\"\"\"\ncreate table ") ;
    out.print(odiRef.getTable("L", "COLL_NAME", "W")) ;
    out.print("<?=(extTabColFormat.getUseView())?\"_ET\":\"\"?>\n(\n\t") ;
    out.print(odiRef.getColList("", "[CX_COL_NAME]\\t"+
              "<?=extTabColFormat.getExtTabDataType(\\u0022[CX_COL_NAME]\\u0022,\\u0022[SOURCE_DT]\\u0022, \\u0022[DEST_WRI_DT]\\u0022, \\u0022[COL_FORMAT]\\u0022, \\u0022[BYTES]\\u0022, \\u0022[LONGC]\\u0022, \\u0022[SCALE]\\u0022)?>"
         , ",\\n\\t", "","")) ;
    out.print("\n)\nORGANIZATION EXTERNAL\n(\n\tTYPE ORACLE_LOADER\n\tDEFAULT DIRECTORY dat_dir\n\tACCESS PARAMETERS\n\t(\n\t\tRECORDS DELIMITED BY 0x'") ;
    out.print(odiRef.getSrcTablesList("[XFILE_SEP_ROW]","")) ;
    out.print("'\n\t\t") ;
    out.print(odiRef.getUserExit("EXT_CHARACTERSET")) ;
    out.print("\n\t\t") ;
    out.print(odiRef.getUserExit("EXT_STRING_SIZE")) ;
    out.print("\n\t\tBADFILE\t\t'") ;
    out.print(odiRef.getSrcTablesList("", "[RES_NAME]", "", "")) ;
    out.print("_%a.bad'\n\t\tLOGFILE\t\t'") ;
    out.print(odiRef.getSrcTablesList("", "[RES_NAME]", "", "")) ;
    out.print("_%a.log'\n\t\tDISCARDFILE\t'") ;
    out.print(odiRef.getSrcTablesList("", "[RES_NAME]", "", "")) ;
    out.print("_%a.dsc'\n\t\tSKIP \t\t") ;
    out.print(odiRef.getSrcTablesList("", "[FILE_FIRST_ROW]", "", "")) ;
    out.print("\n") ;
    if (odiRef.getSrcTablesList("", "[FILE_FORMAT]", "", "").equals("F")) {out.print("\n\t\tFIELDS\n\t\t") ;
    out.print(odiRef.getUserExit("EXT_MISSING_FIELD")) ;
    out.print("\n\t\t(\n\t\t\t") ;
    out.print(odiRef.getColList("", "[CX_COL_NAME]\\tPOSITION([FILE_POS]:[FILE_END_POS])\\t"+
                        "<?=extTabColFormat.getExtTabFormat(\\u0022[CX_COL_NAME]\\u0022,\\u0022[SOURCE_DT]\\u0022, \\u0022DEST_WRI_DT\\u0022, \\u0022[COL_FORMAT]\\u0022, \\u0022[BYTES]\\u0022, \\u0022[LONGC]\\u0022, \\u0022[SCALE]\\u0022)?>"
                        , ",\\n\\t\\t\\t", "","")) ;
    out.print("\t\t\n\t\t)\n\t)\n") ;
    } else {out.print("\n\t\tFIELDS TERMINATED BY x'") ;
    out.print(odiRef.getSrcTablesList("", "[XFILE_SEP_FIELD]", "", "")) ;
    out.print("'\n\t\t") ;
    if(odiRef.getSrcTablesList("", "[FILE_ENC_FIELD]", "", "").equals("")){out.print("\n\t\t") ;
    } else {out.print("OPTIONALLY ENCLOSED BY '") ;
    out.print(odiRef.getSrcTablesList("", "[FILE_ENC_FIELD]", "", "").substring(0,1)) ;
    out.print("' AND '") ;
    out.print(odiRef.getSrcTablesList("", "[FILE_ENC_FIELD]", "", "").substring(1,2)) ;
    out.print("' ") ;
    }out.print("\n\t\t") ;
    out.print(odiRef.getUserExit("EXT_MISSING_FIELD")) ;
    out.print("\n\t\t(\n\t\t\t") ;
    out.print(odiRef.getColList("", "[CX_COL_NAME]\\t"+
                        "<?=extTabColFormat.getExtTabFormat(\\u0022[CX_COL_NAME]\\u0022,\\u0022[SOURCE_DT]\\u0022, \\u0022DEST_WRI_DT\\u0022, \\u0022[COL_FORMAT]\\u0022, \\u0022[BYTES]\\u0022, \\u0022[LONGC]\\u0022, \\u0022[SCALE]\\u0022)?>"
                        , ",\\n\\t\\t\\t", "","")) ;
    out.print("\t\t\n\t\t)\n\t)\n") ;
    }out.print("\tLOCATION (") ;
    out.print(odiRef.getSrcTablesList("", "'[RES_NAME]'", "", "")) ;
    out.print(")\n)\n") ;
    out.print(odiRef.getUserExit("EXT_PARALLEL")) ;
    out.print("\nREJECT LIMIT ") ;
    out.print(odiRef.getUserExit("EXT_REJECT_LIMIT")) ;
    out.print("\n\"\"\"\n \n# Create the statement\nmyStmt = myCon.createStatement()\n \n# Execute the trigger creation\nmyStmt.execute(createTblCmd)\n \nmyStmt.close()\nmyStmt = None\n \n# Commit, just in case\nmyCon.commit()") ;
    ****** ORIGINAL TEXT ******
    createTblCmd = r"""
    create table <%=odiRef.getTable("L", "COLL_NAME", "W")%><?=(extTabColFormat.getUseView())?"_ET":""?>
         <%=odiRef.getColList("", "[CX_COL_NAME]\t"+
              "<?=extTabColFormat.getExtTabDataType(\u0022[CX_COL_NAME]\u0022,\u0022[SOURCE_DT]\u0022, \u0022[DEST_WRI_DT]\u0022, \u0022[COL_FORMAT]\u0022, \u0022[BYTES]\u0022, \u0022[LONGC]\u0022, \u0022[SCALE]\u0022)?>"
         , ",\n\t", "","")%>
    ORGANIZATION EXTERNAL
         TYPE ORACLE_LOADER
         DEFAULT DIRECTORY dat_dir
         ACCESS PARAMETERS
              RECORDS DELIMITED BY 0x'<%=odiRef.getSrcTablesList("[XFILE_SEP_ROW]","")%>'
              <%=odiRef.getUserExit("EXT_CHARACTERSET")%>
              <%=odiRef.getUserExit("EXT_STRING_SIZE")%>
              BADFILE          '<%=odiRef.getSrcTablesList("", "[RES_NAME]", "", "")%>_%a.bad'
              LOGFILE          '<%=odiRef.getSrcTablesList("", "[RES_NAME]", "", "")%>_%a.log'
              DISCARDFILE     '<%=odiRef.getSrcTablesList("", "[RES_NAME]", "", "")%>_%a.dsc'
              SKIP           <%=odiRef.getSrcTablesList("", "[FILE_FIRST_ROW]", "", "")%>
    <% if (odiRef.getSrcTablesList("", "[FILE_FORMAT]", "", "").equals("F")) {%>
              FIELDS
              <%=odiRef.getUserExit("EXT_MISSING_FIELD")%>
                   <%=odiRef.getColList("", "[CX_COL_NAME]\tPOSITION([FILE_POS]:[FILE_END_POS])\t"+
                        "<?=extTabColFormat.getExtTabFormat(\u0022[CX_COL_NAME]\u0022,\u0022[SOURCE_DT]\u0022, \u0022DEST_WRI_DT\u0022, \u0022[COL_FORMAT]\u0022, \u0022[BYTES]\u0022, \u0022[LONGC]\u0022, \u0022[SCALE]\u0022)?>"
                        , ",\n\t\t\t", "","")%>          
    <%} else {%>
              FIELDS TERMINATED BY x'<%=odiRef.getSrcTablesList("", "[XFILE_SEP_FIELD]", "", "")%>'
              <% if(odiRef.getSrcTablesList("", "[FILE_ENC_FIELD]", "", "").equals("")){%>
              <%} else {%>OPTIONALLY ENCLOSED BY '<%=odiRef.getSrcTablesList("", "[FILE_ENC_FIELD]", "", "").substring(0,1)%>' AND '<%=odiRef.getSrcTablesList("", "[FILE_ENC_FIELD]", "", "").substring(1,2)%>' <%}%>
              <%=odiRef.getUserExit("EXT_MISSING_FIELD")%>
                   <%=odiRef.getColList("", "[CX_COL_NAME]\t"+
                        "<?=extTabColFormat.getExtTabFormat(\u0022[CX_COL_NAME]\u0022,\u0022[SOURCE_DT]\u0022, \u0022DEST_WRI_DT\u0022, \u0022[COL_FORMAT]\u0022, \u0022[BYTES]\u0022, \u0022[LONGC]\u0022, \u0022[SCALE]\u0022)?>"
                        , ",\n\t\t\t", "","")%>          
    <%}%>     LOCATION (<%=odiRef.getSrcTablesList("", "'[RES_NAME]'", "", "")%>)
    <%=odiRef.getUserExit("EXT_PARALLEL")%>
    REJECT LIMIT <%=odiRef.getUserExit("EXT_REJECT_LIMIT")%>
    # Create the statement
    myStmt = myCon.createStatement()
    # Execute the trigger creation
    myStmt.execute(createTblCmd)
    myStmt.close()
    myStmt = None
    # Commit, just in case
    myCon.commit().
         at com.sunopsis.dwg.dbobj.SnpSessStep.createTaskLogs(SnpSessStep.java:738)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:461)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2093)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:366)
         at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:300)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:292)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:855)
         at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:126)
         at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
         at java.lang.Thread.run(Thread.java:662)

    The issue is encountered because the text delimiter used in the source file did not consist of a pair of delimiters.
    Please see support Note [ID 1469977.1] for details.

Maybe you are looking for

  • Loading multiple files from multiple users.

    Our system is moving from a standalone app to a web system. The users will have export files generated by our app which they will need to import up to the web. In the web system, the users are connecting via SSO, so apps server is using a single JDBC

  • Dell 20.1 Inch UltraSharp LCD 2007FP Widescreen

    I've found several postings that this will work with the MBP. I've got one on order. Does anyone have any recommendations for setting this up? I plan to use the DVI connection, laptop lid closed, BT mouse and keyboard. I did try this out at work usin

  • Issue with Slider in Scroll Panel

    Hello all,      I'm building a scroll panel with a slider. However, when I try to build a scroll bar or slider, and define it's parts, it automatically "checks" all componets for each part. If I try to "uncheck" the componets, it messes up all my pre

  • Dual Landscape - Maintenance

    Hi Experts, We have dual landscape being maintained in a complex environment. Landscape1: Dev1 --> QA1 ---> PROD Landscape2: Dev2 --> QA2 ---> UA1 ---> PROD Landscape1 is being used for break-fix environment. Landscape2 is being used for major releas

  • 2LIS_11_VAHDR right-click not showing Transfer Rules

    Dear gurus, I have 2LIS_11_VAHDR under my SD Application Components at DataSources tab. I replicated the datasource with ECC and activated it. Now I want to install the rest of the dataflow - transfer rules, infosource, update rules, sd_c03, and the