Error when defining Xi-track in CMS

Hi,
when I try to create an Xi track in CMS and when saving I get this error:
Unexpected error; inform your system administrator: com.sap.cms.util.exception.CMSUnexpectedException: Reading GDI ... FAILED. Source is not well formed. SAXParseException at line -1, column -1. Details: Message: Generic Exception: Stacktrace: com.sap.engine.lib.xml.parser.NestedSAXParserException: Generic Exception:  -> com.sap.aii.util.misc.api.BaseRuntimeException: Parsing generic data instance: begin of unexpected element "html"! at com.sap.aii.util.hmi.core.gdi2.GdiCharStreamer$GdiCharReader.startElement(GdiCharStreamer.java:344) at ....
Anybody that has experienced the same or understand why?
We are running NW2004s
XI URL Development is set to http://host1:51700/rep/
XI URL Consolidation is set to http://host2:53600/rep/
Kind regards Johan

Hi found out the error on my own but thought I should share...
The CMS tries to connect to http://host1:51700/rep/cmstransport/int and http://host2:53600/rep/cmstransport/int with the CMS user defined in Domain Data, in my case user cmsadm.
The password for this user had expired in both client systems and instead of downloading a XML the CMS was prompted by an HTML page requesting a password change...
rgds Johan

Similar Messages

  • Error when defining successor of node in workflows

    Hi Experts,
    I am receiving an error which says "error when defining successor of node XYZ". However in my workflow template, this particular XYZ node does not exists.
    Also I found one entry in SWP_SUSPEN table for the main workflow. I tried to execute the report manually RSWWERRE. Still it did not work out.
    I also tried to use transaction SWF_ADM_SUSPEND. However my workitem is not showing in the list.
    Kindly help me in this issue.
    Thanks
    Gopal

    Hi,
    This problem occurs because the nodes system table with respect to workflow is not updated properly. I hope you might have deleted or changed the workflow design after this you need to update the index of the workflow template too.
    Follow the below steps
    1. Execute PFTC choose task type as Workflow template and open in change mode.
    2. On menu goto Addtional Data ---> Agent Assignment ---> Maintain
    3. Choose the workflow template ID and click on the icon on the application tool bar with Red and white colur (Football ) i am not sure I think you can try with CTRL + F11 but you hvae to update the index.
    After doing this Execute SWUD txn Check for the consistencies of the workflow template. if you do not find any error refresh the buffer and org environment.
    Even after doing all this stuff you still face the issue then generate a version  just simply insert a dummy step in the workflow activate and then delete the dummy step activate and refresh the buffer and org environment and try to execute.
    This error ususally occurs (upto my knowledge) if the nodes table of the workflow is not updated properly, So the above mentioned  ways are to deal with it.
    Regards
    Pavan

  • Error when defining successor for node 0000000198

    Hello ,
    We are using leave request service on ESS portal.
    From last few days we are getting error like " Error when defining successor for node 0000000198   "
    All agents are assigned properly and also v have checked PFTC setting for Workflow.
    the method which are using is Synchrounous.
    this error is nt coming perticulary for one employee but it is coming for sick leave workflow.
    Please help
    thanks

    Hi,
    This is a binding issue between the workflow container and the task 
    container because we can see the text in the workflow container but 
    it is empty in the task container.
    Our proposed solution is to go into the Dev or QAS environment and 
    regenerate the binding between the workflow and this particular task. 
    We will test and if this works, this will resolve issue.

  • Error when defining successor for node

    Experts,
    We are having a problem with one of our workflows that keeps erroring whenever we try to complete it.  The error message states "Error when defining successor for node 0000000159".  This error does not occur in 4.6c environment and the workflow is working fine.  However, our team is in the process of upgrading to ECC 6.0 and the workflow is not working properly in that environment.  The workflow is designed for BO BUS2038 and the error occurs when we try to close all tasks and complete the workflow.  Can someone direct us to something that we can check, we've pretty much exhausted all our options?  Thanks.

    Hi Teferi,
    This problem occurs in ECC 6 when a step with Synchronous Task/Method does not have the Step executed outcome activated (this is allowed in 4.6C for synch task with terminating events). Check if your Task/method is synchronous.
    Cheers,
    Ramki Maley.

  • Error while creating a track in CMS

    Hi all,
    I am trying to create a track in CMS  using J2ee_ administrator.While saving I am getting the below error.
    SLD (URL http://rhocrmd2:50000) server exception: User credentials are invalid or user is denied access.
    The same error is coming while I save runtime systems or update cms or save domain.
    J2ee_admin is assigned to nwdi.administrator group  which is assigned to nwdi.administrator role.
    In security provider of visual administrator  I assigned the security role LcrInstanceWriterAll.
    The same user I am using in SLD data supplier service in Visual admin.I am able to log into sld with j2ee_admin user and able to create Software component.
    No idea why the above error is coming.
    Any more permissions need to be given?
    Thanks and regards,
    Rajesh

    Rajesh,
    Check the permissions as mentioned in this link
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e0f341af-e86e-2910-3e8a-d9e3c227d938
    Thanks
    Bala Duvvuri

  • Error when defining a variable  other than CHAR

    I am getting a syntax error when I define variables :
    data: l_arbei  type p.
    constants:  l_delim  type x  value '09'.
    Message L_ARBEI must be a character-type field (data type C, N, D or T). an open control structure introduced by "INTERFACE"
    Has anyone else experienced this problem.  Why can I not define these variables.

    data: l_arbei  type p decimals 1,
          l_ismnw  type p decimals 1.
      write w_ops-work_activity to l_arbei. 
      l_arbei = l_arbei - l_ismnw.          
      if l_arbei gt 0.                      
        write l_arbei to w_ops-work_activity.
      endif.
    As mentioned same error message when defining the following:
    constants:  c_delim  type x value '09'.
         split i_input1-line at c_delim into 
               w_hdr-orderid                 
               w_hdr-order_type.              
    I agree that there should be no problem with the definitions. However cannot understand why it does not like it.  Thought there might be an additional requirement for Unicode systems.

  • Error when defining Solman connection

    Dear Gurus.
    When defining connection to Solman, the following error message appears:
    The full log attached.
    Please advice!
    Regards
    Vladimir

    Hi Vladimir,
    Yes, I failed to get that to work as well (I contacted Support, it is a known issue). Please see this document for setting up the Solution Manager connection: http://support.sap.com/content/dam/library/support/support-programs-services/Solution%20Manager/Business%20Process%20Ope…
    You can also read SAP note 1265635, I like the previously mentioned PDF because it has screen captures.
    As a further read, once all is set up, I recommend what Martin Lauer wrote up in a nice blog entry on the subject Solution Manager: Monitoring SAP CPS by Redwood jobs with SAP Solution Manager.
    Regards,
    HP

  • SQL Server Error when tryingt to install the CMS DB on SQL Server 2005 x64

    I am trying to install BOEXI R3 on w2k3 64-bit OS in a SQL Server 2005 x64 database, I am currently at the installation step where i Specify an exisiting CMS database. I created a System DSN and tested it, and it was successful. So when I got to the screen where I select my datasource I had to check use trusted connection because the datasource would not show up when Use DSN created by WOW64 option was checked. From there I could select the database I created. Oh yeah, I also made the application server local system account part of my DB admins group so it has full access to the database yet when I click next to connect I get a CMS Database Error: STU000226. here is what I have in my log:
    ThreadID     Message
    (Thu Apr 23 20:57:46 2009)     3024     3028     trace message: findDFA_LLR:  (CmdLineDir) C:Documents and SettingsgsdadminDesktopBOEXI and BSM AnalyticsBOEXI R3 Full Version from SAPpackagedbcheck
    sqlrule.llr
    (Thu Apr 23 20:57:46 2009)     3024     3028     trace message: Loading: database subsystem only
    (Thu Apr 23 20:57:46 2009)     3024     3028     trace message: loading libary succeeded
    (Thu Apr 23 20:57:46 2009)     3024     3028     trace message: DatabaseSubsystem::Init()
    (Thu Apr 23 20:57:46 2009)     3024     3028     (.wireobinit.cpp:96): trace message: Creating the shared CWireObject::PropertyNameMap
    (Thu Apr 23 20:57:46 2009)     3024     3028     (.wireobinit.cpp:118): trace message: Setting static property map
    (Thu Apr 23 20:57:46 2009)     3024     3028     (.wireobinit.cpp:125): trace message: CWireObject::InitializeStaticPropertyMap() - reference count: 1
    (Thu Apr 23 20:57:46 2009)     3024     3028     trace message: initializing subsystem succeeded
    (Thu Apr 23 20:57:46 2009)     3024     3028     trace message: Loading: done loading subsystem - database subsystem only
    (Thu Apr 23 20:57:46 2009)     3024     3028     trace message: DatabaseSubsystem::Connect()
    (Thu Apr 23 20:57:46 2009)     3024     3028     (.DBConnectionManager.cpp:802): trace message: DBConnectionManager - Setting total target number of connections for pool 0 to 1.
    (Thu Apr 23 20:57:46 2009)     3024     3028     (.SQLServerDatabase.cpp:119): trace message: SQLServer error found:  ErrorMessage( (Microsoft)[ODBC Driver Manager] Data source name not found and no default driver specified), ErrorCode(0)
    (Thu Apr 23 20:57:46 2009)     3024     3028     (.dbutils.cpp:820): trace message: Caught DatabaseSubystem Error: BusinessObjects Enterprise CMS: Unable to connect to the CMS system database "BOEXI_CMS". Reason:  (Microsoft)[ODBC Driver Manager] Data source name not found and no default driver specified
    (Thu Apr 23 20:57:46 2009)     3024     3028     trace message: DatabaseSubsystem::Shutdown()
    (Thu Apr 23 20:57:46 2009)     3024     3028     (.wireobinit.cpp:175): trace message: CWireObject::TerminateStaticPropertyMap() - reference count: 1
    (Thu Apr 23 20:57:46 2009)     3024     3028     (.wireobinit.cpp:182): trace message: Releasing
    static property map
    How do I get past this?

    The workaround was, I installed the SQL Server Client tools and created a System DataSource  and then had to create a user DataSource  (it is a quirk in the installer I guess) to get past this point in the installation. Now I have an even bigger problem. Everything but the CMS installed and the installer hung at the "Configuring the CMS" part. The installation finished but when I tried to log into the Central managment console I got this error:
    Error: Server GSD-RRPT-RDC:6400 not found or server may be down (FWM 01003) null
    I looked at the forums for the cause of this error and came to the conclusion that BOEXI does not support an installation on SQL Server 2005 when using Integrated Authentication to the SQL Server. See the engineers here disabled SQL Authentication for the SQL Server and  will not allow it.
    Is this true? Or is there a workaround to install the CMS using Integrated Authentication in the DataSource ?
    Thanks.

  • Runtime error (syntax error) when defining a new logical system

    Hi!
    I get a short dump when trying to define a logical system, the field <b>clidep</b> does is not defined in function module <b>SCPR_BCSET_PROT_GET_TABKEYS</b>:
    CALL FUNCTION 'SCPR_HI_DB_SCPRACTR_READ'
        EXPORTING
          TABLENAME     = wa_tabnames-low
          VIEWNAME      = viewname
          CLIDEP        = clidep
        IMPORTING
          ACTKEYS       = actkeys
        EXCEPTIONS
          NO_DATA_FOUND = 1
          OTHERS        = 2.
    I have searched for notes, but I haven't fiund anything to correct the error. Does anyone one how to correct this?
    - Mari Virik

    Hi!
    I get a short dump when trying to define a logical system, the field <b>clidep</b> does is not defined in function module <b>SCPR_BCSET_PROT_GET_TABKEYS</b>:
    CALL FUNCTION 'SCPR_HI_DB_SCPRACTR_READ'
        EXPORTING
          TABLENAME     = wa_tabnames-low
          VIEWNAME      = viewname
          CLIDEP        = clidep
        IMPORTING
          ACTKEYS       = actkeys
        EXCEPTIONS
          NO_DATA_FOUND = 1
          OTHERS        = 2.
    I have searched for notes, but I haven't fiund anything to correct the error. Does anyone one how to correct this?
    - Mari Virik

  • Error when defining a variable from a class

    Hi,
    I'm getting this error message when trying to define a
    variable from a class:
    '1086: Syntax error: expecting semicolon before left paren.'
    I can't see where the error is.
    The scripts Question.as and Codeframe.as is located int the
    folder Mycomponents under the project.
    Regards
    /Acke
    **** Main app *****
    <mx:Script>
    <![CDATA[
    import mx.controls.Alert;
    import mx.events.CloseEvent;
    import myComponents.*;
    var Question():myComponents.Question=new Question(); // !!
    This line causes the error !!
    other code goes here....
    ]]>
    </mx:Script>
    **** The class definition ******
    package myComponents
    //import other classes needed
    import Mycomponents.Codeframe
    public class Question {
    // Define properties and methods.
    // Define public vars.
    public var Qtype:string;
    public var Condition:string;
    public var Qnumber:string;
    public var Qheading:string;
    public var Pretext:string;
    public var Qtext:string;
    public var Posttext:string;
    public var Codeframe():string;
    public var Reserved:string;
    public var EditableFrom:string;
    public var EditableTo:string;
    public var Decimal:string;
    public var SetQfactor:string;
    public var Logic_if():string;
    public var Logic_then():string;
    // Public constructor.
    //public function Question(){
    // do stuff to set initial values for properties
    public function Question(Type:string,
    Condition:string,
    Qnumber:string,
    Qheading:string,
    Pretext:string,
    Qtext:string,
    Posttext:string,
    Codeframe():string,
    Reserved:string,
    EditableFrom:string,
    EditableTo:string,
    Decimal:string,
    SetQfactor:string,
    Logic_if():string,
    Logic_then():string,
    ):Void
    this.Type=Type;
    this.Condition=Condition;
    this.Qnumber=Qnumber;
    this.Qheading=Qheading;
    this.Pretext=Pretext;
    this.Qtext=Qtext;
    this.Posttext=Posttext;
    this.Codeframe()=Codeframe();
    this.Reserved=Reserved;
    this.EditableFrom=EditableFrom;
    this.EditableTo=EditableTo;
    this.Decimal=Decimal;
    this.SetQfactor=SetQfactor;
    this.Logic_if()=Logic_if();
    this.Logic_then()=Logic_then();
    }

    1.
    It should be
    var theQuestion:Question = new
    Question(sType,sCondition:string,sQnumber,sQheading,sPretext,sQtext,sPosttext,
    sCodeframe,sReserved,sEditableFrom,sEditableTo,sDecimal,sSetQfactor,sLogic_if,sLogic_then )
    As you don't have default values in the constructor - you
    should specify the parameters.
    2. why do use type "string" ? It should be "String" if you
    refer to a standard type
    3. What are you trying to say by this:
    public var Codeframe():string;
    public var Logic_if():string;
    public var Logic_then():string;
    There should not be any parenthesis in the variable
    declaration.
    4.
    this is wrong
    var Question():Question=new Question();
    this even wronger
    var Question():Array=new Question(); // I'm trying to create
    an array here anyway...could this be the problem??
    no parenthesis!
    var Qs():Question=new Question();
    hmmmm....
    .var Qs()=new Question();
    I think you should start reading from the following link to
    get more understanding of the variables, types & declarations:
    http://livedocs.adobe.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDo cs_Parts&file=00001863.html
    Cheers,
    Dmitri.

  • Error when defining a program executable

    Could anybody explain the following error, which appears when I attempt to define an executable, GLCRVL against a program (GLCRVL2). Appears when closing the "Concurrent Program Executable" form:
    *"APP-FND-00508: Please enter a unique execution file name that is not already in use for your application"*
    The executable in question is
    /opt/oracle/DOLNSGC3/apps_11i/appl/gl/11.5.0/bin/GLCRVL
    I made a copy of the GLCRVL spawned program, which now exists in FND_CONCURRENT_PROGRAMS AS
    SQL> select application_id AS APP_ID
    2 ,concurrent_program_id AS CP_ID
    3 ,concurrent_program_name AS CP_NAME
    4 ,executable_application_id AS EXA_ID
    5 ,executable_id AS EX_ID
    6 ,execution_method_code AS EXM_CODE
    7 ,argument_method_code AS AM_CODE
    8 ,enabled_flag
    9 from FND_CONCURRENT_PROGRAMS
    10 where CONCURRENT_PROGRAM_NAME in ('GLCRVL', 'GLCRVL2')
    11 /
    APP_ID CP_ID CP_NAME XA_ID EX_ID E A E
    101 20397 GLCRVL 101 149 A D Y
    101 45769 GLCRVL2 101 149 A D Y
    Running 11.5.0 on Sun Solaris with 64-bit 10.2.0.4.0 Oracle DB Server

    Hi all,
    not sure if any of you are still watching this one, but I thought I'd update you on some good progress! I managed to get a spawned process working by registering it using the PL/SQL API, as follows:
    set serveroutput on
    declare
      b_Continue boolean := true;
      v_Prg_Name        varchar2(20) := 'GL_REVAL';
      v_Exec_Name       varchar2(20) := 'GL_REVAL';
    begin
      begin
        begin
          fnd_program.delete_executable(v_Exec_name, 'SQLGL');
          commit;
          dbms_output.put_line('executable ' || v_Exec_Name || ' removed from SQLGL');
          exception -- catch
            when others then
              null;
        end;
        fnd_program.executable(v_Exec_Name -- executable
                              , 'SQLGL' -- application
                              , v_Exec_Name -- short_name
                              , 'Backend program - Reval Balances' -- description
                              , 'Spawned' -- execution_method
                              , 'GLCRVL' -- execution_file_name
                              , null -- subroutine_name
                              , null -- Execution File Path
                              , 'US' -- language_code
                              , null);
        commit;
        b_Continue := true;
        dbms_output.put_line('Registration of executable ' || v_Exec_Name || ' sucessful');
        exception
          when others then
            rollback;
            dbms_output.put_line('Registration error for executable ' || v_Exec_Name || ', ' || sqlerrm);
      end;
      if (b_Continue) then
        begin
          begin
            fnd_program.delete_program(v_Prg_Name, 'SQLGL');
            commit;
            dbms_output.put_line('program ' || v_Prg_Name || ' in SQLGL removed');
            exception -- catch
              when others then
                null;
          end;
          fnd_program.register ( program                        => 'Program - Revalue Balances (Backend)'
                                ,application                    => 'SQLGL'
                                ,enabled                        => 'Y'
                                ,short_name                     => v_Prg_Name
                                ,description                    => 'Revalue Balances'
                                ,executable_short_name          => v_Exec_Name
                                ,executable_application         => 'SQLGL'
                                ,execution_options              => null
                                ,priority                       => null
                                ,save_output                    => 'Y'
                                ,print                          => 'Y'
                                ,cols                           => null
                                ,rows                           => null
                                ,style                          => null
                                ,style_required                 => 'N'
                                ,printer                        => null
                                ,request_type                   => null
                                ,request_type_application       => null
                                ,use_in_srs                     => 'Y'
                                ,allow_disabled_values          => 'N'
                                ,run_alone                      => 'N'
                                ,output_type                    => 'TEXT'
                                ,enable_trace                   => 'N'
                                ,restart                        => 'N'
                                ,nls_compliant                  => 'Y'
                                ,icon_name                      => null
                                ,language_code                  => 'US'
                                ,mls_function_short_name        => null
                                ,mls_function_application       => null
                                ,incrementor                    => null);
          commit;
          dbms_output.put_line('Registration of program ' || v_Prg_Name || ' sucessful');
          exception
            when others then
              b_Continue := false;
              rollback;
              dbms_output.put_line('Registration error for program GL_REVAL ' || sqlerrm);
        end;
      end if;
      if (b_Continue) then
        begin
          fnd_program.remove_from_group(v_Prg_Name, 'SQLGL', 'GL Concurrent Program Group', 'SQLGL');
          dbms_output.put_line('program ' || v_Prg_Name || ' removed from group "GL Concurrent_Group" in SQLGL');
          commit;
          exception
            when others then
              rollback;
              null;
        end;
        begin
          fnd_program.add_to_group(v_Prg_Name -- program_short_name
                                 , 'SQLGL' -- application
                                 , 'GL Concurrent Program Group' -- Request Group Name
                                 , 'SQLGL'); -- Report Group Application
          commit;
          b_Continue := true;
          dbms_output.put_line('program, ' || v_Prg_Name || ', sucessfully added to group "GL Concurrent Program Group"');
          exception
            when others then
              b_Continue := false;
              rollback;
              dbms_output.put_line('Registration error for program ' || v_Prg_Name || ' in group' || sqlerrm);
        end;
      end if;
      begin
        if (b_Continue) then
          if (fnd_program.parameter_exists (v_Prg_Name, 'SQLGL', 'Set of Books ID') ) then
            fnd_program.delete_parameter(v_Prg_Name, 'SQLGL', 'Set of Books ID');
            commit;
            dbms_output.put_line('Parameter "Set of Books ID" removed');
          end if;
          if (fnd_program.parameter_exists (v_Prg_Name, 'SQLGL', 'Revaluation ID') ) then
            fnd_program.delete_parameter(v_Prg_Name, 'SQLGL', 'Revaluation ID');
            commit;
            dbms_output.put_line('Parameter "Revaluation ID" removed');
          end if;
          if (fnd_program.parameter_exists (v_Prg_Name, 'SQLGL', 'PERIOD') ) then
            fnd_program.delete_parameter(v_Prg_Name, 'SQLGL', 'PERIOD');
            commit;
            dbms_output.put_line('Parameter "PERIOD" removed');
          end if;
          if (fnd_program.parameter_exists (v_Prg_Name, 'SQLGL', 'EFFECTIVE_DATE') ) then
            fnd_program.delete_parameter(v_Prg_Name, 'SQLGL', 'EFFECTIVE_DATE');
            commit;
            dbms_output.put_line('Parameter "EFFECTIVE_DATE" removed');
          end if;
          if (fnd_program.parameter_exists (v_Prg_Name, 'SQLGL', 'RATE_DATE') ) then
            fnd_program.delete_parameter(v_Prg_Name, 'SQLGL', 'RATE_DATE');
            commit;
            dbms_output.put_line('Parameter "RATE_DATE" removed');
          end if;
          fnd_program.parameter (program_short_name            => v_Prg_Name
                                ,application                   =>  'SQLGL'
                                ,sequence                      => 10
                                ,parameter                     => 'Set Of Books ID'
                                ,description                   => null
                                ,enabled                       => 'Y'
                                ,value_set                     => 'GL_SRS_SET_OF_BOOKS'
                                ,default_type                  => 'S'
                                ,default_value                 => null
                                ,required                      => 'Y'
                                ,enable_security               => 'N'
                                ,range                         => null
                                ,display                       => 'N'
                                ,display_size                  => 30
                                ,description_size              => 50
                                ,concatenated_description_size => 25
                                ,prompt                        => 'Set Of Books'
                                ,token                         => '');
          dbms_output.put_line('Parameter "Set of Books ID" added');
          fnd_program.parameter (program_short_name            => v_Prg_Name
                                ,application                   =>  'SQLGL'
                                ,sequence                      => 20
                                ,parameter                     => 'Revaluation ID'
                                ,description                   => null
                                ,enabled                       => 'Y'
                                ,value_set                     => 'GL_SRS_REVAL_NAME'
                                ,default_type                  => 'S'
                                ,default_value                 => null
                                ,required                      => 'Y'
                                ,enable_security               => 'N'
                                ,range                         => null
                                ,display                       => 'Y'
                                ,display_size                  => 35
                                ,description_size              => 50
                                ,concatenated_description_size => 25
                                ,prompt                        => 'Revaluation'
                                ,token                         => '');
          dbms_output.put_line('Parameter "Revaluation ID" added');
          fnd_program.parameter (program_short_name            => v_Prg_Name
                                ,application                   =>  'SQLGL'
                                ,sequence                      => 30
                                ,parameter                     => 'PERIOD'
                                ,description                   => null
                                ,enabled                       => 'Y'
                                ,value_set                     => 'GL_SRS_REVAL_PERIOD'
                                ,default_type                  => null
                                ,default_value                 => null
                                ,required                      => 'Y'
                                ,enable_security               => 'N'
                                ,range                         => null
                                ,display                       => 'Y'
                                ,display_size                  => 15
                                ,description_size              => 50
                                ,concatenated_description_size => 25
                                ,prompt                        => 'Period'
                                ,token                         => '');
          dbms_output.put_line('Parameter "PERIOD" added');
          fnd_program.parameter (program_short_name            => v_Prg_Name
                                ,application                   =>  'SQLGL'
                                ,sequence                      => 40
                                ,parameter                     => 'EFFECTIVE_DATE'
                                ,description                   => null
                                ,enabled                       => 'Y'
                                ,value_set                     => 'GL_SRS_STANDARD_DATE'
                                ,default_type                  => 'S'
                                ,default_value                 => null
                                ,required                      => 'Y'
                                ,enable_security               => 'N'
                                ,range                         => null
                                ,display                       => 'Y'
                                ,display_size                  => 11
                                ,description_size              => 50
                                ,concatenated_description_size => 25
                                ,prompt                        => 'Effective Date'
                                ,token                         => '');
          dbms_output.put_line('Parameter "EFFECTIVE_DATE" added');
          fnd_program.parameter (program_short_name            => v_Prg_Name
                                ,application                   =>  'SQLGL'
                                ,sequence                      => 50
                                ,parameter                     => 'RATE_DATE'
                                ,description                   => null
                                ,enabled                       => 'Y'
                                ,value_set                     => 'GL_SRS_STANDARD_DATE'
                                ,default_type                  => 'A'
                                ,default_value                 => 'EFFECTIVE_DATE.VALUE'
                                ,required                      => 'N'
                                ,enable_security               => 'N'
                                ,range                         => null
                                ,display                       => 'Y'
                                ,display_size                  => 11
                                ,description_size              => 50
                                ,concatenated_description_size => 25
                                ,prompt                        => 'Rate Date'
                                ,token                         => '');
          dbms_output.put_line('Parameter "RATE_DATE" added');
          commit;
          dbms_output.put_line(' ');
          dbms_output.put_line('All parameters added sucessfully ');
          b_Continue := true;
        end if; -- if (b_Continue) then
        exception
          when others then
            rollback;
            b_Continue := false;
            dbms_output.put_line('Error adding parameters ');
      end;
      if (b_Continue) then
        dbms_output.put_line('All registration was sucessful');
      else
        dbms_output.put_line('Registration unsucessful');
      end if;
      exception
        when others then
          rollback;
          dbms_output.put_line('Registration Error ' || sqlerrm);
    end;
    show errI then ran a test using the following script, and it seems to work!!!
    set serveroutput on
    declare
      b_Set_NLS         boolean;
      b_Wait            boolean;
      n_Request_ID      number;
      p_Language        varchar2(20) := 'AMERICAN';
      v_Phase           varchar2(100);
      v_Status          varchar2(100);
      v_Dev_Phase       varchar2(100);
      v_Dev_Status      varchar2(100);
      v_Message         varchar2(100);
      FND_EXCEPTION     exception;
      v_FND_EXC         varchar2(50);
      v_Prg_Name        varchar2(20) := 'GL_REVAL';
    begin
      fnd_global.apps_initialize(1208, 50211, 101);
      fnd_program.enable_program(v_Prg_Name, 'SQLGL', 'Y');
      if not (fnd_program.executable_exists(v_Prg_Name, 'SQLGL') ) then
        v_FND_EXC := 'App ' || v_Prg_Name || ' does not exist';
        raise FND_EXCEPTION;
      end if;
      dbms_session.set_nls(param => 'nls_language'
                          ,value => p_Language);
      b_Set_NLS := fnd_submit.set_nls_options(p_Language);
      -- Test parameters
      n_Request_ID := fnd_request.submit_request( application => 'SQLGL'
                                                 ,program     => v_Prg_Name
                                                 ,description => 'Program - Revalue Balances (Backend)'
                                                 ,start_time  => ''
                                                 ,sub_request => false
                                                 ,argument1   => '2'
                                                 ,argument2   => '10060' --p_Revaluation_ID
                                                 ,argument3   => 'Oct-09' --p_Period
                                                 ,argument4   => '2009/10/31 00:00:00'
                                                 --,argument5   => p_Rate_Date
      if (n_Request_ID > 0) then
        commit;
        b_Wait := fnd_concurrent.wait_for_request(request_id => n_Request_ID
                                                 ,interval   => 60
                                                 ,max_wait   => 0
                                                 ,phase      => v_Phase
                                                 ,status     => v_Status
                                                 ,dev_phase  => v_Dev_Phase
                                                 ,dev_status => v_Dev_Status
                                                 ,message    => v_Message);
        v_FND_EXC := v_Dev_Status;
        if (v_Dev_Phase = 'COMPLETE') then
          case v_Dev_Status
            when 'WARNING' then
              raise FND_EXCEPTION;
            when 'ERROR' then
              raise FND_EXCEPTION;
            when 'NORMAL' then
              null;
            else
              v_FND_EXC := 'UNKNOWN';
              raise FND_EXCEPTION;
          end case;
        else
          v_FND_EXC := 'INCOMPLETE,' || v_Dev_Phase;
          raise FND_EXCEPTION;
        end if;
      end if;
      -- No Request ID has been returned by FND_REQUEST.SUBMIT_REQUEST or FND_SUBMIT.SUBMIT_SET
      if (n_Request_ID = 0) then
        v_FND_EXC := 'SUBMISSION FAILURE';
        raise FND_EXCEPTION;
      end if;
      dbms_output.put_line(v_Prg_Name || ' ran fine ');
    exception
      when FND_EXCEPTION then
        dbms_output.put_line('Request Exception, ' || v_FND_EXC);
      when others then
        v_FND_EXC := 'UNKNOWN';
        dbms_output.put_line(v_FND_EXC || ' ' || sqlerrm);
    end;
    /Cheers!
    P;

  • Error when defining a tax code

    Fi gurus
    when i am entering a new tax code value say'00' in the transaction omr2,I am getting a error message stating that 'Entry taxd 00 does not exist in t007a - Check ur entry'Could anybody help me out of this error.
    Thanking u in advance

    Hi,
    First check in
    IMG-FA-FA GS - Tax on sales & Purchase
    1. Check the calculation procedure - TAX<Country> E.g. for India - TAXIN
    2. Check whether the country has been assignmed to the calculation procedure
    3. Calculation - Define Tax codes for Sales / Pur - Enter country and enter tax codes (Tax Type: A: Output tax; v-Input Tax) and give Tax percent
    Save
    It should solve ur problem
    <i>Pls. assign points, if useful</i>
    Regards,
    sridevi

  • Error when define Transparent table

    Dear,
    When I create a transparent table in ABAP Dictionary, after fill Short Description, Delivery and Maintenance tab, I switch to Fields tab.
    When I fill the first field (e.g: name TEST), choose Data Element (e.g: S_CARR_ID) --> ABAP Dictionary recognize that: Data Type is CHAR, Length is 0, and Decimal Places is 0.
    But, actually, S_CARR_ID has Data Type is CHAR, Length is 3.
    So, ABAP dictionary notifies that Number of positions < minimum number (1) for data type CHAR. Then, I can't do anything except exit.
    How to fix the problem

    Hi Hannibal2011,
    I do exactly what you've done. I.e I filled TEST field with data element S_CARR_ID, nothing happy SAP shows Data type char with 3 character.
    I'm afraid that you define a Domain with fix value and forgot to fill 'No. Characters' in definition tab.
    please check and reply if any issue.
    regards,

  • Copy function errors when defining a range of fiscalyear/periods in variabl

    Hey Gurus,
    I'm trying to execute the copy function using two variables to copy from one fiscal year/period to another fiscal year/period.
    Two variables were created 'XXXXXX' = 001/2006 to 006/2006
    and 'YYYYYY' = 001/2007 to 006/2007.
    So in trying to copy plan data from  'XXXXXX' to 'YYYYYY', these variables are then defined in the paramter group. I get an error message stating that the variables can only be defined with single values.
    This has forced us to enter each fiscal year/period one by one in the parameter group.
    Has anyone come across this before, and can recommend a way around it instead of defining each fiscal year/period individually in the parameter group.
    thanks

    Hello Ehab,
    In your example, you were copying say 001/2006-007/2006 to 001/2007-007/2007.
    Using the above assumption, we observe that the periods are fixed but the years are not.
    We can therefore pass the from period as 001, to period as 007. From year as 2006 and to year as 2007.
    We are therefore passing only single values for each variable.
    In our foxcode, we can loop through each period and generate the new set of records for 2007.
    Hope this helps.
    Sunil
    PS: Assigning points is a way of saying thanks

  • Error when define non profit interest for partner

    Dear Experts,
    I've got an error message when I tried to assign interest type "2" for a partner within an equity group with t-code GJVV. The error mentioned : "No NPI Group for Equity Group XXXXXX(customer/partner number), therefore interest type 2 is not allowed".
    Has anyone ever encountered this error before? I really appreciate for your feedbacks.
    Thank you
    Best regards,
    Frans Sunarja

    Hi Chris,
    I am having the same issue. Did you manage to fix this?
    Thanks,
    Milind

Maybe you are looking for