BPS: Rescheduling lead to invalid values

Dear Experts:
I've created an exit function that fills a variable that calculates the year (0fiscyear) according to a date in a Z table. The function works well. The problem is when I use it in a couple of layouts. The first layout shows annual values, the second layout opens dinamically from month 1 to 12. Both layouts uses the variable, and both are in the same folder.
When I select any of the layouts, there's no problem, BUT when I´ve opened the second layout and then try to open the first layout, it gives me an error message: "Rescheduling lead to invalid values" and no other infomation. The number of the error message is UPC230.
Does anyone have a solution? Please, help me.
Thanks in advance.
Pablo.

I've created another exit function and it solved this problem.
Thanks!

Similar Messages

  • Calling report from FORM - error Invalid value of paramente 'P_YEAR'

    Hi guys,
    Could you please help me to figure out what is going wrong
    with my form which run a report?
    I am using Developer suite 10g.
    when i run report from report application it run fine,
    but when i call that report from a form it gives me error.
    I have checked the datatype, checked the parameter value
    that I assign from form is available in the report parameter value.
    What else do i have to check in order to run this report
    from the form.
    Error Message from Report Queue Manager:
    Invalid value for parameter 'P_YEAR'.
    Your insight will be appreciated.

    Thank you for reply Denis,
    Here is the code which run_report from form.
    DECLARE
    -- variables for running individual reports
    report_filename               VARCHAR2(40);
    var_reportpath               VARCHAR2(100);
    report_otherparms      VARCHAR2(200);
    -- variables to keep track of successful reports in silent mode
    rep_status                         VARCHAR2(40);
    rep_req                                   NUMBER := 0;
    rep_count                              NUMBER := 0;
    dummy                                        NUMBER;
    -- variables to load the report names and checkboxes into the parameter list
    pl_id                                        PARAMLIST;
    plname                                   VARCHAR2(20) := 'rpt_list';
    -- variables to loop through the parameter list and run the reports
    i                                                  NUMBER;
    split_loc                              NUMBER;
         param_value                         VARCHAR2(40);
         checkbox_name                    VARCHAR2(40);
         report_basename               VARCHAR2(40);
         svc_name                              VARCHAR2(4);
         run_report                         BOOLEAN;
         disp_exist BOOLEAN := get_current_service_count( :global.filename_prefix, 'DISP',
                        :reports_control.year_list, :reports_control.quarter_list,
                        :reports_control.group_list );
    hosp_exist BOOLEAN := get_current_service_count( :global.filename_prefix, 'HOSPICE',
                        :reports_control.year_list, :reports_control.quarter_list,
                        :reports_control.group_list );
    orth_exist BOOLEAN := get_current_service_count( :global.filename_prefix, 'O/P',
                        :reports_control.year_list, :reports_control.quarter_list,
                        :reports_control.group_list );
    BEGIN
    -- Are any reports selected?
    IF BOXES_ARE_CHECKED(:System.Cursor_Block,'PRINT_NULL_REPORT') THEN
    if not CHECKBOX_CHECKED('print_null_report') then
    disp_exist := TRUE;
    orth_exist := TRUE;
    hosp_exist := TRUE;
    end if;
    -- Create Report Parameter Listing
    pl_id := GET_PARAMETER_LIST(plname);
    if NOT ID_NULL(pl_id) then
         DESTROY_PARAMETER_LIST(pl_id);
    end if;
    pl_id := CREATE_PARAMETER_LIST(plname);
    if ID_NULL(pl_id) then
         GENERIC_ALERT('Error creating report listing');
         RAISE Form_Trigger_Failure;
    end if;
    ADD_PARAMETER(pl_id,'id1', TEXT_PARAMETER,'cover_page_intro!INTRO');
    ADD_PARAMETER(pl_id,'id2', TEXT_PARAMETER,'utilization_profile!ALLUTIL');
    ADD_PARAMETER(pl_id,'id3', TEXT_PARAMETER,'utilization_summary!ALL_SUMMARY');
    ADD_PARAMETER(pl_id,'id4', TEXT_PARAMETER,'hiv_profile!HIV_PROFILE');
    ADD_PARAMETER(pl_id,'id5', TEXT_PARAMETER,'wound_care_profile!WOUND_CARE_PROF');
    ADD_PARAMETER(pl_id,'id6', TEXT_PARAMETER,'top_10_diagnosis!TOP10DIAG');
    ADD_PARAMETER(pl_id,'id7', TEXT_PARAMETER,'diagnosis_profile!DIAG_PROFILE');
    ADD_PARAMETER(pl_id,'id8', TEXT_PARAMETER,'physician_profile!PHYS_PROFILE');
    ADD_PARAMETER(pl_id,'id9', TEXT_PARAMETER,'physician_specialty!PHYS_SPECIALTY');
    ADD_PARAMETER(pl_id,'id10',TEXT_PARAMETER,'discharge_profile!DISCHARGE_PROFILE');
    ADD_PARAMETER(pl_id,'id11',TEXT_PARAMETER,'acute_care_discharge!ACUTE_DSCHRG');
    ADD_PARAMETER(pl_id,'id12',TEXT_PARAMETER,'excessive_cost_patients!EXCESSIVE_COST');
    ADD_PARAMETER(pl_id,'id13',TEXT_PARAMETER,'provider_profile!PROV_PROFILE');
    ADD_PARAMETER(pl_id,'id14',TEXT_PARAMETER,'service_profile!SERVICE_PROFILE');
    ADD_PARAMETER(pl_id,'id15',TEXT_PARAMETER,'age_gender_profile!AGE_GENDER_PROF');
    ADD_PARAMETER(pl_id,'id16',TEXT_PARAMETER,'network_services!NETWORK_SERVICES');
    ADD_PARAMETER(pl_id,'id17',TEXT_PARAMETER,'thh_section_header!THH_COVER');
    ADD_PARAMETER(pl_id,'id18',TEXT_PARAMETER,'thh_utilization!THH_UTILIZATION');
    ADD_PARAMETER(pl_id,'id19',TEXT_PARAMETER,'thh_service_profile!THH_SVC_PROF');
    ADD_PARAMETER(pl_id,'id20',TEXT_PARAMETER,'hit_section_header!HIT_COVER');
    ADD_PARAMETER(pl_id,'id21',TEXT_PARAMETER,'hit_utilization!HIT_UTILIZATION');
    ADD_PARAMETER(pl_id,'id22',TEXT_PARAMETER,'hit_service_profile!HIT_SVC_PROF');
    ADD_PARAMETER(pl_id,'id23',TEXT_PARAMETER,'hme_section_header!HME_COVER');
    ADD_PARAMETER(pl_id,'id24',TEXT_PARAMETER,'hme_utilization!HME_UTILIZATION');
    ADD_PARAMETER(pl_id,'id25',TEXT_PARAMETER,'hme_service_profile!HME_SVC_PROF');
    ADD_PARAMETER(pl_id,'id26',TEXT_PARAMETER,'disp_section_header!DISP_COVER');
    ADD_PARAMETER(pl_id,'id27',TEXT_PARAMETER,'disp_utilization!DISP_UTILIZATION');
    ADD_PARAMETER(pl_id,'id28',TEXT_PARAMETER,'disp_service_profile!DISP_SVC_PROF');
    ADD_PARAMETER(pl_id,'id29',TEXT_PARAMETER,'hosp_section_header!HOSP_COVER');
    ADD_PARAMETER(pl_id,'id30',TEXT_PARAMETER,'hosp_utilization!HOSP_UTILIZATION');
    ADD_PARAMETER(pl_id,'id31',TEXT_PARAMETER,'hosp_service_profile!HOSP_SVC_PROF');
    ADD_PARAMETER(pl_id,'id32',TEXT_PARAMETER,'orth_section_header!ORTH_COVER');
    ADD_PARAMETER(pl_id,'id33',TEXT_PARAMETER,'orth_utilization!ORTH_UTILIZATION');
    ADD_PARAMETER(pl_id,'id34',TEXT_PARAMETER,'orth_service_profile!ORTH_SVC_PROF');
    ADD_PARAMETER(pl_id,'id35',TEXT_PARAMETER,'encounter_detail!ENCOUNTER_DETAIL');
    --- set up other parameters to send to generate_report
    if :reports_control.output_choices = 'FILE' then
    var_reportpath := :global.report_directory || :reports_control.year_list;
    if :global.filename_suffix <> '_A10G' then
         var_reportpath := var_reportpath || 'q' || :reports_control.quarter_list;
    end if;
    var_reportpath := var_reportpath || '_G' || :reports_control.group_list || '_';
    else
         var_reportpath := '';
    end if;
    report_otherparms := 'p_year='||:reports_control.year_list;
    if :global.filename_suffix <> '_A10G' then
         report_otherparms := report_otherparms || '     p_quarter='||:reports_control.quarter_list;
    end if;
    report_otherparms := report_otherparms || ' P_REPORTGROUPID='||:reports_control.group_list;
    --- Check if reports are checked and submit to Reports Server
         for i in 1..35 loop
              GET_PARAMETER_ATTR(pl_id,'id'||i,dummy,param_value);
              split_loc := instr(param_value,'!');
              checkbox_name := substr(param_value,1,split_loc-1);
              report_basename := substr(param_value,split_loc+1,length(param_value));
    if CHECKBOX_CHECKED(checkbox_name) then
         run_report := TRUE;
         svc_name := substr(report_basename,1,4);
         if svc_name = 'DISP' then
              if not disp_exist then
                   run_report := FALSE;
              end if;
         elsif svc_name = 'ORTH' then
              if not orth_exist then
                   run_report := FALSE;
              end if;
         elsif svc_name = 'HOSP' then
              if not hosp_exist then
                   run_report := FALSE;
              end if;
         end if;
         if run_report then
              report_filename := :global.filename_prefix || report_basename || '_10G';---- :global.filename_prefix || report_basename || :global.filename_suffix;
         GENERIC_ALERT(report_filename || ' ' || report_otherparms);
              rep_status := GENERATE_REPORT(report_filename,:reports_control.output_choices,var_reportpath,report_otherparms);
              rep_req := rep_req + 1;
              if rep_status = 'FINISHED' then
                   rep_count := rep_count + 1;
              end if;
         end if;
         end if;
         end loop;
    -- if we're in silent mode, display a completion message
         if :reports_control.output_choices = 'FILE' and CHECKBOX_CHECKED('chk_silent') then
              SET_ALERT_PROPERTY('REPORT_CREATED',alert_message_text,
         '' || rep_count || ' of ' || rep_req || ' reports created successfully');     
              dummy := SHOW_ALERT('REPORT_CREATED');
    end if;
    ELSE
    dummy := SHOW_ALERT('select_report');
    END IF;
    END;

  • Invalid value for variable 0calyear in planning modeller

    Hi Experts,
    I have an urgent requirement. In my planning modeller I have a variable for 0calyear for accepting current year and target year. If I give target year(for example, 2015) which is not present in 0calyear it is showing error that 2015 is an invalid value for 0calyear. If I give 2012 it is working fine because it is already present in 0calyear.
    I would like to know how we can solve this issue. To forecast data anyway we have to enter a future year. I would really appreciate if anyone could give some information to solve the issue.
    Thanking you,
    Jerry.

    Hi Jerry,
    Just a thought.
    Can you load a flat file data with year values into a DSO with 0CALYEAR as key? ( SID generation as active ).
    What I am expecting is this flat file load will generate SIDs for 0CALYEAR in future year as well.
    Subsequently if you try to enter that in your planning variable it should work.
    I understand this is not a perfect solution. But want you to try and adopt if this is a reasonable work around.
    Thanks,
    Krishnan

  • SQLJ-JPublisher - J2T-153, Invalid value for -context:while generating the

    Hi All,
    I am trying to generate the java code for the oracle types defined for one of the module in our project.for that i have defined a new context by extending the 'DefaultContext'
    provided by SQLJ and as mentioned in the below URL.
    http://docs.oracle.com/cd/A91202_01/901_doc/java.901/a90214/jpub.htm
    Topic : JPublisher Generation of SQLJ Classes
    MyContext:-
    import java.sql.Connection;
    import java.sql.SQLException;
    import sqlj.runtime.ref.DefaultContext;
    public class MyContext extends sqlj.runtime.ref.DefaultContext{
    static {
    DefaultContext defaultContext = null;
    try {
    defaultContext = new DefaultContext(<datasource>);
    } catch (SQLException e) {
    // TODO Auto-generated catch block
    e.printStackTrace();
    DefaultContext.setDefaultContext(defaultContext);
    public MyContext(Connection arg0) throws SQLException {
    super(arg0);
    public Connection getConnection(){
    Connection con = null;
    try {
    con = <datasource>getConnection();
    } catch (SQLException e) {
    // TODO Auto-generated catch block
    e.printStackTrace();
    return con;
    JPub command:
    jpub -user=usr/pwd -context=com.test.context.MyContext -sql=<My Types Here> -compile=false
    I am getting the below error while running the jpub command in dos prompt.
    Error Log:
    J2T-153, Invalid value for -context: com.test.context.MyContext. This must be set to generated or to DefaultContext.
    Please let me know if anybody has come across this problem before.
    Thanks,
    Vijay
    Edited by: 905698 on 03-Jan-2012 09:53

    Hi Vijay,
    This post DOES NOT correspond to this forum.
    The current forum is for BI Publisher. Your question is for JPublisher and believe it corresponds to PL/SQL forums.
    Please close the thread
    thanks
    Jorge

  • I am trying to export the combained PDF based on BOOK opetion using below scripts. but i am getting following error message "Invalid value for parameter 'to' of method 'exportFile'. Expected File, but received 1952403524". anyone knows, please suggest me

    Dear ALL,
    i am trying to export the combained PDF based on BOOK opetion using below scripts. but i am getting following error message "Invalid value for parameter 'to' of method 'exportFile'. Expected File, but received 1952403524". anyone knows, please suggest me solutions.
    var myBookFileName ,myBookFileName_temp;
                    if ( myFolder != null )
                            var myFiles = [];
                            var myAllFilesList = myFolder.getFiles("*.indd");    
                            for (var f = 0; f < myAllFilesList.length; f++)
                                        var myFile = myAllFilesList[f]; 
                                        myFiles.push(myFile);
                            if ( myFiles.length > 0 )
                                        myBookFileName = myFolder + "/"+ myFolder.name + ".indb";
                                        myBookFileName_temp=myFolder.name ;
                                        myBookFile = new File( myBookFileName );
                                        myBook = app.books.add( myBookFile );  
                                       myBook.automaticPagination = false;
                                        for ( i=0; i < myFiles.length; i++ )
                                                   myBook.bookContents.add( myFiles[i] );             
                                        var pdfFile =File(File(myFolder).fsName + "\\"+myBookFileName_temp+"_WEB.pdf");
                                        var bookComps = myBook.bookContents;
                                        if (bookComps.length === 1)
                                                       bookComps = [bookComps];
                                         var myPDFExportPreset = app.pdfExportPresets.item("AER6");
                                        app.activeBook.exportFile(ExportFormat.PDF_TYPE,File("D:\\AER\\WEBPDF.pdf"),false,myPDFEx portPreset,bookComps);
                                      //myBook.exportFile (ExportFormat.pdfType, pdfFile, false);
                                      //myBook.exportFile(pdfFile, false, pdfPref, bookComps);
                                        myBook.close(SaveOptions.yes);      

    Change the below line:
    app.activeBook.exportFile(ExportFormat.PDF_TYPE,File("D:\\AER\\WEBPDF.pdf"),false,myPDFExp ortPreset,bookComps);
    to
    app.activeBook.exportFile(ExportFormat.PDF_TYPE,File("D:\\AER\\WEBPDF.pdf"),false,myPDFExp ortPreset);
    Vandy

  • REP-2103: PL/SQL formula returned invalid value or no value

    Hi all,
    Before clone the report GEPS FA Prepare Mass Addition Report runs fine. But after cloned from production, it shows error:
    Enter Password:
    REP-0004: Warning: Unable to open user preference file.
    REP-2103: Column 'G_MASS_ADDITION_INVOICE' : PL/SQL formula returned invalid value or no value.
    REP-0069: Internal error
    REP-57054: In-process job terminated:Terminated with error:
    REP-2103: Column 'G_MASS_ADDITION_INVOICE' : PL/SQL formula returned invalid value or no value.
    Actually I didn't have such column 'G_MASS_ADDITION_INVOICE'. This is a group name. I tried a lot, such as widden the formula column width or delete the formula column, but it still show this error. I didn't have any trigger or other formula column. Even I create a new report use the same name with a single query( select sysdate from dual), but it still shows the same error.
    Is there anyone faced this issue before or can help me ? Thanks
    ares
    Edited by: 930967 on Jun 13, 2012 12:46 AM

    Hi;
    Please see:R12 GL Account Balances Across Ledgers (GLRGCBGT) Report Errors With: REP-0004 MSG-00025 MSG-00104 MSG-01221 REP-2103 REP-0069 REP-57054, Program Exited With Status 1 [ID 1316929.1]
    Regard
    Helios

  • Invalid value in OPTION field of value table for IN itab operator. operato

    Hi,
    I am working on SELECT-OPTIONS to accept single and multiple values for company code. I am using CREATE_RANGE_TABLE and ADD_SELECTION_FIELD and all is good but I was prompted with error "Invalid value in OPTION field of value table for IN itab operator. operator"  when I enter 2 single value.
    SIGN OPTION LOW  HIGH
        |      |CN01|    |
        |      |SG02|    |
    However, below combinations working good for me and I don't get the above error.
    SIGN OPTION LOW  HIGH
    I   |BT   |CN01|CN02|
         |     |SG02|    |
    SIGN OPTION LOW  HIGH
         |     |SG02|    |
    I am using below coding.
      DATA:
        ls_cmp_restrictions TYPE if_wd_select_options=>t_complex_restrictions,
        ls_rsoptions        TYPE rsoptions.
      CLEAR ls_rsoptions.
      ls_rsoptions-bt = abap_true.
      ls_rsoptions-cp = abap_false.
      ls_rsoptions-eq = abap_true.   " for enable only single value*
      ls_rsoptions-ge = abap_false.
      ls_rsoptions-gt = abap_false.
      ls_rsoptions-le = abap_false.
      ls_rsoptions-lt = abap_false.
      ls_rsoptions-nb = abap_false.
      ls_rsoptions-ne = abap_false.
      ls_rsoptions-np = abap_false.
      ls_cmp_restrictions-m_exclude = ls_rsoptions.
      CLEAR ls_rsoptions .
      ls_rsoptions-bt = abap_true.
      ls_rsoptions-cp = abap_false.
      ls_rsoptions-eq = abap_true.   " for enable only single value*
      ls_rsoptions-ge = abap_false.
      ls_rsoptions-gt = abap_false.
      ls_rsoptions-le = abap_false.
      ls_rsoptions-lt = abap_false.
      ls_rsoptions-nb = abap_false.
      ls_rsoptions-ne = abap_false.
      ls_rsoptions-np = abap_false.
      ls_cmp_restrictions-m_include = ls_rsoptions.
    * Create a reference to range table
      lr_field = wd_this->m_helper->create_range_table( `BUKRS` ).
    * Add the select-option to the group
      wd_this->m_helper->add_selection_field(
        i_id                         = `BUKRS`
        i_value_help_structure       = 'P0001'
        i_value_help_structure_field = 'BUKRS'
        it_result                    = lr_field
        i_no_intervals               = abap_true
        i_no_extension               = abap_false
        i_complex_restrictions       = ls_cmp_restrictions
        i_use_complex_restriction    = abap_true ).
      FREE lr_field.
    Edited by: Girish Nabar on Jul 22, 2011 12:35 PM

    Hi Girish,
    People are answering not for points, just to share the knowledge.
    And I think the way of structure is wrong.  i think we cannot pass two single values in your way. am not sure about .
    low means it will accept single value. for one record in sign structure.
    wait for other replys.
    Regards
    Srinivas

  • Error  Parameter WI_ID contains an invalid value  in webdynpro abap

    Hi Experts,
    i am working with webdynpro abap and using work flow in my component , here i am getting error and the error is
    Parameter WI_ID contains an invalid value .
    its showing the error in windows parameter : wi_id  and the wi_id is type sww_wiid
    and the same parameter i am using in application parameter .
    can u suggest me how to use this parameter wi_id in window parameter and application parameter and what the type should be for wi_id parameter.and what the value should be for application parameter wi_id.
    her i am giving the complete error  details.
    please give me the requried information if u porvided screen that will be very useful
    The following error text was processed in the system RD1 : Parameter WI_ID contains an invalid value .
    The error occurred on the application server S0164SAPDEV2_RD1_00 and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: HANDLESTART of program /1BCWDY/BP6P95H8W6B71I7VVRPR==CP
    Method: IF_WDR_VIEW_DELEGATE~WD_INVOKE_EVENT_HANDLER of program /1BCWDY/BP6P95H8W6B71I7VVRPR==CP
    Method: INVOKE_EVENTHANDLER of program CL_WDR_DELEGATING_IF_VIEW=====CP
    Method: DISPLAY_TOPLEVEL_COMPONENT of program CL_WDR_CLIENT_COMPONENT=======CP
    Method: INIT of program CL_WDR_CLIENT_APPLICATION=====CP
    Method: IF_WDR_RUNTIME~CREATE of program CL_WDR_MAIN_TASK==============CP
    Method: HANDLE_REQUEST of program CL_WDR_CLIENT_ABSTRACT_HTTP===CP
    Method: IF_HTTP_EXTENSION~HANDLE_REQUEST of program CL_WDR_MAIN_TASK==============CP
    Method: EXECUTE_REQUEST_FROM_MEMORY of program CL_HTTP_SERVER================CP
    Function: HTTP_DISPATCH_REQUEST of program SAPLHTTP_RUNTIME
    Thanks & Regards.
    khanna

    Hi Nawal Kishor Mittal,
    thanks for the reply,
    i have given the application parameter wi_id with type string also but in 120 client (development) is working fine. when i test in 130 client( testing) its going to dump.
    what should be given to application value i given parameter wi_id and what the value should be there.
    waiting for reply.
    Thanks & Regards.
    Khanna.

  • ORA-48108: invalid value given for the diagnostic_dest init.ora parameter

    Hi All,
    I am trying to start my oracle 11g database on windows 7 PC and i am getting below exception
    SQL> startup mount
    ORA-48108: invalid value given for the diagnostic_dest init.ora parameter
    ORA-48140: the specified ADR Base directory does not exist [d:\oracle\app\product\11.2.0\dbhome_1\database\<oracle_base>]
    ORA-48187: specified directory does not exist
    OSD-00002: additional error information
    O/S-Error: (OS 123) The filename, directory name, or volume label syntax is incorrect.
    SQL>
    Earlier it was working fine. For learning purpose, i have created spfile using pfile and after that i got this issue.
    Please help.
    Regards,
    Sunil

    sunil907 wrote:
    Hi,
    I have provided diagnostic_dest folder location (physical path). Now i am getting some different kind of error on startup.
    SQL> startup
    ORACLE instance started.
    Total System Global Area 1068937216 bytes
    Fixed Size                  2182592 bytes
    Variable Size             616563264 bytes
    Database Buffers          444596224 bytes
    Redo Buffers                5595136 bytes
    ORA-00205: error in identifying control file, check alert log for more info
    Please help
    What does your own research of 'ORA-00205' indicate?
    the text of the error message is pretty self explanatory .. it couldn't find the control file.
    The control files are specified by the "control_files"  initialilzation paramter.  When you get this error, the instance has started but was unable to mount the control file.  since the init file (spfile) was processed and the instance started you can easily see what it thinks are the control files.
    oracle:fubar$ sqlplus / as sysdba
    SQL*Plus: Release 11.2.0.1.0 Production on Tue Jul 16 12:51:37 2013
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    Connected to an idle instance.
    SQL> startup
    ORACLE instance started.
    Total System Global Area  835104768 bytes
    Fixed Size                  2217952 bytes
    Variable Size             490735648 bytes
    Database Buffers          339738624 bytes
    Redo Buffers                2412544 bytes
    ORA-00205: error in identifying control file, check alert log for more info
    SQL> show parameter control
    NAME                                 TYPE        VALUE
    control_file_record_keep_time        integer     7
    control_files                        string      /u01/app/oracle/oradata/FUBAR/
                                                     controlfile/o1_mf_8ybx4t7w_.ct
                                                     x, /u01/app/oracle/flash_recov
                                                     ery_area/FUBAR/controlfile/o1_
                                                     mf_8ybx4tom_.ctl
    control_management_pack_access       string      NONE
    SQL>
    So what did you do in fixing your original problem that caused your control_files parameter to go south?

  • Invalid value for parameter error when value is in list of allowed parameters

    I have some documents with a lot of paragraph styles that have been organized into groups. I have a simple script that is meant to ungroup these styles and delete the now-empty groups.
    Code:
    #target indesign
    var myDoc = app.activeDocument;
    if (myDoc.paragraphStyleGroups.length > 0)
        myDoc.paragraphStyleGroups.everyItem().paragraphStyles.everyItem().move(LocationOptions.AT_END, myDoc);
        myDoc.paragraphStyleGroups.everyItem().remove();
    alert("Done")
    The error I receive is (emphasis mine):
    JavaScript Error!
    Error Number: 30477
    Error String: Invalid value for parameter 'reference' of method 'move'. Expected ParagraphStyle, ParagraphStyleGroup, CharacterStyle, CharacterStyleGroup, CellStyle, CellStyleGroup, TableStyle, TableStyleGroup, Document or Application, but received Document.
    As you can see, my pickle is that my value is of an allowed type. This only happens in some documents, and there's nothing that obviously distinguishes those documents from the ones in which it works.
    One thing I've noticed is that the error sometimes takes a while to appear (a minute or so), but none of the styles have been moved once I click OK. So, I don't know if it's specific to one style. I doubt it, only because other documents with the same style set work.
    Can anyone shed any light on what this error could mean in this context? I definitely have an activeDocument, so what could cause a Document to not be a Document?
    Any help much appreciated!

    Hi,
    It occurs when 2 or more styles have the same name, probably.
    Jarek

  • Simple type invalid value

    I have a form with a date field (using a simple type).  When I enter a text string into this field and try to save, I get an invalid context value error message for that field - as expected.  However, when I try to cancel the form, it does nothing until I clear out the invalid value for that field.  I mean the action handler for the buttons actually do not get fired.  Any ideas on how to handle this?
    -Dave

    Is the action behind the "Cancel" button a "validating" action?
    For the difference, see the article
    <a href="
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/usage%20of%20validating%20and%20non-validating%20actions.pdf
    ">https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/usage%20of%20validating%20and%20non-validating%20actions.pdf</a>
    Armin

  • Need help in clearing an invalid value entered in an inputLOV popup.

    Hi
    I am using the JDeveloper Studio Edition Version 11.1.1.1.0
    Our application uses the Springs Framework with ADF. We used an af:inputListOfValues component coupled with a disabled af:inputText component to make it like a name-value pair. As soon as you enter a valid value in the inputLOV component and tab out, the description corresponding to it will be populated(partial trigger) in the disabled inputText component. There is an inputListOfValues model object in our backing bean which feeds the list of values to choose from.
    When we enter an invalid value in the lov and tab out, the popup with all the possible values comes up, which is correct and expected. Now, when the user clicks on "Cancel" in the popup, we are supposed to clear the invalid value entered in the lov component. We tried all possible approaches known to use including AOP(Aspect Oriented Programming) to intercept the call when the user clicks on the "Cancel" button but we just could not make it work.
    Does anyone know if a way to clear the entered value upon clicking cancel?
    Please let me know if more details are required about our implementation to answer my question.
    Thanks,
    Manoj

    Godwin wrote:
    when ever the Schema is updated the table should not get affected.. Is there a way to solve my problem.. If you change the XML schema associated with the table, then old data won't be valid anymore : how do you want to deal with that?
    Besides, you chose to create the table with Object-Relational storage, you have to understand how it works.
    When you register the schema with genTypes = true, Oracle creates a set of object types that map the XML structure to SQL.
    In this case, old data will not only be invalid but also won't fit in the new structure.
    Do you just need a table for storing valid XML documents according to the current schema?
    If that is so, maybe unstructured CLOB storage is best suited here, with a trigger to validate new rows inserted.
    See this thread for an overview of schema validation : {thread:id=416458}
    And of course, Oracle documentation :
    http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14259/xdb05sto.htm#ADXDB0600
    For specific questions about XML DB (schema validation, types of storage etc.), you can post here : {forum:id=34}

  • Unplanned delivery cost will lead to negative value

    Hi everyone,
    i have this issue.  I m trying to cancel an incoice document from MR8M.When i do that i get a message: No m8281, unplanned delivery cost will lead to negative value.
    Can someone help me with this? what do i need to do?
    Regards

    Hi,
    This problem is caused by a program error.
    Refer the notes 1377622, 992146
    You use transaction MIRO "Enter Incoming Invoice" to enter an invoice that has a reference to a purchase order. Based on your Customizing settings, the unplanned delivery costs are distributed to the individual items.
    1. You enter negative unplanned delivery costs on the "Details" tab page. The negative unplanned delivery costs lead to a negative invoice amount.
                  The system does not issue error message M8 281 "Unplanned delivery costs will lead to negative value".
                  Negative invoice values (EKBE-WRBTR, EKBE-DMBTR) are written in the purchase order history. This results in an error in transaction MCE7 "Material Analysis (PURCHIS): Selection".
    2. You post a subsequent credit. You enter unplanned delivery costs on the "Details" tab page. The unplanned delivery costs lead to a negative total invoice amount.
                  The system does not issue error message M8 281 "Unplanned delivery costs will lead to negative value".
                  The negative total invoice amount (the total of EKBE-WRBTR or EKBE-DMBTR) leads to an unexpected distribution of unplanned delivery costs for the next invoice document.
    (SAP Customizing Implementation Guide -> Materials Management -> Logistics Invoice Verification -> Incoming Invoice -> Configure How Unplanned Delivery Costs Are Posted)
    Other terms
    Negative, delivery costs (DLC), bnkan_fw, rewwr, M8 281, rewrt
    Reason and Prerequisites
    This problem is caused by a program error.
    Solution
    The Support Package for Releases 4.70, 5.00, 6.00, 6.02, 6.03 and 6.04 corrects this error.
    Advance correction: implement the correction instructions.
    Header Data

  • DRG-10705: invalid value 149 for attribute TYPE_ID

    When doing a call to the procedure ctx_report.index_stats on one of my index, I get a DRG-1075 and the procedure fails. I don't think it is data related because I can reproduce the error on multiple databases with different datasets. It is specific to the index I am analyzing though, I don't have the error on another domain index. A rebuild did not help.
    There is nothing in metalink or elsewhere about that error, I don't really understand it.
    If someone has a clue, it is welcome
    ERROR at line 1:
    ORA-20000: Oracle Text error:
    DRG-10705: invalid value 149 for attribute TYPE_ID
    ORA-06512: at "CTXSYS.DRUE", line 160
    ORA-06512: at "CTXSYS.CTX_REPORT", line 534
    ORA-06512: at line 4
    Regards,
    Pierre

    Thanks a lot for the answer, I have been under pression because of deadlines but I'll focus on this problem next week.
    We have a serious performance issue with a text index on a XMType column (the index is very big one, 14G). The only way to get decent performance is to pin the DR$ I table in memory, but I had a bad surprise : when one do a ctx_ddl.optimize_index with rebuild the index becomes much bigger (from 14G to 18G) and so it does not fit in the keep cache anymore. A rebuild or a drop/create put back the index to the original size. I suspect that some storage options are changed but could not understand which. I'll do a test case and post it on this forum.
    That's why I wanted the ctx_report.analyze_index but it fails (even when the base table is truncated, so you might be right, there could be a leftover from a previous index). I'll set-up a test case with a freshly created database.
    The product manager, Richard Ford, wrote a white paper about putting the index in the keep cache, it makes a very big difference for us. But I think it should be adapted to the Oracle 12c case (with separate offset and BIG_IO for example).
    I'll post the test case asap, thanks already for pointing me to the right direction.
    Pierre

  • Invalid value in supportedLanguages

    Hello
    I've tryed to build iOS app with such tag: <supportedLanguages>en ru uk</supportedLanguages>, and got an error 105: "application.supportedLanguages contains an invalid value". The problem is in "uk" tag, which is representing ISO 639-1 code for Ukrainian language. In the official documentation I've founded this text: "Valid language values are ISO 639‑1 values for the languages supported by the AIR runtime: en, de, es, fr, it, ja, ko, pt, ru, cs, nl, pl, sv, tr, zh.". Is there any way to add unsupported localization tag into my build?
    P.S. Sorry for my English.

    I think the purpose of only listing these locales is that this directly coorelates to the 15 locales that the AIR captive runtime has localized internally (see an AIR SDK and browse to the AIR framework resources folders)
    Whether the XML Schema is the validator for the allowed supported locales is also something you could test.
    Look at the AIR SDK, and the templates/air/Descriptor-3.8.xsd etc...
    Even if you did manually modify this .xsd to add other AIR non-localized locales so some validation would pass, you would have to test
    1) whether it would work
    2) whether the AIR runtime would try to look for this localized resource files for 'uk' and cause a failure at runtime (or maybe silently fail and fallback to 'en') internally.
    It is also possible there is some other internal place where valid locales are checked, and just changing the included templates/air/Descriptor.3.8.xsd isn't enough

Maybe you are looking for

  • Borderless image, scriptable

    I'm pessimistic about this at my skill/knowledge level, and (unless Applescript is able to do some things I'm not expecting) it has to do with Applescript in only a peripheral way. But I'll ask anyway. Briefly, I'm looking for a way of opening an ima

  • Calling WD application in SAPGUI of other R/3 (non-WDA) system

    Hi, We have WD application in CRM system. We want to call this application in R/3 system (which is not upgraded to WDA). We don't want to call in web-browser bcoz we are calling GUI transaction from the WD application. I tried this by creating a RFM

  • Creating service contract from OM

    Hi, We have tried creating service contracts from OM in 11.5.10. Can we create service contracts from OM in 11.5.9? Any pointers where i can confirm this? Thanks, Sid.

  • Ipod not correctly measuring distance

    About 3 weeks ago I began having a problem with the Nike+ system not correctly logging my milage. I typically run about 7:40 mile, but recently it has been clocking my runs between 10 & 12 minute miles. I went to a track near my house to calibrate th

  • Status in order management

    hi when i read the oracle material i saw these many statuses in header and lines of order management.I request some one in this forum to explain when each statuses occurs or give us some link for reference. The below is the list Order Header Statuses