How to passivate & activate any custom variable

Hello,
We are using ADF BC 11g. We are using a custom logic in one of our entityImpl class (ParentEntityImpl). ParentEntityImpl has a variable named in type of DetailEntityImpl. DetailEntityImpl should be instantiated only once when it is referenced and not further again. You can see the irrelevant code snippet below. When Application Module Pooling is on, code is working without problem. But when it is turned off, detailImpl private variable is instantiated every time it is referenced, multiple rows are created but we don't want this to be happened.
How can we make a variable in EntityImpl class to be passivated and activated?
private DetailEntityImpl detailImpl;
public DetailEntityImpl getCurrentDetail(){
if (null == detailImpl){
RowIterator iter = getAnyRowIterator();
detailImpl = (DetailEntityImpl) iter.createRow();
return detailImpl;
Thanks.

Check out http://download.oracle.com/docs/cd/E15523_01/web.1111/b31974/bcstatemgmt.htm#BABDGGIF
See if it solves your question
Timo

Similar Messages

  • How do you activate the 'custom' region under 'formats' in 'Language

    Hi,
    To start with, I'm a beginner with Mac and I currently own a MacBook Pro with Lion. For my 'region,' I used to have English (Bahrain), but I accidentally changed it to United States, but it's not what I hoped for. I used to have the Bahraini currency, date-system, time, among other things, and now I have the US system. I tried Arabic and chose Bahrain, but everything is in Arabic. There is no English and then Bahrain. Heck, there is no 'English.' I've tried changing it back, but Bahrain isn't listed in the region. By the way, this is under 'formats' in 'Language & Text' in System Preferences. I noticed the 'custom' option at the very end of the list. However, I can't access it because it's grey. How do I activate this? Maybe custom is the solution to my problem. I can see French, German, etc..., but English isn't listed. I want English (Bahrain).
    Please help! I greatly appreciate it. Thank you, guys.
    twitte

    Hi Uncle,
    Page 116 of the Pages'09 User Guide: Control Click the date, Edit Date and Time.
    Date and time can also be in a table. Format the table cell.
    The User Guide is well worth a read. Download it from the Help menu in Pages.
    Regards,
    Ian.

  • How about some easy (any) customer service like a # to call or a button to click?

    I'm having an issue and can't check out my order (over the evening - multiple tries).  That's just the immediate issue - and so done with all the others.  Previously tried the iPhone app and could never log in over a week so deleted it after reading it was a common issue (from BB support on the forums here).  Couldn't use my "BestBuy Elite" account credentials to access posting on the forums so had to create a separate forum account. :/  It takes repeated searching to find how to even express any satisfaction/dissatisfaction let alone impossible to find a way to contact anyone other than forums (well, other than physically walking in to a store).  I'd say customer service is rather lacking.
    Anyway, trying to check out my cart and it keeps kicking back with no error message, pop up, alert, whatever, to the same page and asking for all the same information again.  Yes, I've tried multiple computers and browsers/browser versions.  If it's going to be this hard to give you my money, forget it.  I'll gladly pay more somewhere else where I can actually get an order through or more importantly a quick means to customer service when I'm having an issue.  I understand technical issues but that's where customer support comes in.  Seems a lot of issues and little of support.
    Don't bother with a follow up.  I'm done.  and expect this to be deleted shortly since "one" unhappy customer can easily be considered the cost of doing business if they're getting everyone elses money.
    (yes, this can be considered a 'rage quit'.  Easy to do when so many others can offer the same products with better service and same or better prices - even higher prices are worth it if the service is there)

    Hello lzrdfrt,
    There seem to be multiple issues all wrapped into one with a side order of confusion. Online ordering should be smooth and hassle-free, and it seems like it has been everything but. When something goes wrong, you are right in that we should be there to support you 24/7 to ensure we fix what’s going wrong.  I’m sorry that you’ve been unable to reach us regarding this, and I want to provide you with the support you need.
    We have many avenues in which you may reach out to us listed on our Contact Us page. This page lists our phone number, email address, forum pages, and our Facebook page along with our Twitter handle. It also includes self-help sections that answer most questions.  While you are not looking for follow up, I do want to try and sort out the many issues you mention one by one to make sure that your concerns are addressed.
    1)      iPhone App: I’m not too sure why you ran into problems, but there was a new update to this application made available on February 12th of this year that corrected some minor issues and has some additional improvements. As it is a free app, I might suggest downloading it and give it another try.
    2)      Best Buy Elite: You are right in that you can’t use the same credentials for your My Best Buy account for your forum account. We are aware that many Best Buy accounts for different programs can make things confusing, but we are working on this. Just recently, we combined our BestBuy.com and our My Best Buy programs to work with one account.
    3)      Cart Not Working:  This one is a little harder to give a concrete answer to. Usually, the only time an item may be added to a cart is if it’s available online. If the item goes out of stock, we try and update our website as soon as possible. You may have attempted to add an item to your cart that was out of stock, but not showing its correct status as it changed during your viewing of the item.  However, without seeing it happen or knowing what item you were looking to purchase, I can’t let you know for certain. What were you attempting to purchase?
    I realize that you are looking for a place to express your dissatisfaction, and this is one of the many great places to do this. We do try our best to address all concerns that come our way, as we realize there are areas in need of improvement. Thank you for letting us know of your experiences as your feedback is vital for us to know if we are heading in the right direction.
    If you have any questions or further concerns, please don’t hesitate to ask.
    Alex|Social Media Specialist | Best Buy® Corporate
     Private Message

  • How to de-activate a customer and put on hold if inactive from long?

    Hi all,
    My client needs that if a customer is in- active from last 6 months, it should be de-activated and put on hold by the system. Can we do it by creating a job at back-end?
    Regards,

    Hi Suda,
    Is that true for creating functions and views as well? I mean is it also not recommended to create functions and views in SBO company databases? Actually we have very complex reporting requirements and for that we want to create some functions or views so that multiple joins in crystal reports could be avoided. Please let me know if we can do that for reporting purposes?
    Regards

  • Using the Set Session Info to populate Custom Variable

    Hey everybody, I'm trying to setup a Set Session Info step so when a caller presses 1 for instance to go to a specific department I can go into the database and see how many callers pressed a certain button.
    Here's what I've done so far, I've setup a Session called session_info with the value of null.  At the very beginning of the script it shows session_info = Get Contact Info --Triggering Contact--, Session)
    Then in the menu field when a caller presses 1 I have the Set Session Info step with the Session being session_info and then in the Context tab I have "_ccdrVar3" for the name and "1" for the value.
    The script doesn't fail it's just not populating any Custom Variable with any data. 
    Also I've tried using the Set Enterprise Call Info and using a value of 1 and then Call.PeripheralVariable3 for the name.  Not sure what the proper way to do this is.  Anybody have any ideas?

    Hi
    You don't need a session var.
    You just need to use 'set enterprise data' to set a call.peripheralvariable to what you like.
    The data goes straight into the contactcalldetail table.. You can check it by doing:
    run uccx sql db_cra select * from contactcalldetail where customvariableX = 'yoursetting'
    Where 'yoursetting' is what you set the ent data to, and customvariableX is the var you use (e.g. customvariable3 if you use call.peripheralvariable3)
    Regards
    Aaron
    Please rate helpful posts..

  • Defining a customized variable

    Hi all,
    I have a question here: how do I define a customized variable in a query. My requirement is for Calendar Day
    1. If the current day is the first day of a month, the selection should be from the first day of the last month to the current day.
    2. If the current day is not the first day of a month, the selection should be from the first day of the current month to the current day.
    For example:
    If it's 9/1, select 8/1 - 9/1
    If it's 9/2, select 9/1 - 9/2
    If it's 9/12, select 9/1 - 9/12
    I found I may make use of the Customer Exit, but I have no idea how to.
    Thanks and best regards,
    Shawn

    Hi,
    Then your can follow this steps->
    1) Create a variable with a customer exit as a processing type. The variable is based on the Info Object 0calday.
    Set the following attributes:
    Type of Variable: Characteristic Value
    Variable name: ZVCQUA
    Variable Description: day using Customer exit
    Processing by: Customer Exit (Drop down combo box)
    Characteristic: 0CALday
    Press Next
    Set the following attributes:
    Variable Represents: inetrval value
    Variable Entry is: Mandatory
    Don’t Check out Ready for Input
    And Press Next
    Press Finish
    2) Transaction CMOD
    Create a new project, maintain the short text, and assign a development class.
    (It’s better to ask somebody senior in our project about this, because every project have one main project and development class)
    If you have project say Zproject. Choose option components. Click Change.
    Double-click on EXIT_SAPLRRS0_001.Then double-click on ZXRSRU01.
    Enter the coding.
    Save and activate the coding.
    INCLUDE ZXRSRU01 *
    DATA: L_S_RANGE TYPE RSR_S_RANGESID. 'In global area
    DATA: LOC_VAR_RANGE LIKE RRRANGEEXIT. 'In global area
    DATA: l_fpr1(2) TYPE c. 'month
    DATA: l_fpr2(2) TYPE c. 'day
    DATA: l_fpr4(4) TYPE c. 'year
    DATA: l_fpr3(2) TYPE c. 'preivous month
    CASE I_VNAM.
    WHEN 'ZVCQUA'.
    IF i_step = 2.
    LOOP AT i_t_var_range INTO loc_val_range
    WHERE vnam = 'zcalday'. 'your user define varibale
    EXIT.
    ENDLOOP.
    IF sy-subrc EQ 0.
    l_fpr1 = loc_val_range-low+4(2).
    l_fpr2 = loc_val_range-low+6(2). "will take day
    l_fpr3 = l_fpr1 - 1. 'previous month
    l_fpr4 = loc_val_range-low(4). 'year
    if l_fpr2  EQ '01'.
    CONCATENATE l_fpr4 l_fpr3 '01' INTO l_s_range-low(8).
    l_s_range-high = loc_val_range-low(8).
    Else
    CONCATENATE l_fpr4 l_fpr2 '01' INTO l_s_range-low(8).
    l_s_range-high = loc_val_range-low(8).
    endif.
    ENDIF.
    l_s_range-sign = 'I'.
    l_s_range-opt = 'BT'.
    APPEND l_s_range TO e_t_range.
    ENDIF.
    ENDCASE.
    Activate the project. This is very important.
    3) In your Query, Under Structure, Create a new Selection
    drag this customer exit variable.and your keyfigure.
    Save the query.
    4) Go to tran code RSRT-> choose your query and execute.
    if you have doubt in your code contact me.
    Hope i m clear. Post your mail id. While send you a doc.
    if you have doubt..plz revert back.
    Regards,
    San!
    Message was edited by: San!

  • I did not deactivate a photoshop cs6 before there was a new hard drive installed with a Win7 Pro fresh install too. How can I activate photoshop on the new hardware if I can't deactivate it on the old hardware that is no longer available? Any help will be

    I did not deactivate a photoshop cs6 before there was a new "C" hard drive installed on my computer and a Win7 Pro fresh install too. How can I activate photoshop on the new hardware if I can't deactivate it on the old hardware that is no longer available? Any help will be appreciated.

    If it's the same machine (same CPU) there should not be any need to activate.  The actiovation is tied to your CPU.
    If you run into problems, then:
    Unfortunately, only Adobe customer service can assist you with your issue. These are user forums; you are not addressing Adobe here.
    Click on the link below, and after that click on "Still need Help? Contact us."
    Then on the next page, click Chat
    There is also a phone option. 1 (800) 833-6687
    http://helpx.adobe.com/contact.html?step=PHXS_downloading-installing-setting-up_licensing- activation

  • How to create an user input variable for customer exit variable? - BW3.5

    Hi Guru,
    I have a requirement for the selection period of my reports. There are 3 possible reporting periods which should be user selectable:
    1. Month: Current reporting month
    2. Fiscal Year to Date
    3. Project Year to Date
    Here I need 2 variable to do these, 1 customer exit and 1 user input variable. I have created a variable customer exit to calculate all these requirement. But can any1 tell on how to create the user input variable for my customer exit? I need a user input variable with drop down list like below.
    01-Current month
    02- Fiscal Year to Date
    03-Project Year to Date
    I have create a new master data for this variable, but it's not working. What I need now is a standalone master data which do not need to link to any exiting records. Can any1 tell me how to create this?

    Just go to the definition of the variable for which you have created a customer exit. There you will find a check box for "Ready for Input". Just tick that checkbox and the variable will be available as a selection variable in the reports selection screen.
    Regards,
    Yogesh

  • How do I...Mimic Replacement Path with Query using Customer Variable Exits?

    Hello SDN:
    We are on BW 3.5 SP16.
    We are currently using a replacement path Query(RP) with variables
    to populate a variable in another Query(T).
    The problem we are having is with performance.
    The entry of variables in replacement path Query(RP) is optional (This is necessary there cannot be required values)
    When results from Replacement Path Query are small performance is fine. (e.g. 10 seconds)
    When results from Replacement path query are large performance suffers. (e.g. 1+ minutes)
    Users are free to leave the replacement path variables empty resulting in a large set of data to be replaced. This is the worst performance case.
    We would like to discover a way to conditionally execute the replacement path query. That is if users do not enter values for the replacement Query(RP) variables do not execute the replacement path query(RP).
    Does anyone know if this is possible within reason and in customer exit space?
    We have reviewed the situation from all angles and the requirement for the replacement path FUNCTIONALITY and the freedom for the user to leave variable values blank remains.
    I've been searching and reading SDN and SAP notes for about a week and do not find threads which address this situation.
    We are also exploring Customer variable exits to mimic replacement path functionality
    (different topic subject="How do I...Mimic Replacement Path with Query using Customer Variable Exits?")
    Any help will be appreciated
    Many thanks
    David Schuh

    My appologies-I posted this message with the wrong subject. I will repost it with appropriate subject.
    dave schuh

  • How to prepopulate value in webapps input fields or for any custom fields in for any other forms?

    How to prepopulate value in webapps input fields or for any custom fields in for any other forms?

    What do you want to populate the form with?

  • How to get List Item attachments name without write any custom code or any database query?

    Hi,
    How to get List Items attachments name without write any custom code or any database query?

    You can get it from Rest,
    There are 2 options,
    1) create a 'Result Source' which has a search query for that List which has attachments 
     - Use rest query to get the 'Filename' , it will have the attachment file name 
    For example, if the result source id is : 73e6b573-abf8-4407-9e5f-8a85a4a95159 , then the query will be 
    http://[site URL]/_api/search/query?querytext='*'&selectproperties='Title,Path,FileExtension,SecondaryFileExtension,Filename'&sourceid='73e6b573-abf8-4407-9e5f-8a85a4a95159'&startrow=0&rowLimit=100
    You can refine the query, be giving proper 'querytext'
    2) Use the List rest api
    For example if your list guid is :38d524a1-e95c-439f-befd-9ede6ecd242e
    You can get he attachments for 1st item using this 
    http://[Site URL]/_api/lists(guid'38d524a1-e95c-439f-befd-9ede6ecd242e')/items(1)/AttachmentFiles
    get2pallav
    Please click "Propose As Answer" if this post solves your problem or "Vote As Helpful" if this post has been useful to you.

  • I Have Iphone 4... I had purchased from any store in second hand... and the third party whose this iphone not in contact with me and my phone goes to lose mode.. how can I activate my iphone

    I Have Iphone 4...
    I had purchased from any store in second hand...
    and the third party whose this iphone not in contact with me and my iphone in lose mode..
    how can I activate my iphone?????Plz help me...
    <Email Edited By Host>

    Digant Mevada wrote:
    can possible to contact apple server manager tu know my id or anythig do..??
    There is nothing you can do except return iPhone & get your money back.
    You will not be able to use the iPhone.
    Apple will not help you.
    -> Find My iPhone Activation Lock: Removing a device from a previous owner’s account

  • Im from Philippines and my iphone is from Japan after I updated it to iOs 6.1.3 it wont activate it says ''Activation Error Please Contact Customer Care'' what does it mean? How can I activate it? Please help me.

    Im from Philippines and my iphone is from Japan after I updated it to iOs 6.1.3 it wont activate it says ''Activation Error Please Contact Customer Care'' what does it mean? How can I activate it? Please help me.

    You can NOT unlock it. Only the carrier it is locked to can legally authorize unlocking it and the Japanese carriers will not do so.
    In order to be using it previously with a non Japanese carrier, the phone had to be hacked to illegally unlock it.  You can not get help here.
    Buy a new phone you can use.

  • Hello , why my iPhone'iOs has hotspot befor update to 8.0 , but now it don't be active , by any carrier in our country ...!!! how can i activate it ?

    hello , why my iPhone'iOs has hotspot befor update to 8.0 , but now it don't be active , by any carrier in our country ...!!! how can i activate it ?

    Hi s.kouris,
    I'm afraid that unless you are able to contact the previous owner and have him wipe the device, or provide you with his Apple ID password so you can delete the iCloud account, you are out of luck.
    With iOS 7, an Activiation Lock was added to deter thieves. This lock prevents anyone but the owner of the device from deleting the iCloud account and restoring the device:
    http://support.apple.com/kb/ht5818
    Unless you are able to reach the original owner and get the device wiped or the iCloud account deleted, you are stuck with a brick.
    Sorry,
    GB

  • How to create a custom variable for a Label?

    i need my label to store a string variable in it, do you know i can create a custom variable for it.
    i mean for example if it's name is "StoredString" i can access it in my code by "label1.StoredString" just like "Label1.text" or something like that.

    Thanks for pvdg42's help.
    Hi soorena12,
    Based on your issue, I suggest you can try the pvdg42's suggestion check your issue in your side.
    If it still could not help you solve this issue, I suggest you can tell me which kind of application you create the label in the VS IDE?
    What language you use to create for your application?
    If you have any update message about your issue, please tell us.
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

Maybe you are looking for

  • Turn off pdf automatically opening when printing to pdf?

    I print to pdf multiple times in Autocad and I do not want Adobe opening each new pdf page...I just want to continue creating the pages without the preview

  • Oracle Shared Server Session Scheduling

    Hi, We're currently evaluating the shared server architecture for production use. As far as we know, Oracle schedules N sessions across M operating system threads, dependent on the configured limits. An essential requirement for our production system

  • Editing template using script.

    I have read that it is possible with the scripting in after effects to batch create videos using templates-for example a script which provide instructions to AE to take data(text or images) from a xml, csv or .txt file and render out the video in any

  • Captivate 2 and IE8

    I have some training videos that were done in Captivate 2 and run from a DVD.  There is a Menubuilder menu that autoruns, and when you click on a topic, the actual video opens in a new window.  Using Win7 and IE8, the menu runs perfectly (Flash 10 an

  • Long running updates and lock escalation

    I have a question about locking when updating tables from SAP on a MSSQL2005 database. Once a month we have a report for updating several rows (1 mio) on a special ledger table. This report is taken the update as one transaction because of the possib