Caching data for future searches?

Hi folks.
I need to modify an existing application to integrate with an LDAP server. One of the things my code needs to do is search LDAP entries, using a search filter. For example:
NamingEnumeration<SearchResult> results =
ldapContext.search(LdapName,
"(|(objectClass=group)",
null);
This works just fine. My problem is that we can't afford to hit the LDAP server every time this search needs to be run - it takes too long to get the results. So, we will periodically request all LDAP entries, and cache them locally.
My code then needs to search the cached data, just as it would if it were making a request of the LDAP server. Ideally, I'd like to be able to use the same filter syntax as above when searching the local data.
Is there a way to search locally cached data? Essentially, I want to run the search specified above, but instead of pointing the code at an LDAP server, I want to point it at locally cached data.
Thanks!

Hi,
If you require product locations only for forecasting I guess you will require only products and locations to be define in APO. I would suggest that you can create a seperate Model for this product locations which is not their in ECC and do the forecasting if it satisfies your business requirement, the reason being once you create master data directly in APO it will not be possible to CIF the master data fom ECC which will create inconsistency.
You can use LSMW also to upload product and location if you are not defining comples parameters like Time phase cost in Product location & their are not many validation which I assume will be the case.
Thanks,
Sanjog

Similar Messages

  • Upload SNP master data for future Materials

    Hello Everybody,
    I am working on SCM 2007 and due to client's business requirements, I need to load the SNP master data of the new materials which presently do not exist in my R/3 system and will be produced/introduced after six months.
    Client wants to do the forecasting for such materials from now onwards. Since, these materials do not exist in R/3, I cannot CIF and bring the master data in my APO system. Please suggest, how can I load SNP master data for such materials. Is there any standard tool available for the same?
    Kind Regards,
    Rahul

    Hi,
    If you require product locations only for forecasting I guess you will require only products and locations to be define in APO. I would suggest that you can create a seperate Model for this product locations which is not their in ECC and do the forecasting if it satisfies your business requirement, the reason being once you create master data directly in APO it will not be possible to CIF the master data fom ECC which will create inconsistency.
    You can use LSMW also to upload product and location if you are not defining comples parameters like Time phase cost in Product location & their are not many validation which I assume will be the case.
    Thanks,
    Sanjog

  • Search Item drop-down does not show any data for Advanced Search.

    Hi,
    I have a requirement to add a new criteria to the existing Advanced Search region of 'My Employee Information' in Manager Self Service responsibility. I substituted the AdvancedSearchVO to include the new column. Using personalization i did the below steps to show the new column in the page,
    1) Created a 'Message Styled Text' item under Table Layout region to display the result. I associated the View Instance (AdvancedSearchVO1) and View Attribute (AttrColumn).
    2) In Advanced Search Panel created a new CriteriaRow and set the 'Search Allowed' property to True.
    3) In Advanced Search Mappings i tried to create the new mapping but the Search Item drop-down does not show any of the CriteriaRow item. But Results Item shows the 'Message Styled Text' item created in step 1 above.
    Any idea what i would be missing becasue of which 'Search Item' property does not show any data?
    I am using OAF version 12.1.1.
    Thanks, Suresh

    Hi,
    I faced the same situation but i still waiting for the solution.. this is my problem's thread..
    Addition of LOV Search Filter using Personalization
    But when i tried to create a new custom page with advanced table and created a new LOV column via personalization. i was able to create new search mapping.. but this is not happening in the seeded page case :(.
    I m also looking for solution...if any one can provide some inputs on it , will be highly appreciated.
    Thanks
    Renu

  • Indexing product data for embedded search for my shopping cart fiori app

    Hello Experts
    I'm doing indexing of product data records for SRM embedded search for My Shopping Cart Fiori app.
    however the job being created by the system to accomplish the task is, as error message displayed, not defined properly.
    any idea how to resolve this?
    i have no idea what program is this, and job details cannot be displayed/changed because of incomplete job definition.
    Appreciate any assistance pls.

    Hi Dex,
    Please check if there was a dump recorded in ST22. Also perform an authorization check SU53 for the background user that submits the job.
    Thanks,
    Vipin

  • Does Comcast Use My Computer to Cache Data for Wifi Guests?

    Sometimes in the evening, between about 5:00 pm to about 10 pm, I get inexplicable lag spikes while playing my favorite online game.  Trace-routes in both directions don't show anything of note.  (The game developer has a tool that lets players trace from their game servers back to our computers, to help troubleshoot.) I know that nothing unexpected is running on my system because I have disabled virtually everything that I don't need in the Startup group; stuff like Windows Update, Java updater, etc., are all set to notify me of updates rather than download their stuff at random, and I have moved all of the recurring jobs in the Task Scheduler to do their work while I'm usually sleeping.  (Same with my anti-virus updates and scans.) Therefore, nothing should be making my hard disk LED light up unexpectedly, nor should anything be creating connection latency (as indicated by a meter in my game) that I can't find the cause of (via my trace-routes.) After a great deal of checking and eliminating possible culprits (including component overheating, et al), about the only thing left to blame is the Comcast Xfinity Wireless Gateway. (1)  Does anybody here know if this wifi system is caching user data on my hard drive?  Comcast's customer support people sure as heck don't have a clue. (2)  How about the bandwidth pipeline.  What if a neighbor or two is accidentally connecting to my wifi instead of their own home network and downloading fappable movies while I'm trying to become the #1 hardcore barbarian in Sanctuary?  If the data download transfer pipe is only so many megabytes wide, and I'm having to share that with the 2 folks mentioned above, plus 2 or 3 more doing heaven-knows-what, doesn't that make my own pipline thinner?  Could that be causing the non-network lag that I'm seeing in the trace-routes? I realize that I can disable this service, but I think there's a bigger picture here.   If, in fact, Comcast's Home Wifi  system is impacting its home customers in the manner I seem to be impacted, they need to start disclosing that. Thank you in advance to anybody who can provide answers to my questions, but please don't guess if you don't know for sure.  But if you're suffering the same problems I am, by all means, share your experience. My next step will be to turn the Wifi off during my gaming session for the next couple of nights to see if things change.  I didn't even know I could turn it off until I got to these forums tonight.  When I asked a Comcast rep shortly after receiving this new device, they told me "no," that the wifi could not be disabled.   

    Hello,The limits of the Copper aren't as minimal as you'd expect. Comcast usually runs Fiber on the Poles, then Copper to the Home. Copper Cable is able to achieve 1.25 Gbps. The Coaxial cables running to your modem take in 8 channels downstream and 4 channels upstream. This defines to a maximum of 38 Mbps download and 27 Mbps upload per channel. This means the maximum speed a Comcast Gateway can achieve is 304 Mbps download and 108 Mbps upload. Mind you can buy a modem compatible with Comcast that does 16 download channels and 4 upload channels or 608 Mbps download and 108 Mbps upstream. This could be higher, if signal is increased. However these are average. XfinityWiFi from what I've seen is 16 Mbps download and 3 Mbps upload. So the better question is, how many neighbors use your xfinitywifi? You should remember that you have Private Internet and xfinitywifi, your neighbors should have the Private Network and public network too. To answer another question, no software was put on your computer by Comcast for your modem, so no, it can't cache. Data caches locally to your computer, likewise the neighbor that is using your xfinitywifi is caching locally. The Gateway has no caching functionality. Your harddisk is constantly writing, Windows is sending data to it to update time, make sure it is still connected, and programs that may be open are still running.

  • Vaildating typed data for a search help

    Hi Experts,
    I have a scenario wherein i have a field which is attached to a dictionary search help, when i type some value in this field without using F4 how should i validate the value, Is it automatically done by the dictionary search help..
    Anuj Goyal

    Hi,
    I am not sure about webdynpro..
    I will explain you in normal dialog programming..
    Create a Z structure z_scr_1000.
    Then in that structure add the field TPLNR..Then select that field and choose the foreign key button..It will propose the table IFLOT..
    Then when you create an input field in the dialog program..
    Give the field name as z_scr_1000-TPLNR..
    Then it will a give popup to refer the DDIC ...Press yes to continue..
    IF you execute the dialog program..
    Then if you enter a value which is other than the one in the table..It will give a error message...
    Thanks,
    Naren

  • RWDPOSUP For future date articles postings.

    Hi All,
    Currently we are running the program RWDPOSUP for sending articles from sap to third party.
    I have a query.the system will pick articles which have a valid date from today or a specified number of days for example 30 days
    all the validity is stored in the field DATAB of table A073 for instance(Pricing condition tables)..
    So if the pricing has to be changed on march first then it takes the data on feb first and runs the idoc and data is sent to third party.
    So if i post a document today i.e., 21st march 2010with date of validity as march first 2011. then ideally it should not pick and create an IDOC.
    It should pick on feb first or jan 29th(30days before) and then create idoc. will the program RWDPOSUP run as desired.
    for me if the DATAB is more than 30 days it should not create an IDOC only articles withing 30days are to be sent to third party.
    Can you please suggest on this. i am searching where it looks for date validation but not succesful in that search.
    Any help would be appreciated.
    Thanks,
    RK.

    Hi,
    I have changed it from W to E and saved , still  system is prompting any message at all
    document is getting posted for future date also .
    in MB1B screen posting date is changeble field and if i try to put tomorrow date and try posting its getting posted
    please help
    please try at your  end once .
    regards,
    madhu kiran.
    Edited by: madhu kiran on Apr 24, 2009 11:19 AM

  • LDAP - searching cached data

    Hi folks.
    I need to modify an existing application to integrate with an LDAP server. One of the things my code needs to do is search LDAP entries, using a search filter. For example:
    NamingEnumeration<SearchResult> results =
    ldapContext.search(LdapName,
    "(|(objectClass=group)",
    null);
    This works just fine. My problem is that we can't afford to hit the LDAP server every time this search needs to be run - it takes too long to get the results. So, we will periodically request all LDAP entries, and cache them locally.
    My code then needs to search the cached data, just as it would if it were making a request of the LDAP server. Ideally, I'd like to be able to use the same filter syntax as above when searching the local data.
    Is there a way to search locally cached data? Essentially, I want to run the search specified above, but instead of pointing the code at an LDAP server, I want to point it at locally cached data.
    Thanks!

    Hi folks.
    I need to modify an existing application to integrate with an LDAP server. One of the things my code needs to do is search LDAP entries, using a search filter. For example:
    NamingEnumeration<SearchResult> results =
    ldapContext.search(LdapName,
    "(|(objectClass=group)",
    null);
    This works just fine. My problem is that we can't afford to hit the LDAP server every time this search needs to be run - it takes too long to get the results. So, we will periodically request all LDAP entries, and cache them locally.
    My code then needs to search the cached data, just as it would if it were making a request of the LDAP server. Ideally, I'd like to be able to use the same filter syntax as above when searching the local data.
    Is there a way to search locally cached data? Essentially, I want to run the search specified above, but instead of pointing the code at an LDAP server, I want to point it at locally cached data.
    Thanks!

  • Can i have html code for date select options (SEARCH HELP)

    Hi frinds,
    I have a BSP Page with input as date.
    Can i have html code for date select options (SEARCH HELP)
    Moosa

    Hi
    Please find the sample code below.
    FROM DATE
          <htmlb:inputField id        = "dd"
                            width     = "45%"
                            type      = "DATE"
                            showHelp  = "X" <- Search help
                            alignment = "CENTER"
                            maxlength = "10"
                            disabled  = "TRUE"
                            value     = "<%= w_FROMDATE %>" />
    TO DATE
          <htmlb:inputField id        = "dd"
                            width     = "45%"
                            type      = "DATE"
                            showHelp  = "X"
                            alignment = "CENTER"
                            maxlength = "10"
                            disabled  = "TRUE"                      
    value     = "<%= w_TODATE %>" />
    Thanks
    kalyan

  • HT4946 I need to print & back-up a series of abusive/threatening SMS (on iphone 5c) for my solicitor. Is there a way to do this which will show the time, date & sender info? How can I preserve (full) SMS data as evidence for future court proceedings?

    Does anyone know how to access sms text messages from iphone 5c backup from icloud or itunes? Apparently SMS can be restored so data I need must be stored in backup. I need to print a series of abusive/threatening SMS messages received on my iphone 5c from one sender. I need the time, date & whatever data is stored about source/sender of messages, as well as content. How can I access this data to create a chronological record of the abusive SMS messages and can I preserve the iphone's message log specifically-- so I can access records of these texts without having to restore a back-up? I need to do this to provide evidence for my solicitor and preserve that evidence for future court proceedings, thank you.

    http://www.wideanglesoftware.com/touchcopy/index.php?gclid=CMr1..
    http://www.ecamm.com/mac/phoneview/

  • MRP issue for future delivery PO/STO date

    We have a sceanrio where the available material quantity in MRP list is considering future delivery date STO quantity.  The PO delivery date is 08.11.2008 and MRP run date is 07.11.2008.
    Step 1, material master details:
    Material = 16814, MRP Type = PD, Lot size = EX, Special Procurement = D0 (Stock Transfer), Consumption mode = 2 Backward\forward consumption, Fwd Consumption per = 0.
    Step 2, MRP list details , before PO creation:
    MRP list before having any purchase order = 191-
    i.e, Available qty on 07.11.2008 with a DepReq = 191-
    Step 3, Creating Purchase oder (In our case it is STO):
    We created one Stock Transport Order on 7th Nov 2008 giving Delivery date as 08 Nov 2008 which is in future. Our plant is receiving plant = y100.
    PO quantity = 2
    Step 4, Running MRP in MD02:
    Processing key       =   NETCH               Net Change in Total Horizon       
    Create purchase req.   = 1                   Purchase requisitions             
    Delivery schedules   =   3                   Schedule lines                    
    Create MRP list   =      1                   MRP list                          
    Planning mode     =      3                   Delete and recreate planning data                                                                   
    Scheduling         =     1                   Determination of Basic Dates for Pl
    Result = PR is getting created for Qty = 189, but our actual required  qty = 191 - meaning it is considering the future delivery date(8th Nov 2008) PO qty while creating PR and removing that qty while creating PR's on 7th Nov 2008.
    Here we are running the MRP on today (7th Nov 2008). STO delivery date is 8th Nov 2008
    Step 5, MRP List details, after STO creation:
    Now the PO is coming in MRP list and the available qty is 189-
    Earlier stock before purchase order is 191 - after creating purchase order (STO) for future delivery date available qty is coming as 189-
    DepReq is still 191- but the total available qty is changing to 189-
    We want PR to be created for DepReq of 191 and not 189.

    In step 2
    What is the stock?
    If it is PO then the qty cannot be in  minus 189
    step3
    Where are u running MRP? In receiving plant or sending plant and all the steps you are showing for which plant?
    It is confusing...
    What i can say is in general if it is MTS scenario, then system will always consideres stock + receipt - issues = 0 after running MRP.
    If it is MTO, then for each sales order/project segment stock + receipt - issues = 0...
    Hence apply your situation in the plant and see the data.

  • Stock confiramtion at sales order level for future date- Availability Check

    Hi all
    Here is the scenario
    This setting is available in the system:
    Stock is available
    Sales order created with Requested delivery date in future-> not confirmed
    Sales order created with Requested del date today -> confirmed
    The requirement :
    how and where to change this setting in IMG so that also orders with Requested Delivery Date in future are confirmed if stock is available.
    As this is urgent request to respond quickly.
    Regards
    Devender

    Hello Devender,
    You can achieve the mentioned scenario by configuring ATP. You can do ATP with RLT or ATP without RLT.
    In ATP with RLT, system will check and confirm the quantities from existing stock only and if quantities are insufficient then the system will consider inline POs or manufacturing time to confirm remaining quantitites.
    Else you will be getting schedule lines for only items in stock and remaining will be unconfirmed as ATP without RLT will be activated i.e., system will check and confirm the quantities from existing stock only.
    Types of Availability Check in Sales and Distribution
    Processing
    There are three types of availability check:
    _ Check on the basis of the ATP quantities
    _ Check against product allocation
    _ Check against planning
    The following SD-specific control features need to be maintained in Customizing:
    _ Checking group
    The checking group controls whether the system is to create individual or collective
    requirements in sales and shipping processing. In addition, a material block for the
    availability check with transfer of requirements can be set here. The checking group can
    also be used to deactivate the availability check. This option was created especially for
    the assembly order so that when the bill of material is exploded in the assembly order,
    the individual components, if necessary, can be classified as non-critical parts as far as
    procurement is concerned.
    The checking group specifies in combination with the checking rule the scope of the
    availability check. It is proposed in the material master record on the basis of the material
    type and the plant, and copied into the sales and distribution documents.
    _ Checking Rule
    You use the checking rule to control the scope of the availability check for each
    transaction in sales and distribution. You also specify whether the check should be
    carried out including or excluding replenishment lead time. The individual checking rules
    define by transaction, which stock and inward and outward movement of goods should
    be taken into account for the availability check.
    _ Schedule line category
    You can control with the schedule line category whether an availability check and
    transfer of requirements should be carried out in the sales documents. The possible
    settings for this at schedule line level are dependent on the settings in the requirements
    class which is determined from the requirements type of the material.
    _ Delivery item category
    The delivery item category can be used to control whether an availability check takes
    place in deliveries.
    Requirements type
    The various requirements are identified by their requirements type. The requirements
    type refers to the requirements class and its control features.
    _ Requirements Class
    The requirements class contains all control features for planning such as relevance for
    planning, requirements planning strategy and requirements consumption strategy. In
    addition, it is specified at a global level whether an availability check is to take place for
    the material in the sales and distribution documents on the basis of the ATP quantity
    (ATP = available to promise) and whether requirements are to be passed on. A finer
    degree of control can be obtained for sales documents using the schedule line category.
    Replenishment lead time is only included in the check performed on the basis of the
    ATP quantity.
    Prerequisites
    An availability check can only be carried out if the following prerequisites have been fulfilled:
    _ The control elements described above for the availability check must be maintained in
    Customizing for Sales and the relevant assignments made to the sales transactions
    _ The availability check must be switched on at requirements class level and - for the
    availability check in the sales documents - at schedule line category level
    A requirements type must exist by which the requirements class can be found
    _ A plant must be defined. It can either be proposed from the customer or material master
    record or can be entered manually in the document.
    _ A checking group must be defined in the material master record on the Sales/plant data
    screen in the Availability check field
    Configuring entries of the Availability Check
    IMG&#61664;SD&#61664;Basic fncs&#61664;Availability check and TOR&#61664;Availability check&#61664;Availability check with ATP logic or against planning&#61664;Define checking groups
    You can use SAP std checking groups of 01 for summarized reqts or 02 for daily reqts or u can create ur own.
    The columns total sales and total deliveries are selection options whereby u can configure a checking rule to sum up reqts to post to MRP either individually or by day or week.
    Column 5, Block qty; set this block if u want several users to be able to process the material simultaneously in different transactions without blocking each other. The No Check indicator is used when u want a material to not be relevant for an ATP check.
    Defining a material block for other users. The Block checkbox is an indicator that enables u to block the particular material from being checked for availability if it is already being checked at the same time by another user.
    Defining the default value for checking groups. However should no entry exist for the checking group in the material master record, one can set a default value per material type and plant.
    Controlling the availability check. In this section, u tell the system what stock on hand and what inward and outward movements of stock it must take into account when performing the availability check. These settings are based on the checking group that is assigned to the material master record and the checking rule that is predefined and assigned to the sd transaction. The carry out control for the availability check must be maintained for both the sales order and delivery.
    Reward points if helpful.
    Regards,
    Priyanka

  • Batch quantity not deducting when FIRST date (for line item) is in future.

    Hi Folks,
                My requirement is when creating sales order for batch managed materials, if  i give any quantity with future date that is,
    if todays date is 02.07.2010 and if i create sales order..
    material    => mat1
    Quantity   => 20     
    Date   => 12.07.2010     (this is not required delivery date,this is first delivery date in schedule line for that item)
    Batch  => B1
    and initially if Batch B1 has quantity 100 ,after saving this sales order, the quantity must be 80.
    but its not deducting, for future dates ,thats why the same batch is showing quantity 100, next time
    when i m creating new sales order.where as it should show 80.
    where exactly the quantity deduction is carried out (include or PAI PBO modules).
    any hints.
    I appreciate your response.
    Thanks

    Hi Folks,
                My requirement is when creating sales order for batch managed materials, if  i give any quantity with future date that is,
    if todays date is 02.07.2010 and if i create sales order..
    material    => mat1
    Quantity   => 20     
    Date   => 12.07.2010     (this is not required delivery date,this is first delivery date in schedule line for that item)
    Batch  => B1
    and initially if Batch B1 has quantity 100 ,after saving this sales order, the quantity must be 80.
    but its not deducting, for future dates ,thats why the same batch is showing quantity 100, next time
    when i m creating new sales order.where as it should show 80.
    where exactly the quantity deduction is carried out (include or PAI PBO modules).
    any hints.
    I appreciate your response.
    Thanks

  • GL assignment for future date?

    Hi everybody,
    We have an issue is as follows:
    - We have created a sales order for 08-09-2008
    - We have created PO for 08-09-2008, here system will able to post everything fine.
    - Again we are creating one more PO for 08-09-2009, here system threws error message like GL a/c needs cost assignment.
    My question is why system is asking assignment for future date only and why system is not asking assignment for current date?
    Looking forward your best thoughts
    regards
    vk

    Hi Raj,
    Thanks for your reply
    Yes, we have assigned only cost element in TC: OKB9. But, for that cost element we have created 2 analysis periods.
    - GL 100115            01.01.2008 to 31.12.2008
    - GL 100115            01.01.2009 to 31.12.9999
    I think validity period is perfect still system threws error message like gl acc needs cost object assign.
    regards
    vk

  • Problem creating cache group for a table with data type varchar2(1800 CHAR)

    Hi,
    I am using TimesTen 7.0 with Oracle 10.2.0.4 server. While creating Cache Group for one of my table I'm getting the following error.
    5121: Non-standard type mapping for column TICKET.DESCRIPTION, cache operations are restricted
    5168: Restricted cache groups are deprecated
    5126: A system managed cache group cannot contain non-standard column type mapping
    The command failed.
    One of my filed type in oracle table is Varchar2(1800 CHAR). If I change the filed size to <=1000 it (E.g. Varchar2(1000 CHAR)) then the Create Cache command works fine.
    MyDatabase Character Set is UTF8.
    Is it possible to solve without changing the filed size in the Oracle Table?
    Request your help on this.
    Thanks,
    Sunil

    Hi Chris.
    The TimesTen server and the Oracle Client is installed on a 32-bit system.
    1. ttVersion
    TimesTen Release 7.0.5.0.0 (32 bit Linux/x86) (timesten122:17000) 2008-04-04T00:09:04Z
    Instance admin: root
    Instance home directory: /appl/TimesTen/timesten122
    Daemon home directory: /var/TimesTen/timesten122
    Access control enabled.
    2. Oracle DB details
    SQL> select * from v$version;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bi
    PL/SQL Release 10.2.0.3.0 - Production
    CORE 10.2.0.3.0 Production
    TNS for Linux: Version 10.2.0.3.0 - Production
    NLSRTL Version 10.2.0.3.0 - Production
    Oracle Client - Oracle Client 10.2.0.4 running in a 32 bit Linux/x86
    3. ODBC Details
    Driver=/appl/TimesTen/timesten122/lib/libtten.so
    DataStore=/var/TimesTen/data
    PermSize=1700
    TempSize=244
    PassThrough=2
    UID=testuser
    OracleId=oraclenetservice
    OraclePwd=testpwd
    DatabaseCharacterSet=UTF8
    Thanks,
    Sunil

Maybe you are looking for