While Creating Course Using "ota_activity_version_api.create_activity_version" Getting Error

Dear all,
I created a script which calling "ota_activity_version_api.create_activity_version".
Its raising a Error
  "ORA-20001: FLEX-SSV EXCEPTION: N, MSG, validate_desccols() exception: ORA-20005: DVLB.get_default_context() failed. SQLERRM: ORA-01403: no data found
ORA-06512: at "APPS.FND_FLEX_DESCVAL", line 939
ORA-01403: no data found"
DECLARE
v_category_usage_id NUMBER;
v_object_version_number NUMBER;
v_err_msg VARCHAR2 (9000);
v_activity_version_id NUMBER;
v_version_name varchar2(200);
begin
begin
fnd_global.apps_initialize (24038,25743,810);
end;
v_version_name := 'Test13course';
ota_activity_version_api.create_activity_version(p_effective_date => to_date('30-APR-2014','DD-MM-YYYY'),
                                                                                p_activity_id => 3001,
                                                                                p_developer_organization_id => 81,
                                                                                p_version_name => v_version_name,
                                                                                p_start_date =>to_date('30-APR-2014','DD-MM-YYYY'),
                                                                                p_business_group_id => 81,
                                                                                p_activity_version_id => v_activity_version_id,
                                                                                p_object_version_number => v_object_version_number
dbms_output.put_line('Sucess');
exception
when no_data_found then
null;
when others then
v_err_msg := SQLERRM||SQLCODE;
dbms_output.put_line('Failed    '||v_err_msg);                                                                               
end; 
Plz any one help. I have client demo on this two days later..
Thanks in advance
Nivethetha.

Hi Nivethetha,
               What's the value that 3001 that you are passing to activity ID??
Regards,
Vinod

Similar Messages

  • 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

  • Error while creating stock using tcode: MB1C

    Error while creating stock using tcode: MB1C
    The Error is: Check table T004F:entry G006 does not exist

    Hi ,
    Please check the FSV (field status variant) for your company code in OBY6 .
    then go to transaction code OB14 --> enter the FSV --> Check if field status group G006(Material account) is maintained there or not.
    if not please maintain it.
    Thanks & Regards
    Anshu

  • Getting error while creating subsite using custom template in sharepoint2013

    Hi,
    I am getting the following error while creating subsite using custom template in sharpoint2013. even publish features are enabled.
    Please suggest me on this.
    Thanks in advance.

    You need to enable the PerformancePoint Service Site Collection Features(PPSMonDatasourceCtype)
    on the target site collection. go to site action > site settings> site collections features > and enable it and now try again.
    Similar case: http://imughal.wordpress.com/2012/09/20/dependency-feature-ppsmondatasourcectype-id-05891451-f0c4-4d4e-81b1-0dabd840bad4-for-feature-bicenterdataconnections-id-3d8210e9-1e89-4f12-98ef-643995339ed4-is-not-activated-at-this-scop/
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

  • Keep getting an error message that reads, "LR An error has occurred while creating the book on Blurb" An error has occurred while trying to create texts and fonts.  Pleas advise as Blurb has said that it's a LR issue.

    Keep getting an error message that reads, "LR An error has occurred while creating the book on Blurb" An error has occurred while trying to create texts and fonts.  Pleas advise as Blurb has said that it's a LR issue.

    Are you behind a firewall or double NAT??
    What is the device that is immediately plugged into the main modem or router? Has that one been able to update?
    It is plugged in of course isn't it.. no nasty join wireless anywhere??
    The best way to work around these sort of problems is to simplify the network.. Plug each device directly into the main router.. by ethernet. You can trigger the firmware upgrade by wireless but use ipad or iphone version of airport utility and see what happens.

  • While creating customer master  i am getting the Communication error

    Hi experts,
    while creating customer master  i am getting the  Communication error with the external tax system (VERTEX_MS0018)    please tellme how to solve this issue
    Regards,
    Anil prasad
    Edited by: prasadanil on Sep 16, 2011 12:52 PM

    hI Prasad,
    It seems you are maintaining the address data for a country with jurisdiction code. Different external control systems can behave in different ways.
    1. You entered a jurisdiction code that matches the postal code but not the city (possibly due to a typo).
    a) Behavior when you use Taxware: There is no message and data can be saved.
    b) Behavior when you use Vertex: Due to the incorrect city, no comparison jurisdiction code can be determined and message TAX_TXJCD861 is issued with a text from the vertex system that may be unintelligible.
    2. You do not enter a jurisdiction code, but you do enter a postal code and a city that does not match the code (possibly due to a typo).
    a) For Taxware: If the jurisdiction code could not be explicitly determined, a selection dialog box containing the relevant tax jurisdiction codes for the postal code appears. You select one. This and the corresponding city are transferred.
    b) For Vertex: The TAX_TXJCD861 message is issued (behavior as in 1b). Other terms TAX_TXJCD861, TAX_TXJCD101, TAX_TXJCD107.
    For resolving this issue, you can check SAP Note 677850 - Address data: Check/new determination jurisdiction code.
    Hope you will resolve the above issue with these inputs.
    Let me know if you need any further details.
    Ravi.

  • Getting ORA-27102: out of memory while creating DB using DBCA

    Hi All,
    I am working on 11.2.0.3 oracle version and linux OS. I am trying to create a new database using dbca and getting error "ORA-27102: out of memory".
    Please find the DB version and OS level parameters info below and let me know what i need to do to overcome this issue.
    SQL> select * from v$version;
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    PL/SQL Release 11.2.0.3.0 - Production
    CORE 11.2.0.3.0 Production
    TNS for Linux: Version 11.2.0.3.0 - Production
    NLSRTL Version 11.2.0.3.0 - Production
    $uname -a
    Linux greenlantern1a 2.6.18-92.1.17.0.1.el5 #1 SMP Tue Nov 4 17:10:53 EST 2008 x86_64 x86_64 x86_64 GNU/Linux
    $cat /etc/sysctl.conf
    kernel.shmall = 2097152
    kernel.shmmax = 4294967295
    kernel.shmmni = 4096
    kernel.sem = 250 32000 100 128
    net.core.rmem_default = 4194304
    net.core.wmem_default = 262144
    net.core.rmem_max = 4194304
    net.core.wmem_max = 1048576
    fs.file-max = 6815744
    fs.aio-max-nr = 1048576
    net.ipv4.ip_local_port_range = 9000 65500
    $free -g
    total used free shared buffers cached
    Mem: 94 44 49 0 0 31
    -/+ buffers/cache: 12 81
    Swap: 140 6 133
    $ulimit -l
    32
    $ipcs -lm
    ------ Shared Memory Limits --------
    max number of segments = 4096
    max seg size (kbytes) = 4194303
    max total shared memory (kbytes) = 8388608
    min seg size (bytes) = 1
    Please let me know for any other details.
    Thanks in advance.

    Ok, first, let's set aside the issue of hugepages for a moment. (Personally, IMHO, if you're doing manual memory mangement, and you're not using hugepages, you're doing it wrong.)
    Anyhow, looking at your SHM parameters:
    kernel.shmall = 2097152
    kernel.shmmax = 4294967295
    kernel.shmmni = 4096
    Let's take those in reverse order:
    1.) shmmni - This is the max number of shared memory segments you can have on your system, regardless of the size of each segment.
    2.) shmmax - Contrary to popular belief, this is NOT the max amount of shared memory you can allocate system wide! This is the max size, in bytes of a single shared memory segment. You currently have it set to 4GB-1. This is probably fine. Even if you wanted an SGA larger than 4GB, having shmmax set to this wouldn't hurt you. Oracle would simply allocate multiple shared memory segments, until it had allocated enough memory for the SGA. There's really no harm there, unless this parameter is set really low, causing a huge number of tiny shared memory segments to be allocated.
    3.) shmall - This is the real shared memory segment limit. This number is the total amount of shared memory you're permitted to allocate, system wide, expressed in pages. Pagesize here is the native OS pagesize, which is 4096 bytes, so, this is 2097152 * 4096 = 8589934592, or, 8GB. So, 8GB is the maximum amount of memory that can currnetly be allocated to shared memory, on your machine.
    So, having said all that, you haven't mentioned how many, if any, other Oracle databases are running on the server or their sizes. Secondly, we have no idea what memory sizing parameters you have set on the database that you're trying to create, that's getting the error.
    So, if you can provide more details, in terms of how many other databases are already on this server, and their SGA sizes, and the parameters you've chosen for the database that's failing to create, perhaps we can help more.
    Finally, if you're not using SGA_TARGET or MEMORY_TARGET, you really need to take the time to configure hugepages. Particularly if you've got a server that has as much memory as you do, and you're planning to have non-trivially sized SGA (10s of GB), then you really want to configure hugepages.
    Hope that helps,
    -Mark

  • While activating a request in DSO getting error code 10

    While activating a request in DSO getting error code 10
    Hi All,
    I am trying to load data into Billing: Condition Data (0SD_O06) using 2LIS_13_VDKON. First while loading data I am getting error
    Record 8778 :InfoObject SOLD_TO does not contain alpa-conforming value 100000 which I changed manually in PSA maintenence and tried to load data again and now I am getting an error (Error 10 in the update) ID:RSAR No119.
    I have checked the formula in Transformation and it works fine. Still I am not able to load data.
    Please help.
    Thanks and regards
    Vishal Pardeshi

    Check the log for the request from the manage screen of the DSO, it will be there next to the monitor button.
    Otherwise you can check the error from the monitor screen of the request in Details tab.
    Veerendra.

  • While installing HANA studio , i am getting Error

    Hi Experts,
    While installing HANA studio, i am getting Error " Java installation not found" . I have already installed latest JDK, JRE from  www.java.com and also set path PATH.
    I am on Windows 7 , 64 bit.
    Any one have idea how to over come this Error?
    Thanks.

    Hi Tomas,
    I am on windows 7 64 bit. How should i verify if jdk has been installed correctly? how to verify if correct path has been set.
    I am using hdbinst.exe file.
    Here is log entries
    19:02:46.064 - INFO: SAP HANA Studio kit detected.
    19:02:46.064 - INFO: Looking for java installations
    19:02:54.685 - INFO:   Found 1.7.0 64bit in C:\Windows\system32\javaw.exe ($PATH)
    19:03:01.635 - ERR: No proper java installation found (version 1.6 64bit is required)
    19:03:05.137 - INFO: -
    19:03:05.137 - INFO: Checking configuration of installation (dialog Define Studio Properties)
    19:03:05.137 - INFO: -
    19:03:05.137 - INFO:   Looking for java installations
    19:03:05.137 - ERR:   No proper java installation found (version 1.6 64bit is required)
    19:03:05.137 - INFO:   Parameter "TargetRepositoryPath" is not set
    thanks

  • Scrollbar appearing while creating pdf using AlivePDF

    Hi,
    I am facing a problem while creating pdf using AlivePDF.
    I have a VBox on which I am adding multiple pages. If the content overflows it shows scrollbar. All this is working fine.
    [PHP]
    <mx:VBox x="0" y="80" width="705" height="560" id="content"></mx:VBox>
    [/PHP]
    When I create the pdf using the following code it shows scrollbar in  generated pdf (attached screenshot) while I want all the content without  scrollbar
    [PHP]
    var pg:DisplayObject;
    pg = content.getChildAt(i);
    var pdf:PDF;
    pdf = new PDF (Orientation.PORTRAIT, Unit.POINT, Size.LETTER);
    pdf.setDisplayMode(Display.FULL_WIDTH);
    pdf.addPage();
    pdf.addImage(pg, new Resize(Mode.FIT_TO_PAGE, Position.CENTERED ),0, 0, 0, 0, 0, 1,true,'PNG',100);
    [/PHP]
    Please suggest what changes should I make to fix this.

    If the report didn't change, then perhaps the data did. Check
    to make sure the data being supplied to the report is as expected.
    I have run into mysterious errors where an expected value was of
    the wrong type or a required value was now blank. It is also
    possible to have existing logical errors in an iif() or other
    dynamic evaluation expression that was not previously examined;
    until now. So, is there any unexpected or exceptional data the
    report cannot handle?

  • Performance issue: Calling a BAPI PO create in test mode to get error msgs

    Hi,
    We have an ALV report in which we display purchase orders that got created in SAP, but either got blocked due to not meeting PO Release strategy tolerances or have failed output messages. we are displaying the failed messages even.
    We are looping the internal table of eban(PR) & calling bapi po create in test mode to get failed messages.
    Now we are facing performance issue in production. What can be the alternate efficient way to get the error msgs with efficiency
    Regards,
    Ayub H.
    Moderator message: duplicate post (different ID, same company...), see below:
    Performance issue calling bapi po create in test mode to get error messages
    Edited by: Thomas Zloch on Mar 9, 2012

    Hi Suvarna,
    so you need to reduce the number of PO-simulations.
    - Likely you checked already, that all EBAN-entries should already be converted into POs. If there would be a large number of "new" EBAN-entries, they don't need to be simulated.
    - If it's a temporary problem: give aid to correct the problems (maintain prices or whatever the error-reasons are) Then the amount of not-converted purchase requisitions (PR) should drop, too
    - If it's likely, that your volume of open PR will stay high: create a Z-Table with key of EBAN and a counter, simulate (once a day) PO conversions and store the results in the Z-table. In your report you can use the results... if they are "new enough". From time to time new simulations should be done, missing master data might be available.
    Maybe users should be allowed to start this 2nd report manually (in background), too -> then they can update the messages after some data corrections themself, without waiting for the result (just check later in online report and do something different in between).
    And you might need to explain, PO simulation takes as long as PO creation... there is no easy or fast way around this.
    Best regards,
    Christian

  • Problem creating basic views while creating materials using idocs?

    hello,
    I am facing an issue while creating materials using idocs. The problem is that the basic view does not get created whereas other views are present. The function module used is idoc_input_matma01 and the basic idoc type is MATMAS03.
    Looking for help. Thank you

    Hi Madhu,
    Actually i recieve an idoc from PI containing data required for cretion of the material via an idoc. This idoc is then processed to create the required material.
    The material gets created with appropiate data in various tables(mara, makt) but when we view material in mm03 we cant see the basic data views.

  • Problem while creating assets using BAPI

    Use table enhancement BAPI_TE_ANLU
    Diagnosis :The BAPIs for creating and changing assets currently support only those customer enhancements that relate to the user fields created using SAP enhancement AIST0002.
    Can anybody give the appropriate solution why this error is coming while creating assets using BAPI.

    Looks like you are trying to transfer custom fields into the asset master data that were not added following the steps in enhancement AIST0002.
    Using EXTENSIONIN parameter, you can transfer user fields from the asset master record. However, it is not possible to transfer fields that are updated in user-defined tables. Only user fields that were defined using SAP enhancement AIST0002 and are automatically updated in table ANLU can be udpated in this way. This means you have to use table extension BAPI_TE_ANLU.
    Enhancement AIST0002 contains function module EXIT_SAPL1022_001 as a component in which user fields can be implemented.
    The documentation ( BAPIPAREX) of the structure that forms the basis for this parameter contains additional information about using this parameter.
    Please check how table ANLU has been enhanced and also go through the documentation of enhancement AIST0002.
    Regards,
    Shyam

  • Entity Attributes are not populating while creating EO using EO wizard.

    Hi,
    I am using JDeveloper version 10.1.3.3.0.3 and E-Business suite12.1.2.
    I am facing problem while creating EO using EO wizard.
    In Entity Object Editor Entity Attributes are not populating while creating EO.
    Please help me resolve this issue.
    Thanks & Regards,
    Sagarika

    Please ensure you click on Tables and Synonyms check box and select proper schema.
    Try to select the table from the list after this instead of writing as in 10.1.3 when we write table name it automatically selects from the list if it exists in the list.
    Thanks
    AJ

  • While downloading excel template I am getting error in Weblogic 10.3.4

    while downloading excel template I am getting error as java.lang.IllegalStateException: Cannot resize buffer - 325  bytes have already been written (Servlet 2.3, sec. 5.1)

    Ankit,
    You are trying to set speed 1000 on a 10g sfp.
    type is 10Gbase-SR
    You will need to insert a 1gig sfp and then you will be able to set the speed.
    Also, I noticed that you posted first with interface 2/6 and the output you gave me was for 4/6. Are you sure you're in the right interface?

Maybe you are looking for