Error while creating custom catalog in ATG 10.0.3

Hi All,
I am getting the below error while adding the Catalog Folder and during adding a new Catalog.
CONTAINER:atg.repository.RepositoryException; SOURCE:java.sql.SQLIntegrityConstraintViolationException: ORA-01400: cannot insert NULL into ("ATG_CORE"."DCS_GEN_FOL_CAT"."ASSET_VERSION")
     at atg.adapter.gsa.GSAItemDescriptor.addItem(GSAItemDescriptor.java:6816)
     at atg.adapter.gsa.GSARepository.addItem(GSARepository.java:1019)
     at atg.ui.repository.model.RepositoryAgentImpl.addRepositoryItem(RepositoryAgentImpl.java:3087)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:597)
     at atg.security.proxy.UserSessionProxy$SessionSkeletonHandler.invoke(UserSessionProxy.java:251)
     at atg.rmi.context.ContextualSkeletonImpl.invoke(ContextualSkeletonImpl.java:105)
     at sun.reflect.GeneratedMethodAccessor307.invoke(Unknown Source)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:597)
     at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
     at sun.rmi.transport.Transport$1.run(Transport.java:159)
     at java.security.AccessController.doPrivileged(Native Method)
     at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
     at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
     at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
     at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
     at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
     at java.lang.Thread.run(Thread.java:619)
Caused by: java.sql.SQLIntegrityConstraintViolationException: ORA-01400: cannot insert NULL into ("ATG_CORE"."DCS_GEN_FOL_CAT"."ASSET_VERSION")
     at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:85)
     at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133)
     at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:206)
     at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
     at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
     at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1035)
     at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:194)
     at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:953)
     at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1223)
     at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3386)
     at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3467)
     at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.java:1350)
     at atg.service.resourcepool.MonitoredPreparedStatement.executeUpdate(MonitoredPreparedStatement.java:1080)
     at atg.adapter.gsa.SQLStatement.executeUpdate(SQLStatement.java:725)
     at atg.adapter.gsa.Table.insert(Table.java:1380)
     at atg.adapter.gsa.GSAItemDescriptor.addItem(GSAItemDescriptor.java:6739)
     ... 21 more
Kindly help to resolve this issue.

How are you adding the catalog? The error clearly means that the DB query is inserting null into the ASSET_VERSION column of DCS_GEN_FOL_CAT table. ASSET_VERSION column is non-null and required to maintain the repository asset versions in ATG content administration (CA).
I suspect that you probably tried to do something which resulted in inserting into CA schema's DCS_GEN_FOL_CAT table outside a CA project context. You should add the catalog folder through BCC to have a CA project context. In case you are importing the data by executing startSQLRepository on CA schema then make sure that it is imported within a project context by specifying project, user, and comment options.

