Caching user shared data in WebDynPro (i.e. applicationBean)

Hi,
I'd like to know if there's a standard way to cache/access user shared data on the J2EE engine running my WebDynPro app.
I need to do that because Bapis call in our application are expensive. Thus we want to minimize them. It would be impossible to rewrite the whole backend, because we're migrating from an existing application.
I thought about sharing through a database local to the J2EE engine, or file sharing through a lock. But I bet these options are likely to hinder me than anything else.
Does anybody has a suggestion?
Thanks in advance,
Alexis Trudeau

Indeed, my explanations are a bit misleading. According to your definition, I'm talking about shared data.
For example, in my application we have user profiles. Each user has a subset of these profiles.
Usually, these profiles are only modified during the deployment stage on the client's infrastructure.
Once settled, these profiles are static during production. In that case, I'd rather fetch all the profile once, and work with them locally on the J2EE engine instead of fetching them each time a user is authentified.
Do you have further suggestions?
P.S. Yes, I do use NetWeaver wizard to create Adaptive RFC Model

Similar Messages

  • Web Application - Data caching of enterprise data

    Sorry in advance if this is off-topic but I can't find anywhere else to post this type of question.
    I am looking for information/suggestions such as books, technology or design methodology for my enterprise web applications. These sites are currently up and functional using only JSP, servlets and regular Java classes stored in a web application session to provide data caching and access. We are using Weblogic Server 6.1 running on an AIX Unix system at this time. I'm not sure that this is the best design architecture as our web sessions are getting too large but I can't think of any other Java technology to use and I need some help. Here's an overview of our environment and our needs.
    Our core data is held in a mainframe based IMS system. Some DB2 is also used. Access to this data is through IMS COBOL transactions which we can execute with IMS Connect. We also use some JDBC to get to the DB2 tables directly where available.
    Some overall application data is cached when the web application is deployed. We use singleton classes which are created and refreshed at deployment and they then refresh themselves from the sources every 24 hours.
    Each time a user logs in we execute several IMS transactions and JDBC calls to cache user specific data in regular Java classes which are then simply placed in the users web session where we access them from JSP, servlets and other Java classes. The fields in these Java classes range from any type of primitive field to TreeMaps of other Java classes. As the data is cached it is sorted and other fields are calculated and stored in these classes. As the user progresses through the system we then may have to do several other IMS transaction and JDBC calls to collect other types of data. All of this is then also added to the users session. Most of this in inquiry. We do allow transactions but those are built from user input and data already cached and are then we just execute the IMS transactions with the input.
    As our application has grown these Java classes have gotten larger and larger. And since these are simply stored in server memory in the web sessions then these are also getting huge. I'm concerned that this is not the best way for this application to be architected. Is there something else we should be doign? I simply don't understand how Entity Java Beans could be used but then again I don't know much about them. I wouldn't think that caching the data to a local database and accessing it from there would be any more efficient and would probably just slow down the system from all the I/O.
    Any help or direction would be greatly appreciated.

    The best book you can buy is 'Professional Java Server Programming, j2ee edition' by Wrox. It is by far the best reference I've used. Another quick reference consideration might be the j2ee book provided by codenotes... its quick and to the point.

  • Sharing User Session data

    I have multiple java applications ( applet and jsp based) interacting with a common middleware ( statefull and stateless ejbs no entity beans).
    Users initiate sessions from individual application and now need to share the state data information across the multiple applications ..
    Any suggestions / tips / sample code ??

    In J2EE, "sharing data" typically implies the use of entity EJBs.
    There are other ways to accomplish this, for example in a single server you
    can share data between clients using an in-memory cache (instead of a
    database), and this is often implemented as a static Hashtable or something
    similar. Be careful though ... providing your own "shared data store" is not
    a "standard" like EJB, and there are implications if you try to run in a
    cluster (see our Coherence product ;-).
    Peace,
    Cameron Purdy
    Tangosol, Inc.
    Clustering Weblogic? You're either using Coherence, or you should be!
    Download a Tangosol Coherence eval today at http://www.tangosol.com/
    "rajk" <[email protected]> wrote in message
    news:3c9eb6ab$[email protected]..
    I have multiple java applications ( applet and jsp based) interacting witha common middleware ( statefull and stateless ejbs no entity beans).
    Users initiate sessions from individual application and now need to sharethe state data information across the multiple applications ..
    Any suggestions / tips / sample code ??

  • Working with multiple users and computers, but shared data

    Sorry if this is posted in a poor place, I'm not sure where the best place is. This is sort of a general questions.
    For a long time, my wife and I have had either one computer, or two machines but one has definitely been just a terminal. We've basically set up all of our data to be one one primary machine, and if we want to view/edit that data we have to use that machine.
    We just got a new MacBook Pro and I would like to be able to use two machines as equals. Sadly, this idea of multiple computers, with two users and some shared data is really giving me difficulty. I was wondering if anyone has any suggestions on how to best manage things like:
    Synchronizing portions of our contact list (We share about 50% of the combined library -- we don't have to share all though).
    How to manage iPhoto so that we can each have access to the photos. As an added difficulty (or maybe this is easier?) my Wife just wants to have access to the pictures for viewing and sharing on Facebook/Picassa/etc. I am the only one who wants to edit, correct and cull our library. That said, I always edit when I first put the data on the machine, and almost never again; so it would be fine to have one (or both accounts) set up as view only for the iPhoto data.
    How to manage iTunes so that we can each have access to the music. As a super awesome bonus, it would be great if we could have three libraries: His, Hers and Shared. Maybe as much as 30% of our music library is similar, the rest just gets in the way.
    What is the best solution people have found for calendars? (I'm thinking two separate calendars, and we each subscribe to each others iCal feed)
    Mail.app and bookmark synching is not really a problem for us.
    Two extra points:
    * One machine is portable, and the other isn't. Ideally, when the laptop is out of the house, both machines should still have reasonable access to the shared data. That is: Just dumping things in the shared folder won't work because when the laptop is out of the house we will be disconnected from the source data.
    * We just got a second iPhone. This means that both of us will be taking photos/video separately and trying to synch back to the master data store.
    * Basically, I'm trying to minimize data duplication as much as possible, and just synchronize the systems to each other.
    Thanks a ton in advance. If anyone has any suggestions at all, I would love to hear them. Including "This is in the wrong forum, go ask here instead..."

    So you have a desktop Mac and a laptop Mac, right? Two user accounts (and a third admin account) on each computer, right?
    I profess that I haven't tried this, but here is how I would approach your problem:
    Sharing Music and Photos between multiple user accounts on the same computer: 
    See if http://forums.macrumors.com/showthread.php?t=194992 and http://forums.macrumors.com/showthread.php?t=510993 provide any useful information to assist you in this endeavor.
    Sharing across multiple computers:
    Turn on file sharing on the Desktop (System Preferences > Sharing). Now you can mount the Desktop as an external drive on the laptop's Desktop. Copy the music and photo folders across. Will take awhile to do the first time. Then, for future use, get a copy of the donationware CarbonCopyCloner or equivalent. You can use CCC to selectively sync specific folders from one computer to the other. There may be a hassle with digital copyright issues on music and movies, though.
    Calendars:
    As you have suggested yourself, publishing yours and subscribing to hers is probably the best way to do it, on the same computer. Across computers, syncing with CCC or equivalent would probably be the way to go.

  • Advice pls. re. Users and Groups and shared Data

    Before I get to concrete questions, I'd like to explain what I have in mind and would welcome suggestions; ie. is it reasonable or have I overlooked something easier or any pitfalls?
    Basically, I've got 3 user accounts (not counting FTP, MySQL, etc) on my Powerbook, which are all mine, just represent different "personas" (private, work, music composition). I've had it like that for years and am perfectly happy. Eg. when I'm working I don't see a desktop cluttered with the latest junk I've downloaded and when I've got my music making hat on I open up iTunes and see my sample collection. So far so good!
    But it does have some drawbacks of course, when it comes to sharing data accross accounts (email, contacts, calendar, passwords, etc). For most there's an individual and easy enough solution but I'd really like one single solution and not have to keep doing difference maintenance tasks on different files in different accounts. And just to further compound the issue, I'd really like to have all this "shared data" in one central location for easy sync with my XP box.
    My idea is thus; a fourth virtual user (something like "me"), which doesn't appear in the login/user-switching menu, but whose home folder is simply a repository for all this shared stuff I'm talking about. Syncing with XP whould then be a breeze!
    I'd then use aliases and/or symbolic links as appropriate, from my usual three accounts, for example, to a single Thunderbird profile or Calendars folder or whatever.
    Finally, currently I've got all user accounts set up as admin accounts, mostly so they can all access each other's data. I don't like this though, from a security point of view and would prefer to assign them all to a (new) group "virtual-me", adding each user into this group.
    Does all this sound reasonable?
    Cheers,
    Rich
    BeigeG3 400/256/40 OS921, PismoG3 400/768/80   Mac OS X (10.3.9)   Atari 1040 STe, 4Mb, 100Mb HD, Zip 100, 4x CD

    have sorted it now, no need for a "virtual" user, just added a new group and shoved all the files I want to share accross accounts into a folder in /Users... as i suspected, I was thinking far too complicatedly

  • Multi-users sharing iTunes data on Tiger?

    Dear friends, I've spent some time unsuccesfully searching for an answer on this - can anyone help please?!
    I have used my iMac g4 for about 3 years and share it mostly with my daughter. Last week I decided to set her up with her own account using the multi-user facility. However, I want her to be able to access out iTunes music which is in my account. I tried moving the iTunes music folder into the shared area, but then neither of us could access music, we both had empty music libraries.
    Is there a simple way of allowing new users to access both the existing iTunes or other data without making copies of all the music in both user's accounts? Ta muchly.

    Hello there and thanks for your input!
    Actually, I am able to run iTunes with my music files in the new account I set up for my daughter, without iTunes being loaded in my own account. I noticed during reading many pages of help that you do need iTunes loaded in the 'orginators' account for any Macs that you have in a network (up to 5 in the network).
    In my case I copied my iTunes Music library into my Public area and then logged into my daughter account to 'point it' to my music library. It does look as if I can delete and add music too, although I haven't tried that yet.
    I've just pasted in the following from iTunes help (that I followed): -
    Learn how different accounts on an single computer with iTunes can share music.
    Tip: If you are trying to share music between multiple computers see one of the following articles:
    Windows: Sharing your iTunes library across computers
    Mac OS X: Sharing your iTunes library across computers
    If you want to share music with other users on your computer , then follow the steps below.
    To share your music with other accounts on the computer:
    Mac OS X (Click for more)
    Quit iTunes.
    Locate your iTunes Music Folder. It is stored by default:
    ~/Music/iTunes or ~/Documents/iTunes/.
    These folders cannot be accessed by other accounts on the computer. In order for other users to be able to access your music, you must move it to a publicly accessible location.
    The Public folder in your home directory (~/Public), or to another folder outside your home directory that other users have access to, such as /Users/Shared. Tip: The tilde "~" refers to your home folder. For more information see Mac OS X: Using Your Home Directory.
    Drag the iTunes Music Folder to a publicly accessible location. Important: Do not move the iTunes folder, the iTunes 4 Music Library file or the iTunes Library.xml file.
    Open iTunes.
    From the iTunes menu, choose Preferences.
    Click Advanced.
    Click the Change button.
    Navigate in the Change Music Folder Location dialog to the location of your iTunes Music folder.
    Click Choose.
    To listen to another account's music files:
    Open iTunes.
    From the iTunes menu, choose Preferences.
    Click Advanced.
    Deselect the "Copy files to iTunes Music folder when adding to library file" option.
    Click OK.
    From the File menu, choose Add File to Library. Note: Windows users can also choose Add Folder to Library to add a folder of songs.
    Navigate in the Add File To Library window to the location where the other user's music is saved (the iTunes Music folder in the case above).
    Click Open.
    Repeat these steps for each account that is listening to shared music.
    When another user of the computer has imported new music from CD, repeat steps 6 through 8 to add the music to your library.
    Thanks for you link to the iPhoto help - I'm sure I will want to do that next!!
    Regards
    Paul

  • How to get the complete data from Webdynpro using a RFC

    hi guys,
    A form is created in the webdynpro, when that pdf form is called the user have to provide the key field ie the employee number in the form and then when he press the 'go' button a rfc is called and it gives all the details of the employee in the form. Then the user have to input some fields in the form and he have press the submit button. My problem is here, when the user is going to press the submit button that form will be converted to a stream (binary) of data and it is sent to one of the import parameter used in the RFC.
    I have created a RFC and created a import parameter of data type XSTRING, since i want to see what exactly R3 is receiving from web dynpro i am writing this contant in the sever as a text file. When i saw that text file i cant see the complete data.
    And when i searched in R3 the capacity of xstring is 1024 CHAR, so i dont know how to capture the entire data from webdynpro into my R3.
    I give the code what i worte please tell me am i missing anything in my code, or is there any data type which can hold more than 500kb of data which is coming from webdynpro.
    FUNCTION ZSEND_MAIL_ATTACHMENT.
    ""Local Interface:
    *"  IMPORTING
    *"     VALUE(OUT_PLACE_LEVEL) TYPE  XSTRING OPTIONAL
    *"     VALUE(BIN_DATA) TYPE  INDX_CLUST OPTIONAL
    *"  TABLES
    *"      IT_MESSAGE STRUCTURE  SOLISTI1
    Data Declaration
      DATA: gd_cnt TYPE i,
          gd_sent_all(1) TYPE c,
          gd_error TYPE sy-subrc,
          tab_lines LIKE sy-tabix.
    Structure Declaration
      DATA : BEGIN OF it_file OCCURS 0,
              row(255),
             END OF it_file.
      DATA : BEGIN OF i_split OCCURS 0,
      row(50),
      END OF i_split.
    Internal Table Declaration
      data : it_receivers like table of SOMLRECI1 with header line."occurs 0.
      DATA : objbin LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE. "sOLIX
      DATA : it_packing_list LIKE sopcklsti1 OCCURS 0 WITH HEADER LINE.
      data : wa_receiver like table of SOMLRECI1 with header line.
      data : it_receiver like table of SOMLRECI1 with header line.
      data : v_bin_data like SOLISTI1 occurs 0 with header line.
      DATA : gd_doc_data LIKE sodocchgi1 OCCURS 0 WITH HEADER LINE.
    *data bin_data1 like table of solix with header line.
      REFRESH : objbin, it_packing_list, it_receivers, wa_receiver.
      CLEAR   : objbin, it_packing_list, wa_receiver, it_receivers.
      DATA V_SUBJECT(255) VALUE 'HI'.
      gd_doc_data-doc_size = ( tab_lines - 1 ) * 255 + STRLEN( it_message ).
      gd_doc_data-obj_langu = sy-langu.
      gd_doc_data-obj_name = 'SENDFILE'.
      gd_doc_data-obj_descr = v_subject.
      gd_doc_data-sensitivty = 'O'.
      APPEND GD_DOC_DATA.
    Appending The Internal Table it_packing_list
      it_packing_list-head_start = 1.
      it_packing_list-head_num = 0.
      it_packing_list-body_start = 1.
      it_packing_list-doc_type = 'RAW'.
      it_packing_list-body_num = tab_lines.
      APPEND it_packing_list.
    *CALL FUNCTION 'GUI_UPLOAD'
    *EXPORTING
    *filename = V_FILE_PATH
    *filetype = 'BIN'
    *TABLES
    *data_tab = BIN_DATA.
      move bin_data to v_bin_data.
      append v_bin_data.
    *move soli to bin_data.
      LOOP AT V_BIN_DATA into objbin.
    MOVE v_bin_data TO objbin-line.
        APPEND objbin.
      ENDLOOP.
      CLEAR it_packing_list.
      DESCRIBE TABLE objbin LINES tab_lines.
      it_packing_list-transf_bin = 'X'.
      it_packing_list-head_start = 1.
      it_packing_list-head_num = 1.
      it_packing_list-body_start = 1.
      it_packing_list-doc_type = 'PDF'.
      it_packing_list-body_num = tab_lines.
      it_packing_list-doc_size = tab_lines * 255.
      APPEND it_packing_list.
    data file(255) value '/tmp/bali.txt'.
    *Appending The Internal Table it_receivers
    close dataset '/tmp/bali.txt'.
    open dataset '/tmp/bali.txt' for output in text mode encoding default.
    if sy-subrc = 0.
    loop at objbin.
    transfer objbin to '/tmp/bali.txt'.
    endloop.
    else.
    write 'hi'.
    close dataset '/tmp/bali.txt'.
    endif.
      it_receiver-receiver = '[email protected]'.
      it_receiver-rec_type = 'U'.
      it_receiver-com_type = 'INT'.
    APPEND wa_receiver.
    move wa_receiver[] to it_receiver[].
      append it_receiver.
    *Move wa_receiver[] to it_receivers[].
    Clear it_receivers.
    if i_OUT_PLACE_LEVEL NE 0.
    loop at it_receivers into wa_receiver.
       loop at it_receivers into wa_receiver.
    **Function Module To Post The Message To Externa Mail
         CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
           EXPORTING
             document_data              = gd_doc_data
             put_in_outbox              = 'X'
             commit_work                = 'X'
           TABLES
             packing_list               = it_packing_list
             CONTENTS_TXT               = objbin
             receivers                  = it_receivers
           EXCEPTIONS
             too_many_receivers         = 1
             document_not_sent          = 2
             document_type_not_exist    = 3
             operation_no_authorization = 4
             parameter_error            = 5
             x_error                    = 6
             enqueue_error              = 7
             OTHERS                     = 8.
         clear wa_receiver.
    ENDFUNCTION.

    You have to convert your long string to a table of shorter strings.
    There may be other ways, but one possibility is to use a loop to process you string.
    while (there is something left)
       put the next e.g. 1024 characters in a new row of your table
    endwhile
    If you need to reconstruct your string from the table, don't use simple concatenation since it will remove blanks at the end of lines. Believe me (from experience) sooner or later this will happen.
    Instead you need to either set the subsections of your long string, or insert from the end of your table and keep shifting the contents (probably less efficient) right

  • Sharing iPhoto library in /Users/Shared doesn't allow all users to edit all photos

    I share a laptop with my wife.  We have two separate user accounts on the MacBook Pro.  I've moved iPhoto to /Users/Shared in an effort to allow both users the option to EDIT photos in iPhoto. 
    How do I modify the permissions so that we can both edit photos no matter who uploads them?
    The MBP is running Mavericks (10.9.1)  and iPhoto is up to date (9.5.1).

    Hi Larry - you seem to know what you are doing!  Can I butt in with a question?
    I have a large (75Gb) iPhoto library (all my family photos since 2003) on a MBA (2011) which I use for work.  This Christmas I have bought a new MBA (2013) for family use and want to transfer everything over to the new MBA so that the rest of the family can (1) look at (and use (i.e. email, export, etc but not edit)) them and (2) have their own libraries in their own user directories without cluttering up 'my' shared one.
    I was planning on putting the library into -users/me/public.  Would this work?  Or do you have a better idea?
    Thanks in advance.

  • Multiple users sharing address book (intranet)

    Can one machine with multiple users share the address book? Basically I am setting up 3 users (parent control) so they can't stuff up the settings (desktop etc.) Two of them will share the address book,iPhoto,iTunes etc. of the administrator. The other will be independant.
    Can it be done simply. Yes I know about Prefs/User Groups and Users/Shared Folder. I have an existing setup (Address Book etc.) in the admin user, as the system has only had 1 user for a few years.
    Cheers

    You would think Apple, the forefront of Home computing, would have a built in preference selection allowing multiple users on the SAME computer to share simple things like address book and calendar data.
    Seems like a no-brainer.
    Its ridiculous that I have to buy a subscription to an online account, send all my personal stuff to some server in California or wherever in the world it is just so that I can share the info with my wife on the computer we share here at home
    Money Grab or what?
    V.K. wrote:
    if anything one should try a symbolic link with some inherited ACLs to make everything in the address book folder read+write for both users.
    "if anything" apple needs to provide an update that streamlines this sharing business, or at least provides a work around that is understandable for the average user. We spent good money on this machine to make some things in life easier, not to become programmers or system managers

  • Shared Data Source with prompted credentials - errors out.

    Using Data Tools (VS 2010) to build report.
    Have built a simple report while trying to diagnose this issue.  This report is created in a project that was originally built in BIDS2008 and migrated to Data Tools 2010.  This project contains an original shared dataset that does NOT
    error out.
    Report contains
         1) shared data source with properties set to prompted credentials.
         2) shared dataset using data source above
         3) 2 parameters (month and year)
         4) Report uses shared dataset
         5) 2 text boxes in the report body to display the parameters values.
    When I try to preview this report I get the error:
         The execution failed for the shared data set "xxx"
         Cannot create a connection to data source 'Data source for shared dataset'
         Security processing failed with reason "3" ("password missing")
    Now, if I changed that same shared dataset to use a static login and password; the report renders fine.
    What is going on???

    Hi RoseNeedsAVacation,
    When you use shared data source with "Prompt for credential" option, please use SQL Server login credential to u view the report in BIDS or SSDT report designer environment.
    Note: The shared data source will automatic switch to SQL Server authentication mode if we use "Prompt for credential" option.
    After you deploy your report and shared data source to report server, please remember to configure your shared data source to use "Credentials supplied by the user running the report" option. Furthermore, select "Use
    as Windows credentials when connecting to the data source" checkbox if the credentials that the user provides are Windows Authentication credentials. Do not select this check box if you are using database authentication (for example, SQL
    Server Authentication).
    For more information, please refer to the article below:
    New Data Source Page (Report Manager):
    http://technet.microsoft.com/en-us/library/ms180077(v=sql.100).aspx
    Regards,
    Elvis Long
    TechNet Community Support

  • Outlook cached mode, shared calendars, permissions and sync errors

    We have the following environment -
    Exchange 2010 SP2, no public folder DB; Outlook 2010 sp1 cached mode.
    under very specific circumstances, but unfortunately a common circumstance, we're getting sync errors -
    15:59:56 Synchronizer Version 14.0.6126
    15:59:56 Synchronizing Mailbox 'Nigel'
    15:59:56 Synchronizing server changes in folder 'Naomi - Calendar'
    15:59:56 Downloading from server 'outlook.cri.camres.org'
    15:59:56 Error synchronizing folder
    15:59:56                                 [80070005-508-80070005-560]
    15:59:56                                 You do not have sufficient permission to perform this
    operation on this object.  See the folder contact or your system administrator.
    15:59:56                                 Microsoft Exchange Information Store
    15:59:56                                 For more information on this failure, click the URL below:
    15:59:56                                
    http://www.microsoft.com/support/prodredirect/outlook2000_us.asp?err=80070005-508-80070005-560
    15:59:56 Done
    This occurs if Naomi shares her Calendar with me, without granting me read "Full Details", if she changes the permissions and allows me to read Full Details, the sync error goes away.
    It's repeatable, i have tested it with a few users sharing calendars with each other, and changing permissions.
    The peculiar thing is that Naomi is in My Team, so her calendar is listed under Team Calendar,  I get no sync errors, it's only when I add Naomi's Calendar as a Shared Calendar and don't have read Full Access permission that the sync errors appear.
    User's don't necessarily want to give Full Access to their Calendars, so that's not really a viable work around for us, this smells very much like a bug with outlook, is anyone else seeing this?

    Hi
    Thanks for sharing
    Cheers
    Zi Feng
    TechNet Community Support

  • Creating report based on user selected Date Range

    Hello.
    I am trying to display an Apex report that selects data for the report based on a user entered date range.
    It's a simple page with two date picker fields (p18_start and p18_end).
    The report region SQL looks like this:
    SELECT *
    FROM prj_items
    WHERE LM_DT BETWEEN :p18_start AND :P18_end
    One table, one field on the table to search and two Apex variables.
    I thought this would be fairly simple, but I am obviously missing something.
    I not even sure what other information is needed to help me figure this out.
    -Jody

    Hi,
    You can set defaults for the datepickers if you need to - this could be done in a computation on the page for each item and conditional on the item being null.
    When I've done something similar to this, I've created two hidden page items - eg, :P19_FIRST_DATE and :P19_LAST_DATE and populated these with the earliest/latest date that the user could reasonably select (perhaps, in your case, the MIN(LM_DT) and MAX(LM_DT) values).
    Then your SQL would be:
    select * from PRJ_ITEMS
    where LM_DT BETWEEN TO_DATE(NVL(:P19_START,:P19_FIRST_DATE), 'DD-MON-YY')
    AND TO_DATE(NVL(:P19_END,:P19_LAST_DATE), 'DD-MON-YY')If you don't want to set default dates, you could do something like:
    SELECT * FROM PRJ_ITEMS
    WHERE (:P19_START IS NULL AND :P19_END IS NULL)
    OR (:P19_START IS NOT NULL AND :P19_END IS NULL AND LM_DT >= TO_DATE(:P19_START,'DD-MON-YY'))
    OR (:P19_START IS NULL AND :P19_END IS NOT NULL AND LM_DT <= TO_DATE(:P19_END,'DD-MON-YY'))
    OR (LM_DT BETWEEN TO_DATE(:P19_START,'DD-MON-YY') AND TO_DATE(:P19_END,'DD-MON-YY'))There are various reasons why your two dates are being cleared when the page is reloaded. Firstly, you should check the branch that returns to the same page - make sure you are not clearing the cache for the page. Then, have a look to see if there is a "reset page" process (usually created for you when you create a form page). Then, check the Source settings for the items. Typically, these would be "Only when current value in session state is null" and a Source Type of "Static Assignment" with the "Source Value or Expression" left empty.
    Andy

  • By Pass Cache if the date in the prompt is Current Day

    Hi,
    We have implemeted Cache solution for few dashboards as performance improvement.
    We have a report with date prompt. By default we show previous day data. User can generate report for any date by giving the date in the date prompt.
    To improve performance, we get the previous day data into the BI cache. We got lot of improvement with this for default dashboards(previous date is default).
    If user changes the date to current date and tries to generate, it gets the data from EBS and stores in the BI cache for the first time. If any user tries to generate after this, then it will get the current day data from Cache not from EBS. This is incorrect. We need to bypass cache if the date prompt is having current day.
    We tried the following.
    1) We have enabled cache in RPD at the physical layer.
    2) This will cache the results in to BI even for current day. We tried to purge the current day query using "SAPurgeCacheByQuery" but after executing it says purged successfully, but in BI RPD, if we check the cache, the query still exists and if we generate report for current day, it gets the data from cache not from EBS.
    Any ideas would be helpful in this area.

    Hello,
    Use an alias on the table where you have enabled cache in repository, and enable the "Override the source table caching properties" make this not cacheable so that you are disabling cache for this new alias table.
    Once you have done this also make sure you disable cache at the Presentation for on that single report by going to Answers, go to Advanced Reporting tab when building report, set Prefix value to following:SET VARIABLE DISABLE_CACHE_HIT=1, DISABLE_CACHE_SEED=1, LOGLEVEL=7;
    Now this will make sure you are not caching your results at OBIEE , the query will directly hit your EBS tables.
    Hope this helps. Pls mark if it does!
    Thanks,
    SVS.

  • How can I get Spotlight to search my Users/Shared folder?

    How can I get Spotlight to search my Users/Shared folder?  It searches the folders in the other users, but not Shared.  When I CMD-I the Shared folder, my group has read-write privileges (all groups have at least read-only privileges).  When I do the search in the Finder window (with the Shared folder highlighted), It gives me the options of This Mac and "Shared".  When I click on "Shared," it does not give me any results.  I keep documents, photos, iTunes data, etc, in this Shared folder, and would like to be able to use Spotlight on it.

    I appreciate the 108 "views," but there weren't any replies, so I took another shot at figuring it out.  I did a CMD-I on the Shared folder, and made the "everyone" group have read-write access, and it worked!  I'm not sure if its because now all groups have read-write access, or just because the "everyone" group does, but I don't care at this point.    I'll have to restrict a few folders within in there, but at least it searches the main Shared folder itself now.

  • SRS Browser Role Cannot Access Shared Data Sources

    I've created some reports using VS and shared data sources and deployed. I can run reports (I'm a domain admin), but users I've given system administrator roles within SRS cannot access shared data sources. However, if I embed the data source, everything
    is fine. I'm pulling data from three different servers, so the shared data sources are somewhat important.  I'm using SQL Native userid/passwords not windows authentication.  Anybody got any ideas?  I'm new to SRS.  Thanks.

    Hi Janetb,
    I’m confused about the meaning of “cannot access shared data sources”. Are you saying the user cannot see the Shared Data Sources in Report Server, but he can render the report well? Or the user cannot render the report well because he have no permission
    to access shared data sources?
    If in this first scenario, means that the role of the user have no permission to View data sources. To fix this issue, we can add View data sources task to the current role in SQL Server Management Studio.
    If in the second scenario, it is so strange. In my test, I add Browser role of the report to one user which has no permission to access the shared data sources, but he can render the report which retrieve data from the shared data sources very well.
    To troubleshooting this issue more efficiently, could you tell us the scenario you occurred and the error message you received? So that we can make further analysis and help you out.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

