Error while trying to expire item programmatically

I'm trying to expire an item using WWSBR_API.MODIFY_ITEM_POST_UPLOAD. The API doc states that parameter p_expiration should be in the format 'dd-mon-yyyy HH12:MI PM'. However whenever I try to use this format the procedure returns the error:
ORA-01830: date format picture ends before converting entire input string
ORA-06512: at "PORTAL.WWSBR_API", line 1209
ORA-06512: at "PORTAL.WWSBR_API", line 1361
ORA-06512: at line 12
Since WWSBR_API is wrapped there is no way to identify what is happening at line 1209 and 1361. Does anyone know how to correct this?
My test script is:
@set_context
declare
l_masterid      number := 33006;
l_id          number := 33007;
l_caid          number := 34;
l_folder_id     number := 32836;
l_region_id     number := 1060;
l_filename     varchar2(350) := 'DBFD5D42CE0109B0E034001083270748';
l_author     varchar2(30) := 'BATCHADM';
l_return     number;
begin
l_return := wwsbr_api.modify_item_post_upload(
p_master_item_id => l_masterid,
p_item_id => l_id,
p_caid => l_caid,
p_folder_id => l_folder_id,
p_region_id => l_region_id,
p_file_name => l_filename,
p_expire_mode => WWSBR_API.EXP_DATE,
p_display_name => 'EXPIRED',
p_description => 'This is an expired item.',
p_expiration => '09-JUN-2004 04:01 PM');
wwpro_api_invalidation.execute_cache_invalidation;
end;
Thanks,
Rick Wright

I left out a bit of important data...
Portal database is 9.2.0.4.
10g iAS version 9.0.4.
Thanks,
Rick Wright

