Running APD for ABC classification

Dear Experts,
I have created a data mining object for calculation of customer clasification. Afterwards an APD object was created, where I use a BEx query to calculate the ABC classification (based on the rules in data mining object). Subsequently the attribute of info object 0CUST_SALES will be updated with ABC calls (name of info object is:0CUST_CLA).
APD object has been created and activated. Now when I try to run it, I get the error message:
"Internal error when reading the definition of InfoObject 1CUDIM"
Message no. RSCRM129
Any idea how to proceed?
Thank you
Aban

Hi,
i had the same issue with my APD. The solution here was remove the field 1CUDIM from the query and map all the keyfigures with their own units to the DSO. That means that when you have 6 keyfigures in the query and in the APD you have to create 6 unit info objects in the DSO .
From the query you get for example the following output:
D5M88END2WPQ8E1CJHFNNRAW7     
D5M88END2WPQ8E1CJHFNNRAW7_UNIT     
I map is to my own fields in DSO:
ZIC_AMT_1     IM quantity 1
ZIC_AMT_U1   IM unit 1 (unit belonging to the keyfigure)
Hope this helps.
Paul V
TruEconomy NL

Similar Messages

  • Running APD for multiple variants of a query

    Hi all,
    I am trying to create an APD with a query as the data source and an ODS as the data target. My requirement is such that i need to run the APD for various values of the characteristic combinations present in the selection screen of the query. I observe that we can only specify a single variant while defining the Data source of type query under RSANWB.
    Is there any way i can use multiple variants with the same query in a single APD , so that the APD runs for different variants of the same query at different run times ?
    Any help would be appreciated !
    Regards
    Snehith

    Hi Snehith,
    As per my knowledge, multiple variants with the same query in a single APD is not possible.
    However you can create different APDs for different combinations of characteristics value and then can use all these APDs in a single process chain to automate the load.
    For Example, Say you have query Q001 whose data you want to load in DSO DSO_001 and then to Cube C_001 for the characteristics combination. Now without filter in your query, you have Controlling Area = IN000,CN000 and Company code IN01,IN02, IN03, CN01,CN02,CN03. Now you want the data for (Controlling Area = IN000,Company code IN01,IN02)and (Controlling Area = CN000,Company code CN01,CN03).
    Create the two APDs with filter conditions between Q001 and DSO_001 as above. Now design the process chain as below:-
    Start varian>First APD>Data load in cube C_001 from DSO_001>Second AP> Data load in cube C_001 from DSO_001.
    Please note that when we execute the APD, old data in data target is deleted.
    Hope it helps.
    Regards,
    Prakash

  • ABC classification for material

    Hello
    Does ECC 6.0 offers any kind of standard ABC classification (allocation of materials to groups A, B, C , D, etc based on consumption , stock , turnover , etc ) for material.
    By my opinion, it should be some kind of standard programs that allows to do it.
    Thanks

    HI,
    Check trasacton code MIBC.
    Prerequisites
    Before running the analysis, you must define the valid cycle counting indicators in the Customizing system of Inventory Management and define the percentage allocation of the materials to the individual cycle counting categories.
    You can also directly change the percentage values via the indicator Change CC percentages on the initial screen of the analysis.
    To set the cycle counting indicator for a material, you need authorization to change material master records (authorization object Material Master: Plant, activity 02).
    Features
    The analysis takes into account the consumption (usage) or the requirements values of the selected materials for the desired time period. You can decide whether you want to analyze:
    Only materials that have a cycle counting indicator
    All materials; that is, including materials that have no cycle counting indicator.
    During the analysis, you can have the system automatically update the cycle counting indicator in the material master record for the selected materials
    Regards,
    Shailesh Mackwan

  • ABC classification

    Hi Gurus,
    How can I maintain in ABC clasification by mass upload in MRP
    and how this be automatically calculated as ABC per item. What I know for the Cycle Count is that I will run a report that could identify ABC by using the percentage setting in MIBC Tcode, in MRP Im not sure where to maintain.
    Please advise.
    Regards,
    Virgilio

    you have to give the ABC Classification in general data of MRP-1 view.
    A-Significant material
    B-Medium significant
    C-Lower significant
    based on this system will stratify the material.For Mass upload by LSMW.you have to check same material type and same views have been maintained by all the materials.Please check 1st thread of this forum for LSMW of material master.
    reward if useful.
    regards
    venkadesh

  • ABC Classification and Cycle Cout

    Hi,
    We need to count a specific category of items every week from our sub inventories.
    After reading manual I have done abc classification and created cycle count.
    But problem is I don't know/cant find how to perform cycle count on the category that I want to be counted every week.
    If anyone who does this or the gurus please help I am stuck with this.
    thanks,
    7Z

    Hi
    I was looking for that becuase by using the interface table we can upload adjustments after running cycle count.
    Is there a way to upload adjustments from excel after physical count,
    thanks,
    /Z

  • Need to transfer field KLABC (ABC Classification) between CRM and R/3

    Hello Group,
    We plan to make the R/3 field KLABC (ABC Classification) of a customer (R/3 Table KNVV, Attribute KLABC) available in SAP CRM under Customer's sales area data. It should also be maintainable in SAP CRM.
    After some analysis we found out, that this field also exists in SAP CRM (Table SMOKNVV, Attribute KLABC) but it is not replicated between CRM and R/3 (and vice versa). Also this field is not displayed in SAP GUI as well as not in the PCUI.
    Now we are analyzing the two options:
    1) Make KLABC from table SMOKNVV available in SAP CRM (and PCUI) for maintenance and extend the Middleware to enable the replication of KLABC between CRM and R/3
    2) Extend the customers sales area data in CRM (PCUI) by a new attribute „ZKLABC“ and extend the Middleware to enable replication between R/3 KLABC and the newly created ABC attribute in CRM
    We have the following questions:
    - What would be the better & easier approach ? Any recommendation or comment is highly appreciated.
    - If we choose option 2, to what extend would the SAP CRM Easy Enhancement Workbench (EEWB) support this development (Is it possible to extend the business partners sales area data with EEWB ? Does the EEWB also extend BDocs if you add new fields to Business Partner tables ?)
    Background Information:
    We have SAP CRM 4.0 SP8, R/3 4.7 and SAP Enterprise Portal 6.0
    Thanks a lot for help,
    Erik

    Hello Frédéric,
    no, I do not have the middleware enhancement guide. Do you have it electronically and could send it to me erikmueller (at) gmx.de ?
    In CRM would make the field KLABC from table SMOKNVV available in PCUI? Or would you use the Easy Enhancement Workbench to introduce a new field?
    Either way I the middleware would need to be enhanced, but I would like to understand what is easier in CRM to have the field available in PCUI.
    Thanks for the info.
    Regards,
    Erik

  • What is the impact - Activating Change Logs for Material Classification Dta

    To activate Change Logs for Material Classification Data I must first set the flag for "Multiple Objs Allowed" for the Class Type 001 Material Class. I am curious of what the impact of setting this flag will be. Also, is there a way to measure the DASD impact of activating the Change logging for this data.
    Thankyou
    Kevin

    In addition to the performance impact the process of turning on Change Logs for Classification data will convert the tables KSSK and AUSP to use an internal SAP number as a key instead of the Material number. This will cause problems for any custom programs that access those files directly and expect the material number to be the key. This file conversion occurs during the execution of program RCCLUKA2 which is used to Flag the change logs for existing records. This can be reversed by running report RMCLINOB. Because of the above impact we decided here to NOT implement this change in production.

  • Basics for Batch Classification Data

    Hello Experts ,
    I have few queries for Batch Classification Data .
    1. Which are the tables where Batch Classification Data for the batches is stored .
    2.Which Function module is called once we do the Goods movement which determines the batch
    classification data .
    3.When we do stock transfer for batches , then the Batch classification will run in Issuing plant and
    the batch classi. data will be copied in the receiving plant . Can you please tell me that which object
    carries this data from issuing plant to receiving plant.
    4.There is also a user exit with which we can play with Batch classification , can you please give some information on this .
    Thank you very much for the help !
    Regards
    Shashank

    1. The table is AUSP - but why would you need to know that. There are good function modules to query, read, change classifications of batches - so why would you like to read directly from DB?
    2. This depends on your release. Typicall in MIGO the module VB_CREATE_BATCH is called, the same one that is called within the BAPI to create batches.
    3. See 2. When you create a batch with reference, you call the same module additionally with the key of the reference batch (this is the issueing batch). 
    Inside that module are loads of user exits for all kind of purposes.
    Why not have a look yourself in Customizing at Logistics General -> Batch Management -> Batch Valuation.
    There's the "customer exits for goods movements in inventory management" (this is called e.g. in the goodsmovement bapi and the old transactions)  --> EXIT_SAPMM07M_004
    and the  "Valuation of Creation of New Batches Using Function Module" (this is called in the MSCxN and in MIGO) --> EXIT_SAPLV01Z_014 .
    In Customizing there's also the documentation what you can achieve with the exits.
    Hope this helps.
    Stefan

  • Adobe Creative Cloud - has anybody had any luck running Adobe CC on a new mac mini? Does it run slow for Photoshop?

    Adobe Creative Cloud - has anybody had any luck running Adobe CC on a new mac mini? Does it run slow for Photoshop?

    Adobe CC applications are very large and the base Mac mini isn't a good choice because it has only 4GB of RAM and has a slow standard hard drive. To get the most out of ACC you should upgrade the mini to at least 8GB. I'd also choose an SSD or Fusion drive for better performance.

  • I have an early 2011 MacBook Pro which has been running slow for a while. After looking at responses to similar problems I have downloaded and run EtreCheck and will post the output. Please can someone help me with what it all means.Thanks in advance

    I have an early 2011 MacBook Pro which has been running slow for a while. After looking at responses to similar problems I have downloaded and run EtreCheck. Please can someone help me with what it all means.
    Thanks in advance.
    EtreCheck version: 1.9.15 (52)
    Report generated 19 September 2014 08:07:14 GMT+8
    Hardware Information: ?
      MacBook Pro (13-inch, Early 2011) (Verified)
      MacBook Pro - model: MacBookPro8,1
      1 2.3 GHz Intel Core i5 CPU: 2 cores
      4 GB RAM
    Video Information: ?
      Intel HD Graphics 3000 - VRAM: 384 MB
      Color LCD 1280 x 800
    System Software: ?
      OS X 10.9.4 (13E28) - Uptime: 0 days 0:4:29
    Disk Information: ?
      Hitachi HTS545032B9A302 disk0 : (320.07 GB)
      S.M.A.R.T. Status: Verified
      EFI (disk0s1) <not mounted>: 209.7 MB
      Macintosh HD (disk0s2) / [Startup]: 319.21 GB (147 GB free)
      Recovery HD (disk0s3) <not mounted>: 650 MB
      MATSHITADVD-R   UJ-898 
    USB Information: ?
      Apple Inc. FaceTime HD Camera (Built-in)
      Apple Inc. BRCM2070 Hub
      Apple Inc. Bluetooth USB Host Controller
      Apple Inc. Apple Internal Keyboard / Trackpad
      Apple Computer, Inc. IR Receiver
    Thunderbolt Information: ?
      Apple Inc. thunderbolt_bus
    Gatekeeper: ?
      Mac App Store and identified developers
    Kernel Extensions: ?
      [not loaded] com.seagate.driver.PowSecDriverCore (5.2.4 - SDK 10.4) Support
      [not loaded] com.seagate.driver.PowSecLeafDriver_10_4 (5.2.4 - SDK 10.4) Support
      [not loaded] com.seagate.driver.PowSecLeafDriver_10_5 (5.2.4 - SDK 10.5) Support
      [not loaded] com.seagate.driver.SeagateDriveIcons (5.2.4 - SDK 10.4) Support
      [loaded] com.sophos.kext.sav (9.1.55 - SDK 10.7) Support
      [loaded] com.sophos.nke.swi (9.1.50 - SDK 10.8) Support
    Launch Daemons: ?
      [loaded] com.adobe.fpsaud.plist Support
      [loaded] com.microsoft.office.licensing.helper.plist Support
      [running] com.sophos.autoupdate.plist Support
      [running] com.sophos.configuration.plist Support
      [running] com.sophos.intercheck.plist Support
      [running] com.sophos.notification.plist Support
      [running] com.sophos.scan.plist Support
      [running] com.sophos.sxld.plist Support
      [running] com.sophos.webd.plist Support
      [running] com.trusteer.rooks.rooksd.plist Support
    Launch Agents: ?
      [loaded] com.divx.dms.agent.plist Support
      [loaded] com.divx.update.agent.plist Support
      [running] com.sophos.uiserver.plist Support
      [running] com.trusteer.rapport.rapportd.plist Support
    User Launch Agents: ?
      [loaded] com.adobe.ARM.[...].plist Support
      [running] com.amazon.music.plist Support
      [loaded] com.google.keystone.agent.plist Support
      [not loaded] jp.co.canon.Inkjet_Extended_Survey_Agent.plist Support
    User Login Items: ?
      iTunesHelper
      TomTomHOMERunner
      AdobeResourceSynchronizer
      Dropbox
    Internet Plug-ins: ?
      FlashPlayer-10.6: Version: 15.0.0.152 - SDK 10.6 Support
      DivX Web Player: Version: 3.2.1.977 - SDK 10.6 Support
      AdobePDFViewerNPAPI: Version: 11.0.09 - SDK 10.6 Support
      AdobePDFViewer: Version: 11.0.09 - SDK 10.6 Support
      Flash Player: Version: 15.0.0.152 - SDK 10.6 Support
      EPPEX Plugin: Version: 10.0 Support
      Default Browser: Version: 537 - SDK 10.9
      OVSHelper: Version: 1.1 Support
      QuickTime Plugin: Version: 7.7.3
      SharePointBrowserPlugin: Version: 14.4.4 - SDK 10.6 Support
      iPhotoPhotocast: Version: 7.0 - SDK 10.7
    Safari Extensions: ?
      Ultimate
    Audio Plug-ins: ?
      BluetoothAudioPlugIn: Version: 1.0 - SDK 10.9
      AirPlay: Version: 2.0 - SDK 10.9
      AppleAVBAudio: Version: 203.2 - SDK 10.9
      iSightAudio: Version: 7.7.3 - SDK 10.9
    iTunes Plug-ins: ?
      Quartz Composer Visualizer: Version: 1.4 - SDK 10.9
    3rd Party Preference Panes: ?
      Flash Player  Support
      Perian  Support
      Trusteer Endpoint Protection  Support
    Time Machine: ?
      Skip System Files: NO
      Auto backup: YES
      Volumes being backed up:
      Macintosh HD: Disk size: 297.29 GB Disk used: 160.38 GB
      Destinations:
      Data [Network] (Last used)
      Total size: 2 TB
      Total number of backups: 99
      Oldest backup: 2012-04-20 17:05:32 +0000
      Last backup: 2014-09-18 23:49:25 +0000
      Size of backup disk: Excellent
      Backup size 2 TB > (Disk size 297.29 GB X 3)
      Time Machine details may not be accurate.
      All volumes being backed up may not be listed.
    Top Processes by CPU: ?
          6% InterCheck
          5% iCalExternalSync
          3% WindowServer
          2% CalendarAgent
          2% SystemUIServer
    Top Processes by Memory: ?
      152 MB SophosScanD
      147 MB InterCheck
      106 MB SophosAntiVirus
      66 MB Dropbox
      57 MB com.apple.iTunesLibraryService
    Virtual Memory Information: ?
      161 MB Free RAM
      1.55 GB Active RAM
      1.41 GB Inactive RAM
      902 MB Wired RAM
      611 MB Page-ins
      0 B Page-outs

    Uninstall Trusteer software
    http://www.trusteer.com/support/uninstalling-rapport-mac-os-x
    Remove Sophos
    https://discussions.apple.com/message/21069437#21069437

  • Hacker problems so I reloaded Snow Leopard. Afterwards, Mac had to delete 798 items. Now looping on 4 items to delete for the past 2 weeks. Can't reboot, reload, or restart. I have to let the battery run down for it to turn off. How to fix this, please?

    I had hacker problems so I reloaded Snow Leopard. Afterwards, Mac had to delete 798 items. Now it is looping on 4 items to delete for the past 2 weeks. I can't reboot, reload, or restart. I have to let the battery run down for it to turn off. I think a big part of the problem is that someon one the internet (the hacker) was mirroring my hard drive. It seems to have locked up my system. I could be wrong about this guess, though. All I do know is that it is now looping on the last 4 iems, and I can't do anything.
    Well, I can get it to turn on, but all it does is continously try to delete the last 4 items. When I try to reload Snow Leopard, it tells me my hard drive is full and that I need to delete items.
    Can anyone help? I am so lost without my Mac. I am back on the PC, and though it works, I'm sure many of you will understand when I say it's just not a Mac.
    Thanks.

    I installed Snow Leopard using my Apple external Superdrive. I followed directions I found on the Apple site. Here is the article info:  Mac OS X v10.6 Snow Leopard: How to Erase and Install  
                     Article HT3910
                     located at: http://support.apple.com/kb/HT3910
    Everything was going smoothly until I got to the reinstall part. I had to choose to reinstall on a hard drive or network drive. I've never used a network drive; just the hard drive. It seems that's where the troubles began. I selected the hard drive. It seemed to go well, and then I got the message that I needed to delete some files because I was out of space. I chose to get rid of my music files, but, there were only 636. I don't know what the rest of the files were. I was using the Secure Empty Trash command.
    That was my first time doing an erase and install. I tried to do it again, but I now get a continuous error telling me that my hard drive is full and I must delete files. Only I can't delete files because 4 files are still being deleted and my computer won't let me stop the process.
    I found out about the hackers mostly by the fact that whenever I used to watch something like Hulu or Netflix, I never had problems with internet connection or speed. Lately, I had internet connection problems. I went in to check my settings for my internet provider and found out the settings had been changed to public and all these extra computers were connected to my network.

  • Retropay by element run Errors for one employee

    When i am running retropay for 3711 employees one of them errors out and the retropay by element process ends as Incomplete.
    The following is the error for the assignment:
    Error ORA-01427: single-row subquery returns more than one row has occurred in table pay_element_entries_f at location 4502
    Cause: an oracle error has occurred. The failure was reported on table pay_element_entries_f at location
    The log file for that it appears as follows:
    Payroll: Version : 12.0.0
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    RETROELE module: RetroPay By Element
    Current system time is 15-APR-2010 16:26:51
    ===============================================================================
    Oracle Human Resources Generic Process
    Started at : 15-APR-2010 16:26:51
    Chunk Size : 20
    Threads : 1
    Logging Category :
    User Messaging : N
    Interlock : N
    Trace : N
    RR Buffer Size : 500
    RRV Buffer Size : 500
    Bal Buffer Size : 500
    EE Buffer Size : 500
    Logging Area :
    Assignment ID for Start:
    Assignment ID for End o:
    HR_6881_HRPROC_ORA_ERR
    SQLERRMC ORA-01427: single-row subquery returns more than one row
    SQL_NO 4502
    TABLE_NAME pay_element_entries_f
    APP-PAY-06881: Error ORA-01427: single-row subquery returns more than one row
    has occurred in table pay_element_entries_f at location 4502
    Cause: an oracle error has occurred. The failure was reported on table pay_element_entries_f at location 4502 with the error text ORA-01427: single-row subquery returns more than one row
    Action: Please contact your support representative.
    Ended processing at : 15-APR-2010 21:50:07
    Total Assignment count : 3711
    Total Action count : 3711
    Successfully processed : 3710
    Skipped : 0
    Unprocessed : 0
    Errored : 1
    ===============================================================================
    PL/SQL Output
    PL/SQL Output
    Executing request completion options...
    ------------- 1) PRINT   -------------
    Printing output file.
    Request ID : 595012      
    Number of copies : 1      
    Printer : noprint
    APP-FND-00092: Routine PRINT_OUTPUT cannot find the file /data/oracle/PRD/inst/apps/PRD_hrmsprod/logs/appl/conc/out/o595012.out to print.
    Check if the file exists. Check if the person who started the concurrent manager has read privileges on the directory and on the file. Contact your system administrator to assign read privileges.
    Finished executing request completion options.
    Concurrent request completed
    Current system time is 15-APR-2010 21:50:08
    Please can some one help me to troubleshoot so that i can rectify this error for 1 employee?
    Edited by: 594647 on Apr 16, 2010 10:46 AM

    you can delete the retro assignment action for the moment, so you can launch the run for all employees.
    As such, you have some more time to debug the issue.
    I would activate some payroll tracing, so you know which fast formula throws this error. And then you should dig further, so you can identify the sql retruning multiple rows.
    Or you do a sql*trace. That one will also point you to the offensive sql.

  • Is there a way to run a For Loop independen​tly within a While Loop in LabVIEW 2013?

    In my program I would like to run a For loop inside of a While loop, and have them run independently, at their own execution rates.  As a test, I wrote a simple VI with a While loop with 1 second timing, and into this I inserted a For loop with 3 second timing.  I created indicators for both iteration terminals.  Upon running the VI, I found the While loop waits for the For loop to run N times before the While loop executes again.  I also found that sometimes the first iteration of the For loop will end at 1 second rather than 3 seconds, and the STOP button to terminate execution of the While loop does not always work.
    Solved!
    Go to Solution.

    ksinks wrote:
    Thanks, how would you synchronize the loops?  I have gone through the Getting Started exercises and manual.
    Why would synchronization matter? Did you want them to run independantly at their own speed or not?
    Regardless, there's a synchronization pallette with functions for this, as Occurance.
    Other solutions include a common loop counter and a case structure executing every X'th iteration, or having the faster loop send a queue or event every X'th loop that controls the slower loop.
    /Y
    LabVIEW 8.2 - 2014
    "Only dead fish swim downstream" - "My life for Kudos!" - "Dumb people repeat old mistakes - smart ones create new ones."
    G# - Free award winning reference based OOP for LV

  • I run a Windows 8.1 -  Photoshop CS5 under Parallels on an iMac one year old and both having the latest OS. I use a NIK plugin "VIVEZA" which run fine for years without a problem. Latelt and without a reason, the NIK plugin has gone corrupt, (can not use

    @I run a Windows 8.1 -  Photoshop CS5 under Parallels on an iMac one year old and both having the latest OS. I use a NIK plugin "VIVEZA" which run fine for years without a problem. Latelt and without a reason, the NIK plugin has gone corrupt, (can not use it more the 2 corrections after a get a black background message that there is not enough memory) and the system stops running and a must restart is required. How do I fix this terrible problem?
    If it requires a Photoshop CS5 re-install, (I belief that it may fix the problem) and re-install the two third party plugins (NIK Viveza) and (Onone Perfect Resize) how and where do I get to the proper Adobe upload page to do that.
    I have tried to fix this problem by changing the memory allocations, I have spend many hours on it and are very disgusted with it but it needs to be fixed. The current memory settings are;
    Ram available = 1588 MB
    Range = 873 -1143 MB
    Recommended Photoshop usage range =  857  however I have tried every setting to max and in between. Nothing works. Current setting = 1588 (max)
    The Photoshop I use is registered, I have product # and order # .

    Contact NIK for updated/upgraded versions of their plug-ins.  They have been having a lot of issues with their plug-ins.

  • How to change the view criteria at run time for af:query

    Hi,
    I've a usecase where I need to change the view criteria of the af:query at run time.
    Use case:
    =======
    1) Consider a check box (Show Emps Under Dept 10) in the query panel when user selects and clicks 'Search' button should show the employees under dept 10. If user searches without selecting the check box, the results should show all the employees in all the departments.
    2) I need to have a check box always in the query panel. Its mandatory.
    The way I implemented:
    ==============
    1) Created a transient variable 'Show Emps Under Dept 10' in the EmployeeVO and also created a bind variable bind_DeptNo.
    2) Create a view criteria 'AllEmployees' which has only the transient attribute as the view criteria item and whose value set to 'false' by default.
    3) Created another view criteria 'EmpUnderDept' which has 'DepartmentId' as the view criteria item and whose value set to the bind variable 'bind_DeptNo'.
    4) Dropped the view criteria 'EmpUnderDept' as the 'af:query' panel in the jspx page.
    5) Overridden the queryListener as '#{EmpBean.empSearch}'
    6) Has the below code in the empSearch method as below. When user selects the check box, applying the other criteria 'EmpUnderDept' and setting the bind variable to '10'.
    public void empSearch(QueryEvent queryEvent) {
    // Add event code here...
    QueryDescriptor queryDesc = (QueryDescriptor) queryEvent.getDescriptor();
    ConjunctionCriterion conCrit = queryDesc.getConjunctionCriterion();
    List<Criterion> criterionList = conCrit.getCriterionList();
    List criterionValues = new ArrayList();
    Object criteriaValue = null;
    int criteriaNo = 0;
    DCBindingContainer bc = (DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
    FacesContext facesContext = FacesContext.getCurrentInstance();
    for (Criterion criterion : criterionList) {
    AttributeDescriptor attrDescriptor = ((AttributeCriterion)criterion).getAttribute();
    System.out.println("============== attrDescriptor.getName() =================== " + attrDescriptor.getName());
    criteriaValue = ((AttributeCriterion)criterion).getValues().get(0);
    if(criteriaNo==0) {
    Boolean val = (Boolean) ((AttributeCriterion)criterion).getValues().get(0);
    if (val.equals(true)) {
    OperationBinding method = (OperationBinding) ADFUtil.findOperation("ExecuteWithParams");
    if(method!=null) {
    Map params = method.getParamsMap();
    //params.put(key, value)
    method.getParamsMap().put("bind_DeptId", 10L);
    method.execute();
    ADFUtil.invokeMethodExpression( "#{bindings.EmpUnderDeptCriteiaQuery.processQuery}", queryEvent);
    } else {
    //ADFUtil.invokeEL("#{bindings.ExecuteWithParams.execute}");
    ADFUtil.invokeMethodExpression( "#{bindings.AllEmployeesCriteriaQuery.processQuery}", queryEvent);
    But this approach is not working and its always showing all the employees in all the departments.
    Please let me know if there is a way to change the view criteria at run time depending on the values set at run time for one of the view criteria items.
    JDev version am using is '11.1.1.5'
    Thanks,
    Lakshman

    Hi Shay,
    It worked for me without overriding the executeQuery() method in the ViewImpl.java.
    Instead of creating 2 view criteria, I created only one which has both transient variable and the DepartmentId = <bind_DeptId>. With the above code, it worked properly. Now I am using only one view criteria.
    Thank you.

Maybe you are looking for

  • LaserJet Pro 200 color mfp m276 Printing issues

    I have had this printer for about a year now.  Now it has started printing solid black lines across the page I am printing, whether it be from my computer or a fax.  I can run the cleaning process from the printer and its fine for a few hours and the

  • How to find min and max of a field from sorted internal table

    Hi, I have sorted Internal Table by field f1. How do I find max and min value of f1. For min value of f1 I am using, READ TABLE IT1 INDEX 1. IT1-F1 = MIN. Is this correct? And how do I find the max value of f1 from this table. Thanks, CD

  • Xorg cannot open shared object file

    I have a fresh install of Arch, I have Xorg, Awesome, Keyboard/mouse, Guest Additions (VirtualBox) installed. But im receiving an error at startup

  • Best way to burn iMovies to DVD

    I am looking for advice on the best way to get iMovies onto DVD. I have spent a lot of time reviewing discussions & answers already posted... probably too long as I am not getting anywhere! I have built a movie in Movie 11 from AVCHD files (1080i) sh

  • Changing Chart Text to Vertical on charts?

    I have some long cell names along the bottom of a chart that run over each other. Is there a way to switch the text so it runs vertical like this: M a r 2 0 0 8 Instead of like this Mar 2008?