I got Class category is invalid error. while i am trying to create project by using pa_project_pub API trough backend

Hi Everyone,
Can you please help me.. how can i solve this problem.
please find out the following code which was i written..
DECLARE
  -- Variables needed to create task hierachy
  level1               NUMBER;
  level2               NUMBER;
  level3               NUMBER;
  a                    NUMBER;
  m                    NUMBER;
  parent_level1         VARCHAR2(30);
  parent_level2         VARCHAR2(30);
  parent_level3         VARCHAR2(30);
  number_of_tasks1      NUMBER;        -- number of tasks/levels
  number_of_tasks2      NUMBER;
  number_of_tasks3      NUMBER;
  number_of_tasks4      NUMBER;
  -- Variables needed for API standard parameters
  l_api_version_number  NUMBER := 1.0;
  l_commit                VARCHAR2(1) := 'F';
  l_return_status       VARCHAR2(1);
  l_init_msg_list       VARCHAR2(1) := 'F';
  l_msg_count           NUMBER;
  l_msg_index_out       NUMBER;
  l_msg_data            VARCHAR2(2000);
  l_data                VARCHAR2(2000);
  l_workflow_started    VARCHAR2(1) := 'Y';
  l_pm_product_code     VARCHAR2(10);
-- Predefined Composit data types
  l_project_in          PA_PROJECT_PUB.PROJECT_IN_REC_TYPE;
  l_project_out         PA_PROJECT_PUB.PROJECT_OUT_REC_TYPE;
  l_key_members         PA_PROJECT_PUB.PROJECT_ROLE_TBL_TYPE;
  l_class_categories    PA_PROJECT_PUB.CLASS_CATEGORY_TBL_TYPE;
  l_tasks_in_rec        PA_PROJECT_PUB.TASK_IN_REC_TYPE;
  l_tasks_in            PA_PROJECT_PUB.TASK_IN_TBL_TYPE;
  l_tasks_out_rec       PA_PROJECT_PUB.TASK_OUT_REC_TYPE;
  l_tasks_out           PA_PROJECT_PUB.TASK_OUT_TBL_TYPE;
  l_cust_rec            PA_PROJECT_PUB.CUSTOMER_IN_REC_TYPE;
  l_cust_tbl            PA_PROJECT_PUB.CUSTOMER_TBL_TYPE;
  l_person_id           NUMBER;
  l_project_role_type   VARCHAR2(20);
  l_responsibility_id    NUMBER;
  l_user_id        NUMBER;
  v_ind            NUMBER;
  API_ERROR                EXCEPTION;
BEGIN
-- GET GLOBAL VALUES
  select user_id, responsibility_id
  into  l_user_id, l_responsibility_id
  from pa_user_resp_v
  where user_name = 'SATISH'                    -- substitute valid username
  and responsibility_name = '*PAC Projects Administrator';    -- substitute responsibility name
dbms_output.put_line( 'initilaization');
-- SET GLOBAL VALUES
  pa_interface_utils_pub.set_global_info(
    p_api_version_number    => 1.0,
    p_responsibility_id     => l_responsibility_id,
    p_user_id               => l_user_id, 
    p_msg_count             => l_msg_count,
    p_msg_data              => l_msg_data,
    p_return_status         => l_return_status);
  dbms_output.put_line( 'Assigning values');
-- PRODUCT RELATED DATA
  l_pm_product_code := 'GMS';         -- can be user defined
