EventResult execute ---BulkEventResult execute both triggering

Hi Gurus,
i am facing strange issue, i have written a post process event handler i am setting a random user password for user, it works fine when do it from UI i can see EventResult execute is getting executed but as soon i run the trusted recon... EventResult and Bulkevent both are executed.
I believe it is not expected behavior, is there any configuration or code snippet i need to add to trigger BulkEvent in case of recon ?
Guys please provide your inputs.
Regards
VM

Hi,
If you modify/create a user from the UI, the execute method with Orchestration as a parameter is invoked.
If you modify/create using reconciliation, the execute method with BulkOrchestration as a parameter is invoked.
This is what I think is happening. In your case, the reconciliation triggers the execute method with BulkOrchestration as a parameter. In the postprocess event handler, you modify a field in the user form (password field), which in turn triggers the execute method which has Orchestration as one of it's parameters. Hope this makes sense.
-AD

Similar Messages

  • Program should execute both for F8 and F9

    Hi All,
    I have a requirement that my program should execute both for F8 and F9.
    I have developed it as a report as the selection-screen contains 'Select-Options' and they want the Multiple Selection Button.
    I know that if I develop it as a Module pool, my problem is very easily solved.
    But since they want the Multiple-Selection button for Select-options which we cannot provide in a Module-Pool I am forced to develop a report.
    Please let me know if its possible to execute the program with both F8 and F9 function keys, while F8 can be the normal execute button, there is no need of any button for F9, that is a F9 key press is enough. The Report should execute if the user presses F8 or F9 key on the Key-board.
    Hope I am clear.
    Please help me with your suggestions.
    Thanks in Advance.
    Edited by: Dagny on Apr 1, 2009 6:57 AM

    Hi, Dangy
    I dont think you can do with f9 fkey,
    but you can do with ctrl+f9 , if ur client like this..
    this are some available FKeys.
    Freely assigned function keys
    F5
    F6
    F7
    F8                             ONLI       Execute
    Shift-F1                       DOCU       Program Documenta...
    Shift-F6                       SCRH       Selection Screen ...
    Shift-F7                       ALLS       All Selections
    Shift-F8                       FEWS       Chosen Selections
    Shift-F9
    Shift-Ctrl-0
    Shift-F11
    Shift-F12
    Ctrl-F1                        FC01       <SSCRFIELDS-FUNC...>
    Ctrl-F2                        FC02       <SSCRFIELDS-FUNC...>
    Ctrl-F3                        FC03       <SSCRFIELDS-FUNC...>
    Ctrl-F4                        FC04       <SSCRFIELDS-FUNC...>
    Ctrl-F5                        FC05       <SSCRFIELDS-FUNC...>
    Ctrl-F6                        LVUV       User Variables...
    Ctrl-F7
    Ctrl-F8
    Ctrl-F9
    Ctrl-F10
    Ctrl-F11
    Ctrl-F12
    Ctrl-Shift-F1
    Ctrl-Shift-F2
    Ctrl-Shift-F3
    Ctrl-Shift-F4
    Ctrl-Shift-F5
    Ctrl-Shift-F6
    Ctrl-Shift-F7
    Ctrl-Shift-F8
    Ctrl-Shift-F9
    Ctrl-Shift-F10
    Ctrl-Shift-F11
    Ctrl-Shift-F12
    Just execute ur program, and go to system>status->in SAP data , there is GUI status-> dbl clik in ur gui status and assign Fcode for ctrl+f9 and handle the same in user command.
    I hope it will solve ur problem.

  • Execute both 32-bit and 64-bit external procedures within same DB

    Hi,
    I have a 64-bit installation of oracle9i.
    I want to know if it is possible to execute both 32-bit and 64-bit external procedures within the same database. If yes, can you please help on how I can do it?

    Thanks.  The reason I was thinking of doing this is we have a lot of existing apps which are already configured for a particular name.  We are moving to a 64-bit OS and have found that some apps must remain 32-bit while others must be upgraded
    to 64-bit (all related to 3rd party code availability).  There are a lot of config files (because of a lot of apps on multiple servers).  So either bite the bullet and update all the configs to use new names or "cheat" and have both 32 and 64 bit
    DSNs use the same name.

  • BulkEventResult  Method  Not Triggering in Postcreate Eventhandler

    Hi All,
    My Scenario is like this ...
    When a user is created through Trusted Recon I wrote a PostCreateEventhandler to generate some field in OIM , for this in my Event handler I implemented BulkEventResult Method to trigger while a user is created through trusted Recon but BulkEventResult is not triggering . It's urgent requirement please help me .
    Thanks in Advance..

    order of you eventhandler should be between 1002 to 1008 or just FIRST or LAST as per requirement.
    update order in eventhandler.xml and import it again. make sue you run Purgechache

  • C# application to execute both oracle and sql server script files.

    Hi All,
    I am suppose to develop an application using c# which can execute oracle script files as well as sql server script files based on some user's choice. 
    Both the script files(oracle/sql server) contains scripts to create tables, create views and create functions.
    What is the best way to do this and which existing c# functions should is use.
    Thanks in advance.

    I am suppose to develop an application using c# which can execute oracle script files as well as sql server script files based on some user's choice. 
    You can use SQL Plus for Oracle. You can have a C# program that issues commands  for  scripts for table, views, triggers  creation and the whole 10 yards to SQL Plus,
    http://docs.oracle.com/cd/B19306_01/server.102/b14357/qstart.htm
    https://www.google.com/#q=sql+plus
    I started writing a program to use SQL Plus to run the scripts, but cI ame to the conclusion that it was a waste of my time.
    A tool called OSM, an Oracle, tool gives a list of script files that need to be run do to a change in a script file based on file timestamp. You can copy the list doing a copy/past operation and drop it into SQL Plus's Command line, and SQL Plus runs the
    scripts.
    For MS SQL Server, you have this, which you can run from a C# program too.
    http://www.webfactory-world.de/wfknowledgebase/wfknowledgebase_wf3.3/Content/AdditionalWindowsSettings/Tutorials/UpdatingSQLDBFromCommandLine.htm
    I would consider using the above from a C# program a waste of time too.
    I look at it this way. If the user doesn't have database admin experience and know how to use DB admin tools, then they have no business doing anything with a database - period.
    BTW, the Invoke statement in VB or C# will run SQL Plus or SQL Server command line tool.

  • Windows Task Scheduler executing old triggers even after recreating the task

    I had this task working perfectly until I changed the schedule. After I changed the scheduled time 5 minutes earlier, I noticed that in the history, it still triggers the old schedule. I tried restarting the server, deleting the task and recreating it even
    without a trigger and it's still executing the task with the old trigger. The attached screenshot shows that the task doesn't have a trigger but as you can see in the history it's still trying to execute the task. How does the Windows Task Scheduler work?
    Is there a file or database that I can purge the old task?
    I also tried applying this hotfix but it didn't seem to fix the issue: 
    http://support.microsoft.com/kb/2461249
    NOTE: This is Windows 2008 R2 and the Error message in the history is: Task Scheduler failed to start "<the
    name of my task>" task for user "<the
    user>". Additional Data: Error Value: 2147750689.

    Since batch job can be run manually without error, cmd.exe is not the problem.
    I researched and found that the problem may be due to exhausted desktop heap and the solution is to increase the value.
    Please try this step:
    1. restart the server first and test again (a simple solution that may work)
    2. if the first attempt fail, take a full backup first and attempt to increase desktop heap
         http://www.symantec.com/business/support/index?page=content&id=TECH48099
    Yes THAT WAS THE SOLUTION FOR THE ISSUE. !!
    Now its working perfect!!
    Why now its working and not before? Because after made the changes to the registry,
    RESTART IS NECESSARY to apply the changes and I have done it yesterday night (this server is working 24x7, so its hard to find a moment to restart it). 
    Thanks for all to help me with this issue!!! I really,really ,really ,really  apreciate !!! 
    THANKS !!!!!

  • [SOLVED] Dolphin won't preview windows executable files

    I use to have KDE 4 on my old computer.
    I had configured dolphin to show previews in all folders and enabled windows executables under the preview options.
    With this configuration I was able to see the icons of the executables both on my desktop and in dolphin.
    I have just finished moving over to Plasma and when I went thought and enabled the previewing of the executables in dolphin they don't show up and instead show a green icon.
    I just use putty as a test file since it worked in KDE 4.
    EDIT: Just realized this should probably go under Applications & Desktop Environments. If a mod could move it there that would be great.
    Last edited by Fullmetal5 (2015-05-03 22:02:48)

    Nothing special, just "microsoft executables" in the preview configuration. You still have to enable preview in that folder, but I think that's what you meant by "enabled previews on all folders".
    edit: putty.exe works
    Last edited by Soukyuu (2015-05-02 16:21:56)

  • Create Unix Executable file

    Hi Folks,
    I've got a simple terminal command...hamachi start...that I would like to run as LaunchAgent plist file or as an executable file triggered by a LaunchAgent.
    For the former I currently have:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
    <key>Label</key>
    <string>com.HamachiLogin</string>
    <key>ProgramArguments</key>
    <array>
    <string>hamachi start</string>
    </array>
    <key>RunAtLoad</key>
    <true/>
    </dict>
    </plist>
    But it doesn't work, so I thought I'd make an executable file containing the command and put that in the <string> section above.
    Anyone with any thoughts?
    Thanks!
    TP

    Your .plist likely doesn't work because your <ProgramArguments</> is invalid.
    For a start, every element of the command needs to be specified as a separate entity. This includes the command itself, plus any parameters.
    In addition to that, you need to be specific about the location of such scripts. You cannot assume that the OS will find the script, so you should always specify the full path to the command.
    Therefore your command should look more like:
    <key>ProgramArguments</key>
      <array>
        <string>/usr/local/bin/hamachi</string>
        <string>start</string>
      </array>

  • Executing stored procedure dynamically

    Hi Everybody,
    I am trying to execute one procedure in other procedure dynamically. I am not sure, how to do this. Please provide your responses and comments.
    Main Sp:
    CREATE OR REPLACE PROCEDURE R2D2.SP_UPDATE (
    V_ID IN RC_PENDING_TX.CS_ID%TYPE,
    S_ID IN RC_PENDING_TX_STATUS_VL.STATUS_ID%TYPE,
    A_ID IN VARCHAR2,
    V_NOTES IN VARCHAR2
    IS
    v_date DATE := SYSDATE;
    db_id varchar2(10);
    stmt varchar2(10000);
    stmt1 varchar2(10000);
    BEGIN
    db_ID := get_id(v_ID);
    IF S_ID = 1
    THEN
    stmt:= 'begin utl_pkg.set_v_id@'||db_id||'('||V_ID||','||'1'||'); end;';
    stmt1:= 'begin utl_pkg.set_t_id@'||db_id||'('||V_ID||','||'1,2,3,4'||','||'Y'||');end;';
    execute immediate stmt;
    execute immediate stmt1;
    END IF;
    END SP_UPDATE;
    1) GET_ID IS function to get db_id for v_id.
    2)utl_pkg.set_v_id,utl_pkg.set_t_id two sps i need to execute if s_id = 1.
    3) I have to execute both sps utl_pkg.set_v_id, utl_pkg.set_t_id , which take v_id as input parameter from main sp and these sps will execute in db with db link db_id (which we get from function for v_id we pass in main sp).
    Please let me know, how i can do this. DO i need to do it dynamically or i can do it in some ways.
    Please help me guys. I will really appreciate it.
    Thank you in advance.

    Try this.
    Please see closely commas and parameter passed in procedures.
    SQL> select name from v$database;
    NAME
    ORADB1
    SQL> create or replace package UTL_PKG is
      2   procedure set_v_id(v_id varchar2,any_value varchar2);
      3 
      4  end UTL_PKG;
      5  /
    Package created.
    SQL> create or replace package body UTL_PKG is
      2 
      3    Procedure set_v_id( v_id varchar2,any_value varchar2 )is
      4     
      5    begin
      6       
      7    dbms_output.put_line('Package from remote DB'||v_id ||' '||any_value);   
      8       
      9    end;
    10 
    11  end UTL_PKG;
    12  /
    Package body created.
    SQL> Now on another DB
    SQL> select name from v$database;
    NAME
    ORADB2
    SQL> select db_link,host from all_db_links;
    DB_LINK                HOST
    DB1_LINK              ORADB1  
    SQL> CREATE OR REPLACE PROCEDURE SP_UPDATE (
      2  V_ID IN emp.ename%TYPE, --This datatype is VARCAHR2
      3  S_ID IN emp.empno%TYPE, --This datatype is NUMBER
      4  A_ID IN VARCHAR2,
      5  V_NOTES IN VARCHAR2
      6  )
      7  IS
      8  v_date DATE := SYSDATE;
      9  db_id varchar2(100);
    10  stmt varchar2(1000);
    11  BEGIN
    12 
    13  select db_link into db_id from ALL_DB_LINKS   -- Assuming only DB link is present
    14 
    15 
    16  IF S_ID = 1 THEN
    17  
    18   stmt:= 'begin utl_pkg.set_v_id@'||db_id||'('||''''||v_id||''''||','||'''1'''||'); end;';
    19   dbms_output.put_line(stmt);
    20   execute immediate stmt;
    21  END IF;
    22 
    23  END SP_UPDATE;
    24  /
    Procedure created.
    SQL> show error;
    No errors.
    SQL>  begin
      2     SP_UPDATE('1',1,'a','sometext');
      3     end;
      4  /
    begin utl_pkg.set_v_id@ORADB1('1','1'); end;
    PL/SQL procedure successfully completed.
    SQL> show error
    No errors.
    SQL> Edited by: Azhar Husain on Jun 10, 2011 1:16 PM

  • Problem in executing a SP in Java using Oracle OCI Driver...

    Hi,
    I have a installed the Oracle OCI driver on iPlanet Web Server 4.1. The application has been designed using the Jakarta Struts framework where the dom classes act as an interface between the database and the application(action classes). The dom classes execute stored procedures stored in an SP packages (eg. DDTS_PACK.setContact(..)). Now here's the problem. When a new record is being inserted, the dom executes the 'setContact' stored procedure using a java.sql.CallableStatement. The execution of this stored procedure is successful at times and fails at times. What could be the reason?? Could it be something to do with connection pooling. The default connection pooling class from oracle, oracle.jdbc.pool.OracleConnectionCacheImpl() is being used to get the connection. The funny thing is that the stored procedure gets executed both the time (success/failure) and returns a return status as 'N' when it fails and 'Y' when it is successful.
    I would be greatful to anybody who could give a solution to the above problem. Thanks and have a great day.
    Regards,
    Anand

    Since the pipe '|' is interpreted by the shell then you need the shell to invoke your command
            String[] command = {"sh","-c","find /tmp/reports1 -name " + "\"" + "*" + "\"" + " -mtime +" + strdaysback + " -print|xargs rm -r"};
            final Process process = Runtime.getRuntime().exec(command);
      You should also read http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html at least twice and implement the recommendation regarding stdout and stderr.
    P.S. Why are you not using Java to find and delete these files?
    Message was edited by:
    sabre150

  • Grant execute on package

    Dear all,
    I have a package that has procedures related to other.
    I want to grant some users execute on some of those procedures, and others execute on other
    procedures.
    Say
    create package holiday_pkg as
    procedure ask_holiday(emp_no in number, period in number, start_date in date);
    procedure approve_holiday(holiday_seq in number);
    end;
    I want user_employee to have the privilege to execute ask_holiday and not to execute
    approve_holiday. user_manager to have the privilege to execute both procedures.
    Would someone tell me the best way to do that?
    Or I have to split the procedures into two packages, I do not want it this way.
    Thanks.

    mmatar wrote:
    You mean I have to build a wrapper to do that.
    This could make the application complex.
    I have more than one procedure, and a related group of users.
    The wrapper means that I have to build one for every group of users. :(Well, this is about design. I disagree it would make application more comples, I wager it would be the other way around.
    It is about granualrity, modulization and encapsulation.
    Too often we see procedures having thousand of lines of executable section.
    - This makes things virtually impossible to test. So break down into smaller procedures, and place in package specs to make them testable.
    - This leads to a number of "public" procedures that should not be public. So build APIs on top of those.
    This leads to two kind of packages (Which might not even be in the same schema):
    Programming API
    Public API.
    Where the latter is a high level API that somehow resembles the business processes.
    Originally, this was probably the idea behind Package Spec and Package Body, but I feel it should be brought to a higher level
    Hope this makes sense.
    Regards
    Peter

  • Java.lang.OutOfMemoryError: Java heap space while Executing the Query

    Hi All,
    Iam trying to execute two queries which fetches lakhs of records.
    ** I have one Connection Object(Singleton Object).
    **I have two PREPAREDSTATEMENT objects for two queries.
    I get this exception when the 2ND query is getting executed.
    When iam executing one query alone instead of two queries,its getting executed successfully.
    So,Problem, is here.When am executing both the queries one by one, am getting this exception.
    I need both the ResultSets to be used simaltaneously.so, I CANNOT
    ** execute the FIRST query
    ** Do the needfull with the FIRST ResultSet.
    ** execute the SECOND Query
    ** Do the needful with the SECOND ResultSet.
    NOTE:*
    SHOULD NOT INCREASE HEAP SIZE
    Moreover my code is just executing the queries.I have commented the other parts....
    Can anyone Provide me a solution.?
    Thanks In advance.....

    Can't put 10 kilos of X in 5 kilo bag.
    Either increase the memory or decrease the size of the ResultSet.
    Why do you need two queries? Why can't you do a JOIN and bring it all back in one network round trip? It'll be more efficient that way.
    %

  • FM-9 Toolbar buttons do not execute multi-code commands

    Has anyone of You encountered comparable problems with the new interface ?
    Description:
    If in customui.cfg a command is defined which Definition comprises more than one action code, then:
    The action is correctly executed when called from the menu
    The action is correctly executed by the assigned key sequence (ESC, ...)
    Only the first action code is executed, if the command is called from a button in a toolbar
    Justification:
    Since FM-6 users are happy with the Enhanced Toolbar provided by microtype.com - which I want to make available for FM-9 also (see http://daube.ch/docu/fmaker55.html).
    Switching between edit-view and print-view is an action which is performed at least every half hour. The faulty behaviour requires to strictly use either the menu or the assigned ESC sequence.
    Additional Information:
    For example, in customui.cfg the following commands are defined:
    *** Borders ON, Text symbols ON, others untouched
    <Command EditingView
       <ReservedLabel Document &Edit View>
       <Definition \x3F1 \x3F2 >
       <Mode All>>
    *** Borders OFF, Text symbols OFF, Graphics ON, others untouched
    <Command PrintingView
       <ReservedLabel Document &Print View>
       <Definition \x4F1 \x4F2 \x3F8>
       <Mode All>>
    The toolbar definition for the corresponding buttons contains this code:
    <ACTION command="EditingView" tooltip="Edit View: Show Borders and Text Symbols">
       <images normal="P_HALFSP_18X18_R.png" rollover="P_HALFSP_18X18_N.png" dark_normal="P_HALFSP_18X18_R_D.png" dark_rollover="P_HALFSP_18X18_N_D.png"/>
    </ACTION>
    <ACTION command="PrintingView" tooltip="Print View: Hide Borders and Text Symbols; Show Graphics">
      <images normal="P_CUSTOMSP_18X18_R.png" rollover="P_CUSTOMSP_18X18_N.png" dark_normal="P_CUSTOMSP_18X18_R_D.png" dark_rollover="P_CUSTOMSP_18X18_N_D.png"/>
    </ACTION>
    Circumvention:
    The desired function can be performed by using the menu item or the assigned ESC sequence.
    PS: Adobe's bug reporting form an unreasonable demand: such a small input field! no real editing possible to distinguisch text and code...
    Klaus Daube

    Hi Klaus,
    I tried doing the exact steps you had mentioned - and was able to successfully apply multiple commands through the toolbar icon in FM9 250 build. Multiple actions were executed both through the ESC key sequence and the toolbar.
    Could you please try adding this in cmds.cfg under *** File Menu ***
    <Command EditingView
       <ReservedLabel Document &Edit View>
       <KeySequence \!noc>
       <Definition \x361 \x362 >
       <Mode All>>
    These 2 commands are to toggle borders and text symbols and they demonstrate that both commands are getting applied via shortcut as well as the toolbar (attaching the toolbar xml file I am using).
    If the problem still exists, pls do mail me your .cfg and toolbar file.
    Regards,
    Amit Agarwal

  • Execute commands on Project save?

    Is there a way to have a a script execute code triggered by the project being saved?
    I can't find anything on this but ideally it would be a method for project items like:
    app.project.onSave()
    If theres nothing like this, is it somehow possible to keep track of the saved file itself
    and somehow trigger an event when it is updated?

    You would have to grab the modified date of the file and parse that data to grab the date/time then compare that to a previously save value to see if it's newer. Also you would need to setup a timer of some kind to check at regular intervals. I haven't messed with timers, so I can't help you there. Sorry.
    f = new File(path);
    f.modified;
    //returns "Tue Mar 12 2013 11:28:50 GMT-0700"

  • Runlogic is it executed properly?

    hi
    all
    please look at the code and result below
    *NOTE: THE RECORDS IN ACTREP ARE IN ACTUAL VERSION LOOKING AT THIS RECORD IT SHOULD PICK THE SAME RECORDS IN REPORTING APP WHICH MIGHT BE IN DIFFERENT VERSION , LEAVING ALL THE OTHER DIMENSIONS SIMILAR *
    code which is in actualrep application
    *XDIM_MEMBERSET VERSION=%VERSION_SET%
    *XDIM_MEMBERSET ACCOUNT =%ACCOUNT_SET%
    *XDIM_MEMBERSET TIME=%TIME_SET%
    *XDIM_MEMBERSET PROFITCENTER=%PROFITCENTER_SET%
    *XDIM_MEMBERSET INPUTCURRENCY=%INPUTCURRENCY_SET%
    *START_BADI RUNLOGIC
    QUERY = ON
    WRITE = ON
    APPSET = OFFICEDEP1
    APP = REPORTING
    DIMENSION BWSRC = <NONE>
    DIMENSION BUSINESSTYPE = <NONE>
    DIMENSION WEEKS = <NONE>
    DIMENSION PRODUCT=BAS(ALL_PROD)
    DEBUG = ON
    LOGIC = DEL_REP.LGF
    CHANGED = PRODUCT
    *END_BADI
    1.Code in reporting application
    *XDIM_MEMBERSET ACCOUNT = %ACCOUNT_SET%
    *XDIM_MEMBERSET INPUTCURRENCY =%INPUTCURRENCY_SET%
    *XDIM_MEMBERSET VERSION = %VERSION_SET%
    *XDIM_MEMBERSET TIME =%TIME_SET%
    *WHEN VERSION
    *IS REV10
    *WHEN TIME
            *IS  %TIME_SET%
      *REC(FACTOR = 0)
    *ENDWHEN
    *ENDWHEN
    2.Code in reporting application
    .*XDIM_MEMBERSET ACCOUNT = %ACCOUNT_SET%
    *XDIM_MEMBERSET INPUTCURRENCY =%INPUTCURRENCY_SET%
    *XDIM_MEMBERSET VERSION = %VERSION_SET%
    *XDIM_MEMBERSET TIME =%TIME_SET%
    *WHEN ACCOUNT
    *IS %ACCOUNT_SET%
                 *WHEN INPUTCURRENCY
                       *IS %INPUTCURRENCY_SET%
                                    *WHEN TIME
                                          *IS  %TIME_SET%
                                                   *WHEN VERSION
                                                          *IS REV10
                                                          *REC(FACTOR= 0)
                                                   *ENDWHEN
                                     *ENDWHEN
                 *ENDWHEN
    *ENDWHEN
    when I TRIED executING  BOTH I HAVE
    with default formulas in advanced tab
    it doesnot delete any records in the reporting application
    when executed in UJKT
    the log is
    LGX:
    *XDIM_MEMBERSET VERSION=ACTUAL
    *XDIM_MEMBERSET ACCOUNT =302000
    *XDIM_MEMBERSET TIME=2011.APR
    *XDIM_MEMBERSET PROFITCENTER=1234
    *XDIM_MEMBERSET INPUTCURRENCY=CZK
    *START_BADI RUNLOGIC
    QUERY = ON
    WRITE = ON
    APPSET = OFFICEDEP1
    APP = REPORTING
    DIMENSION BWSRC = <NONE>
    DIMENSION BUSINESSTYPE = <NONE>
    DIMENSION WEEKS = <NONE>
    DIMENSION PRODUCT=BAS(ALL_PROD)
    DEBUG = ON
    LOGIC = DEL_REP.LGF
    CHANGED = PRODUCT
    *END_BADI
    LOG:
    LOG BEGIN TIME:2011-11-17 10:42:17
    FILE:\ROOT\WEBFOLDERS\OFFICEDEP1\ADMINAPP\ACTUALREP\TEST.LGF
    APPSET:OFFICEDEP1
    APPLICATION:REPORTING
    [INFO] GET_DIM_LIST(): I_APPL_ID="REPORTING", #dimensions=14
    ACCOUNT,COMPANYCODE,DATASRC,FUNCTIONALAREA,OFFICE,OFFICEDEPT,INPUTCURRENCY,MEASURES,PROBABILITY,PRODUCT,PROFITCENTER,PROJECT,TIME,VERSION
    #dim_memberset=13
    COMPANYCODE:01,02,03,04,05,...325 in total.
    DATASRC:MANUAL,BWDATASRC,...8 in total.
    FUNCTIONALAREA:SERV,PROD,SGA,EQYI,RD,...18 in total.
    OFFICE:ALL,VIDEO,GAME,NOGAME,OTHER_P,...1476 in total.
    OFFICEDEPT:DEPT1,DEPT2,DEPT3,3 in total.
    1234      NOPROJ     2011.APR     ACTUAL     NOWEEK     - 9507267.00
    1  records have been written back!
    SCRIPT RUNNING TIME IN TOTAL:3.07 s.
    LOG END TIME:2011-11-17 10:42:18
    parameters passed
    VERSION = ACTUAL
    TIME = 2011.APR
    INPUTCURRENCY = CZK
    ACCOUNT  = 302000
    PROFITCENTER = 1234
    Please advise HOW TO ACHIVE THE ABOVE
    thanks

    this is the  message when  i run the package
    /CPMB/MODIFY completed in 0 seconds
    /CPMB/DEFAULT_FORMULAS_LOGIC completed in 5 seconds
    /CPMB/CLEAR completed in 0 seconds
    [Selection]
    (Member Selection)
    VERSION: REV10
    INPUTCURRENCY: USD
    TIME: 2011.APR
    ACCOUNT: 302000
    [Messages]
    Application: ACTUALREPORTING Package status: SUCCESS
    well the script used inreporting is
    *XDIM_MEMBERSET ACCOUNT = %ACCOUNT_SET%
    *XDIM_MEMBERSET INPUTCURRENCY = EUR
    *XDIM_MEMBERSET VERSION = %VERSION_SET%
    *XDIM_MEMBERSET TIME =%TIME_SET%
    *XDIM_MEMBERSET COMPANYCODE=01
    *WHEN ACCOUNT
    *IS %ACCOUNT_SET%
                               *WHEN TIME
                                          *IS  %TIME_SET%
                                                   *WHEN VERSION
                                                          *IS REV10
                                                          *REC(EXPRESSION=-%VALUE%)
                                                   *ENDWHEN
                                     *ENDWHEN
    *ENDWHEN
    and the script which calls the above is
    *START_BADI RUNLOGIC
    QUERY = ON
    WRITE = ON
    APPSET = OFFICEDEPOT1
    APP = REPORTING
    DIMENSION BWSRC = <NONE>
    DIMENSION BUSINESSTYPE = <NONE>
    DIMENSION WEEKS = <NONE>
    DIMENSION PRODUCT=BAS(ALL_PROD)
    DEBUG = ON
    LOGIC = DEL_REP.LGF
    CHANGED = PRODUCT
    *END_BADI
    I changed the script as per ur advise
    when i have actual in VERSION THEN it says the record is generated
    but
    i want the version REV10
    to be deleted
    from
    reporting APP
    this is the  result
    LOG:
    LOG BEGIN TIME:2011-11-22 15:40:17
    FILE:\ROOT\WEBFOLDERS
    ADMINAPP\ACTUALREPORTING\TEST.LGF
    APPSET:OFFICEDEPO
    APPLICATION:REPORTING
    [INFO] GET_DIM_LIST(): I_APPL_ID="REPORTING", #dimensions=12
    ACCOUNT,COMPANYCODE,DATASRC,FUNCTIONALAREA,INPUTCURRENCY,MEASURES,PROBABILITY,PRODUCT,PROFITCENTER,PROJECT,TIME,VERSION
    #dim_memberset=13
    DATASRC:RESTRUCTURING,STEPUP,STEPUPOFFSET,MANUAL,BWDATASRC,...8 in total.
    FUNCTIONALAREA:SERV,PROD,SGA,EQYI,RD,...18 in total.
    PROBABILITY:0,1,2,3,4,...11 in total.
    PRODUCT:NOPROD,00000000000000000000,2 in total.
    PROFITCENTER:1771,1 in total.
    PROJECT:PROJ01,PROJ02,PROJ03,PROJ04,PROJ05,...11260 in total.
    ACCOUNT:302000,1 in total.
    INPUTCURRENCY:EUR,1 in total.
    VERSION:REV10,1 in total.
    TIME:2011.APR,1 in total.
    COMPANYCODE:01,1 in total.
    Amount of time to run script:                                            231.25 ms
    BADI EXECUTION TIME IN TOTAL :3344.48 ms.
    SCRIPT RUNNING TIME IN TOTAL:6.22 s.
    LOG END TIME:2011-11-22 15:40:17
    thanks

Maybe you are looking for