For execution error

Dear Gurus,
I designed one smartform with 2 pages which are completely different.
When I tried to test the form by executing the driver program , I'm getting an error given below.
1)No output request open. Document processing not possible.
kindly look into it and plz guide me.
Thanks
Natasha SS.

hii,
         1)driver program need not to be executed.
         2)Save and activate  program and give that program name as below.
         3) save in NACE also.
REPORT  ZSD_EXCISE_INVOICE.
TABLES : vbrk.
DATA : v_fm_name TYPE rs38l_fnam.      "Form name
DATA :  wa_nast TYPE nast,
        v_screen TYPE c.
CONSTANTS : c_formname TYPE tdsfname VALUE 'smartform name'.
DATA :  p_VBELN LIKE VBRK-Vbeln.
*&      Form  entry
FORM entry USING returncode us_screen.
  DATA lw_field(20).
  FIELD-SYMBOLS <fs_nast> TYPE ANY.
  lw_field = '(RSNAST00)NAST'.
  ASSIGN (lw_field) TO <fs_nast>.
  IF sy-subrc <> 0.
    MESSAGE 'Output Type Not Defined ' TYPE 'E'.
  ENDIF.
  wa_nast = <fs_nast>.
  p_Vbeln = wa_nast-objky.
  IF p_Vbeln IS INITIAL.
    MESSAGE 'Excise Invoice Not Saved ' TYPE 'W'.
    returncode = 5.
  ELSE.
    v_screen = us_screen.
   PERFORM fetch_data.        "Fetch data from database tables.
    PERFORM call_form CHANGING returncode.        "Call Smartform.
  ENDIF.
ENDFORM.                    "entry
*&      Form  call_form
FORM call_form  CHANGING returncode.
DATA : ssfctrlop TYPE ssfctrlop.
  DATA : SSFCOMPOP TYPE SSFCOMPOP.
  CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
    EXPORTING
      formname                 = c_formname
   IMPORTING
     fm_name                  = v_fm_name
EXCEPTIONS
   NO_FORM                  = 1
   NO_FUNCTION_MODULE       = 2
   OTHERS                   = 3.
  IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  ENDIF.
CALL FUNCTION v_fm_name
  EXPORTING
    P_VBELN                    = p_vbeln
EXCEPTIONS
   FORMATTING_ERROR           = 1
   INTERNAL_ERROR             = 2
   SEND_ERROR                 = 3
   USER_CANCELED              = 4
   OTHERS                     = 5.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM.                    " call_form