Similar Messages

  • Error while creating customer account sites from backend

    I am creating Customer Account Sites using the TCA API from Toad.
    I am getting the following error
    The operating unit is either invalid or it cannot be derived. Please verify your Multi-Org profile options.
    The Operating unit has been defined.
    I am using the following code:
    DECLARE
    p_cust_acct_site_rec hz_cust_account_site_v2pub.cust_acct_site_rec_type;
    x_return_status VARCHAR2(2000);
    x_msg_count NUMBER;
    x_msg_data VARCHAR2(2000);
    x_cust_acct_site_id NUMBER;
    BEGIN
    p_cust_acct_site_rec.cust_account_id := 9462;
    p_cust_acct_site_rec.party_site_id := 5473;
    --p_cust_acct_site_rec.language := 'US';
    p_cust_acct_site_rec.org_id := 126;
    p_cust_acct_site_rec.created_by_module := 'TCA-EXAMPLE';
    hz_cust_account_site_v2pub.create_cust_acct_site(
    'T',
    p_cust_acct_site_rec,
    x_cust_acct_site_id,
    x_return_status,
    x_msg_count,
    x_msg_data);
    dbms_output.put_line(SubStr('x_return_status =
    '||x_return_status,1,255));
    dbms_output.put_line('x_msg_count = '||TO_CHAR(x_msg_count));
    dbms_output.put_line(SubStr('x_msg_data = '||x_msg_data,1,255));
    IF x_msg_count >1 THEN
    FOR I IN 1..x_msg_count
    LOOP
    dbms_output.put_line(I||'. '||SubStr(FND_MSG_PUB.Get(p_encoded =>
    FND_API.G_FALSE ), 1, 255));
    END LOOP;
    END IF;
    END;
    Thanks and Regards,
    K tanna

    Duplicate post.
    Error while creating customer account sites
    Error while creating customer account sites

  • Error while creating customer

    While creating customer from AR responsibility, I am getting an error while clicking "details" tab for "Ship to"
    error I am getting are
    1. The data that defines the flexfield on this field may be inconsistent. Inform your system administrator that the function: KeyFlexfieldDefinitionFactory.getStructureNumber could not find the structure definition for the flexfield specified by Application = SQLGL, Code = GL# and Structure number =
    2. Application: FND, Message Name: FND_GENERIC_MESSAGE. Tokens: MESSAGE = java.sql.SQLException: ORA-20001: Operating unit -1 does not exist in the target database. ORA-06512: at "APPS.APP_EXCEPTION", line 72 ORA-06512: at "APPS.GL_GLOBAL", line 65 ORA-06512: at line 1 ;
    any idea why is it coming, I checked Operating unit profile option i.e MO: Op Unit and MO: Sec. , all are fine.

    The error is occuring because Oracle is trying to validate/set a DFF.
    Check the DFF attached to the customer entity, address entity or site use entity.
    Especially look at the value sets attached to the DFF.
    Look at the value set definition and the default value for the field.
    Hope this helps,
    Sandeep Gandhi

  • Error While creating OLM - catalog - course

    Dear All,
    I am facing an error while creating OLM COurse.
    There error i am getting is ' The mandatory column TAV_INFORMATION1 ( also known as ACTUAL TRAINING COST ) has not been assigned a value.
    I checked in the page but there is no field named after actual training cost to enter the information. And also we are not using financial costing.
    Request you to kindly suggest on how to remove this error.
    Regards
    Sowmya.

    Hi,
    What is the application release?
    Please see if these docs help.
    OLM: Copying a Courses Errors out With "The mandatory column TAV_INFORMATIONXX (also known as %) has not been assigned a Value" [ID 403721.1]
    Ota.I Not Able To Create Category & Class in OLM [ID 364237.1]
    Cannot Create Offering & Course From Learning Object If Mandatory Dff On Course [ID 458178.1]
    OLM: How To Manage One Common Catalog In A Global Business Group With Several HR Employees Business Groups ? [ID 423186.1]
    Thanks,
    Hussein

  • Error while creating a catalog in launchpad

    Dear All,
    While creating catalog in launchpad, I am getting below error.
    Details of the error are as below:-
    Can you please help me out.
    (My system environment, Netweaver Gateway SP07, UI SP08).
    Best Regards,
    Atul Jain

    Dear All,
    Detailed logs are as below:-
    Please help..

  • Error while creating customer master data

    dear sir,
    i have created customer master and maintined all level general,compnay code and sales level data.and again deleted all areas thru t-code XD06.and thru se16n i have deleted the entires in kna1 knb1 knvv table
      again while creating one with same name showing error while maintaing sales level data
    Check: Table KNA1 does not exist, table KNVI does
    Message no. F2061
    plz help how do i rectify this problem and maintain the same cutomer no (external) again.
    regards,
    Debesh

    Hi,
    you did the wrong thing, don't remove the entries from standard table like KNA1, KNVV etc, SAP will maintained the entries in lot of tables same time.
    XD06 is used to set delete indicator, after wards you may create new customer master, if any problem for name you may change the name field as 'delete' for old customer.
    Now to solve your issue, i believe you need to first save the entries with maintainace of general data (KNA1) and then use XD02 to maintain the Sales area data, pl try this way it should work.
    If this way will not work, pl maintain the tax indicator in table KNVI manually to solve the issue.
    regards
    Vivek.
    Edited by: Vievk Vardhan on Dec 7, 2009 6:41 PM

  • Error While Creating Customer Account Site.

    Hi ,
    I am creating a customer thru API's.
    I am succesffuly creating location,party,party site,party site use,customer account.But unable to create customer account site. I am getting the below error:
    Unable to process your transaction. The operating unit is either invalid or it cannot be derived. Please verify your Multi-Org profile options.
    Could anyone help me to resolve out this issue.

    Hi,
    What is the application release?
    Did you set the Application/Multi-org context properly before using this API?
    Note: 732671.1 - 'Change PO API' Errors with 'Multi-Org profile options' as Org Context Is Not Set Correctly
    Note: 420787.1 - Oracle Applications Multiple Organizations Access Control for Custom Code
    Note: 209185.1 - How To Set the Applications Context (FND_GLOBAL.APPS_INITIALIZE)
    Regards,
    Hussein

  • Error while creating customer account sites

    I am creating Customer Account Sites using the TCA API from Toad.
    I am getting the following error
    The operating unit is either invalid or it cannot be derived. Please verify your Multi-Org profile options.
    The Operating unit has been defined.
    I am using the following code:
    DECLARE
    p_cust_acct_site_rec hz_cust_account_site_v2pub.cust_acct_site_rec_type;
    x_return_status VARCHAR2(2000);
    x_msg_count NUMBER;
    x_msg_data VARCHAR2(2000);
    x_cust_acct_site_id NUMBER;
    BEGIN
    p_cust_acct_site_rec.cust_account_id := 9462;
    p_cust_acct_site_rec.party_site_id := 5473;
    --p_cust_acct_site_rec.language := 'US';
    p_cust_acct_site_rec.org_id := 126;
    p_cust_acct_site_rec.created_by_module := 'TCA-EXAMPLE';
    hz_cust_account_site_v2pub.create_cust_acct_site(
    'T',
    p_cust_acct_site_rec,
    x_cust_acct_site_id,
    x_return_status,
    x_msg_count,
    x_msg_data);
    dbms_output.put_line(SubStr('x_return_status =
    '||x_return_status,1,255));
    dbms_output.put_line('x_msg_count = '||TO_CHAR(x_msg_count));
    dbms_output.put_line(SubStr('x_msg_data = '||x_msg_data,1,255));
    IF x_msg_count >1 THEN
    FOR I IN 1..x_msg_count
    LOOP
    dbms_output.put_line(I||'. '||SubStr(FND_MSG_PUB.Get(p_encoded =>
    FND_API.G_FALSE ), 1, 255));
    END LOOP;
    END IF;
    END;
    Thanks and Regards,
    K tanna

    Hi,
    Please mention the application release along with the database version and OS.
    Please see if ('Change PO API' Errors with 'Multi-Org profile options' as Org Context Is Not Set Correctly [ID 732671.1]) helps.
    More details about setting the application context can be found in these docs.
    Note: 209185.1 - How To Set the Applications Context (FND_GLOBAL.APPS_INITIALIZE)
    Note: 420787.1 - Oracle Applications Multiple Organizations Access Control for Custom Code
    Note: 462383.1 - SQL Queries and Multi-Org Architecture in Release 12
    Note: 165042.1 - FAQ - Multiple Organizations Architechure (Multi-Org)
    Thanks,
    Hussein

  • Getting error while creating Customer Invoice Request via Web Service

    Hello,
    I am trying to create customer invoice request via web service.
    But I am getting the error message "No scheme configuration found for scheme '&CIRHP&' " continuously.
    It is working fine in reference tenant. But using the same payload its giving error in another tenant.
    Can you please tell me what is the root cause for this error?
    I have included the payload used in the prototype tenant(Payload.txt) and screen shot of the error.
    Thanks and Regards,
    Sriram

    Hi,
    Check the WSDL file is wellformed or not..You can test it using tools like XML Spy.
    Might be the attribute tag is missing something..If WSDL file is correct then, create proxy by selecting the WSDL file from local machine..
    Regards,
    Sunitha

  • Error while creating customer master XD01

    i have created own account group and assigned external number range when am creating customer in xd01 am getting error in partner tab the SP,SH,BP,PY the no is blank and when am trying to save its gives error document is incomplete the  error   Message no. F2643
    Diagnosis
    The account group of the current customer is not defined for the required partner usage.
    where as when am assining internal number range its working fine kindly help
    Thanx

    Hi Mukesh
    Please check the following again,
    IMG > Logistic > SD > Basic functions > Partner determination > Customer master
    Define the Partner functions. If you are defining new then specify the "PARTNER TYPE" for each Partner function.
    - Define Account group. You can use existing one (0001-sod-to-party) or you can copy it or create new.
    - Define your Partner determination procedure.
    - Assign the required Partner functions (SP,SH,PY and BP are mandatory) to your Account group, so that they will be permitted for your Account group.
    - Assign the "Partner functions" to your new "Procedure ". Here you specify which are "mandatory" and which are "not changeable".
    - Assign the "Account group" to your new "Procedure".
    Now, go to XD01,enter your Account group,External number,company code,Sale area and proceed.
    If you are finding problem then,fill up all your data (general data, company code data), go to sales area data, fill up sales ,shipping and billing document tab and save it.
    Next, go to XD02, sales area data >partner function tab, here fill up the places for respective Partner functions.

  • Build app with ODT and Oracle UDT - Error while creating custom class

    Hello CShay,
    I am testing you sample code to create UDT with ASP.Net app. It is also published in Oracle magazine.
    The article is also published at following link:
    http://www.oracle.com/technology/oramag/oracle/08-may/o38net.html
    I am able to successfully implement all the steps before "Using Custom Class Wizard". When I right click on any of the object (CUSTOMER_OBJ, PHONELIST_OBJ, and ADDRESS_OBJ) and select Generate Custom Class, I get the following error:
    Oracle custom class wizard.
    Class can be generated only for either C#, VB or Managed C++ projects.
    Am I missing any thing?
    Thanks in advance for your help.

    Yes I confirm that I choose File->New Website.
    I don't see the following option
    File -> New Project, and then under Visual C#, select ASP.NET Web Application
    I am using VS2005 Professional Edition.
    The options I see under Visual C# are:
    If I click on
    Windows tab:
    Windows Application
    Windows Control Library
    Console Application
    Empty Project
    Class Library
    Web Control Library
    Window Servcie
    Crystal Report Application
    and Search Online Templates in My Templates tab.
    Couple of options for Smart Device which also doesn't include ASP.Net
    then Database, Starter kits and Office tabs which also doesn't include ASP.net thing.
    I don't know how did you see that option or you might be using different version of VS (Enterprise).
    But right now I am stuck.
    Please provide me your valuable comments.
    Thanks for your help.

  • Error while creating Custom Defined Functions in Essbase

    <p>Hi All,<br>I am trying to create CDF(Custom Defined Functions) in Essbase. Iwant to create a function which take list of child member andreturn the first child. For this, i have created a java file called"ChildAccess.java" which contains the following code:<br>public class ChildAccess<br>{<br>public static char GetFirstMember(char [] members)<br>{<br>return members[0];<br>}<br>}<br>I have compiled and made jar file called"ChildAccess.jar" and pasted it at"ARBORPATH/java/udf". Then i restarted the Essbase Serverand run the following MaxL command to register the function<br>create or replace function '@ChildAccess' as<br>'ChildAccess.GetFirstMember'<br>spec '@ChildAccess(memberRange)'<br>comment 'adds list of input members'.<br>Till here i am not getting any error but when i am using thisfunction in my calc script as given below<br><br>FIX(@ChildAccess(@CHILDREN("Abc")))<br><br>it gives the following error<br>"Error:1200414 Error parsing formula for [FIX STATEMENT]<br>(line 2)"argument[1] may not have size[6] in function[@CHILDREN]"<br>NOTE: The SIZE[6] is giving the no. of child in member"ABC".<br><br>Thanks in Advance<br>Arpit</p>

    If you want to use the CDF in a FIX statement you need to make sure that it returns a member name rather than a number:<BR><i><BR>public class ChildAccess<BR>{<BR>    public static String GetFirstMember(String[] members)<BR>    {<BR>        return members[0];<BR>    }<BR>}<BR></i><BR>I prefer to define the function against a specific application rather than globally because you only need to restart the application in order to pick-up any modifications to the .jar file. So the MaxL function definition would be:<BR><i><BR>    create or replace function appname.'@_GETFIRSTMEMBER' as<BR>        'ChildAccess.GetFirstMember(String[])';<BR></i><BR>and in the calculation script the FIX statement would become:<BR><i><BR>    fix ( @member( @_GetFirstMember( @name( @children( "Abc" ) ) ) ) )<BR></i><BR>This looks a little messy so you can use a macro to simplify it:<BR><i><BR>    create or replace macro appname.'@GETFIRSTMEMBER'(single) <BR>        as '@member( @_GETFIRSTMEMBER( @name( @@1 ) ) )' <BR>        SPEC "@GETFIRSTMEMBER(memberRange)";<BR></i><BR>and then the FIX statement could be written:<BR><i><BR>    fix( @getfirstmember( @children( "PRODUCT" ) ) )<BR></i>

  • Error While Creating Custom IDOC Segment using WE31

    Could anyone please help me resolve this issue.
    I am getting following error when trying to create a custom IDOC segment type using WE31.
    "Name range violation: Name Z1WOHDR not permitted in SAP system"
    Segment type trying to create: Z1WOHDR
    Regards
    Venu

    Try changing the name , But i am not getting any such error with the name you are using.
    Just Try with some onther name

  • Fiori Error while creating catalog and Group in Fiori Launchpad

    Hi ,
    We are getting following error while creating Catalog and Groups in Fiori Launchapd:
    Error (500, Internal Server Error) in OData response for GET "/sap/opu/odata/UI2/TRANSPORT/CustomizingRequests?$filter=isDefaultRequest%20eq%20true": HTTP request failed
    Details: Model 'ZTRANSPORT_MODEL_0001_BE' contains errors. Contact Adminstrator
    Regards,
    Trilochan
    Message was edited by: Michael Appleby

    Hi Trilochan,
    Have you assigned transport request? Select the config icon at right top.
    Creating Transport Requests for User Changes - User Interface Add-On for SAP NetWeaver - SAP Library
    Also look at SAP Fiori - UI Add-on SP09 update troubleshooting
    Regards, Masa
    SAP Customer Experience Group - CEG

  • 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

Maybe you are looking for

  • Does the G5 Flat Panel support VESA Mounting?

    Can I use a VESA style mount on this machine, like the apple displays? Is the 'foot base' stand removable, and what's the procedure to do so? Can the 'foot base stand' be purchased individually? Here's why I ask- I want to turn a Flat panel G5 into a

  • Picture washed out from compressor

    When I send project from FCP7 to compressor the result I got is a degraded quality picture. Color seems washed out.  I try to use compressor because when exporting from FCP either using Quicktime or Quicktime conversion there is lot of flicker on mov

  • BPA Balance Forward Bill Print Program

    Hi All, Please help me in "***Balance Forward Billing in R12***" and i done all process but bill not generate through concurrnet program. Regards, Yasir

  • SPAM shows in subject line of mail

    On mail I recieve from one person it always reads ****SPAM**** in the subject line.  It does not show up as junk mail.  The person is a contact in my address book, so does anyone know how I can get the system to recognise that it's not SPAM? Thanks f

  • Custom Password Policy Settings

    Hello Friends, I am doing the server practical in virtual environment and wish to set a normal password for the test user "Robert Garcia"  so I disabled the password policy requirement in the gpmc.msc under "Default Domain Policy" and then did a gpup