Parent is not a valid member error in BPC

hi all,
i use SSIS package that upload members to BPC dimension and it worked successfully.
But when i try to process dimension the following error appeared
"  - Parent is not a valid member. -  Member ID : [Insurance],  Property Name : [PARENTH1],  Property Value : [AccruedExpenses]"
Although that  i have this parent [AccruedExpenses] member in mbrAccount.
your help is so appreciated
Thanks in advance

Heba,
We ran into the same error (parent not valid, even though the parent was a memeber) when automating our dimension processing......
Try looking at the data in your source table (for example, using Query Analyzer).  Do you have records with "NULL" as the value for one or more columns?  Not blank values - but values that in the query output actually have the letters NULL.  If so, you may have the same issue we had.....
We found that fields on the source table that we were not specifically updating via the SSIS package (because we did not have any data from our source system) were getting filled with "NULL" - an example of such a field for us as NEWID.  The IDs coming from the source system will never change, so we did not have a NEWID value in the file we were mapping to our source table and so at first we just ignored NEWID field in the mapping in the SSIS package.  After getting the "parent is not valid..." errors, we updated the SSIS package to map something to all fields in the source table - if we didn't have a value from our source file for a particular field, then we mapped '' (two single quotes) to the field.  After making the change to the SSIS, we no longer had NULL values on the table and we also no longer go the parent is not valid errors!
Also as a head's up to something else we learned the hard way.....  Make sure you are populating the CALC, DIMCALC, and ISBASEMEM fields on all your members with the appropriate value ("Y" or "N").
Good luck!
Regards,
Shannon