Similar Messages

  • Installer LV7.1 - LabVIEW load error code 21: An external subroutine required for execution could not be found.

    Bonjour,
    Je cherche à créer un installer portatif utilisant les drivers NI-DAQmx 8.7.1 et NI-CAN 2.6.0.
    Je dispose d'un code LV 7.1 et j'ai installé l'application builder 7.1.
    Mais une fois l'application installé sur un PC vierge de Labview, j'obtiens le message suivant:
    load error code 21: An external subroutine required for execution could not be found.
    Ce message est répété plusieurs fois (pour différents VIs) puis le programme ne se lance pas.
    J'ai bien veillé à installer les drivers NI-CAN et NI-DAQmx correspondant au préalable sur la machine cible.
    En chercant sur le forum, plusieurs pistes m'ont été proposé:
    La version NI-DAQ
    L'intégration du Run time Engine
    Un problème de DLL
    J'ai vérifié ces 3 points mais cela n'a pas règlé mon problème.
    Résolu !
    Accéder à la solution.

    Bonjour,
    Merci de ta réponse.
    En fait, j'ai bien inclu le runtime engine de Labview qui était effectivement la source de l'erreur.
    L'installation de NI-DAQmx v 8.7.1 provoque la mise à jour de la version du runtime engine (passage de 7.1 à 7.1.1).
    J'ai donc désinstallé Le runtime engine 7.1.1 (ce qui a provoqué la désinstallation de labview et NI-DAQ).
    Puis je suis passé par une version plus ancienne de NI-DAQ (7.2) que j'ai adapté (inclusions de DLL et de VIs).
    Les messages d'erreurs ont alors tout simplement disparus!

  • Viewing execution errors for an interface

    After executing an interface, the "Execution" tab lists the results of each run. If there is an error in execution, how can the full message be displayed?
    Right clicking or double clicking the line of the failed execution doesn't display the details. The error message is too long to be sensibly displayed by widening the field, and in any case seems to be trimmed.
    ODI version 10.1.3.5

    You are looking in the designer module which is the one for execution.
    Another module named Operator is the one for the logs.
    On designer, under the Contextuel menu (_F_ile, Windows,...) you can see some icons which represent the different ODI Modules. The last one should be Operator.
    In Operator, by expanding DATE, TODAY in the Execution List Tab you will see all the executions.
    Expand the execution you're interested on and then at the lowest level of the node you can double click and then see the detail of the execution.
    Definition Tab is really general (conexion used....)
    Description Tab is the SQL generated
    Execution Tab list the full error messages.
    Best regards
    Brice

  • DSU Execution Error: More then one instance found for name: DVEBMGS00

    Hello,
    try to start an Upgrade from SAP4.7x110 to ECC6.0 EHP4 SR1 by running the statup.but. I recieve immediatly the error. DSU Execution Error: More then one instance found for name: DVEBMGS00.
    The System is a fresh homo.sys-copy (comming from DVEBMGS00). On the harware was running in former times an instance DVEBMGS00 but the SID was a different. I allready looked if there is still something on the host from this last installation but nothing found.
    Any suggestions
    Peter

    Hi,
    Please see the link below..Hope this will help you..
    Upgrade stuck in Pre- Processing
    DSU Execution Error
    /thread/1948457 [original link is broken]
    Regards

  • Error while creating request list DSU execution error   in Upgrade PI

    Hello,
    I´m doing upgrade de PI 3.0 - 7.0 in mscs and run startup.bat...
    DSU execution error  on hostnode1.domain.sap
    Error while creating request list - see proceeding messages
    Instance profile for instance 00 on host hostnode1 not found profile SID_w*00_hostnode1 not found in directory ...../usr(sap/SID/profile
    Help please.
    Luis
    Edited by: Luis Maura on Nov 5, 2010 1:38 PM

    Instance profile for instance 00 on host hostnode1 not found profile SID_\w*00_hostnode1 not found in directory
    hostnode1 is physical or virtual ?, this file SID_\w00_hostnode1*  exist or not .
    compare the GLOBAL HOSTNAME settings in profiles of Default,Instance and start
    Regards,

  • Execution error in Marketing planning

    Hi all
    I am getting following error "CL_CRM_MKTPL_APPLICATION====CP" while creating a new market plan. It an is execution error.
    PLz help me out
    Regards
    Quantuscumque
    Edited by: quantuscumque on Aug 16, 2010 9:58 AM

    Hi Quants ,
    Please be informed that as of release 5.1,SAP GUI is suppose to use
    only for administrative tasks and for transactions,new WEB UI.
    Please check the attached note 1118231 for more information.
    Thanks & regards,
    Krishnen

  • How do I prevent windows from shutting down ITUNES with a Data Protection Execution error when trying to sync with my Iphone 4S in a 32 bit windows environment?

    I first was not able to install ITunes 10.5.  Apple upgrade installer caused a data protection execution error and windows reverted the process back to the original software.  I then removed ITunes through the control panel ap.  I removed Bonjour and quicktime.  I could not use the windows uninstaller to remove the apple upgrade installer and had to find a fix it program on the microsoft web site to fully remove this program.  After doing this, I was able to load and install itunes 10.5.  However, now when I try to sync my new 4S phone, the sync only goes to the 2nd or 3rd step before eliciting a DPE error and causing itunes to shut down.  I tried making a new user profile.  Opened I tunes in the new profile and began to search for music on my computer.  The program again elicited a DPE error.  I looked to see if quicken was still on the computer and maybe causing a hangup, but it is no longer installed.  Ok, I am at wits end and have spent much too much time on this issue.  Please help.

    I was able to finally stop ITunes from crashing after many days of searching n restarting my computer many times.
    a) First I went to this site ->http://forums.techarena.in/guides-tutorials/1119812.htm that showed me how to disable DPE. Please make sure that u have good virus...etc.. protection first before doing this. I have Avast Internet Security. RESTART UR COMPUTER..
    b) I then uninstall ITunes by following this site ->http://support.apple.com/kb/ht1923      RESTART UR COMPUTER..
    c) I then downloaded a beta version of ITunes. I happen to download beta 7 before the final of 10.5 version came out. Installed it. After installing I click on it n it said somewhere along the line of "this ITune ver. expired" I checked in my Programs n Features n notice that QuickTime was installed w that beta version.   
    d) Go online n download the final version of ITunes ->http://www.apple.com/itunes/download/ ...... After u finish dling install that. After that's done connect your IPod, IPhone...etc... n click on ITunes, it should sync all the way.
    I was finally able to sync all thru the steps insteading of it crashing on me midway. Hopefully this will work for you. Good luck !
    IPhone4, Gateway Windows Vista 32bit

  • Cannot load script for execution.

    hi 
     iam creating  the  sisi package  with in script task . script task   was  build successful .  but when i was executive the ssis packages vs 2012.
     it get  error :Cannot load script for execution..
     the code is 
       Microsoft SQL Server Integration Services Script Task
       Write scripts using Microsoft Visual C# 2008.
       The ScriptMain is the entry point class of the script.
    using System;
    using System.Data;
    using Microsoft.SqlServer.Dts.Runtime;
    using System.Windows.Forms;
    using System.IO;
    namespace ST_8cdbf584a74b48abb384d8f03cf42f4d.csproj
        public partial class ScriptMain : Microsoft.SqlServer.Dts.Tasks.ScriptTask.VSTARTScriptObjectModelBase
            #region VSTA generated code
            enum ScriptResults
                Success = Microsoft.SqlServer.Dts.Runtime.DTSExecResult.Success,
                Failure = Microsoft.SqlServer.Dts.Runtime.DTSExecResult.Failure
            #endregion
    The execution engine calls this method when the task executes.
    To access the object model, use the Dts property. Connections, variables, events,
    and logging features are available as members of the Dts property as shown in the following examples.
    To reference a variable, call Dts.Variables["MyCaseSensitiveVariableName"].Value;
    To post a log entry, call Dts.Log("This is my log text", 999, null);
    To fire an event, call Dts.Events.FireInformation(99, "test", "hit the help message", "", 0, true);
    To use the connections collection use something like the following:
    ConnectionManager cm = Dts.Connections.Add("OLEDB");
    cm.ConnectionString = "Data Source=localhost;Initial Catalog=AdventureWorks;Provider=SQLNCLI10;Integrated Security=SSPI;Auto Translate=False;";
    Before returning from this method, set the value of Dts.TaskResult to indicate success or failure.
    To open Help, press F1.
            public void Main()
                byte[] dataByte = null; String errInfo = "";
                try
                    String sDirectory = Dts.Variables["User::Directory"].Value.ToString();
                    String CreatePartitionFileXMLA = sDirectory + "\\partitionssales20010701to20010731.XMLA";
                    String ProcessPartitionFileXMLA = sDirectory + "\\partitionssales20010701to20010731.XMLA";
                    // Create XMLA Script
                    Dts.Variables["User::CreatePartitions"].Value = ReadFile(CreatePartitionFileXMLA, errInfo);
                    if (errInfo.Length > 0)
                        Dts.Log("Error while reading XMLA file: " + errInfo, 0, dataByte);
                        Dts.TaskResult = (int)ScriptResults.Failure;
                    //Process XMLA Script
                    Dts.Variables["User::ProcessPartitions"].Value = ReadFile(ProcessPartitionFileXMLA, errInfo);
                    if (errInfo.Length > 0)
                        Dts.Log("Error while reading XMLA file: " + errInfo, 0, dataByte);
                        Dts.TaskResult = (int)ScriptResults.Failure;
                    Dts.TaskResult = (int)ScriptResults.Success;
                catch (Exception ex)
                    Dts.Log("Error Message: " + ex.Message, 0, dataByte);
                    Dts.TaskResult = (int)ScriptResults.Failure;
            public String ReadFile(String FilePath, String ErrInfo)
                String strContents;
                StreamReader sReader;
                try
                    sReader = File.OpenText(FilePath);
                    strContents = sReader.ReadToEnd();
                    sReader.Close();
                    return strContents;
                catch (Exception e)
                    MessageBox.Show(ErrInfo);
                    ErrInfo = e.Message;
                    return "";
     how to solve this issue
     pleasse help me..

    Hi sheshu0022,
    Based on my research, the issue can be occurred due to something get corrupted in the script task. To fix this issue, please copy the code in the task, then rebuild the script task with the same code to test again.
    The following similar thread is for your reference:
    http://stackoverflow.com/questions/15165760/ssis-script-task-fails-on-server-with-error-cannot-load-script-for-execution
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Sharepoint Designer workflow takes long time for execution of action

    Hi All ,
    I have created declarative workflow using SharePoint designer 2010.which is getting executed successfully,But taking lot of time for execution.
    Below are details of it
    workflow contains only one activity "assign Task to User" and workflow will start automatically after uploading document.
    workflow takes 10 minutes to create task for user , 10 minutes to claim task and 10 minutes to execute if any action(Approve or Reject) is taken on task.
    no error in log file or event log related to workflow.
    options tried:
    1.I have tried options  suggested in article(http://www.codeproject.com/Articles/251828/How-to-Improve-Workflow-Performance-in-SharePoint#_rating ),but no luck
    2. Reduced the interval of worflow timer job to 1  from 5 .still no luck
    Any thoughts regarding this would be appreciated.
    ragava_28

    Hi Thuan,
    I have similar issue posted here
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/82410142-31bc-43a2-b8bb-782c99e082d3/designer-workflow-with-takes-time-to-execute?forum=sharepointcustomizationprevious
    Regards,
    SPGeek03

  • Process execution engine execution error. from the latest HF in BPM Ent.

    Hi All,
    After applying the latest hotfix, I'm now getting this error when trying to launch any of the application.
    My setup is AquaLogic BPM Enterprise 6.0.4 for Weblogic.
    I've tried redeploying all the deployments within Weblogic and also the Admin Center. Nothing has worked.
    Any idea what's causing this?
    Process execution engine execution error.
    Caused by: fuego.io.ObjectSerialization.customWriteObject(Ljava/lang/Object;Ljava/io/ObjectOutputStream;Ljava/lang/Class;)V
    fuego.papi.impl.EngineExecutionException: Process execution engine execution error.
    at fuego.papi.impl.j2ee.EJBProcessControlHandler.doInvoke(EJBProcessControlHandler.java:158)
    at fuego.papi.impl.j2ee.EJBProcessControlHandler.invoke(EJBProcessControlHandler.java:70)
    at $Proxy154.runGlobalActivity(Unknown Source)
    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:585)
    at fuego.lang.JavaClass.invokeMethod(JavaClass.java:1410)
    at fuego.lang.JavaObject.invoke(JavaObject.java:227)
    at fuego.papi.impl.j2ee.EJBExecution.next(EJBExecution.java:189)
    at fuego.web.execution.InteractiveExecution.process(InteractiveExecution.java:177)
    at fuego.web.execution.impl.WebInteractiveExecution.process(WebInteractiveExecution.java:54)
    at fuego.web.execution.InteractiveExecution.process(InteractiveExecution.java:223)
    at fuego.web.papi.TaskExecutor.runApplicationTask(TaskExecutor.java:349)
    at fuego.web.papi.TaskExecutor.execute(TaskExecutor.java:95)
    at fuego.workspace.servlet.ExecutorServlet.doAction(ExecutorServlet.java:117)
    at fuego.workspace.servlet.BaseServlet.doPost(BaseServlet.java:228)
    at fuego.workspace.servlet.BaseServlet.doGet(BaseServlet.java:219)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
    at fuego.workspace.servlet.AuthenticatedServlet.service(AuthenticatedServlet.java:61)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
    at fuego.web.filter.SingleThreadPerSessionFilter.doFilter(SingleThreadPerSessionFilter.java:64)
    at fuego.web.filter.BaseFilter.doFilter(BaseFilter.java:63)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
    at fuego.web.filter.CharsetFilter.doFilter(CharsetFilter.java:48)
    at fuego.web.filter.BaseFilter.doFilter(BaseFilter.java:63)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3368)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2117)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2023)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1359)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
    Caused by: java.lang.NoSuchMethodError: fuego.io.ObjectSerialization.customWriteObject(Ljava/lang/Object;Ljava/io/ObjectOutputStream;Ljava/lang/Class;)V
    at BT_QW.MyProcess.Default_1_0.Instance.writeObject(Instance.xcdl)
    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:585)
    at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:890)
    at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1333)
    at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1284)
    at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073)
    at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:291)
    at fuego.server.ProcInst.getComponentData(ProcInst.java:780)
    at fuego.server.ProcInst.mustStoreComponent(ProcInst.java:2793)
    at fuego.server.persistence.jdbc.JdbcProcessInstancePersMgr.createInstance(JdbcProcessInstancePersMgr.java:1018)
    at fuego.server.persistence.Persistence.createProcessInstance(Persistence.java:669)
    at fuego.server.execution.EngineExecutionContext.persistInstances(EngineExecutionContext.java:1810)
    at fuego.server.execution.EngineExecutionContext.persist(EngineExecutionContext.java:1109)
    at fuego.transaction.TransactionAction.beforeCompletion(TransactionAction.java:132)
    at fuego.connector.ConnectorTransaction.beforeCompletion(ConnectorTransaction.java:685)
    at fuego.connector.ConnectorTransaction.commit(ConnectorTransaction.java:368)
    at fuego.transaction.TransactionAction.commit(TransactionAction.java:302)
    at fuego.transaction.TransactionAction.startBaseTransaction(TransactionAction.java:481)
    at fuego.transaction.TransactionAction.startTransaction(TransactionAction.java:551)
    at fuego.transaction.TransactionAction.start(TransactionAction.java:212)
    at fuego.server.execution.DefaultEngineExecution.executeImmediate(DefaultEngineExecution.java:123)
    at fuego.server.execution.EngineExecution.executeImmediate(EngineExecution.java:66)
    at fuego.server.AbstractProcessBean.runGlobalActivity(AbstractProcessBean.java:2708)
    at fuego.ejbengine.EJBProcessControlAdapter.runGlobalActivity(EJBProcessControlAdapter.java:1036)
    at fuego.ejbengine.EJBProcessControl_1zamnl_EOImpl.runGlobalActivity(EJBProcessControl_1zamnl_EOImpl.java:3450)
    at fuego.ejbengine.EJBProcessControl_1zamnl_EOImpl_WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:174)
    at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:335)
    at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:252)
    at fuego.ejbengine.EJBProcessControl_1zamnl_EOImpl_1000_WLStub.runGlobalActivity(Unknown Source)
    at fuego.papi.impl.j2ee.EJBProcessControlInterfaceWrapper.runGlobalActivity(EJBProcessControlInterfaceWrapper.java:2033)
    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:585)
    at fuego.papi.impl.AbstractProcessControlHandler.invokeInternal(AbstractProcessControlHandler.java:72)
    at fuego.papi.impl.j2ee.EJBProcessControlHandler.doInvoke(EJBProcessControlHandler.java:116)
    ... 39 more

    I ended up rebuilding my ALBPMDir and ALBPMEngine schemas and WebLogic server domains from scratch. When executing the process that was giving me a headache, all of a sudden I got the following error:
    fuego.server.exception.MaxInstanceSizeRuntimeException: Max instance size exceeded.
    Current size is 16538, whereas the maximum size is 16384. This occurs with instance '
    Anyway, the sizes were not terribly far off, but I doubled the process instance size from 16k to 32k and the error went away.
    Something to try on your end, perhaps.
    Chris

  • Is there a custom function available which can be used for logging errors captured in a sp in a sql table

    Is there a custom function  available which can be used for logging errors captured in a sp during and after execution in a sql table?
    Basically we  would like to utilize such function  in every sp and log errors of each sp in a error log table
    Mudassar

    Thanks .
    I was able to write this however I am thinking I am missing something
    CREATE FUNCTION testfunction1()
    RETURNS @temp_error TABLE (
    id int identity(1,1),
    procedure_name varchar(255),
    line_number int,
    error_number int,
    error_message varchar(max),
    error_state int,
    error_severity int,
    occurence_datetime datetime default current_timestamp,
    user_name sysname default suser_name(),
    login_name sysname default suser_name()
    AS
    BEGIN
    insert @temp_error(procedure_name,line_number,error_number,error_message,error_state,error_severity)
    select error_procedure(),error_line(),error_number(),error_message(),error_state(),error_severity()
    RETURN;
    END;
    CREATE TYPE test_type AS TABLE(
    id int identity(1,1),
    procedure_name varchar(255),
    line_number int,
    error_number int,
    error_message varchar(max),
    error_state int,
    error_severity int,
    occurence_datetime datetime default current_timestamp,
    user_name sysname default suser_name(),
    login_name sysname default suser_name()
    GO
    create proc usp_error_test
    @test_type AS test_type READONLY
    as
    begin
    begin try
    select 1/0
    end try
    begin catch
    select * from testfunction1(@test_type)
    end catch
    end
    Mudassar

  • Adapter execution error OIM

    Hi All,
    I have created a new field in user form named telephone number,When ever I run AD target recon, the updated telephone number in AD is reflecting in Process form. I wrote a copy Adapter that copies process form value to usr form.
    This is working well with the firstname field, but wen I change it to telephone number field, the updated phone number present in AD is reflecting in process form telephone field, but not copying to usr form. I get the following error message:-
    Adapter Execution error: UpdateDataObjFieldValue Error updating null
    Java.Lang.nullpointer exception.
    can anyone helpme

    You can do the following:
    Create a new:
    Resource Object: AD User Trusted
    IT Resource: ADITResource Trusted
    Process Definition: AD User Trusted, type provisioning
    Scheduled Task: AD User Trusted Reconciliation
    Reconciliation Rule: AD User Trusted
    On your resource object, select the trusted source checkbox. Add the recon fields that you are grabbing from Active Directory that you want to update the OIM User profile with. Use the same names and format as your normal AD User object. Set your matching rules.
    On your process definition, don't add any new tasks. Simply map the values from reconciliation to the process form.
    Create your reconciliation rule mapping the incoming user id to the oim user id.
    Duplicate the existing IT Resource and Scheduled task with the exact same information but use the AD User Trusted as your resource object when needed, and the same for the IT Resource.
    Now you have an exact copy of the AD User workflow for reconciliation purposes to update the OIM User Profile as well. Since you have 2 IT resources, you will have a timestamp for both targets so they will each catch updated users.
    -Kevin

  • Action had to be described for execution

    I am getting a strange error message in the apache error log:
    [Fri Jul 13 15:45:07 2001] [warn] mod_plsql: /pls/portal30/PORTAL30.wwexp_api_engine.action had to be described for execution. Refer to the PL/SQL GateWay documentation on how to avoid this
    Has anyone seen this?

    This is all documented in the "Troubleshooting" section. If you are seeing these warnings for Portal, there is nothing much you can do. We will be attempting to address (or reduce) this benign warning in a future version of Portal.
    Here is the text for everyone's benefit
    B.7 Overhead Problems
    While executing some of the Portal stored procedures, mod_plsql is incurring a Describe overhead which results in two extra round trips to the database for a
    successful execution. This has performance implications.
    B.7.1 The Describe Overhead
    In order to execute PL/SQL procedures, mod_plsql needs to know about the data type of the parameters being passed in. Based on this information, mod_plsql
    binds each parameter either as an array or as a scalar. One way to know the procedure signature is to describe the procedure before executing it. However, this
    approach is not efficient because every procedure has to be described before execution (unless the procedure descriptions are cached).
    To avoid the "describe" overhead, mod_plsql looks at the number of parameters passed for each parameter name. It uses this information to assume the datatype of
    each variable. The logic is simply, "if there is a single value being passed, then the parameter is a scalar, otherwise it is an array".
    This works for most cases but fails if someone tries to pass a single value for an array parameter. Then the PL/SQL procedure execution fails because it binds an
    array as a scalar. In such circumstances, mod_plsql issues the Describe call for the procedure and binds each parameter based on the information retrieved from the
    describe call, reexecutes the procedure and sends back the results. This happens transparently to the procedure, but internally mod_plsql has encountered two extra
    round trips (one for the failed execute and the other for the "Describe" call).
    B.7.2 Avoiding the Describe Overhead
    You can avoid performance problems by doing the following:
    Use Flexible Parameter Passsing.
    Always ensure that you pass multiple values for arrays (for single values, you can pass dummy values which will be ignored by your procedure).
    Using the following workaround. The workaround defines a two-parameter style procedure which defaults the unused variables.
    1.Define a scalar equivalent of your procedure which internally calls the original procedure. For example, if the original package is similar to the following,
    create or replace package testpkg as:
    TYPE myArrayType is TABLE of VARCHAR2(32767) index by binary_integer;
    procedure arrayproc (arr myArrayType);
    end testpkg;
    2.If you are making URL calls like "/pls/.../testpkg.arrayproc?arr=1", change the specification to be similar to the following:
    create or replace package testpkg as
    TYPE myArrayType is TABLE of VARCHAR2(32767) index by binary_integer;
    procedure arrayproc (arr varchar2);
    procedure arrayproc (arr myArrayType);
    end testpkg;
    3.Create or replace package body testpkg as:
    procedure arrayproc (arr varchar2) is
    localArr myArrayType;
    begin
    localArr(1) := arr;
    arrayproc (localArr);
    end arrayproc;
    B.7.3 The Flexible Parameter Passing (four parameter) Overhead
    A similar round-trip overhead exists if a PL/SQL procedure is using the older style four parameter interface. The PL/SQL Gateway first tries to execute the
    procedure by using the two parameter interface. If this fails, the PL/SQL Gateway tries the four parameter interface. This implies that all four parameter interface
    procedures will experience one extra round-trip for execution.
    B.7.4 Avoiding the Flexible Parameter Passing Overhead
    To avoid this overhead, it is recommended that you write corresponding wrappers which use the two parameter interface and internally call the four parameter
    interface procedures. Another option is to change the specification of the original procedure to default the parameters which are not passed in the two parameter
    interface.

  • Getnode returned null for uri error for caldav server

    Hello,
    I am trying to install the Oracle UCS ( SUN 7 update 2 ) server.
    https://wikis.oracle.com/display/CommSuite7U2/Communications+Suite+on+a+Single+Host+%28Linux%29#CommunicationsSuiteonaSingleHost%28Linux%29-InstallingtheExample
    So far, I have successfully:
    Checked the installation requirements
    Installed Communications Suite 7 Update 2 Software
    Installed and Configured the Directory Server
    Prepared the Directory under ( Configuring Communications Suite Components )
    Configured Delegated Administrator and Communications CLI
    Configured Messaging Server
    Configured MYSQL Server
    Configured Calendar Server
    I have just installed a caldav server. I checked that it was enabled by running:
    # asadmin list-components -p <admin-port> --type=web
    davserver <web-module>
    Command list-components executed successfully.
    # asadmin show-component-status -p <admin-port> davserver
    Status of davserver is enabled.
    Command show-component-status executed successfully.
    that was from this page:
    https://wikis.oracle.com/display/CommSuite7RR92909/Calendar+Server+7+Troubleshooting
    In Firefox, I try to hit the suggested pages under "Testing Calendar accounts". However, this errors out every time for me.
    http://domain.com/davserver/dav/h/myDomain.com/myusername/calendar
    wheremyDdomain.com is my actual domain that I will not list here
    and myUsername is my actual username which I will not list here
    ( I edited both of these in the logs below )
    I checked my log in /var/opt/sun/comms/davserver/logs:
    INFO [2012-02-11T11:46:02.729-0500] <...DavServer.<init>> Server Startup succeeded
    INFO [2012-02-11T11:46:02.730-0500] <...DavServer.loadBackend> Loading backend defaultbackend with backendid defaultbackend
    INFO [2012-02-11T11:46:02.730-0500] <...DavServer.loadBackend>      JDBC JNDI Name = jdbc/defaultbackend
    INFO [2012-02-11T11:46:09.033-0500] <...DavServer.loadBackend> Loading backend ischedulebackend with backendid ischedulebackend
    INFO [2012-02-11T11:46:09.033-0500] <...DavServer.loadBackend>      JDBC JNDI Name = jdbc/ischedulebackend
    INFO [2012-02-11T11:46:09.427-0500] <...DavServer.loadBackends> iSchedule enabled
    INFO [2012-02-11T11:46:09.439-0500] <...DavServer.loadBackends> modified ischedule collection at /ischedule/
    INFO [2012-02-11T13:33:18.967-0500] <...URIInfoManagerImpl.getEntryFromSearchFilter> found 0 corresponding to: (uid=caldav)
    INFO [2012-02-11T13:33:59.844-0500] <...URIInfoManagerImpl.getEntryFromSearchFilter> found 0 corresponding to: (uid=caldav)
    FINE [2012-02-11T13:42:39.157-0500] <...DavServerServlet.service> [REQ] GET /davserver/browse/h/myDomainName/myUserName/calendar 127.0.0.1 myDomainName
    FINE [2012-02-11T13:42:39.808-0500] <...LDAPSingleHostPool.getConnection> got connection from getConnection() for pool Pool number:0. Host=myDomainName
    FINE [2012-02-11T13:42:41.441-0500] <...LDAPSingleHostPool.getConnection> got connection from getConnection() for pool Pool number:0. Host=myDomainName
    FINE [2012-02-11T13:42:41.460-0500] <...LoginModuleHelper.checkIfUserInAdminGroup> user: admin; isMemberOf = cn=Service Administrators, ou=Groups, o=isp
    FINE [2012-02-11T13:42:41.684-0500] <...DavBrowserServlet.service> Got a non standard condition: getNode returned null for uri /davserver/browse/h/myDomainName/myUserName/calendar
    FINE [2012-02-11T13:42:41.684-0500] <...DavServerServlet.service> [RES] [404] Command execution time: 2.527 secs
    I can hit this page from the browser:
    http://myDomainName:4848
    From my understanding, that is the admin port. That brings up the GlassFish server admin page.
    I do not remember creating a calendar account anywhere is my first thought. I followed the example deployment step by step so far and nowhere does it have me create a calendar user account. So, maybe there is no account at this point?
    So, my first question would be:
    How can I verify that I have a calendar account to begin with? ( or is this what I am doing by trying to log into the sites suggested under 'Test Calendar Accounts').
    My next question would be:
    What does this error mean: "getnode returned null for uri error for caldav server"?
    Spin off question from that:
    What should I do to fix that error?
    Thanks in advance!

    I did not put a slash at the end of the uris I was testing
    http://myDomain.com:80/davserver/browse/h/myDomain/myUserName/calendar
    http://myDomain.com:80/davserver/dav/h/myDomain/myUserName/calendar
    Once I put the slash at the end of the uri, the configuration page appeared and the error was not displayed about getNode anymore:
    http://myDomain.com:80/davserver/browse/h/myDomain/myUserName/calendar/
    http://myDomain.com:80/davserver/dav/h/myDomain/myUserName/calendar/

  • HCM Process&Forms EHhP5 "proces is currently not released for execution"

    Hallo!
    After changing the system to EHP5 i got a new error:
    Process XYZ is currently not released for execution
    I didn't change the customizing! What should i do? I cannot rember that a process is to activate anywhere.
    The form and the interface are both active.
    Thx for any help!
    Best greetings,
    Gregor

    Hello!
    Thx, i checked the SPRO. The valid checkbox is active.
    In the backend system I am able to run the process. Before EhP5 we had EhP3 - is there any new customizing for the processes?
    Thx and best greetings,
    Gregor

Maybe you are looking for

  • Need Help ASAP. Cannot Transfer Photos

    Hi, I have been able to transfer photos from a SanDisk Extreme IV CompactFlash in a Canon 50D all week, until tonight. I'm using EOS utility to do the transfer. The photos are coming up blank when I try to open them with Preview. It comes up "the fil

  • How do you change the search engine used in the address bar?

    I use the address bar to search, instead of the actual search bar field. Why? It's easier. Or, it used to be. It used to use Google. Now it's using Yahoo!. This is unacceptable. Haha. How do I change which search engine is used in the ADDRESS bar?

  • Non-conformed dimension [nQSError: 14020]

    Hi, I have linked two cubes in a report, which have some conformed and some non-conformed dimensions. I have set the LTS of the non-conformed dimensions to the total level. This creates a warning in Administrator when doing the Global Consistency che

  • Static when playing music via USB in car stereo after updating to OS4.1

    Greetings everyone. After updating my iPod Touch (3rd Gen) to OS4.1 I am experiencing static, scratching like or popping sounds when I am playing music in my car using the USB port. I do not get these noises when I am listening with a set of earbuds,

  • Explict cursor state in a serially_reusable package

    hi all below there's a modified example taken from the Oracle documentation: CREATE TABLE people (name VARCHAR2(20)); INSERT INTO people (name) VALUES ('John Smith'); INSERT INTO people (name) VALUES ('Mary Jones'); INSERT INTO people (name) VALUES (