Similar Messages

  • Error while trying to import Item in fusion DOO

    Hi,
    I am trying to import item in fusion DOO 11.1.5 using bulk import. However the import is failing with below mentioned error message:
    PRIMARY_UOM_CODE - The value of the attribute   Primary Unit of Measure is not valid. “
    Any idea what could be the issue here? We have the UOM defined and a UOM Class is also available. Do we also need UOM conversions?
    Regards
    Puja

    Sorry for the delay. Based on some notes in our system there was an enhancement to introduce new field (PRIMARY_UOM_NAME) for import  representing the human readable UOM. It was slated as a feature for Release 5 of Fusion, however I am not quite sure if it made Release 5, the column is there in Release 6 ..
    Jani Rautiainen
    Fusion Applications Developer Relations
    https://blogs.oracle.com/fadevrel/

  • Error while trying to access item in a JAR..

    Hi Everyone,
    I found the web site http://www.antelmann.com/developer/ where I'm trying to access the CDDB of the JAR file. However, I'm not successfully getting it to work. Here are the steps that I've taken. If anyone has an idea of what I need to do to get it to work, that would be great! Hopefully I'll get it figured out.
    Thanks, Michael
    1) Create a project called "CDDBApp" in Eclipse.
    2) In the properties of this project, I went to the "Java Build Path", click on the "Add External JARs..." button and added in the antelmann.jar.
    3) Create a Class called "CDBTest" using the following code:
    import com.antelmann.cddb.*;
    public class CDDBTest {
    public static void main(String args[]) {
    for (int i = 0; i < 2; i++) {
    CDDrive drive = new CDDriveWin(i);
    if (drive.isCDAvailable()) {
    System.out.println(drive.getCDID());
    4) I run it as a Java Application and get the following error:
    java.lang.UnsatisfiedLinkError: no CDDriveWin in java.library.path
    at java.lang.ClassLoader.loadLibrary(Unknown Source)
    at java.lang.Runtime.loadLibrary0(Unknown Source)
    at java.lang.System.loadLibrary(Unknown Source)
    at com.antelmann.cddb.CDDriveWin.<clinit>(CDDriveWin.java:29)
    at CDDBTest.main(CDDBTest.java:19)
    Exception in thread "main"

    Well - I figured it out - Guess you could call me a newbie - figure out what DLL that was needed and copied it into the Windows directory - it now works just fine.
    So - basically
    1) Figure out what DLL is trying to use
    2) Find it on you computer, if not, find it on the net and download it.
    3) Copy it to a path that Java knows about or add to the path where this DLL is located.
    Hope this helps anyone else that is having this type of problem.

  • Excel service and OWA - getting ERROR while trying to open/edit Excel documents

    Hi All,
    We have configured SharePoint 2013 with Excel Service and OWA (Office Web Apps).
    After configuring, we are able to view/edit Word or PowerPoint documents from the browser (as OWA is configured). But we are getting errors while trying to open/edit Excel documents.
    We are not able to view/edit the excel workbook from the browser (through OWA).
    To open the excel in the browser, decision has to be taken at the farm level on what to be used – Excel Service or OWA Server? Is it possible to do setting at site collection level?
    Error details are given below:
    Event code: 3005
    Event message: An unhandled exception has occurred.
    Event time: 3/25/2013 1:29:08 PM
    Event time (UTC): 3/25/2013 7:59:08 AM
    Event ID: fc2e0530f493493896e6c8b6297a0423
    Event sequence: 10
    Event occurrence: 3
    Event detail code: 0
    Application information:
        Application domain: /LM/W3SVC/2/ROOT/x-1-130086717598089315
        Trust level: Full
        Application Virtual Path: /x
        Application Path: C:\Program Files\Microsoft Office Web Apps\ExcelServicesWfe\
        Machine name: VHYDMANTHSTP-02
    Process information:
        Process ID: 1252
        Process name: w3wp.exe
        Account name: NT AUTHORITY\NETWORK SERVICE
    Exception information:
        Exception type: ArgumentException
        Exception message: An entry with the same key already exists.
       at System.Collections.Generic.TreeSet`1.AddIfNotPresent(T item)
       at System.Collections.Generic.SortedDictionary`2..ctor(IDictionary`2 dictionary, IComparer`1 comparer)
       at Microsoft.Office.Excel.Server.ServiceHost.ServiceHost.GetInstalledUICultures()
       at Microsoft.Office.Excel.Server.ExcelServerRegionalSettings.IsUICultureSupported(String cultureTag, CultureInfo& cultureInfo)
       at Microsoft.Office.Excel.Server.ExcelServerRegionalSettings.SafeSetCurrentUICulture(String cultureTag, Boolean useOleo, Boolean allowCustomFallback)
       at Microsoft.Office.Excel.Server.ExcelServerRegionalSettings.SafeSetCurrentUICultureFromFrontEnd(String uiCultureTag, Boolean allowFallback)
       at Microsoft.Office.Excel.Server.ExcelServerRegionalSettings.SafeSetCurrentCulturesFromFrontEnd(String uiCultureTag, String dataCultureTag)
       at Microsoft.Office.Excel.Server.ServiceHost.ServiceHost.Microsoft.Office.Excel.Server.Host.IEwaHost.SetCurrentCulturesFromContext(HttpContext context)
       at Microsoft.Office.Excel.Server.ServiceHost.ServiceHost.Microsoft.Office.Excel.Server.Host.IEwaHost.PreProcessRequest(HttpContext context)
       at Microsoft.Office.Excel.WebUI.XlPreview.OnLoad(EventArgs e)
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    Request information:
        Request URL:
    http://mysrevr/x/_layouts/xlpreview.aspx?ui=en-US&rs=en-US&WOPISrc=http://myservernames1/_vti_bin/wopi.ashx/files/f36d669ceb814d67bdad0e1e1f98e466&wdSmallView=1
        Request path: /x/_layouts/xlpreview.aspx
        User host address: 10.81.138.92
        User: 
        Is authenticated: False
        Authentication Type: 
        Thread account name: NT AUTHORITY\NETWORK SERVICE
    Thread information:
        Thread ID: 13
        Thread account name: NT AUTHORITY\NETWORK SERVICE
        Is impersonating: False
        Stack trace:    at System.Collections.Generic.TreeSet`1.AddIfNotPresent(T item)
       at System.Collections.Generic.SortedDictionary`2..ctor(IDictionary`2 dictionary, IComparer`1 comparer)
       at Microsoft.Office.Excel.Server.ServiceHost.ServiceHost.GetInstalledUICultures()
       at Microsoft.Office.Excel.Server.ExcelServerRegionalSettings.IsUICultureSupported(String cultureTag, CultureInfo& cultureInfo)
       at Microsoft.Office.Excel.Server.ExcelServerRegionalSettings.SafeSetCurrentUICulture(String cultureTag, Boolean useOleo, Boolean allowCustomFallback)
       at Microsoft.Office.Excel.Server.ExcelServerRegionalSettings.SafeSetCurrentUICultureFromFrontEnd(String uiCultureTag, Boolean allowFallback)
       at Microsoft.Office.Excel.Server.ExcelServerRegionalSettings.SafeSetCurrentCulturesFromFrontEnd(String uiCultureTag, String dataCultureTag)
       at Microsoft.Office.Excel.Server.ServiceHost.ServiceHost.Microsoft.Office.Excel.Server.Host.IEwaHost.SetCurrentCulturesFromContext(HttpContext context)
       at Microsoft.Office.Excel.Server.ServiceHost.ServiceHost.Microsoft.Office.Excel.Server.Host.IEwaHost.PreProcessRequest(HttpContext context)
       at Microsoft.Office.Excel.WebUI.XlPreview.OnLoad(EventArgs e)
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

    I have the same issue while opening the file , i have checked every thing twice. but unable to fix this thing . can any one help.
    One more thing which is i am wondering none of the MS representative replied on this post which is originally posted on March 27-2013.
    is microsoft alive??
    Imran Bashir Network Administrator MCP, JNCIA-EX,ER,JNIOUS +92-333-4330176

  • Error while trying to add Master Data in S&OP

    Hi,
    I am getting the below error while trying to add new Master Data entries in S&OP. Can anyone help here please? I have added new items in the past, but did not get any error before.
    code: MASTER_DATA_OPERATION_EXCEPTION
    severity: INFO
    description: Error during Stage 02 of Data Integration
    log id: 08f6b26e-5981-4e21-ad65-17df697fdc62
    I have also attached the screenshot and the new data i am trying to add.
    Thanks,
    Thahir Masdook

    Hi Vivek,
    I have added Master Data in the past as well. Recently this system (Z45) was upgraded and the planning area was re-activated by my Project Lead. After the re-activation i am unable to add any Master Data and Save.
    Thanks,
    Thahir Masdook

  • Getting error while Startting a BPM process programmatically

    Hi Experts,
    I am getting an error while trying to start the BPM process programmatically. What i have done till now is
    1. Created a WS in process composer
    2. Binded this ws with start of the process
    3. Created input parameters
    4. Testing it in WS Navigator
    I am following this doc /people/arafat.farooqui/blog/2009/08/13/introduction-to-sap-netweaver-bpm-part-4
    and I am getting error while testing in WS Navigator. I am getting error at the last step i.e. in result step and the error is
    Web Service returned an error. Fault Code: "(http://schemas.xmlsoap.org/soap/envelope/)Client" Fault String: "No operation found using soap keys [], [cn_comments]. InterfaceMapping Object class: com.sap.engine.services.webservices.espbase.mappings.InterfaceMapping mappings: (BindingType=Soap, SEIName=NewWSDLFile, BindingQName=(http://www.example.org/NewWSDLFile/)NewWSDLFileSOAP, PortTypeQName=(http://www.example.org/NewWSDLFile/)NewWSDLFile, SoapVersion=SOAP11, Galaxy_SDO=true, InterfaceMappingID=45ffb27c:1237f972cd8:-7d7e)."
    If possible can any one help me out.
    Thanks and regards
    Pranav

    Hi Arafat,
    Thanks for replying. Yes i have completed the output mapping. Input parameters i need for this service are :
    1. cn_comments
    ca_comments
    2. cn_planningGroup
    ca_account
    ca_serialnumber
    and few more attributes
    Now, what i did was i have created a complex type and added elements in it. But to my surprise i was not able to get these nodes and elements in output mapping. So, i changed the type of "parameter" from "new operation" to my complex type. By doing this i was able to get my nodes and elements in output mapping. Now i tested the entire thing in WS Navigator and i got that error.
    Please suggest how o proceed.
    Regards
    Pranav

  • Error while trying to delete the universe from CMS

    Dear All,
    I am getting "Unable to reconnect to the CMS XXXXXXXXX. The session has been logged off or has expired" error while trying to delete any universe from the CMS. I tried restarting tomcat but it didnt work. I am unable to delete any universe from CMS. We have BO XI R2 SP2 environment on Windows 2003 Server.
    regards,
    Umair

    SAP NOTE - 1199539 gives a possible solution to this problem:
    When attempting to delete or migrate a universe, the following error message appears:
    "Unable to reconnect to the CMS BUSOBJDV.ACSAD.NCSU.EDU. The session has been logged off or has expired."
    Environment
    BusinessObjects Enterprise Premium XI Release 2 SP1 CHF15
    JDK version 1.4.2_08
    Tomcat version is the same as that shipped with the product
    Cause
    The universes and connection pages are special (AFAIK) compared to the other pages because they are pure JSP, while most of the other Central Management Console (CMC) pages still go though the CMC and use COM/C++ code unaffected by the Java Virtual Machine (JVM). If the JVM has not been updated against Eastern Daylight Savings Time (EDST), it may calculate the incorrect time locally, and problems may occur with token expiry or validation.
    Resolution
    Update the Tomcat JDK to JDK 1.5.0_11 for EDST:
    1. Go to the Microsoft web site and verify if you have the time zone update installed.
    2. Download JDK 1.5.0_11.
    3. Install JDK 1.5.0_11 on your server.
    4. Modify the JAVA_HOME here:
    C:\Program Files\Business Objects\Tomcat\bin\setenv.bat
    as follows:
    set JAVA_HOME=C: \Program Files\Java\jdk1.5.0_11\jre
    5. In Java Virtual Machine and Java Class Path, modify JAVA properties for Tomcat (Start > Programs > Tomcat > Tomcat Configuration > Java). Replace the default Business Objects JDK 1.4 directory:
    C:\Program Files\Business Objects\j2sdk1.4.2_08
    with JDK 1.5.0_11:
    C:\Program Files\Java\jdk1.5.0_11
    6. Go to Windows Time Zone (double-click Windows time) then on the Time Zone tab, select the automatically adjust clock for day light saving changes check box against EST time zone.
    7. Restart Tomcat and the Central Management Server (CMS) and, if possible, reboot your computer.
    Hope this works anyone facing this problem on Windows servers.
    Not sure what the solution is for BO instances running on Solaris. We have business objects/Weblogic running on a solaris server. I tried just changing java home to jdk1.5.0_12 but this didn't work.

  • EDA Error while trying to access the personal details.

    Hi All,
    A new user(employee) is assigned with EDA responsibility to view/update his personal details and bank details.
    The user is able to view & update the bank details. But he is not able to open the personal details page. He is getting the following error while trying to access the personal detail link.
    HR_BASIC_DETAILS_WEB.GET_READ_ONLY_INFORAMTION: ORA-20002: 3123: Duplicate attribute 'DISPLAY_MARITAL_STATUS' could not be created for item 'HRSSA/28012061'.
    All users except the new user, dont have this issue.
    Oracle Application Version : 11.5.9
    Could someone help me on this.

    Hi Girish,
    Do you find out the solution to this issue? We having a similar issue with our Enterprise Portal using Apache and Siteminder Agent?

  • DAV error while trying to modify an element with linked-image

    Hi,
    When I try to modify my item's image, I get the following error message :
    DAV: ORA-00001: violation de contrainte unique (PORTAL.WWDAV$PKPATH) (WWS-18026)
    Error in the API : Error while trying to update the element
    Anyone could help ?
    Thanks for your help,
    Best Regards,
    JC.Audard

    Welcome to the forums !
    Pl see if MOS Doc 360403.1 (Launcing Discoverer Plus Fails With Error "Oracle.Discoverer.Applications.Framework.Globalexceptionhandler.Execute Null" in Application.log File) is applicable in your case
    HTH
    Srini

  • "Error while trying to sync Audio and Midi"

    "Error while trying to sync Audio and Midi" I have been having this problem now and then for some time. Now, I can't run any audio files without a lot of popping. I tried all the suggestions on the support document for this issue. I even downloaded new drivers from Motu for my Express XT Midi interface and my 828MK11 Audio interface. There has been no change. HEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEELP!!!!!!
    Also, I have tried reseting the 828 to factory default and that does not help.
    Jonathan Jenkins

    Hi,
    I solved my own problem by resetting the factory presets:
    Follow these steps to restore the MOTU 828mkII to Factory Default Settings.
    Disconnect the firewire cable from the 828mkII
    Press the Setup knob
    Turn the Setup knob all the way to the right
    Press the Select knob
    Press the Value knob
    Power off the interface and plug the firewire cable back in
    Power the interface back on
    The same steps can be followed to restore the Factory Default Settings on a Traveler.
    -Robert

  • "Error While Trying To Synchronise Audio And Midi"...non-tempo event found

    "Error While Trying To Synchronise Audio And Midi"...non-tempo event found
    now when I shutdown Logic And relaunch the Project, the notes hang and "WHAT THE FRIIGIN"
    (this was a bug way back when Logic7 was first released)
    this is bad!
    SvK

    Thanks Steven.
    big help. In our session we keep getting this problem where the song counter stops, the music keeps playing and we get an error message saying:
    Non Tempo-Event found in Sync Reference
    We looked in the tempo list and somehow there was a tempo event of 0.00 tempo in there.
    We deleted it, got the same error message, but the prob seems to be fixed.
    Apple, please fix this!
    Thanks
    Felix

  • Error while trying to save layout:Console layout (Access is denied)

    Got an error while trying to save changes made in the layout,
    The error message is
    1) 'Preference.properties' (Access is denied), In the details button 'java.io.FileNotFoundException...'
    2) and on continuing futher, another message displayed is - 'Error while trying to save layout:Console layout (Access is denied)
    There is no Oracle Error Number associated with this message. It is a Oracle Warehouse Builder Error
    I have checked that
    1) this file exist in owb home/owb/bin/admin/Preference.properties
    2) It is not read only
    3) tried to set a parameter REPOS_DB_VERSION_ALLOWED=Oracle 10g
    as specified in the Installation and Admin Guide
    Please can you help?

    Also, not that you shouldn't get to the bottom of this, but you should be aware that any of your development or mapping changes are likely still being saved to the respository.
    In other words, you could continue working and just ignore these errors. We ran into this situation (it was indeed simply file permissions on the owb directories), but we noticed right away that at least our actual OWB work was in fact still being committed to the respository every time.

  • HT4436 When trying to sign in I keep getting the error message, "iCloud encounterd a error while trying to connect to the server". How can I get signed in?

    When trying to sign in to iCloud, I always get the message, iCloud has encountered a error while trying to connect to the server. How do I get in????

    Hello,
    Try following step and check if issue gets resolved or not.
    Find Acrobat.exe on your computer.  Right click the program and click 'Troubleshoot Compatibility'.  Set the compatibility to Windows XP service pack 3.
    Regards,
    Anoop

  • Error while trying to retrieve text for error ORA-12154

    Hello,
    I try to install php 5.1.2 on a WIN2003 server and IIS6 with the OCi8 extension without success from several days.
    On my server I've a 920 oracle client and the 10.1 instant client, I copy the tnsnames.ora in the instant client's directory.
    I've declare many environnement variables :
    - NLS_LANG : AMERICAN_AMERICA.WE8MSWIN1252
    - TNS_ADMIN : E:\...\oracle\instantclient_10_1
    - ORA_NLS33 : E:\..\oracle\920\ocommon\nls\ADMIN\DATA
    With the php command line the oci_connect function correctly works : the php command line use the instant client's tnsnames.ora. I can query with success my database.
    When I try to load a web php script (the same as the php command line script) I have the following error " Error while trying to retrieve text for error ORA-12154" ( oci_connect( $user , $pass, $sid ) . The $sid variable have the value of an alias declared in the tnsnames.ora.
    If I replace the sid's alias by something like this " (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=xx.xx.xx.xx)(PORT=1521)))(CONNECT_DATA=(SID=xx)" in the oci_connect function, I have another error : Error while trying to retrieve text for error ORA-12705.
    A web page with the phpinfo function displays the following messages about oci8 extension : It seems to be correct.
    oci8
    OCI8 Support enabled
    Revision $Revision: 1.269.2.8 $
    Active Persistent Connections 0
    Active Connections 0
    Temporary Lob support enabled
    Collections support enabled
    Do you have any idea ? Thanks a lot

    The web server is not seeing the Oracle environment correctly. You need to set PATH to the instant client libraries. ORA_NLS33 is not used for Oracle 10g clients. Perhaps you have some library conflict with two versions of Oracle on the machine?
    These may help:
    http://www.oracle.com/technology/tech/php/htdocs/php_troubleshooting_faq.html#envvars
    http://blogs.oracle.com/opal/2006/05/01

  • Error while trying to create tree using same EMP how to tutorial

    Hi,
    I get the following error while trying to create a sample tree similar to the one
    posted in the how-tos web page.
    The final query that creates the tree is also as follows
    The Current Query shown in my apex window and the one on the howtos tutorial is as follows
    select "EMPNO" id,
    "MGR" pid,
    "ENAME" name,
    null link,
    null a1,
    null a2
    from "RJOSEEMPCLUB"."EMP"
    where DEPTNO = 1
    The error is as follows
    ORA-06502: PL/SQL: numeric or value error: character to number conversion error
    Debug:
    1: begin
    2: wwv_flow_wiz_confirm.create_tree (
    3: p_flow_id => :FB_FLOW_ID,
    4: p_region_template => replace(:F4000_P112_REGION_TEMPLATE,'%'||'null%',null),
    5: p_start_option => :F4000_P112_START_OPTION,
    6: p_owner => :F4000_P112_OWNER,
    7: p_table_name => :F4000_P112_TABLE,
    8: p_id => :F4000_P112_ID,
    9: p_pid => :F4000_P112_PID,
    10: p_name => :F4000_P112_NAME,
    11: p_link_option => :F4000_P112_LINK_OPTION,
    12: p_link_page_id => :F4000_P112_LINK_PAGE_ID,
    13: p_link_item => :F4000_P112_LINK_ITEM,
    14: p_where => :F4000_P112_WHERE,
    15: p_order_by => :F4000_P112_ORDER_BY,
    16: p_page_id => :F4000_P112_PAGE_ID,
    17: p_page_name => :F4000_P112_PAGE_NAME,
    18: p_tab_set => :F4000_P112_TAB_SET,
    19: p_tab_text => :F4000_P112_TAB_TEXT,
    20: p_region_name => :F4000_P112_REGION_NAME,
    21: p_tree_name => :F4000_P112_TREE_NAME,
    22: p_tree_type => :F4000_P112_TREE_TYPE,
    23: p_max_levels => :F4000_P112_MAX_LEVELS);
    24: end;

    Hi Kart,
    If you have the sample EMP table, the DEPTNO values are 10, 20 or 30.
    Did you specify a root value for the tree?
    Regards
    Andy

Maybe you are looking for