Other Delete Business Rule Problem

Hello everybody
I have a problem with Oher delete business rules and the problem is for getting rowid for a deleted row and it causes ther error : no data found.
I solved this problem in this way
qms_transaction_mgt.process_rule_violation
( p_br_name => 'BR_TEAM004_DEL'
, p_msg_code => 'MS-00184'
, p_display_label => display_label
, p_table_name => 'ms_teams'
, p_table_rowid => null /* get_rowid */
In fact, I use null instead of get_rowid for this kind of rull. Is it a good way? Have every body any better way?
Thanks
Hassan

Hassan,
This is a known bug in the original Headstart 6i release. This bug was corrected in Headstart Patch 6.5.2.1 which is available via the Headstart Supplement Option. The Supplement Option can be purchase via your local consulting organization or the Oracle store. You will be given access to a portal from which you can download patches.
Regards,
Lauri

Similar Messages

  • Business Rule - Problem with Validation Execution

    I'm running into an issue where conditional Validation Execution is not working as expected. The background is that i have an Entity Object containing a few string attributes on which i must apply Regular Expression business rules to make sure only characters in a certain range is set. I am using a Not Matches regex on the following:
    .*[^\u0020-\uD7FF].*1 attribute is required, 2 are optional. The problem I am experiencing is with the 2 optional attributes.
    Since these are optional, I intended to use the Validation Execution tab so that the Rule is executed only when the attribute is not null. For example, here is what i tried for an attribute named Comments:
    Comments != nullNo validation occurred when I entered an invalid value, such as a string containing line breaks, in a corresponding ADF Faces page. For the heck of it, i experimented by setting the validation execution to the opposite of what i should be - in other words, trigger validation if the attribute is null, such as:
    Comments == nullWith this, the validation occurred as expected.
    Is this a bug, or am I misunderstanding something? I'm not particularly good with RegEx - is it possible this is due to some nuance of the expression?
    Version: JDeveloper 11.1.1.6.
    Thanks-
    -george

    i'm not sure if this is the correct answer or a workaround to the issue i had asked about. Given that caveat, if anyone else ever runs across this thread, what i found worked was to not use the attribute name in the Validation Execution tab's expression, but instead to just newValue as in the following:
    newValue != null

  • Validation Business Rule Problem

    Hi Community
    I´m working with SAP BPC 7.0 NW SP09 Consolidation, the problem I have is when I execute the validation package, the result of the Validation Rule because the business rule don´t respect the number sign of the value calculated.
    For example I try to confirm this formula ASSETS = LIABILITIES + EQUITY
    ASSETS      AST   1000
    LIABILITIES  LEQ     800
    EQUITY        LEQ     400
    RESULT                  -200
    BUSINESS RULE      200
    I was investigating all the posible combinations of dimensions, and I found it could be possible that this error occurs when (Liabilities + Equity) > Asset.
    Rule                                   
    VAL01     ASSETS=LIABILITIES                         
    Rule Details                                   
    Validation Account     Account 1     Flow 1     Sign 1     Account 2     Flow 2     Sign 2     REMARK
    VAL01     ASSETS     F_CLO     1     LIABILITIES     F_CLO     1     
    ASSETS and LIABILITIES are configures as part of dimlist property, where Liabilities have all the equity accounts too.
    Hope anyone help me with this problem
    Thanks in advance

    Hello Ruben
    If Account: VAL01 is 'AST' account than Validation Business Rule will give 200 as the result.For 'LEQ' result will be -200.
    I think the business rule is working as expected.
    Hope this help.
    Regards
    Venkatesh KPS

  • Business Rule problem

    Here is a problem I am not quite sure how to solve.
    Given a collection of objects of type X, find out if there are two objects in that collection that meet certain criteria.  For example, find out if there are two objects X1 and X2 such that X1.city=X2.city.
    How does one go about writing a rule for this?
    Thank you all,

    <p>Thank you!</p><p>I try, try, and try again and finally I solved the problem!:-)</p><p> </p><p>I remember POV axis contains another information aboutversion.</p><p>In detail, I have two form (A and B) identical except twoparameter: version in PAGE axis and account information in POVaxis.</p><p>FormA contains "Mem1_A" in POV and version"Ver_A" in POV, while</p><p>FormB contains "Mem1_B" in POV and version"Ver_B" in POV.</p><p> </p><p>At this point, I can retrieve correctly "Mem1_A" or"Mem1_B", through run-time prompt with local variablecalled "FirstMember". I added another local variable,called "SecondMember", with feature "use byvalue" and set-up with a value. I added following code atbusiness rule:</p><p> </p><p>[FirstMember] (</p><p>    IF (@ISMBR("Ver_A"))</p><p>        [SecondMember] ="Mem2_A";</p><p>    ELSEIF (@ISMBR("Ver_B"))</p><p>        [SecondMember] ="Mem2_B";</p><p>    ELSE</p><p>        ... at thispoint you can't arrive... if you set in PAGE axis only the versionsused in IF...ELSEIF</p><p>    ENDIF</p><p>)</p><p> </p><p>In this way business rule retrieve correct value for FirstMemberand set-up correct value for SecondMember. In business rule code"core" I used only FirstMember and SecondMember to referaccount dimension.</p><p> </p><p>I hope this explanation is clear enough... I don't speak aperfect English :-(</p>

  • Tiggger-Business Rule Problem

    Hi Guys
    I have BEFORE INSERT OR UPDATE ON ASSESSMENTS for each row which is doing some sort of validation for date.
    IF INSERTING OR UPDATING then
    v_involv_identifier := NVL(:new.identifier,:old.identifier);
    IF :new.start_date is not null THEN
    BEGIN
    SELECT MIN(irole.start_date)
    INTO v_irole_start
    FROM involvement_roles irole
    WHERE irole.involv_identifier = v_involv_identifier;
    IF trunc(:new.start_date) > trunc(v_irole_start)
    THEN
    raise_application_error(-20103, 'SSL-13085');
    END IF;
    EXCEPTION
    when no_data_found then
    null;
    END;
    END IF;
    IF :new.end_date is not null
    THEN
    BEGIN
    SELECT MAX(irole.end_date)
    INTO v_irole_end
    FROM involvement_roles irole
    WHERE irole.involv_identifier = v_involv_identifier;
    IF v_irole_end is not null
    AND trunc(v_irole_end) > trunc(:new.end_date)
    THEN
    raise_application_error(-20103, 'SSL-13085');
    END IF;
    EXCEPTION
    when no_data_found then
    null;
    End;
    BEGIN
    SELECT MAX(irole.start_date)
    INTO v_irole_start
    FROM involvement_roles irole
    WHERE irole.involv_identifier = v_involv_identifier;
    IF v_irole_start is not null
    AND v_irole_start > :new.end_date
    THEN
    raise_application_error(-20103, 'SSL-13085');
    END IF;
    EXCEPTION
    when no_data_found then
    null;
    END;
    END IF;
    END IF;
              Now in AFTER INSERT OR UPDATE ON ASSESSMENTS for each row
              I am updating the values of Involvement_role(irole.start_date, irole.end_date) and
              Involments(start_date, end_date ) to temporary table and from there to respective table to avoid
              mutation.It works fine as expected in all cases.
              But I am unable to update when both InvolvementRole enddate and Invovement enddate are updated at same
              (Both are same date)or InvolvementRole startdate and Invovement startdate are updated at same time
              (Both are same date) because of business rule implemented.But from user prspect it should be able to
              update at the same time.
              After analysising I think it happening because of the max value of v_irole_end & v_irole_start which i m
              getting using the select statement which still coantain the old value.
              Say for example currenlty the InvolvementRole enddate=4/9/2009 and Invovement enddate=4/9/2009
              Now I m updating with value say InvolvementRole enddate=3/9/2009 and Invovement enddate=3/9/2009
              Now with select stm. the max value of v_irole_end=4/9/20099 (say)
              so this rule apply
              IF v_irole_end is not null
    AND trunc(v_irole_end) > trunc(:new.end_date)
    THEN
    raise_application_error(-20103, 'SSL-13085');
    END IF;
              and it will not allow to update .
    but if you update separately it will not cause any problem as the value of InvolvementRole enddate is
              already modifes and contain the new value (3/9/2009)          
              Now question is it's frustrating to user.Can any one suggest how to over and allow user to update
              simulteneouly without violating B-Rules.
              For information I m updating the Involvement Role table before and then InvolvementTable.

    1. db details
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bi
    PL/SQL Release 10.2.0.3.0 - Production
    CORE 10.2.0.3.0 Production
    TNS for 64-bit Windows: Version 10.2.0.3.0 - Production
    NLSRTL Version 10.2.0.3.0 - Production
    2.
    for dml u can look into which updating ----
    FOR c IN c_temp_id LOOP
    IF c.action_ind = 'R' THEN
    dbms_output.put_line('updating role for involvement '||c.identifier||
    ' to end on '||c.date_param1);
    UPDATE involvement_roles
    SET end_date = c.date_param1
    WHERE involv_identifier = c.identifier;
    -- AND end_date IS NULL;
    end if ;
    IF c.action_ind = 'Q' THEN
    update INVOLVEMENTS
    set end_date=c.date_param1
    WHERE identifier = c.identifier;
    End if;
    END LOOP;
    3. In after statement trigger
    procedure is a called to update both table
    IF UPDATING THEN
    v_db_mode := 'U';
    END IF;
    involv_asprc(v_db_mode);
    code inside procedure involv_asprc look like-----------------------
    CURSOR v_del_record IS
    select identifier involv_identifier
    ,action_ind
    ,text_param1 corgan_code
    ,text_param2 corgan_mapping_code
    ,numb_param1 person_identifier
    ,numb_param2 ounit_identifier_inv
    from temporary_identifiers
    where session_identifier = v_session
    and target_tablename = 'INVOLV_EDIN'
    and action_ind = 'D';
    v_corgan_code VARCHAR2(4);
    ounit_id VARCHAR2(30);
    v_count NUMBER;
    v_id NUMBER(10);
    v_max_date DATE;
    v_end_date DATE;
    v_per_record NUMBER;
    v_excep_desc VARCHAR2(1000);
    v_name1 VARCHAR2(10);
    v_person_id NUMBER(10);
    --End JG167184
    BEGIN
    --Rc
    FOR c IN c_temp_id LOOP
    IF c.action_ind = 'R' THEN
    dbms_output.put_line('updating role for involvement '||c.identifier||
    ' to end on '||c.date_param1);
    UPDATE involvement_roles
    SET end_date = c.date_param1
    WHERE involv_identifier = c.identifier;
    -- AND end_date IS NULL;
    end if ;
    IF c.action_ind = 'Q' THEN
    update INVOLVEMENTS
    set end_date=c.date_param1
    WHERE identifier = c.identifier;
    End if;
    END LOOP;
    end;

  • Delete business rules

    Hi All,
    I have a task to delete bunch of business rules.
    what I am doing is going to individual business rule and deleting them.
    I am sure there should be a better way to do this
    can anyone guide me
    Thanks in advance
    -Dornakal
    www.dornakal.blogspot.com

    Hi..
    Yes, it is possible to delete the rules in one go from AAS repository... however I HAVE NOT tried it yet... fearing it may corrupt repository.. :) not sure... someone please confirm..
    Try below steps..
    1. Login to AAS(name may be different in your case) schema..
    2. Run...
    select *from hbrrules where uppername like 'HPWDEV-%'
    OR
    select *from hbrrules where name like 'HPWDEV-%'
    This should return the list of rules whose name starts with HPWDEV
    3. Then simple 'Delete' query should relieve you from the pain...
    Let me know if it helped anyway... Thanks !
    SD

  • Business rule problem with association

    Hi,
    i am facing an issue with business rules am not able to associate with planning outline in AAS console
    Ram

    Hi Ram,
    Navigate to
    1. C:\Hyperion\AnalyticAdministrationServices\storage\easusers\users.xml
    2. Edit users.xml file
    3. Update admin to "true" and save file.
    4. For example,
    EASUsers><EASUser directory="admin" email="[[email protected]]" external="true" fullName="EAS Administrator" id="1" isMigrated="false" password="A627FC9A6DEA834C1FA7772..........." roles="roles" supervisor="true" username="admin"/>
    This should help you
    5. After this, you restart RMI, AAS and planning services.
    6. Now, it should work
    Sandeep Reddy Enti
    HCC
    http://hyperionconsultancy.com/

  • Business Rules not visible sometimes-via web and smartview

    We use EPM 11.1.2.
    we have a unique problem-Business rules (associated with forms)sometimes fail to appear either via web or smartview for our users.After logging out and back in,sometimes they appear again.
    If we explicitly 'disconnect all' from smartview, close Excel, and go back in again, then the rules are visible.
    It is becoming hard to tell when the users can or cannot see the business rules.
    All users have the right provisioning-interactive user.
    Has anybody seen this kind of behavior before?
    We had a similar issue a while back-with eas web versus eas desktop client. Oracle gave us a specific fix for the eas business rules problem.
    Edited by: 784749 on Sep 26, 2011 11:59 AM

    Thats the strange thing; We use (native) groups to provision. This works fine for the other 5 users.
    But even if I provision this one user for the Business Rules, they remain invisible to this user. (in Planning)
    I discovered this morning that this user can create a new BR, but when I try to open it in AAS console I get an error
    "Exception occured, Please check your log file for details."
    Unfortunately, the log doesn't provide any more details. (even if I set the level to Debug)

  • Business Rules error-java.lang.NoClassDefFoundError: com/hyperion/hbr/core/

    Hey I recently applied the 11.1.1.3.04 service fix for calc mgr/planning which involved a few file changes for EAS as well.
    I patched and re-deployed calc mgr/planning/eas without any issues in DEV
    When I patched prod, and then redeployed the web servers, business rules is now failing.
    This error is in the planning log:
    java.lang.NoClassDefFoundError: com/hyperion/hbr/core/HBRThinServer
    and this error is in EAS log when I login to EAS:
    ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.hbr.db.DBTable - Error while creating Repository object. Please make sure your HBR Configuration is correct.
    ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.hbr.core.PluginDataManager - Error creating PluginDataManager. Please check your log file for details on what caused this error.
    Anyone run into this issue and have any advice how to solve it? I also opened an issue with Oracle
    THanks
    Jeff

    Thanks for the advice Nick.
    I decided to redeploy EAS app server again, but this time also re-register the database. the register database step was not needed when I patched dev or test, perhaps because in dev and test planning and eas were on the same server. In prod, eas and planning are on different servers.
    so after registering and re-using the existing tables so that I wouldn't lose my rules, the app deployed without any errors in the logs and all my business rule problems have been resolved.
    Thanks
    Jeff

  • Able to edit Business Rules through Excel interface?

    Hi,
    I wonder if there is any way that I can add, modify or delete the Business Rules definitions through Excel interface. In the Admin Console, though the Business Rules interface looks neat, I encounter the following difficulties in editing the Account Transformation definitions:
    1. The check in the Reverse Sign sometimes disappears after the definitions being saved. I have to click something other than Business Rules, like Dimensions, Application, Security, etc, and come back to Account transformation again in order to have the Reverse Sign check being saved.
    2. I'm not able to to check the Reverse Sign in the last definition of Account transformation. It always disappears after being saved. My workaround is to put a dummy definition at the end or not to put that definition, which needs Reverse Sign, at the end.
    3. When I delete some definitions in the middle, the following error pops up after validation.
    [] value does not exists in ID of Account dimension.
    4. I have written my definitions in my design documents in Excel but I'm not able to copy and paste all of them to Admin Console's business rules. I have to fill in each value one by one.
    Or can I simply edit the table dbo.clcCALCAccount_XXXX? Since I used to be a database programmer, I feel it easier to directly edit the database table rather than using the business rules interface.
    Best Regards,
    Sunny

    Sunny,
    It is not according to the book but it is possible to change the business rules directly on the SQL. That is the way i do it sometime... and yes the table you point is the right one. You see other tables for other business rules...
    Usually i just do a copy and paste into excel. Then i change into excel (i also use EVPROs to check if the members are not calculated members...) and then i repaste it into SQL...
    But I have to say, do it at your own risk, as I stated before it is not really advised/safe...
    Nic

  • Business Rule Delete Problem

    Problem definition:
    We have a business rule according to CDM ruleframe, but have a
    problem when we want to delete a row from a table. The problem
    occurs when the business rule is validated. The
    delete operation works fine when the business rule is not
    validated.
    Business rule: BR_FELT_0006_DEL
    Table: SLN_FELTER
    CAPI-package: SLN_FELTER_CAPI
    Trigger attr.: After triggering statement on DELETE operation
    The definition of this delete rule is the same as the definition
    in the Headstart demo application.
    This is a simple reconstruction of the error problem:
    SQL> delete from sln_felter
    2 where opve_oppgave_nr = 'RF-1061'
    3 and opde_oppgavekode = 1014
    4* and inar_inntektsaar = 2000
    SQL> /
    delete from sln_felter
    FEIL pe linje 1:
    ORA-20999:
    ORA-06512: ved "HST65.CG$ERRORS", line 565
    ORA-06512: ved "SLNHL6.CG$SLN_FELTER", line 474
    ORA-20998: Transaction Failed
    ORA-06512: ved "HST65.QMS$ERRORS", line 128
    ORA-06512: ved "HST65.QMS_TRANSACTION_MGT", line 822
    ORA-06512: ved "SLNHL6.CG$ADS_SLN_FELTER", line 51
    ORA-04088: feil ved utfxring av
    triggeren 'SLNHL6.CG$ADS_SLN_FELTER'
    ORA-06512: ved "SLNHL6.CG$ADS_SLN_FELTER", line 43
    ORA-04088: feil ved utfxring av
    triggeren 'SLNHL6.CG$ADS_SLN_FELTER'
    SQL> @d:\hsd65\hst\scripts\messages
    Feil QMS-00100: Ukjent feil ORA-01403: ingen data ble funnet:
    qms_transaction_mgt.perform_business_rule
    Kontakt brukerkontakten.
    PL/SQL-prosedyren ble fullfxrt.
    Error message should have been:
    SLX-00367: <p1>: Feltet kan ikke slettes hvis det har pestand
    fra skattyter
    We have debugged the PL/SQL code and the error occurs in the CDM
    ruleframe generated
    CAPI-definition and not in the business rule itself. This is a
    part of the code where we think the error occur:
    procedure br_felt_0006_del
    is
    l_rule_validation_result boolean := true;
    begin
    l_rule_validation_result := br_felt_0006_del
    ( g_current_row.opde_oppgavekode
    , g_current_row.inar_inntektsaar
    , g_current_row.id
    if not l_rule_validation_result
    or l_rule_validation_result is null
    then
    qms_transaction_mgt.process_rule_violation
    ( p_br_name => 'BR_FELT_0006_DEL'
    , p_msg_code => 'SLX-00367'
    , p_display_label => display_label
    , p_table_name => 'sln_felter'
    , p_table_rowid => get_rowid <------ When this procedure
    -- is calling the get_rowid function
    ); -- then we get the ORA-01403: No data found.
    end if; -- Business Rule is violated
    end br_felt_0006_del;
    |
    |
    |
    function get_rowid
    return rowid
    -- Purpose Return rowid of the current row
    -- Usage From br procedures
    is
    l_rowid rowid;
    begin
    if g_current_row.the_rowid is not null
    then
    l_rowid := g_current_row.the_rowid;
    else
    select rowid     <--- We suspect this is a
    -- problem in CDM ruleframe,
    into l_rowid -- because a deleted row is read !!!
    from sln_felter
    where id = g_current_row.id
    g_current_row.the_rowid := l_rowid;
    if g_stack_index is not null
    then
    g_felt_tbl(g_stack_index).the_rowid := l_rowid;
    end if; -- g_stack_index
    end if; -- g_current_row.the_rowid
    return l_rowid;
    end get_rowid;

    We also have a problem with the delete rule.
    In our case we have two tables persons and reservations.
    A person can place more reservations. The foreign key between them two is cascade delete.
    Our code is
    Purpose Persons can only be deleted three years after they made the last reservation
    Remarks
    Revision History
    When Who
    Revision What
    30-01-2002 REPOWN
    1.0 Using utility HSU_BRTR (revision 6.5.1.3)
    04-01-2002 MAST     
    1.1 Code toegevoegd
    l_rule_ok boolean := true;
    begin
    trace('br_klt002_del (f)');
    -- for instructions, see the Headstart User Guide
    l_rule_ok := not ati_rsg_capi.exists_row
    ( p_where => 'trunc(reservationdate ) >= add_months(trunc(sysdate),-36) and psn_id = '||p_old_id );
    --also tried
    --l_rule_ok :=  not ati_rsg_capi.exists_row
    -- ( p_where => 'trunc
    --(reservationdate ) >= add_months(trunc(sysdate),-36) and
    --psn_id = '||p_id   );
    return l_rule_ok;
    exception
    when others
    then
    qms$errors.unhandled_exception(PACKAGE_NAME||'.br_klt002_del (f)');
    end br_klt002_del;
    The problem is that this doesn't work. We are allowed to delete every person, even if they have a reservation yonger than three years.

  • Problem in setting participant in business rule

    Hi All,
    I am facing problem while setting the target participant in business rule. I want to route the task to the target participant for the adhoc routing in serial process .It's not taking the value as participant name.
    I have 5 participant for approve d task .But when I am writing
    If PreviousOutcome.outcome=="'REJECT'"
    then
    call GOTO(participant:"CTU")
    as CTU is one of the participant in the process.
    But it gives the error while deploying the application as unknown participant .Please tell me how come I route to different participant as per the condition in serial routing.
    please help me.
    Thanks & Regards
    Aseet

    Multi-post:
    http://forum.java.sun.com/thread.jspa?threadID=727161&tstart=0

  • Problem with two of my business rule triggers

    Good morning every one,
    I have a small problem with two of my business rule triggers.
    I have these tables:
    pms_activity
    csh_cash
    csh_integrate_leh
    csh_integrate_led
    and my process goes like this:
    upon approval of a row in my pms_activity table I have a trigger that insert a row in my csh_cash - and in the csh_cash table I have a trigger that will insert in the csh_ingerate_leh and csh_integrate_led.
    my problem is pms_activity does generate a row in csh_cash but the trigger in the cash does not fire to generate a row in the csh_integrate_leh and led tables.
    I have generated in the following order after I created my business rule:
    I have generated the table from the designer (server module tab)
    I have generated the CAPI from the head start utility
    I have generated the API from the designer
    I have generated the CAPI from the designer
    I have run the recompil.sql
    I have checked that my business rule trigger is enabled and should run on insert and no where restriction
    === this is my business rule logic ======
    l_rule_ok boolean := true;
    begin
    trace('br_csh001_cev (f)');
    csh_gl_pkg.csh_gen_integ_jvs(p_id
    ,p_ref_num
    ,p_own_id
    ,p_trt_id
    ,p_value_date
    ,p_description
    ,p_amount
    ,p_cur_id
    ,p_gla_dr
    ,p_gla_cr
    ,p_gla_pl
    ,p_gla_rev
    ,p_gla_eqt);
    return l_rule_ok;
    exception
    when others
    then
    qms$errors.unhandled_exception(PACKAGE_NAME||'.br_csh001_cev (f)');
    end br_csh001_cev;
    ==== end =======================
    Any help will be appreciated as I have struggled with this for two days.
    Thanks

    hmmm...
    Try resetting it again and restoring with the same backup file...
    Does the phone work properly once you've reset it before you try restoring? A lot of people here have experienced problems restoring from backups... could be worth forgetting about it and starting from scratch.
    You could try contacting your nearest Nokia Service Centre (www.nokia.com/repair) and see if they can do anything - it may need the firmware reinstalling or upgrading... possibly... give them a call though and see.
    Nokia History: 3110, 5110, 7110, 7110, 3510i, 6210, 6310i, 5210, 6100, 6610, 7250, 7250i, 6650, 6230, 6230i, 6260, N70, N70, 5300, N95, N95, E71, E72
    Android History: HTC Desire, SE Xperia Arc, HTC Sensation, Sensation XE, One X+, Google Nexus 5

  • Problem with business rule

    Hi all,
    I have a problem with a business rule (BR) deployed as a standalone Descision service.
    the BR consists on a simple decision table wich compare an input (bigInteger) with 50. It returns two facts (as output).
    the two conditions are confugured (i.e. <50 and >=50).
    the Decision service (stateless) is called in a simple BPEL process. in some cases the the assign activity in the bpel process rise this exception :
    <bpelFault><faultType>0</faultType><selectionFailure xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/"><part name="summary"><summary>empty variable/expression result. The XPath variable or expression /ns5:callFunctionStatelessDecision/ns5:resultList/ns6:processResponse/ns6:CodeRetour is empty at line 440. An attempt to read or copy data referenced or computed by the XPath expression either had invalid data, according to the XML schema, or did not contain certain optional data. Ensure that the variable or expression result named in the error message is not empty. Enable XML schema validation of related variables to ensure the run-time data is valid. </summary></part></selectionFailure></bpelFault>
    it seems like an output of the business rule used by the assign after the invoke activity is empty.
    But in the input payload for the decision service all elements are not empty. I can't inderstand how the OBR return an empty variable?
    Any help please?

    In the taskflow you should be capable to trace step by step what happens in the execution. Does this give any clue, e.g. why sometimes the assert does not work?
    cu
    Andreas

  • Problem with FIX-Statement in Business Rule

    Hello,
    ich have a business rule with two nested FIX-Statements.
    I calculate depending on the month in the runtime-prompt a forecast for this month. After that i fix on that month an clear some specific accounts. But some of these accounts still have data.
    they are in the cleardata section and they are children of FiBuKonten from the first fix. When i leave out the @CHILDREN("FiBuKonten") in the first fix the accounts are cleared as excepted, but i need that fix because not all accounts are part of this forecast.
    I changed everything to work as a calc-script and the same problem appears, on dev and prod database.
    Why are some accounts cleared while others not ? Really misterious!
    Here is the rule
    FIX([TEBIT_RTP_Year],[TEBIT_RTP_Version],"IFRS operativ",[TEBIT_RTP_Entity],"Daten brutto","Daten_brutto_P_M",@CHILDREN("FiBuKonten"))
    [TEBIT_RTP_Period](
    IF(@ISMBR("Jan"))
    Actual_kum = Budget_kum;
    ELSEIF(@ISMBR("Feb"))
    Actual_kum = Budget_kum;
    ELSEIF(@ISMBR("Apr"))
    Actual_kum = @ROUND(("1HR"->Dec - Actual_kum->Mar)/9 + Actual_kum->Mar,2);
    ELSEIF(@ISMBR("May"))
    Actual_kum = @ROUND(("1HR"->Dec - Actual_kum->Apr)/8 + Actual_kum->Apr,2);
    ELSEIF(@ISMBR("Jul"))
    Actual_kum = @ROUND(("2HR"->Dec - Actual_kum->Jun)/6 + Actual_kum->Jun,2);
    ELSEIF(@ISMBR("Aug"))
    Actual_kum = @ROUND(("2HR"->Dec - Actual_kum->Jul)/5 + Actual_kum->Jul,2);
    ELSEIF(@ISMBR("Oct"))
    Actual_kum = @ROUND(("3HR"->Dec - Actual_kum->Sep)/3 + Actual_kum->Sep,2);
    ELSEIF(@ISMBR("Nov"))
    Actual_kum = @ROUND(("3HR"->Dec - Actual_kum->Oct)/2 + Actual_kum->Oct,2);
    ENDIF;)
    FIX([TEBIT_RTP_Period])
         CLEARDATA "41000000";
         CLEARDATA "41100000";
         CLEARDATA "41200000";
         CLEARDATA "41990000";
         CLEARDATA "41000900";
         CLEARDATA "41096000";
         CLEARDATA "41196000";
         CLEARDATA "41296000";
         CLEARDATA "41940000";
         CLEARDATA "42000000";
         CLEARDATA "42100000";
         CLEARDATA "42200000";
         CLEARDATA "42099000";
         CLEARDATA "42199000";
         CLEARDATA "42299000";
         CLEARDATA "42990000";
         CLEARDATA "41918000";
         CLEARDATA "41100900";
         CLEARDATA "42091000";
         CLEARDATA "42918000";
         CLEARDATA "54000000";
         CLEARDATA "54009000";
         CLEARDATA "54009900";
         CLEARDATA "54009600";
         CLEARDATA "54130200";
         CLEARDATA "93541175";
         CLEARDATA "54001000";
         CLEARDATA "54001900";
         CLEARDATA "54014000";
         CLEARDATA "54019000";
         CLEARDATA "54021000";
         CLEARDATA "54021900";
    ENDFIX
    ENDFIX
    Thx for your help.
    Greets
    Kevin

    Does it make a difference when a dimension has dynamic calc members and i dont fix on that dimension to fix on the Level 0 members of that dimension ? The result should be the same in my eyes.
    SGF is dense. I found out that everytime i the fix includes that first member M_124100 the error occoured.
    I changed the rule in the form that i split the FIX Statement. And now it works without the error and with all data cleared. Even when i don`t reorder the dimension SGF.
    Again thanks for your help.
    Greets
    Kevin
    FIX([TEBIT_RTP_Year],[TEBIT_RTP_Version],"IFRS operativ",[TEBIT_RTP_Entity],"Daten brutto","Daten_brutto_P_M")
    FIX(@CHILDREN("FiBuKonten"))
    [TEBIT_RTP_Period](
    IF(@ISMBR("Jan"))
    Actual_kum = Budget_kum;
    ELSEIF(@ISMBR("Feb"))
    Actual_kum = Budget_kum;
    ELSEIF(@ISMBR("Apr"))
    Actual_kum = @ROUND(("1HR"->Dec - Actual_kum->Mar)/9 + Actual_kum->Mar,2);
    ELSEIF(@ISMBR("May"))
    Actual_kum = @ROUND(("1HR"->Dec - Actual_kum->Apr)/8 + Actual_kum->Apr,2);
    ELSEIF(@ISMBR("Jul"))
    Actual_kum = @ROUND(("2HR"->Dec - Actual_kum->Jun)/6 + Actual_kum->Jun,2);
    ELSEIF(@ISMBR("Aug"))
    Actual_kum = @ROUND(("2HR"->Dec - Actual_kum->Jul)/5 + Actual_kum->Jul,2);
    ELSEIF(@ISMBR("Oct"))
    Actual_kum = @ROUND(("3HR"->Dec - Actual_kum->Sep)/3 + Actual_kum->Sep,2);
    ELSEIF(@ISMBR("Nov"))
    Actual_kum = @ROUND(("3HR"->Dec - Actual_kum->Oct)/2 + Actual_kum->Oct,2);
    ENDIF;)
    ENDFIX
    FIX([TEBIT_RTP_Period])
    CLEARDATA "41000000";
    CLEARDATA "41100000";
    CLEARDATA "41200000";
    CLEARDATA "41990000";
    CLEARDATA "41000900";
    CLEARDATA "41096000";
    CLEARDATA "41196000";
    CLEARDATA "41296000";
    CLEARDATA "41940000";
    CLEARDATA "42000000";
    CLEARDATA "42100000";
    CLEARDATA "42200000";
    CLEARDATA "42099000";
    CLEARDATA "42199000";
    CLEARDATA "42299000";
    CLEARDATA "42990000";
    CLEARDATA "41918000";
    CLEARDATA "41100900";
    CLEARDATA "42091000";
    CLEARDATA "42918000";
    CLEARDATA "54000000";
    CLEARDATA "54009000";
    CLEARDATA "54009900";
    CLEARDATA "54009600";
    CLEARDATA "54130200";
    CLEARDATA "93541175";
    CLEARDATA "54001000";
    CLEARDATA "54001900";
    CLEARDATA "54014000";
    CLEARDATA "54019000";
    CLEARDATA "54021000";
    CLEARDATA "54021900";
    ENDFIX
    ENDFIX

Maybe you are looking for

  • Data in the cube is showing multiple entries when compared with ODS

    Hello BW Gurus, We have a waste report in production planning on Cube and ODS separately. The same info package loads both targets (which means same infosource) but when we run a report on Cube, the records are showing multiple entries (i.e. Key Figu

  • How to retrieve the Foreign key information in Oracle

    I want to know how to retrieve the Foreign Key information in Oracle while using SQL Statement? I have use three SQL statement to retrieve such information, but the performance is very bad. The three SQL Statements are: Select constraint_name, r_cons

  • About communication with finger print readers

    hi all, i am trying to communicate with finger print reader using swing and griaule api . Its not responding. Can i know which api exaxtly i have to use for that.

  • Connect Oracle through internet

    Hi, I am trying to connect my oracle database through internet. but it is saying ORA-12203: TNS:unable to connect to destination although i tested tnsping utility, it is giving OK status. and i have also tested through telnet utility with my server s

  • Lost Pics in camera roll!!

    After updating my 4s to iOS 7,I lost my pics in my camera roll. Even after restoring backups from the cloud or iTunes, none come back. What can I do?