-- PRODUCT DATA (PROJECT_IN_REC_TYPE)
  l_project_in.created_from_project_id := 11759;--'1746';--'11759';  -- Project id from template
  l_project_in.project_name := 'TEST_VS_14052014';
  l_project_in.pm_project_reference := 'TEST_VS_14052014';
  l_project_in.description := 'CREATION OF PROJECT(VS)';
  l_project_in.project_status_code := 'APPROVED';
  l_project_in.carrying_out_organization_id := 652;--3274;    -- can default from template
  l_project_in.start_date := '01-JAN-2007'; -- can override default from template
  l_project_in.completion_date := '31-JAN-2010';       -- can override default from template
  l_project_in.actual_start_date := '01-JAN-2010';
  l_project_in.actual_finish_date := '31-JAN-2010';
  l_project_in.early_start_date := '01-JAN-2010';
  l_project_in.early_finish_date :='31-JAN-2010';
  l_project_in.late_start_date := '01-JAN-2010';
  l_project_in.late_finish_date :='31-JAN-2010';
-- l_proj_in.process_mode := 'ONLINE';
-- l_project_in.customer_id := 1001;
--KEY MEMBERS DATA (PROJECT_ROLE_TBL_TYPE)
-- can be defaulted from the Template, but not from a Project
  m := 1;
  l_person_id := 34;            -- need to get from Apps
  l_project_role_type := 'PROJECT MANAGER';
  l_key_members(m).person_id := 53;
  l_key_members(m).project_role_type := 'PROJECT MANAGER';
-- l_class_categories(1).class_category := 'Engineering';
  --l_class_categories(1).class_code := 'Programs';
  --l_class_categories(2).class_category := 'Planned';
  --l_class_categories(2).class_code := 'Active';
  l_class_categories(3).class_category := 'Rank';
  l_class_categories(3).class_code := 'CUST';
-- CUSTOMERS
  v_ind := 0;
  l_cust_rec.customer_id                    := 1001;
  l_cust_rec.project_relationship_code      := 'CLIENT'; --cus.project_relationship_code;
  l_cust_rec.Bill_To_Customer_id            := NULL; --cus.x_bill_customer_id;    
  l_cust_rec.contact_id                     := NULL;                   --  pa_interface_utils_pub.g_pa_miss_num;
  l_cust_rec.project_contact_type_code      := NULL;  --  pa_interface_utils_pub.g_pa_miss_char;
  l_cust_rec.customer_bill_split            := NULL; --nvl(cus.customer_bill_split, pa_interface_utils_pub.g_pa_miss_num);
  l_cust_rec.allow_inv_user_rate_type_flag  := NULL; --nvl(cus.allow_inv_user_rate_type_flag, pa_interface_utils_pub.g_pa_miss_char);
  l_cust_rec.inv_rate_date                  := NULL; --nvl(cus.inv_rate_date, pa_interface_utils_pub.g_pa_miss_date);
  l_cust_rec.inv_rate_type                  := NULL; --nvl(cus.inv_rate_type, pa_interface_utils_pub.g_pa_miss_char);
  l_cust_rec.inv_currency_code              := NULL; --nvl(cus.inv_currency_code, pa_interface_utils_pub.g_pa_miss_char);
  l_cust_rec.inv_exchange_rate              := NULL; --nvl(cus.inv_exchange_rate, pa_interface_utils_pub.g_pa_miss_num);
  l_cust_rec.bill_another_project_flag      := 'Y'; --nvl(cus.bill_another_project_flag, pa_interface_utils_pub.g_pa_miss_char);
  l_cust_rec.RECEIVER_TASK_ID               := 35078;
  v_ind  :=  v_ind  +  1;
  l_cust_tbl   (v_ind)  :=  l_cust_rec;
--CLASS CATEGORIES DATA (CLASS_CATEGORY_TBL_TYPE)
--  l_class_categories(1).class_category := 'Product'; --value from template
--  l_class_categories(1).class_code := 'Product 1';
--TASKS DATA
  --Set the number of tasks for every level (there are 4 levels)
  number_of_tasks1 := 1;
  number_of_tasks2 := 2;
  number_of_tasks3 := 0;
  number_of_tasks4 := 0;