Maybe you are looking for

  • How to send word file as attachment in an email

    Hi All,            I have a scenario where the a word document is sent using a file adapter and mail adapter puts it as an attachment and sends it to designated email group. Now the issue is the attachment that I am getting is text file, but i want i

  • Improve/extend equalizer and add 3D sound. Sound quality really poor.

    I've been using the 2g nano for a while now and i must say the audio quality is really poor if compared with my 3 year old iRiver (which only has 256mb memory). Lots of people keep saying how great the sound quality is but i believe people saysing th

  • Mail 1.3.11 (v622/623) hang if message contains images - safari too

    Hi, i recently got the 10.3.9 update and addtional updates for Mail and Safari. Every time i mark a message or tries to open a HTML message with graphics, Mail will hang. Same symptoms with Safari ??? CPU-fan keeps running up at medium speed. Any ide

  • Pros and Cons to Jobs vs Positions

    I have a client with 120Employees. They have plans to grow to 600 and cap at 800. Every year they go before a Board to request for budget and approval for FTE and Jobs or positions new positions. Each position has a budget tied to it What are the pro

  • Installing ps cs6 via cloud over cs6 installed as a purchase

    I purchased CS6 when it was released last year. Today I subscribed to the creative cloud and when I tried to download CS6, which I assume is the extended version, it said that cs6 was up to date. Do I have to uninstall my current copy of regular cs6