Similar Messages

  • (XSRWLD06) A column value is not a valid member of its target dimension

    We are facing a strange issue that all the records gets rejected when attempted to load the cube. The error message is - (XSRWLD06) A column value is not a valid member of its target dimension
    This cube is simple and has only one dimension and one measure. The dimension has only 2 records and mapping appears to be correct.
    Really confused and unable to find the cause of the problem. Pls can you help
    Query used to populate the dimension
    ==========
    SELECT DISTINCT /*+ bypass_recursive_check */ T1."ACCFLAG_DESC" ALIAS_3, T1."ACCFLAG_DESC" ALIAS_4, T1."ACCFLAG_DESC" ALIAS_5, NULL ALIAS_6, 3 ALIAS_7 FROM NEDDWOWNER."OWNERSHIP_ACCOUNTS" T1 WHERE (T1."ACCFLAG_DESC" IS NOT NULL) UNION SELECT DISTINCT /*+ bypass_recursive_check */ T2."ACCFLAG_DESC" ALIAS_8, CAST (NULL AS VARCHAR2 (60) ) ALIAS_9, T2."ACCFLAG_DESC" ALIAS_10, NULL ALIAS_11, 0 ALIAS_12 FROM NEDDWOWNER."OWNERSHIP_ACCOUNTS" T2 WHERE (T2."ACCFLAG_DESC" IS NOT NULL) ORDER BY 1 ASC NULLS LAST
    ===========
    Query used to populate the cube
    ==========
    SELECT /*+ bypass_recursive_check cursor_sharing_exact no_expand no_rewrite */ T5_ACCFLAG_DESC ALIAS_13, SUM(T8_ES_CBSCCO_AJ_GBP) ALIAS_14 FROM ( SELECT /*+ no_rewrite */ T1."OWA_SEQ_ID" T8_OWA_SEQ_ID, T1."ES_CBSCCO_AJ_GBP" T8_ES_CBSCCO_AJ_GBP FROM NEDDWOWNER."VW_ACCOUNTS_MON_CUB_LOAD" T1 ) T8, ( SELECT /*+ no_rewrite */ T1."OWA_SEQ_ID" T5_OWA_SEQ_ID, T1."ACCFLAG_DESC" T5_ACCFLAG_DESC FROM NEDDWOWNER."OWNERSHIP_ACCOUNTS" T1 ) T5 WHERE (T8_OWA_SEQ_ID = T5_OWA_SEQ_ID) GROUP BY (T5_ACCFLAG_DESC) ORDER BY T5_ACCFLAG_DESC ASC NULLS LAST
    ===========
    Rejected Record
    Consumption 0
    Production 0
    Error:
    (XSRWLD06) A column value is not a valid member of its target dimension.

    Hi - This is still unanswered. Will the datatype of the source column mapped to the member and the fact table create the problem? As we are in the middle of evaluating different OLAP products, any inputs on the issue, will be really helpful...

  • How to solve ORA-01843: not a valid month error

    i am gettion ORA-01843: not a valid month error how to solve it. and how to find which record causing
    proble.
    Thanks in advance.

    EdStevens wrote:
    Ramin Hashimzadeh wrote:
    user1571313 wrote:
    i am gettion ORA-01843: not a valid month error how to solve it. and how to find which record causing
    proble.
    Thanks in advance.Bring for me something from somewhere... :)Bring me a shrubbery.
    When you have found the shrubbery, then you must cut down the mightiest tree in the forest ... with a herring.We are no longer the knights who say ni! We are now the knights who say "i am gettion ORA-01843"!

  • ORA-01843 Not a valid month Error

    Dear all,
    We did a database upgrade from 9.2.0.1 to 11gR2 and after that everything is working fine.
    But now we noticed that the users are getting ORA-01843 Not a valid month Error.
    I changed the NLS_DATE_FORMAT in the init.ora file, but still the error persist.
    As a work around I changed the NLS_DATE_FORMAT=DD-MM-YYYY on the client pc registry and now its working in that pc..
    Is there any other way so that the change gets affected globally ??
    Any tips
    Thanks in adv,
    Mahesh

    mahesh wrote:
    Dear all,
    We did a database upgrade from 9.2.0.1 to 11gR2 and after that everything is working fine.
    But now we noticed that the users are getting ORA-01843 Not a valid month Error.
    I changed the NLS_DATE_FORMAT in the init.ora file, but still the error persist.
    As a work around I changed the NLS_DATE_FORMAT=DD-MM-YYYY on the client pc registry and now its working in that pc..
    Is there any other way so that the change gets affected globally ??
    Any tips
    Thanks in adv,
    MaheshNLS_DATE_FORMAT can be set in multiple places, but it's not an either/or situation. Setting it in an init parm at the db level is the WEAKEST setting. That setting is overridden by the client OS, which in turn can be overridden by an ALTER SESSION, which in turn can be overridden by use of TO_CHAR and TO_DATE at the individual sql statement. and if the date is being entered by a human at a keyboard (actually keyed in, not picked from a calendar tool or some sort of drop-down pick list) you really have no direct control over the format of the string they key in. So ultimately it is up to the application to insure that character strings presented as dates are in the correct format.
    Which is why I advise developers to ALWAYS use to_char and to_date at the sql statement level. It is the only way they can insure control over the setting.

  • Dreaded "Not a Valid Widget" Error

    Hi Folks,
    I'm getting the dreaded "Not a Valid Widget" error when I try to import my Flash (Professional CS5) file as a widget into my Captivate 5 project. I've done my research on this problem, and found an earlier post from Vikranth regarding copying the AS3\static actionscript into the first frame of the Flash file:
                                                                          http://forums.adobe.com/message/3614964
    However, I'm not getting enough detail about exactly where to past this actionscript into Flash.
    Is this truly the fix? Even for the latest software fully updated?. If this is still the fix, am I going to have to do this every time I construct a Flash widget?
    Very much appreciate your help,
    Roger

    I think you may misunderstand. Installing WidgetFactory or any other API on your PC is not an instant fix for some issue in your widget coding.  I suggested that you go with an API because they are better documented than the Adobe templates and offer far more possibilities in the long run.
    To get the most out of the APIs you need to read the tutorials and documentation provided by their creators. Only then will you understand the differences in the templates, which use a framescripting approach to coding, versus the APIs, which use a class-based coding approach.  When using the APIs you do NOT use the Adobe templates at all to create widgets.  You begin your widget directly in Flash.
    Try these two tutorials first to get an idea of how it's done:
    http://www.infosemantics.com.au/widgetking/2010/11/building-widgets-in-flash/
    http://www.infosemantics.com.au/widgetking/2010/11/sign-up-for-the-widget-eseminars/
    Flash and Captivate DO work together very well, but only if you know what you are doing.  What's currently wrong with your picture is that you need to learn a lot more about how widgets work and how they need to be created.  As your ActionScript 3 skills improve, so will your widgets.

  • File Not a Valid MPEG ERROR # 20402

    I am trying to burn a demo reel DVD and whenever I go to burn it I get a error that says DVD ERROR FILE NOT A VALID MPEG ERROR [20404]. I removed a couple of the files that could possibly be suspect for being corrupted but I still get the error. By subtracting the amount of mega bytes still to burn from the amount of megs on the DVD I thought I had narrowed it down to just 2 of the videos. But alas no such luck. Is it possible that in the building of the motion menus it somehow didn't build them right? Its always towards the end of the disk when it decides to automatically cancel the build.

    Hi Guys,
    I've been using Encore for a few years, using AME to transcode all my Premiere Pro timelines and suddenly I've had a week of transcoding problems with Encore (CS5.1) saying everything from, I'm using the wrong aspect ratio to not a valid mpeg file. It was something different each time I fixed the previous problem (without it being a problem in the first place).
    After reading all your helpful tips throughout the different forums and trying your suggestions, I have solved my problem. Thought I would post this to hopefully help some of you.
    I simply let Encore transcode my timeline from Premiere Pro and my motion menus from After Effects (all assets in other words) making sure all are set to automatic. You can imagine how surprised I was when the disc popped out with the 100% complete message.
    Thanks for all your posts, hope this can help others.
    Wayne Le Compte.
    Loud Films.
    Loud Graphic Design.

  • Period Comparison - getting not a valid month error

    I am trying to do a period comparison. I have the query condition as
    select ppv.draft_invoice_num
    ,ppv.ra_invoice_number
    ,ppv.invoice_date
    , idv.expenditure_item_date
    ,ppv.gl_date
    ,ppv.gl_period
    ,to_date(ppv.gl_period,'MON-YY')
    --,idv.bill_amount
    -- ,ppv.org_id
    from pa_proj_invoices_view ppv
    ,pa_proj_invoice_details_view idv
    where ppv.project_id= idv.project_id
    and ppv.draft_invoice_num = idv.draft_invoice_num
    and ppv.project_id = 25
    and idv.expenditure_item_date between '01-MAR-09' and '30-APR-09'
    and to_date(ppv.gl_period,'MON-YY') between to_date('MAR-09','MON-YY') and last_day(to_date('MAY-09','MON-YY'))
    group by ppv.draft_invoice_num
    ,ppv.ra_invoice_number
    ,ppv.invoice_date
    , idv.expenditure_item_date
    ,ppv.gl_date
    ,ppv.gl_period
    order by ppv.draft_invoice_num;
    I get an "Not a Valid Month" error. How can I do the date comparison? I have tried number of options . How can I compare the ppv.gl_period for a range of periods?
    Thanks

    Hi,
    1)
    lv_date := '09/25/2009';lv_date is a variable of datatype date, but you are assigning a varchar, which Oracle is not able to do implicit conversion because of nls_date_format
    change to something like to_date('09/25/2009','mm/dd/yyyy')
    2)
    lv_date:= TO_DATE(lv_date,'MM/DD/YY');
    lv_date:= TO_CHAR(lv_date,'MM/DD/YY');Why would be assinging a char value to date datatype. Use any one depending on datatype of lv_date
    Regards
    Anurag Tibrewal.

  • Getting Ora 01843  not a Valid month Error

    Hi
    I was trying to assign the data in MM/DD/YY format
    from a date value '09/25/2009'..
    I cannot Obain the result i always get this
    ORA-01843: not a valid month
    May i ask you kindly to help me out here.
    Below is the code Snippet;
    DECLARE
    lv_date DATE;
    BEGIN
    lv_date := '09/25/2009';
    BEGIN
    lv_date:= TO_DATE(lv_date,'MM/DD/YY');
    lv_date:= TO_CHAR(lv_date,'MM/DD/YY');
    -- I slso tried this way but same error.
    -- lv_date := TO_CHAR(TO_DATE(lv_date,'MM/DD/YYYY'),'MM/DD/YY');
    END;
    DBMS_OUTPUT.PUT_LINE('the date format is = '|| lv_date);
    EXCEPTION
    WHEN OTHERS THEN
    DBMS_OUTPUT.PUT_LINE ('Err from MainBlock '|| SQLCODE || SQLERRM);
    END;

    Hi,
    1)
    lv_date := '09/25/2009';lv_date is a variable of datatype date, but you are assigning a varchar, which Oracle is not able to do implicit conversion because of nls_date_format
    change to something like to_date('09/25/2009','mm/dd/yyyy')
    2)
    lv_date:= TO_DATE(lv_date,'MM/DD/YY');
    lv_date:= TO_CHAR(lv_date,'MM/DD/YY');Why would be assinging a char value to date datatype. Use any one depending on datatype of lv_date
    Regards
    Anurag Tibrewal.

  • ORA-01843:This is not a valid month error

    One of our french customer using Oracle 11g R2 on RHEL is getting following error while running a stored procedure:
    ORA-01843: ce n'est pas un mois valide
    20120123::05:41:10 ended rebuilding cmroll table
    The error reported by ORACLE, in French « ce n'est pas un mois valide », means : « This is not a valid month ».I have asked him to verify the following settings on his machine:
    Please run the following query on Oracle Server to get the NLS settings. It specifies the settings both on Oracle client and Server.
    select * from nls_database_parameters;
    select * from nls_instance_parameters;
    However, you can override this setting by specifying the following environment variables in client or server. So kindly verify them  on both as well:
    1.     NLS_LANG
    2.     NLS_LANGUAGE
    3.     NLS_TERRITORYIs there anything further that can help me to trace this error?

    Moazzam wrote:
    ORA-01843: ce n'est pas un mois valide
    Is there anything further that can help me to trace this error?ORA-01843 Sounds a LOT more interesting in French :)
    I have to agree with the others that there is a problem with the code somewhere - again, the implicit conversion sounds promising. Or possibly a language issue (hopefully not)
    You should be getting a line number where the error is occurring. This can sometimes be deceptive; we use a WHEN-OTHERS exception handler but mark the code with a location marker throughout so we can look up errors and their locations in an exceptions table - in other words, the line cited in the error message may/may not be where the error happened. 11g sometimes reports errors on block headers too. There are other ways of finding the line the error is occurring on too, including just looking at the code (which is usually harder). Start by finding the line the error is occurring at.
    The "brute force" approach (if possible find an easier way) is to either use the debugger in a GUI tool or use DBMS_OUTPUT.PUT_LINE to trace your way through executions.
    When you find out where the error is occurring you can use DBMS_OUTPUT.PUT_LINE to display the value, find out what it is, and figure out what is causing the error, and fix it.
    Edited by: riedelme on Mar 13, 2012 7:11 AM

  • Throwing not a valid month error(ORA-01843)

    Hi,
    Can you please tell me whats wrong with the statement
    select Fas_Rpt_Disclose_Summ_Pkg.F_EXR_COLUMN_VALUES(3,5207773,TO_DATE('28-JUN-06','DD-MON-YY'),TO_DATE('26-Sep-06','DD-MON-YY'),TO_DATE('26-SEP-06:23:59:59','DD-MON-YY:HH24:MI:SS'),'INTRINSICVALEXR') from dual;
    Thanks

    What is the current value of NLS_DATE_LANGUAGE?
    SQL> alter session set nls_date_language='ENGLISH';
    Session altered.
    SQL> select TO_DATE('28-JUN-06','DD-MON-YY'),
      2         TO_DATE('26-Sep-06','DD-MON-YY'),
      3         TO_DATE('26-SEP-06:23:59:59','DD-MON-YY:HH24:MI:SS')
      4  from dual;
    TO_DATE(' TO_DATE(' TO_DATE('
    28-JUN-06 26-SEP-06 26-SEP-06
    SQL> alter session set nls_date_language='FRENCH';
    Session altered.
    SQL> select TO_DATE('28-JUN-06','DD-MON-YY'),
      2         TO_DATE('26-Sep-06','DD-MON-YY'),
      3         TO_DATE('26-SEP-06:23:59:59','DD-MON-YY:HH24:MI:SS')
      4  from dual;
    select TO_DATE('28-JUN-06','DD-MON-YY'),
    ERROR at line 1:
    ORA-01843: not a valid month
    SQL>

  • Not a valid date - error in Web dynpro hosting the form

    Dear Experts,
    I have an interactive form embedded in an ABAP WebDynpro screen. It has a date field which is filled by the user.
    This field has been working perfectly fine except for one user. Whenever he tries to enter a date and validate (round trip to backend) he gets a 'DD.MM.YYYY is not  a valid date format' error (i.e. '15.02.2011 is not a valid date format').
    Since this is a user specific error, I am unable to debug. When I tried debugging with his login, this error could be intercepted as this is an error thrown by the framework itself because of incompatible types(I think).
    I am using all 3 patterns (validation, edit and display)as DD.MM.YYYY. it is working fine for everyone else, including me!!!!!!
    It is not a system/version issue as we both tried on a  neutral system and it worked for me but not for him.
    Does anybody have an idea as to how this is possible? Any solution for this issue?
    I am baffled, to say the least.
    Regards, Amith
    Edited by: Amith Menezes on Feb 15, 2011 3:47 PM

    Hello there,
    I just found a solution to this problem.
    The crux of this issue was that the 'Binding Pattern' of the date field in the form did not match the Date format of the user's 'Own Data'. For now, I requested the user to change to the frmat maintained in the form and it all worked well..
    But this leads me to a new question.
    How can we make sure that the binding pattern always matches any user's own data!
    Is there a way this can be achieved??
    Regards,
    Amith
    Edited by: Amith Menezes on Feb 16, 2011 1:35 PM

  • Not a valid path error

    I'm having trouble opening my pdf documents in the PDF reader touch app.  It keeps saying "not a valid path" although adobe reader xi can easily open the files.  The app has opened some of the same PDFs before and is giving me the error.

    This is a tough one.  We are still not able to reproduce the problem with your PDF files on our end.  But I would really like to determine the root cause of the problem by asking you more questions.
    Can you open any other PDF documents (not the PDFs that you got from a conference) successfully?  Or do you see the invalid path error dialog for all of the PDF documents that you try to open?
    Here, I am trying to determine whether the problem is file-specific.  For example, the following page on the Adobe web site contains links to two PDF documents in the "How-to guide" section. Please look for the red 'PDF" buttons next to the links.  Once you save the PDF documents on your Windows 8 desktop or in the Documents folder can you open them in Adobe Reader Touch without getting the invalid path error?
    http://www.adobe.com/products/acrobat/pdf-file-password-permissions.html
    What is your operating system?  Windows 8 or Windows RT?  Does it have all of Windows updates applied?
    What is your system configuration?  Is it a desktop, laptop, or tablet?  Could you provide the model number?
    What is your account type?  Administrator or Standard user?
    Another thing that you could try is to ensure that the Adobe Reader Touch is the default PDF viewer on your system.
    FAQ: How to set Adobe Reader Touch as the Default PDF App on Windows 8
    Once you do the above, could you locate other PDF documents in Microsoft File Explorer and double-click or double-tap to open them?
    And finally, would you reboot your system?  Silly as it may sound, rebooting the system often makes "weird" problems go away.
    Thank you for your help and patience, vangadi78!

  • Replicat abends with "not a valid month"  error

    Here is what i see in the log:
    2015-04-16 14:02:21  ERROR   OGG-00665  OCI Error Flushing database inbound server, 'OGG$REP02' (status = 26815-ORA-26815: Error from Apply Network Receiver for Apply "OGG$REP02" and Capture "replicat".
    ORA-01843: not a valid month), SQL<select status, deferrable from dba_constraints where owner =UPPER('PRIME') and table_name=UPPER('FGCTRXNMESSAGERULES') and constraint_type = 'P' >.
    My replicat is integrated with parallelism set to 4.
    How can i find the error? Thanks.

    Hi ,
    Could you please share the extract and replicat parameter's contents?
    What is the version of GG you are using?
    Did you check the Character set of both source and target?
    Regards,
    Veera

  • Not a valid month error..

    Hello all,
    I have a nagging problem with front end code. I have got stored procedure written which runs perfectly fine when called from oracle Pl/SQL developer. But when the same procedure is called from .Net application it throws the following exception.
    ************Exception message****************
    "not a valid month"
    ************Exception message End****************
    ************Stored procedure code****************
    PROCEDURE getall_by_date
    P_DATE IN DATE,
    EVENT_FREQUENCY IN NVARCHAR2,
    CRM_EVENTS_RECORDS OUT SYS_REFCURSOR
    IS
    BEGIN
    IF LOWER(EVENT_FREQUENCY) = 'day(s)' THEN
    OPEN CRM_EVENTS_RECORDS FOR
    SELECT
    CRM_EVENTS.ID,
    CRM_EVENTS.EVENT_NAME,
    CRM_EVENTS.EVENT_TYPE,
    CRM_EVENTS.PUBLIC_VIEW,
    CRM_EVENTS.LOCATION,
    CRM_EVENTS.STATUS,
    CRM_EVENTS.PRIORITY,
    CRM_EVENTS.DESCRIPTION AS E_DESCRIPTION,
    CRM_EVENTS.SEND_NOTIFICATION,
    CRM_EVENTS.START_DATE,
    CRM_EVENTS.END_DATE,
    CRM_EVENTS.EVENT_DAYS,
    CRM_EVENTS.EVENT_HOURS,
    CRM_EVENTS.EVENT_MINUTES,
    CRM_RECURRINGEVENTS.ID,
    CRM_RECURRINGEVENTS.RECURRINGDATE,
    CRM_RECURRINGEVENTS.REMINDER_SENT,
    CRM_RECURRINGEVENTS.REMINDER_TIME
    FROM
    CRM_EVENTS, CRM_RECURRINGEVENTS
    WHERE
    TO_DATE(TO_CHAR(TO_TIMESTAMP(CRM_RECURRINGEVENTS.RECURRINGDATE,'DD-MM-YYYY HH:MI:SS.FF AM'),'DD-MM-YYYY'),'DD-MM-YYYY') = to_Date(P_DATE,'DD-MM-YYYY')
    AND
    CRM_RECURRINGEVENTS.CRM_EVENTS_ID = CRM_EVENTS.ID
    ORDER BY
    CRM_RECURRINGEVENTS.RECURRINGDATE DESC;
    ELSIF LOWER(EVENT_FREQUENCY) = 'month(s)' THEN
    OPEN CRM_EVENTS_RECORDS FOR
    SELECT
    CRM_EVENTS.ID,
    CRM_EVENTS.EVENT_NAME,
    CRM_EVENTS.EVENT_TYPE,
    CRM_EVENTS.PUBLIC_VIEW,
    CRM_EVENTS.LOCATION,
    CRM_EVENTS.STATUS,
    CRM_EVENTS.PRIORITY,
    CRM_EVENTS.DESCRIPTION AS E_DESCRIPTION,
    CRM_EVENTS.SEND_NOTIFICATION,
    CRM_EVENTS.START_DATE,
    CRM_EVENTS.END_DATE,
    CRM_EVENTS.EVENT_DAYS,
    CRM_EVENTS.EVENT_HOURS,
    CRM_EVENTS.EVENT_MINUTES,
    CRM_RECURRINGEVENTS.ID,
    CRM_RECURRINGEVENTS.RECURRINGDATE,
    CRM_RECURRINGEVENTS.REMINDER_SENT,
    CRM_RECURRINGEVENTS.REMINDER_TIME
    FROM
    CRM_EVENTS, CRM_RECURRINGEVENTS
    WHERE
    TO_CHAR(CRM_RECURRINGEVENTS.RECURRINGDATE,'MM') = TO_CHAR(TO_DATE(P_DATE,'DD-MM-YYYY'),'MM')
    AND
    CRM_RECURRINGEVENTS.CRM_EVENTS_ID = CRM_EVENTS.ID
    ORDER BY
    CRM_RECURRINGEVENTS.RECURRINGDATE DESC;
    ELSIF LOWER(EVENT_FREQUENCY) = 'year' THEN
    OPEN CRM_EVENTS_RECORDS FOR
    SELECT
    CRM_EVENTS.ID,
    CRM_EVENTS.EVENT_NAME,
    CRM_EVENTS.EVENT_TYPE,
    CRM_EVENTS.PUBLIC_VIEW,
    CRM_EVENTS.LOCATION,
    CRM_EVENTS.STATUS,
    CRM_EVENTS.PRIORITY,
    CRM_EVENTS.DESCRIPTION AS E_DESCRIPTION,
    CRM_EVENTS.SEND_NOTIFICATION,
    CRM_EVENTS.START_DATE,
    CRM_EVENTS.END_DATE,
    CRM_EVENTS.EVENT_DAYS,
    CRM_EVENTS.EVENT_HOURS,
    CRM_EVENTS.EVENT_MINUTES,
    CRM_RECURRINGEVENTS.ID,
    CRM_RECURRINGEVENTS.RECURRINGDATE,
    CRM_RECURRINGEVENTS.REMINDER_SENT,
    CRM_RECURRINGEVENTS.REMINDER_TIME
    FROM
    CRM_EVENTS, CRM_RECURRINGEVENTS
    WHERE
    TO_CHAR(CRM_RECURRINGEVENTS.RECURRINGDATE,'YYYY') = TO_CHAR(TO_DATE(P_DATE,'DD-MM-YYYY'),'YYYY')
    AND
    CRM_RECURRINGEVENTS.CRM_EVENTS_ID = CRM_EVENTS.ID
    ORDER BY
    CRM_RECURRINGEVENTS.RECURRINGDATE DESC;
    ELSIF LOWER(EVENT_FREQUENCY) = 'week(s)' THEN
    OPEN CRM_EVENTS_RECORDS FOR
    SELECT
    CRM_EVENTS.ID,
    CRM_EVENTS.EVENT_NAME,
    CRM_EVENTS.EVENT_TYPE,
    CRM_EVENTS.PUBLIC_VIEW,
    CRM_EVENTS.LOCATION,
    CRM_EVENTS.STATUS,
    CRM_EVENTS.PRIORITY,
    CRM_EVENTS.DESCRIPTION AS E_DESCRIPTION,
    CRM_EVENTS.SEND_NOTIFICATION,
    CRM_EVENTS.START_DATE,
    CRM_EVENTS.END_DATE,
    CRM_EVENTS.EVENT_DAYS,
    CRM_EVENTS.EVENT_HOURS,
    CRM_EVENTS.EVENT_MINUTES,
    CRM_RECURRINGEVENTS.ID,
    CRM_RECURRINGEVENTS.RECURRINGDATE,
    CRM_RECURRINGEVENTS.REMINDER_SENT,
    CRM_RECURRINGEVENTS.REMINDER_TIME
    FROM
    CRM_EVENTS, CRM_RECURRINGEVENTS
    WHERE
    TO_CHAR(CRM_RECURRINGEVENTS.RECURRINGDATE,'W') = TO_CHAR(TO_DATE(P_DATE,'DD-MM-YYYY'),'W')
    AND
    TO_CHAR(CRM_RECURRINGEVENTS.RECURRINGDATE,'MM') = TO_CHAR(TO_DATE(P_DATE,'DD-MM-YYYY'),'MM')
    AND
    TO_CHAR(CRM_RECURRINGEVENTS.RECURRINGDATE,'YYYY') = TO_CHAR(TO_DATE(P_DATE,'DD-MM-YYYY'),'YYYY')
    AND
    CRM_RECURRINGEVENTS.CRM_EVENTS_ID = CRM_EVENTS.ID
    ORDER BY
    CRM_RECURRINGEVENTS.RECURRINGDATE DESC;
    END IF;
    END;;
    ************Stored procedure code End****************
    ************C#.NET code****************
    using System;
    using System.Collections.Generic;
    using System.Text;
    using Oracle.DataAccess.Client;
    using Oracle.DataAccess.Types;
    using System.Data;
    namespace BussLayer
    public class Event
    string eventName;
    string startDate;
    string endDate;
    int public_view;
    string priority;
    int EventType;
    int sendNotification;
    string location;
    int eventstatus;
    string description;
    int EventId;
    int on_every;
    string first_or_last;
    int day_of_month;
    string day_name;
    string repeat_frequency;
    int sun;
    int mon;
    int tue;
    int wed;
    int thu;
    int fri;
    int sat;
    int repeat_enabled;
    string single_date;
    string relatedType;
    int relatedToId;
    int Remind_Time_Days;
    int Remind_Time_Mins;
    int Remind_Time_Hrs;
    String pDate;
    String EVENT_FREQUENCY;
    public String p_Date
    get { return pDate; }
    set { pDate = value; }
    public String p_EVENT_FREQUENCY
    get { return EVENT_FREQUENCY; }
    set { EVENT_FREQUENCY = value; }
    public int p_Remind_Time_Hrs
    get { return Remind_Time_Hrs; }
    set { Remind_Time_Hrs = value; }
    public int p_Remind_Time_Mins
    get { return Remind_Time_Mins; }
    set { Remind_Time_Mins = value; }
    public int p_Remind_Time_Days
    get { return Remind_Time_Days; }
    set { Remind_Time_Days = value; }
    public int p_RelatedToId
    get { return relatedToId; }
    set { relatedToId = value; }
    public string p_relatedType
    get { return relatedType; }
    set { relatedType = value; }
    public string p_singleDate
    get { return single_date; }
    set { single_date = value; }
    public string p_endDate
    get { return endDate; }
    set { endDate = value; }
    public string p_startDate
    get { return startDate; }
    set { startDate = value; }
    public int p_on_every
    get { return on_every; }
    set { on_every = value; }
    public string p_first_or_last
    get { return first_or_last; }
    set { first_or_last = value; }
    public int p_day_of_month
    get { return day_of_month; }
    set { day_of_month = value; }
    public string p_day_name
    get { return day_name; }
    set { day_name = value; }
    public string p_repeat_freq
    get { return repeat_frequency; }
    set { repeat_frequency = value; }
    public int p_repeat_enabled
    get { return repeat_enabled; }
    set { repeat_enabled = value; }
    public int p_sat
    get { return sat; }
    set { sat = value; }
    public int p_fri
    get { return fri; }
    set { fri = value; }
    public int p_thu
    get { return thu; }
    set { thu = value; }
    public int p_wed
    get { return wed; }
    set { wed = value; }
    public int p_tue
    get { return tue; }
    set { tue = value; }
    public int p_mon
    get { return mon; }
    set { mon = value; }
    public int p_sun
    get { return sun; }
    set { sun = value; }
    public int p_eventType
    get { return EventType; }
    set { EventType = value; }
    public string p_Description
    get { return description; }
    set { description = value; }
    public int p_EvnetId
    get { return EventId; }
    set { EventId = value; }
    public string p_eventName
    get { return eventName; }
    set { eventName = value; }
    public int p_PublicView
    get { return public_view; }
    set { public_view = value; }
    public string p_priority
    get { return priority; }
    set { priority = value; }
    public int p_activityType
    get { return EventType; }
    set { EventType = value; }
    public int p_sendNotification
    get { return sendNotification; }
    set { sendNotification = value; }
    public string p_location
    get { return location; }
    set { location = value; }
    public int p_eventstatus
    get { return eventstatus; }
    set { eventstatus = value; }
    public DataTable GETALL_BY_DATE()
    Int64 return_Status;
    String strstatus = "";//To receive the exception msg receive from brick
    OracleCommand objcmd = new OracleCommand(); //Holder object
    DataTable dt = new DataTable();
    OracleParameter[] orapm = new OracleParameter[3];//parameter objects Note: Length should be No. of sp parameters
    OracleCommand[] arcmr = new OracleCommand[1];
    oracle_brick.baked_brick brc = new oracle_brick.baked_brick(BussLayer.PublicSetting.conString);
    String cmdtype = "sp";
    String Cmdstring = "CRM_RECURRINGEVENTS_TAPI.GETALL_BY_DATE";
    orapm[0] = new OracleParameter();
    orapm[0].OracleDbType = OracleDbType.Date;
    orapm[0].Direction = ParameterDirection.Input;
    orapm[0].ParameterName = "P_DATE";
    orapm[0].Value =Convert.ToDateTime(p_Date).ToString("dd-MM-yyyy");
    orapm[1] = new OracleParameter();
    orapm[1].OracleDbType = OracleDbType.NVarchar2;
    orapm[1].Direction = ParameterDirection.Input;
    orapm[1].ParameterName = "EVENT_FREQUENCY";
    orapm[1].Value = p_EVENT_FREQUENCY;
    orapm[2] = new OracleParameter();
    orapm[2].OracleDbType = OracleDbType.RefCursor;
    orapm[2].Direction = ParameterDirection.Output;
    orapm[2].ParameterName = "CRM_EVENTS_RECORDS";
    return_Status = brc.CreateCommand(ref cmdtype, ref Cmdstring, ref objcmd, ref strstatus, ref orapm);
    return_Status = brc.GetDataTable(ref objcmd, ref dt, ref strstatus);
    return dt;
    ************C#.NET code End****************

    Those are the main tables used:
    SQL> descr ident
    Name Null? Type
    CRSW_ID NOT NULL VARCHAR2(256)
    COMPONENT_KEY NUMBER(10)
    JURIS_ID NOT NULL NUMBER(4)
    DOC_TYPE_ID NUMBER(4)
    WEST_ID VARCHAR2(20)
    LOAD_DATE DATE
    MOD_DATE DATE
    STATUS NOT NULL CHAR(1)
    EFFECTIVE_DATE VARCHAR2(10)
    LONG_TITLE VARCHAR2(2000)
    SHORT_TITLE VARCHAR2(2000)
    LANGUAGE CHAR(1)
    TYPE_OF_DOC VARCHAR2(20)
    FLAG_COLOUR CHAR(1)
    ACTION_TYPE CHAR(1)
    FLAG_OVERRIDE_IND CHAR(1)
    OWNER NOT NULL CHAR(1)
    FLAGPROP_IND NOT NULL CHAR(1)
    METADATA_ACTION_TYPE NOT NULL CHAR(1)
    METADATA_STATUS NOT NULL CHAR(1)
    NOVUS_GUID NOT NULL CHAR(33)
    SQL> descr abr_archive
    Name Null? Type
    CRSW_ID NOT NULL VARCHAR2(256)
    XML_DOC SYS.XMLTYPE
    LOAD_DATE NOT NULL DATE
    MOD_DATE NOT NULL DATE
    SQL> descr abridgment
    Name Null? Type
    CRSW_ID NOT NULL VARCHAR2(256)
    DGN_LOCATOR VARCHAR2(30)
    KEYCLASS VARCHAR2(40)
    SUBJ_CODE VARCHAR2(3)
    MOD_DATE DATE
    ABRCLASS_IND NOT NULL CHAR(1)
    SQL> descr rpt_main
    Name Null? Type
    RPT_ID NOT NULL NUMBER
    RPT_GROUP_ID NOT NULL NUMBER
    RPT_CODE NOT NULL VARCHAR2(10)
    RPT_NAME NOT NULL VARCHAR2(100)
    SRCH_CRITERIA VARCHAR2(4000)
    EML_TARGET VARCHAR2(2000)
    EML_SUBJ VARCHAR2(150)
    SUBSCR_NO VARCHAR2(20)
    SUBSCR_PREFIX VARCHAR2(10)
    START_DATE NOT NULL DATE
    SCHED_DAYS NUMBER
    WEED_DATE DATE
    ISSUE_NO NUMBER
    STATUS NOT NULL CHAR(1)
    ABORT_THRESHOLD NUMBER
    SCHED_DATE DATE
    EML_ATTACHMENT_NAME VARCHAR2(200)
    SQL> descr relation
    Name Null? Type
    CITING_DOC NOT NULL VARCHAR2(256)
    CITED_DOC NOT NULL VARCHAR2(256)
    DISPLAY_TEXT VARCHAR2(256)
    HISTORY_CODE NOT NULL NUMBER(4)
    SORT_ID NOT NULL NUMBER(10)
    MOD_DATE NOT NULL DATE
    EXPIRED_IND NOT NULL CHAR(1)
    Thanks,

  • Selected Parent is not defined in CONSGROUP dimension ( SAP BPC 7.5 SP08)

    Helllo
    While updating the Dynamic Hierachy getting the below error.
    Selected Parent is not defined in CONSGROUP dimension
    Any Clues.
    my Consgroup dimension is below
    ID     EVDESCRIPTION     PARENT_GROUP     CURRENCY_TYPE     ENTITY     GROUP_CURRENCY     STORE_ENTITY     STORE_GROUP_CURR
    Thanking you in advance

    Hi,
    I think you have resolved this issue
    I am able to mapped all entity except 1 in DHE.
    I even updated ORG_INTCO as I_NONE.
    Still I am unable to mapped this entity with group entity as I am getting subject  error.
    Mine is sub-parent scenario, ie. the parent in question has 2 child which are properly mapped but linkage of this sub-parent to parent is not showing due to subject  error.
    Any thoughts.
    Regards,
    Paresh

Maybe you are looking for

  • Error while building report

    I need to create a report that have 2 columns, which are sum of sales and count of customer (from 2 difference tables). where i create a caculation-->COUNT_DISTINCT(customer_id) and sum of sales. I hit the below error :- "Invalid Combination of joins

  • Ayuda! An error has occurred. (NP8154-8)

    me pone An error has occurred. (NP8154-8) que hago? ayudaaa POR FAVOR

  • Apple monitor problem

    Hi. I am from Romania and I have a Apple LCD display (m2454) with ADC conector. My video card provide DVI and VGA outputs and I reorder pins on ADC conector to use DVI output like in this page: http://developer.apple.com/documentation/Hardware/Develo

  • Simple Decode Query

    Decode Query Simplified version of query below. SELECT d.REG, d.DP, c.CHANNEL FROM CUSTOMER c , ACCOUNT d WHERE c.ID = d.ID GROUP BY d.REG, d.DP, c.CHANNEL Channel Field in Customer Table contains Multiple Store ID's (Store 1,Store 2, Store 3,Store 4

  • Is there a practical limit to catalog size?

    I get frequent enough requests to use old photos so I keep everything in one catalog, and all raw files on disk in directories by year\day.  Currently there are several hundred thousand files (about half unedited), and the catalog size at last check