-- This is just a set of looping structures to create the tasks and sub-tasks
-- If it is difficult to understand, then feel free to create them individually.
  a := 0;
  for level1 in 1..number_of_tasks1 loop
    a := a + 1;
    l_tasks_in_rec.pm_task_reference := level1 || '.' || '0';
    l_tasks_in_rec.task_name := 'Top Level ' || level1 || '.' || '0';
    l_tasks_in_rec.pm_parent_task_reference := '';
    l_tasks_in_rec.task_start_date := '01-JAN-2010';
    l_tasks_in_rec.task_completion_date := '31-JAN-2010';
    l_tasks_in_rec.actual_start_date := '01-JAN-2010';
    l_tasks_in_rec.actual_finish_date :='31-JAN-2010';
    l_tasks_in_rec.early_start_date := '01-JAN-2010';
    l_tasks_in_rec.early_finish_date :='31-JAN-2010';
    l_tasks_in_rec.late_start_date := '01-JAN-2010';
    l_tasks_in_rec.late_finish_date :='31-JAN-2010';
    l_tasks_in_rec.receive_project_invoice_flag := 'Y';
    l_tasks_in(a) := l_tasks_in_rec;
    parent_level1 := level1 || '.' || '0';
    for level2 in 1..number_of_tasks2 loop
      a := a + 1;
      l_tasks_in_rec.pm_task_reference := level1 || '.' || level2;
      l_tasks_in_rec.task_name := '2 Level ' || level1 || '.' || level2;
      l_tasks_in_rec.pm_parent_task_reference := parent_level1;
      l_tasks_in(a) := l_tasks_in_rec;
      parent_level2 := level1 || '.' || level2;
    end loop;
  end loop;
--INIT_CREATE_PROJECT
  pa_project_pub.init_project;
--CREATE_PROJECT
  pa_project_pub.create_project(
    l_api_version_number,
    p_commit            => l_commit,
    p_init_msg_list     => l_init_msg_list,
    p_msg_count         => l_msg_count,
    p_msg_data          => l_msg_data,
    p_return_status     => l_return_status,
    p_workflow_started  => l_workflow_started,
    p_pm_product_code   => l_pm_product_code,
    p_project_in        => l_project_in,
    p_project_out       => l_project_out,
    p_key_members       => l_key_members,
    p_class_categories  => l_class_categories,
    p_tasks_in          => l_tasks_in,
    p_tasks_out         => l_tasks_out,
    p_customers_in      => l_cust_tbl);
-- Check for errors
  if l_return_status != 'S'
  then
    raise API_ERROR;
  end if;
  dbms_output.put_line('New Project Id: ' || l_project_out.pa_project_id);
  dbms_output.put_line('New Project Number: ' || l_project_out.pa_project_number);
  Commit;
--HANDLE EXCEPTIONS
-- Get the error message that were returned if it did not complete sucessfully
  EXCEPTION
  When API_ERROR then
    if l_msg_count >= 1
    then
      for i in 1..l_msg_count loop
        pa_interface_utils_pub.get_messages(
        p_msg_data      => l_msg_data,
        p_encoded       => 'F',
        p_data          => l_data,
        p_msg_count     => l_msg_count,
        p_msg_index     => l_msg_count,    -- Added in 11i.PA.I
        p_msg_index_out => l_msg_index_out);
        dbms_output.put_line('error message: ' || l_data);
      end loop;
      rollback;
    end if;
  When OTHERS then
    if l_msg_count >= 1
      then
      for i in 1..l_msg_count loop
        pa_interface_utils_pub.get_messages(
        p_msg_count     => l_msg_count,
        p_encoded    => 'F',
        p_msg_data     => l_msg_data,
        p_data         => l_data,
        p_msg_index     => l_msg_count,    -- Added in 11i.PA.I
        p_msg_index_out => l_msg_index_out);
        dbms_output.put_line('error message: ' || l_data);
      end loop;
      rollback;
    end if;
END;
ERROR:=
initilaization
Assigning values
debug message -->: Start..
debug message -->: 1
debug message -->: 2
debug message -->: 3
debug message -->: 4
debug message -->: 5
debug message -->: 6
debug message -->: 7
debug message -->: 8
debug message -->: 9
debug message -->: 10
debug message -->: 11
debug message -->: 12
debug message -->: 13
debug message -->: 14
debug message -->: 15
debug message -->: 16
debug message -->: 17
debug message -->: 18
debug message -->: 19
debug message -->: 20
debug message -->: 21
debug message -->: 22
debug message -->: 23
debug message -->: 25
debug message -->: 26
debug message -->: 26-I
debug message -->: 26-II
debug message -->: 26-I
debug message -->: 26-II
debug message -->: 26-I
debug message -->: 26-II
debug message -->: 26-I
debug message -->: 26-II
debug message -->: 26-Vi
debug message -->: 26-I
debug message -->: 26-II
debug message -->: 26-VII
debug message -->: 27
debug message -->: 28
debug message -->: 30
error message: Project: 'TEST_VS_14052014'
The class category is invalid.

Please see if (PA_PROJECT_PUB.create_project Errors - The Class Category Is Invalid (Doc ID 1323904.1)) helps.
Thanks,
Hussein

Similar Messages

  • Initial category is invalid error while running Locaton Hueristic

    Folks
    While running Locaton Hueristic, system is throwing and error '"Initial category is invalid". I had created a copy of 9ASNP02 PA, PB and DV, added a new KF and assigned a new categry group to this KF under all the aggregates. It was running fine but lately I am seeing this error. ANy ideas on what could have gone wrong and how to resolve this ?
    Initial category is invalid
    Message no. /SAPAPO/OM_ERROR2820
    Diagnosis
    An application program called an LCA routine. This led to an error.
    Procedure
    Contact your system administration.
    Procedure for System Administration
    Contact SAP Service. Specify the application component in which this message occurred.
    You must also enter:
    The message number
    Return code 19020 (om_atp_initial_cat_not_valid)
    Error code ATP

    Run below consistency check :
    /SAPAPO/TS_LCM_CONS_CHECK and
    /SAPAPO/TS_PSTRU_CONS_CHECK
    /SAPAPO/TS_LCM_REORG
    /SAPAPO/TS_LCM_PLOB_DELTA_SYNC
    Also check oss note :Note 727698 - New return code from the liveCache
    Manish

  • My whileloop keeps on erroring while i'm trying to create an insert sort

    I get this error when I try to run my code. Compiling works fine:
    ArrayIndexOutOfBoundsException: 31
    at ReadData.sort(ReadData.java:20)
    at ReadDataApp.main(ReadDataApp.java:18)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    I'm trying to create an insertion sort within this method. If i comment the while loop out, it no longer errors, so the error will be somewhere in there.
    public void sort(){
      for(int i=1; i < array.length; i++){
      int temp = array;
    int j = array[i];
    while(j > 0 && (array[j-1]) > temp){
    array[j] = array[j-1];
    j--;
    }//end of while
    temp = j;
    }//end of for
    }//end of sortThere are 20 items in the array.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    The error message tells you exactly what's going on: At line 20 of ReadData.java, you're trying to access the 32nd element (index 31) of an array that has 31 or fewer elements (indices 0..30 or less).
    Put in some print statements so you can see where your code is not doing what you think it is.

  • While creating Projects Using the API, get two errors: 'Customer name must be passed' and 'class category is invalid'

    Hi
    While trying to Create Projects using the API, I'm getting two types of errors -
    The first is : 'API failed in one stage 1 Customer Name is a mandatory Quick Entry field. Value must be passed'
    The second is : '
    'API failed in one stage 1 Project: '<Project_Number>'
    The class category is invalid.'
    Both the messages are produced by our custom program. .. however I am not able to understand why the underlying errors occur.
    The first error ( Customer Name is a mandatory quick entry field), is caused by Projects that are to be created from Project templates where it is configured with Quick Entry Customer Name required. We are passing Customer Site number ( Party Bill to site number and Party Ship to side number). The site numbers being passed are also set as 'Primary'. Yet they are failing.
    For the second Error ( The Class Category is invalid), I rechecked multiple times, the Class categories for the Projects I am trying to create, with the Config in R12 and they are fine. Can't understand the reason for these two issues. Has anyone encountered such an issue ? If so how was it resolved?
    Regards
    Vivek

    HI All
    I resolved both the issues. In case there are others facing similar issues, following was the cause and resolution of my errors
    1. Error 1: Customer Name is a Mandatory Quick Entry field. Value must be passed.
    The cause was that the data loaded into our custom staging table was not in the right fields. This was because the data file values and the CTL were not in sync.
    Resolution:
    Corrected the data file to be in Sync with the structure defined in the CTL and  this loaded it successfully
    2. Error 2: The class category is invalid.
    The cause of this error was that  in the  Projects Template (used to create the project from), the Quick Entry setup had a Class Category set as required and I was not passing a value ( a class code value) for that Class Category.
    Hope this helps somebody else
    Cheers
    Turnbill

  • Pa_Project_Pub.create_project, The class category is invalid.

    ERROR:
    The class category is invalid.
    while creating project using API Pa_Project_Pub.create_project.
    If anyone knows what the problem is, please reply.
    This seems more of a project template problem, as the same API works allright in other instances, could anyone tell me how to go about fixing this.
    Cheers
    Nemo

    ERROR:
    The class category is invalid.
    while creating project using API Pa_Project_Pub.create_project.
    If anyone knows what the problem is, please reply.
    This seems more of a project template problem, as the same API works allright in other instances, could anyone tell me how to go about fixing this.
    Cheers
    Nemo

  • Get error while invoking a page with "create"

    I get this error while invoking a page with "create". Also please any one tell me where is the log file is place to see the full story.
    ]] Root cause of ServletException.
    javax.el.PropertyNotFoundException: Target Unreachable, 'Comments' returned null
         at com.sun.el.parser.AstValue.getTarget(AstValue.java:88)
         at com.sun.el.parser.AstValue.isReadOnly(AstValue.java:126)
         at com.sun.el.ValueExpressionImpl.isReadOnly(ValueExpressionImpl.java:230)
         at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer.getReadOnly(EditableValueRenderer.java:400)
         at oracle.adfinternal.view.faces.renderkit.rich.FormElementRenderer.renderAsElement(FormElementRenderer.java:199)
         Truncated. see log file for complete stacktrace
    If i use a "create button then it does not throw error.
    Please help.

    When you are invoking your page, does your view object has an empty row where data can go and presist?
    Create a an empty row in your view object(vo.createRow()) , or use create operation from data control palette.
    You can set the log in Tools->Preferences-->Environment-->Log.
    Regards,
    Vikram

  • I'm trying to create a list using CustomSchemalXml property in ListCreationInformation object in CSOM. But, the code throws an error "Invalid List Schema".

    I'm trying to create a list using CustomSchemalXml  property in ListCreationInformation object in CSOM. But, the code throws an error "Invalid List Schema". Any pointers on how to set the CustomSchemalXml property?
    Sri

    Hi Lakshmanan,
    Thanks for your reply.
    I checked this post and there was no solution to the problem there. I undersand we cannot create a list based on custom template in CSOM, but what I'm looking for is how of form xml and set it to CustomSchemalXml
     property, so that everytime when I want to create a list with similar content types and stuff, I can just set the
    CustomSchemalXml  property. 
    Sri

  • My ipod touch 4th generation got stuck on a white screen while i was trying to use an app, it won't turn off or anything, PLEASE HELP

    My ipod touch 4th generation got stuck on a white screen while i was trying to use an app, it won't turn off or anything, PLEASE HELP

    Let the battery fully drain. After charging for at least an hour try:
    iOS: Not responding or does not turn on

  • Getting error while trying to create a document using oracle web ADI resp.

    Hi All,
    When I am trying to create a document using Oracle Web ADI Responsibility and using "Ben Ri Process Bnf" integrator, it is showing me error
    "The following error has occurred
    Exception Name: oracle.apps.bne.exception.BneParameterException - No parameter list definition at parameter list id 800:PER_RI_JPG_PARAM_LIS
    Log File Bookmark: 868035"
    Can anybody tell me the cause of this error?
    Thanks.

    Please see the solution in (The Descriptive Flexfield With Application Name Receivables (AR) and Name Party Site Information (HZ_PARTY_SITES) Is Not Frozen [ID 743262.1]).
    Thanks,
    Hussein

  • Why does my iPhoto keep quitting while i'm trying to create a calendar?

    Why does my iPhoto keep quitting while i'm trying to create a calendar

    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    Step 1
    Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
    View ▹ Show Log List
    from the menu bar.
    Enter the name of the crashed application or process in the Filter text field. Select the messages from the time of the last crash, if any. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message (command-V).
    When posting a log extract, be selective. In most cases, a few dozen lines are more than enough.
    Please do not indiscriminately dump thousands of lines from the log into this discussion.
    Important: Some private information, such as your name, may appear in the log. Anonymize before posting.
    Step 2
    In the Console window, look under User Diagnostic Reports for crash reports related to the crashed process. The report name starts with the name of the process, and ends with ".crash". Select the most recent report and post the entire contents — again, the text, not a screenshot. In the interest of privacy, I suggest that, before posting, you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header of the report, if it’s present (it may not be.) Please don’t post other kinds of diagnostic report — they're very long and not helpful.

  • Product Invalid Error while creating ASN

    Hi
    I am trying to create ASN by navigating from DCM screen but in Create ASN screen shows error as "Product Invalid".
    When I check in Product  field help, pop up does not show this product although product is visible on DCM screen.
    I checked all master data and related settings and all looks good. This error comes only for few parts and not all parts which vendors supplies.
    When I compared the product having issue with those having no issue, then there is no difference as far as master data settings is concerned.
    Does anyone has faced such kind of issue earlier. Plz help.
    Thanks

    Hi Sandhya,
    This issue is due to Visibility Setting for "Create ASN" screen.
    You can overcome this error by doing the below setting:
    SPRO > SNC > Basic Settings >  Visibility > Set Selection Mode of an Application
    For screen ASC (Create ASN), choose use PDNF_NEW and save
    Note: This is explained in SAP Note # 1925363
    Regards,
    Bharath

  • Application Error while activating the feature - for creating list content type, list definition and list instance

    Dear all,
    I am getting application error while enabling the feature. if any body can point out the issue - that will be helpful.
    content type
    <?xml version="1.0" encoding="utf-8"?>
    <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
    <Field ID="{4C1B0A21-FCE0-4CFE-8742-A250672AFE4F}" Type="Note" Name="CourseDesc" DisplayName="Course Description" Required="TRUE" Group="Training Site Columns"/>
    <!-- Parent ContentType: Item (0x01) -->
    <ContentType ID="0x0100d57ecc53fde34177b096abd0ec90a8f9"
    Name="TrainingCourses"
    Group="Training Content Types"
    Description="Defines a Course"
    Inherits="TRUE"
    Version="0">
    <FieldRefs>
    <FieldRef ID="{4C1B0A21-FCE0-4CFE-8742-A250672AFE4F}" Name="CourseDesc" DisplayName="Course Description" Required="TRUE"/>
    </FieldRefs>
    </ContentType>
    </Elements>
    List definition
    <?xml version="1.0" encoding="utf-8"?>
    <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
    <!-- Do not change the value of the Name attribute below. If it does not match the folder name of the List Definition project item, an error will occur when the project is run. -->
    <ListTemplate
    Name="TrainingCourses"
    Type="10100"
    BaseType="0"
    OnQuickLaunch="TRUE"
    SecurityBits="11"
    Sequence="410"
    DisplayName="TrainingCourses"
    Description="Training Courses List Definition"
    Image="/_layouts/images/itgen.png"/>
    </Elements>
    List instance
    <?xml version="1.0" encoding="utf-8"?>
    <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
    <ListInstance Title="TrainingCourses"
    OnQuickLaunch="TRUE"
    TemplateType="10100"
    Url="Lists/TrainingCourses"
    Description="Training Course List Instance">
    </ListInstance>
    </Elements>
    schema
    <?xml version="1.0" encoding="utf-8"?>
    <List xmlns:ows="Microsoft SharePoint" Title="TrainingCourses" FolderCreation="FALSE" Direction="$Resources:Direction;" Url="Lists/TrainingCourses-LD_TrainingCourses" BaseType="0" xmlns="http://schemas.microsoft.com/sharepoint/">
    <MetaData>
    <ContentTypes>
    <ContentType ID="0x0100d57ecc53fde34177b096abd0ec90a8f9" Name="TrainingCourses" Group="Training Content Types" Description="Defines a Course" Inherits="TRUE" Version="0">
    <FieldRefs>
    <FieldRef ID="{4C1B0A21-FCE0-4CFE-8742-A250672AFE4F}" Name="CourseDesc" DisplayName="Course Description" Required="TRUE" />
    </FieldRefs>
    </ContentType>
    </ContentTypes>
    <Fields>
    <Field ID="{4c1b0a21-fce0-4cfe-8742-a250672afe4f}" Type="Note" Name="CourseDesc" DisplayName="Course Description" Required="TRUE" Group="Training Site Columns" />
    </Fields>
    <Views>
    <View BaseViewID="0" Type="HTML" MobileView="TRUE" TabularView="FALSE">
    <Toolbar Type="Standard" />
    <XslLink Default="TRUE">main.xsl</XslLink>
    <RowLimit Paged="TRUE">30</RowLimit>
    <ViewFields>
    <FieldRef Name="LinkTitleNoMenu">
    </FieldRef>
    <FieldRef Name="CourseDesc">
    </FieldRef>
    </ViewFields>
    <Query>
    <OrderBy>
    <FieldRef Name="Modified" Ascending="FALSE">
    </FieldRef>
    </OrderBy>
    </Query>
    <ParameterBindings>
    <ParameterBinding Name="AddNewAnnouncement" Location="Resource(wss,addnewitem)" />
    <ParameterBinding Name="NoAnnouncements" Location="Resource(wss,noXinviewofY_LIST)" />
    <ParameterBinding Name="NoAnnouncementsHowTo" Location="Resource(wss,noXinviewofY_ONET_HOME)" />
    </ParameterBindings>
    </View>
    <View BaseViewID="1" Type="HTML" WebPartZoneID="Main" DisplayName="$Resources:core,objectiv_schema_mwsidcamlidC24;" DefaultView="TRUE" MobileView="TRUE" MobileDefaultView="TRUE" SetupPath="pages\viewpage.aspx" ImageUrl="/_layouts/images/generic.png" Url="AllItems.aspx">
    <Toolbar Type="Standard" />
    <XslLink Default="TRUE">main.xsl</XslLink>
    <RowLimit Paged="TRUE">30</RowLimit>
    <ViewFields>
    <FieldRef Name="Attachments">
    </FieldRef>
    <FieldRef Name="LinkTitle">
    </FieldRef>
    <FieldRef Name="CourseDesc">
    </FieldRef>
    </ViewFields>
    <Query>
    <OrderBy>
    <FieldRef Name="ID">
    </FieldRef>
    </OrderBy>
    </Query>
    <ParameterBindings>
    <ParameterBinding Name="NoAnnouncements" Location="Resource(wss,noXinviewofY_LIST)" />
    <ParameterBinding Name="NoAnnouncementsHowTo" Location="Resource(wss,noXinviewofY_DEFAULT)" />
    </ParameterBindings>
    </View>
    </Views>
    <Forms>
    <Form Type="DisplayForm" Url="DispForm.aspx" SetupPath="pages\form.aspx" WebPartZoneID="Main" />
    <Form Type="EditForm" Url="EditForm.aspx" SetupPath="pages\form.aspx" WebPartZoneID="Main" />
    <Form Type="NewForm" Url="NewForm.aspx" SetupPath="pages\form.aspx" WebPartZoneID="Main" />
    </Forms>
    </MetaData>
    </List>
    I am applying the feature to SPWeb level.
    cheers
    Sathya

    redeployed a new solution; since I was getting this error. I would have done typo errors etc.
    https://naveengopisetty.wordpress.com/2011/09/10/error-occurred-in-deployment-step-activate-features-invalid-file-name-the-file-name-you-specified-could-not-be-used-it-may-be-the-name-of-an-existing-file-or-directory-or-you-may-not-have-pe/
    Cheers
    Sathya

  • Getting error while another component to the same project

    I am getting the following error while including another component (JSPDynPage) in the same project. Its scope is request. If there is some .jar file to export kindly tell its path also.
    Error:The project was not built since its classpath is incomplete. Cannot find the class file for javax.servlet.http.HttpServletRequest. Fix the classpath then try rebuilding this project.     TryProject

    Hello Shilpa,
    The required jar file is <b>servlet.jar</b>, this is present on your server under
    usrsap<ID><INST>j2eecluster<NODE> in/ext/servlet/servlet.jar
    So adding this to your classpath, should solve the problem.
    Check this to know, how to set classpath:
    Getting API:s for DevStudio
    Greetings,
    Praveen Gudapati
    p.s. Points are always welcome for helpful answers

  • Error while creting webi report on top of query ,using BO XI3.1

    Hi,
    I'm getting below error while creating webi report ,tried to applying some patches but no luck
    SAP021_sales value report
    a database error occured ,the data base error text is error in MDD darasetBW.getcelldata.system error in program CL_RSR_MDX_BXML_FLATENING and form ASSIGN_COMP_02(see long text) (WIS10901)
    Looking forward to your sugesstions.
    Thanks

    hi,
    Go through the below SAP Notes on the issue-
    SAP OSS Notes 1440912 and 1432162

  • Error while deleting data from a write optimized DSO using a Process Chain?

    Dear Bwers,
    I am facing a strange error while using process chains to delete data from data target which is a write optimized DSO. The process shows as failed but the data gets deleted in the DSO. The error message is as below. Did anybody have a similar problem? Any suggestions.
    Thanks
    Raj
    Error while deleting content of InfoCube/DataStore object ZLSD_G03
    Message no. RSDODSO153

    Please, check if you get any short dump in ST22 related to this issue.

Maybe you are looking for

  • Network inspector no longer working.

    Applies To: Microsoft Edge F12 Developer Tools Release: Windows 10 Insider Preview SDK and tools, April 2015 release Issue: Network inspector no longer working.

  • Free Ticked in Purchase Order

    Hi, What do I have to do in the following Master Data to ensure that when I create a Purchase Order that Free is Automatically Ticked. 1) Material Master - (Currently Set as Non Valuated Material) 2) Vendor Master 3) Purchase Info Record I have seen

  • Filter value for variable selection screen

    Hi & help !, This could be a tricky or an easy question, but it seems too hard for me ! I'm storing version in my cube, and have a report which shows informations for the version you select (with a variable = ZVERSION01). ex :  Version : V01 V02 V03

  • Can not open 7.1 program in labview 8.5.1 -- handler error

    I made a program in labview 7.1 And I wanted to open it in labview 8.5.1, but it opens with errors, and I can not run it. In every sub vi, till the lowest level, I got the error "handler error". Can somebody help me? 

  • Query - Content Based Routing - File to File

    Hi,   I'm trying to create a scenario which sends a file (multiple records) to multiple receivers based on the Header(System) of the record. File format: <System,Name,Age,Qualification> If the System value is "Sys1" then it should be written into the