Open data slice for data entry and close afterwards

Dear all,
I have created one data slice for a characteristic combination country xy in order to prevent the data entry within the data entry query for the user. But for some reason I have to run a planning function in order to summarize some values and write a total value in the characteristic e.g. country xy.
The planning function brings out an error message because this can not be executed due to the fact that this combination is protected.
Is there a way to open the data slice before the planning function is writing the data in the cube? I have tried to to this in the Data slice exit, but I do not have an idea how to open the DS, save the data and close the DS again.
We are running NW BI 7.0. Any ideas would be great.
Best regards,
Stefan from Munich/Germany

I did something like this by creating an FM and calling that FM from a FOX function. I think you will have to use three commands to execute three functions one after the other (and not combine them in one planning sequence) - first one will switch off the data slice, next will be your planning function containing the logic, and the last will switch it back on.
The FM would be something like below:
FUNCTION Z_SWITCH_DSLICE.
*"*"Local Interface:
*"  IMPORTING
*"     REFERENCE(I_INFOPROV) TYPE  RSINFOPROV
*"     REFERENCE(I_DSNR) TYPE  RSPLS_DSNR
*"     REFERENCE(I_STATUS) TYPE  I
*** This function imports the name of a real-time Infoprovider and a Data Slice number
***        and a parameter I_STATUS. If I_STATUS is 1, data slice is activated
***        If I_STATUS is -1, data slice is de-activated
data wa_ds type rspls_ds.
select single * from rspls_ds
        into wa_ds
        where infoprov = I_INFOPROV
          AND objvers = 'A'
          AND dsnr = I_DSNR.
if I_status = 1.
   wa_ds-used = 'X'.
elseif I_status = -1.
   wa_ds-used = ''.
endif.
update rspls_ds from wa_ds.
ENDFUNCTION.
The Fox code will be like below -
CALL FUNCTION Z_SWITCH_DSLICE
    EXPORTING
       I_INFOPROV = <infoprov name>
       I_DSNR = <Data Slice Number>
       I_STATUS = <0 or 1>.

Similar Messages

  • Error " Data missing for the entry check while creating a new waste code

    Hi all, While setting a new Waste code I get the error " Data missing for the entry check, correction:". while filling the NAM- WASTECOCAT - LER item.
    This sould look for the catalog's name included in the phrase set but for some reason it doesn't find it giving me this error.
    I am changing original Characteristics, phrase set, classes, and value assignment type. Just to have my own estructure with Znames for all of them.
    I have also change the enviroment parameter "WAM_PHRSET_WACATLG" with the name of my phrase set.
    I have checked everything several times watching for typos or looking for a missing step.
    I have even tried including my new Z's characteristics in the classe and living the original SAP_EHS_1024_001_WASTE_CATALOG. (changing the enviroment parameter WAM_PHRSET_WACATLG to SAP_EHS_1024_001_WASTE_CATALOG) and it works.
    I will like to change this characteristic by Z_EHS_WA_WASTE_CATALOG
    Phrase set to Z_EHS_WA_WASTE_CATALOG.
    enviroment parameter WAM_PHRSET_WACATLG= Z_EHS_WA_WASTE_CATALOG
    After matching up the master data It should work fine but I might be missing something to get it running ok.
    ¿Any idea?
    Regards,
    Alvaro

    Hello Juan Carlos, the value and class that I want to duplicate and doesn't work is for Waste Code, I have also duplicated the one you have displayed (waste pproperties) without any problem.
    1.I have duplicated and changed class SAP_EHS_1024_001. to Z_EHS_WA
    2. Create a copy of the 5 characteristics included in this class.
    SAP_EHS_1024_001_WASTE_CATALOG
    SAP_EHS_1024_001_WASTE_CODE
    SAP_EHS_1024_001_WA_SUBCATEG
    SAP_EHS_1024_001_WA_CATEGORY
    SAP_EHS_1024_001_REMARK
    change the name by
    Z_EHS_WA_WASTE_CATALOG
    Z_EHS_WA_WASTE_CODE
    Z_EHS_WA_SUBCATEG
    Z_EHS_WA_CATEGORY
    Z_EHS_WA_REMARK.
    I checked the funcion C14K_WASTECATLG_CHECK is in the value of the Z_EHS_WA_WASTE_CODE characteristic
    I checked the funcion C14K_WASTECODE_CHECK is in the value of the Z_EHS_WA_WASTE_CATALOG characteristic
    3. Create phrase sets for each new category. with same name.
    4. Match up the master data.
    5. Change the enviroment parameter.to Z_EHS_WA_WASTE_CATALOG
    I think I have followed all the steps, but for some reason it doesn't find the catalog
    The phrase for the catalog is EWC in english and LER in spanish.
    Regards
    Alvaro.

  • APP-INV-05447: No open period found for date entered

    Hi All
    I try to do Inter-Organization Transfer in OPM. But I got this error "APP-INV-05447: No open period found for date entered".
    What shall I do for this error?
    I controlled Inventory Calendar. The period is open.
    Thanks

    Hi,
    I got the same problem. Pleas tell me what's your solution?
    Parts Requirement Order stuck in Transaction Interface with the error
    " No open period found for date entered
    No open period found for date entered
    Transaction processor error
    No open period found for date entered
    No open period found for date entered
    Transaction process".
    Details are as follows:
    Transaction is Done on 30-NOV-2009.
    Source Org Period is open on 30-NOV-2009
    Destination Org Period is closed on 30-NOV-2009.
    Due to destination Org is closed, this transactions stuck in interface.
    I have opened the Cost Periods (DEC Month) for both Source and Destination Org, and resubmitted all lines after updating Transaction date to 01-DEC-2009. Still transaction could not go through.
    How should I handle this error?
    Regards,
    Chakry.

  • How do you remove back up data from the memory storage? my storage data states that i have over 80gb of data used for back ups and i dont know why as i use a external hard drive as a time machine .now my 250gb flash storage is nearly full

    how do you remove back up data from the memory storage? my storage data states that i have over 80gb of data used for back ups and i dont know why as i use a external hard drive as a time machine .now my 250gb flash storage is nearly full.. HELP!

    When Time Machine backs up a portable Mac, some of the free space will be used to make local snapshots, which are backup copies of recently deleted files. The space occupied by local snapshots is reported as available by the Finder, and should be considered as such. In the Storage display of System Information, local snapshots are shown as  Backups. The snapshots are automatically deleted when they expire or when free space falls below a certain level. You ordinarily don't need to, and should not, delete local snapshots yourself. If you followed bad advice to disable local snapshots by running a shell command, you may have ended up with a lot of data in the Other category. Ask for instructions in that case.
    See this support article for some simple ways to free up storage space.

  • I had problem with my apps,they open for a while and closes with in seconds i cant acess them

    i had problem with my apps,they open for a while and closes with in seconds i cant acess them and i had this with all apss,expect apple apps

    Do you have a lot of apps? Did you use a lot of apps recently? If so, many of them may still be resident in memory even if you aren't currently using them. Double-tap the home key and you should see the app tray with a list of most recently used programs. Press and hold the icons in the tray and remove the ones you don't use often to remove them from memory. Powering off and then back on might also help.
    My wife's iPod does that sometimes, and it's usually because we run out of memory due to apps remaining in memory even when not used. The suggestion above is how we normally fix the problems.

  • APP-INV-05447 No Open Period Found For Data Entered

    Brother Hussain
    I am new to this forum, currently I am learning Oracle APPs, I have practicing Conversion In this I am doing Item Import Project. I have done all the process of conversion like from flat file to staging table using sqlldr, then validation of data after successfully completed I started Interface. I want to add a quantity to my items. steps >
    Front End Steps OF Item Onhad Quantity
    1. Navigator Inventory Vision Operations - in this Transaction Transactions then I select Miscellaneous Transaction whenever I try to Click on Transaction Lines Error Is Coming with pop up window : " APP-INV-05447 No Open Period Found For Data Entered"
    Please Help Me I will be thankful to you.
    I asked My faculty of this error he told me some functional setting have to be done which I don't know .
    Brother You replied me by this :
    Please see these docs.
    INVTOTRX: APP-INV-05447 No Open Period Found for Date Entered [ID 200026.1]
    Entering an Inventory Transaction at End Date of Period in a different Timezone get Error:APP-INV-05447:No open period found for date entered [ID 1473890.1]
    APP-INV-05447 Error In Transact Move Order Form [ID 1446937.1]
    Transact Material error: 'No open period found for the date entered' if current system date is not in open period. [ID 743607.1]
    Batch Material Transactions Allowed When Inventory Period Is Not Open [ID 1296914.1]
    can I get the link of the said documents...

    I have branched off your original post here APP-INV-05447 No Open Period Found For Data Entered
    Pl continue the discussion in that thread for continuity purposes.
    MOS Docs are only available to those customers who have a paid support contract with Oracle - sharing them in any manner is a violation of that contract
    HTH
    Srini

  • I would like to get data analysis for solving statistic and making graphs, but this function is not in add-in. How should I do? I also set up microsoft office for mac 2011.

    I would like to get data analysis for solving statistic and making graphs, but this function is not in add-in. How should I do? I also set up microsoft office for mac 2011.

    Microsoft didn't include that with the 2011 version.
    There is a third-party application that substitutes for the add-in: http://www.analystsoft.com/en/products/statplusmac/
    They also have a limited, free version.

  • Regarding to Outlook facing the problem. error show check online for a solution and close the problem

    Dear Team,
    Please solve this problem.
    Open the outlook then show below error.
    1. Check online for a solution and close the problem
    2. Close the program
    Please do the needful as well as possible.
    Thanks & Regards.
    Devesh Yadav
    9999815203

    Hello,
    So Outlook has failed to launch and an error dialog (error reporting) pops up. A lot of things can cause this issues.
    One of the main causes is a corrupt Navigation Pane settings file. You might need to start Outlook using the /resetnavpane
    switch. Just run command (Windows key + R), type or paste:
    outlook.exe /resetnavpane  (Please note that you will lose any customizations on the navigation pane)
    In certain cases, a corrupted data file will also cause this problem. So, if the /resetnavpane switch doesn't really work, please try to repair your data file with
    scanpst.exe tool:
    http://office.microsoft.com/en-us/outlook-help/repair-outlook-data-files-pst-and-ost-HA102749454.aspx
    If these cannot fix your issue, please be more specific on the error. Please click the button at the bottom of the error pop ups and copy the
    Problem signature here.
    Thanks,
    Ethan Hua CHN
    TechNet Community Support

  • What is the condition for using 'for all entries' and  why?

    what is the condition for using 'for all entries' and  why? can any body tell the reason for this ? its a big favour of me .
    regards,
    ravi.

    hi,
    for all entries is used to join two or more tables.
    It is same as join but performance wise for all entries is more effective.
    You can only use FOR ALL ENTRIES IN ...WHERE ...in a SELECT statement.
    SELECT ... FOR ALL ENTRIES IN itab WHERE cond returns the union of the solution sets of all SELECT
    statements that would result if you wrote a separate statement for each line of the internal table replacing the symbol
    itab-f with the corresponding value of component f in the WHERE condition.Duplicates are discarded from the result
    set. If the internal table itab does not contain any entries, the system treats the statement as though there were
    no WHERE cond condition, and selects all records (in the current client).
    for example:
    SELECT * FROM sflight INTO wa_sflight
    FOR ALL ENTRIES IN ftab
    WHERE CARRID = ftab-carrid AND
    CONNID = ftab-connid AND
    fldate = '20010228'.
    this condition, return all entries of the sflight
    hen using FOR ALL ENTRIES the number of matching records is restricted to the number of records in the internal table. If the number of records in the database tables is too large then join would cause overheads in performance. Additionally a JOIN bypasses the table buffering.
    So for all entries is used for filtering out the data from the two tables based on the entries in them.
    Advantages:
    1) For all entries avoids inner join & so the performance increases.
    2) For specified values in 1 itab, if you to fetch values from other table you can use it.
    3) Use of select stmt in loop is gets avoided, as u can use read statement on the the new itab.

  • Customizing JTree data rendering for Dates

    I have a JTree that has different data types in each column that I'm sorting. I'd like to be able to control the String that appears in the table cell(s) based on the value in the model. I'm trying to make it so that if a Date is less than some predeterminded Date value that a custom string is output to the Table cell instead of the normal Date string.
    I thought a JTable took the toString() of the Date object for its value and that I could just subclass the java.util.Date object and override the toString() with a conditional. such as (toString() in my CustomDate subclass that extends java.util.Date):
    public String toString() {
        defaultDate = new java.util.Date();
        if (defaultDate.getTime()>this.getTime()){
            return "Date entered in the past";
        } else { //get the normal Date toString
            return new String(super.toString());
    }I'm not so much asking what is wrong with my code, but how to accomplish this task, the code is simply to show the direction I've taken. Am i close, or way out in left field?
    Thanks for any help guys!

    Zulfi100 needs a BrainCellRenderer.He is strangely disturbing yet amusing at the same time. It worries me that he is going to use the skills he learns here to teach.

  • Is there an EASY way to submit podcasts to the itunes store? i've tried creating podcasts in garageband, then somewhere after wordpress  itunes  doesn't recognize the feed. my process has been (i am open to suggestions for other free and EASY services/me

    is there an EASY way to submit podcasts to the itunes store? i've tried creating podcasts in garageband, then somewhere after wordpress  itunes  doesn't recognize the feed.
    my process has been (i am open to suggestions for other free and EASY services/methods):
    garageband : create & edit audio. add 1400x1400 image.
    share to itunes.
    drag file to desktop.
    upload .m4a file to google drive.
    create a link post in wordpress using "podcast" tag & create "podcast" category.
    click on "entries rss" in wordpress, which takes me to the rss subscribe page (which is basically just my wordpress address with "/feed" at the end.
    i copy this url.
    go to itunes store > then "submit a podcast"
    itunes gives me the error message "we had difficulty downloading episodes from your feed."
    when i try to subscribe to my podcast in itunes, it does, but gives me no episodes available.
    i went back into wordpress and changed settings/ reading settings to : "full text" from "summary"
    still the same error message.
    i added a feedburner step after wordpress but got the same errors. i don't think i should have to add feedburner.
    wordpress seems to be encapsulating the rss, what am i doing wrong?
    this so much easier when you could go directly from garage band to iweb to mobileme; i miss those apple days (also idisk).

    if anyone has a super EASY process, i would LOVE to know what it is. EASY, meaning no html and also free. there are many free online storage systems available, many of which i currently use. the above process was just me trying to figure it out, if you have an easier method, please share. thank you so much!

  • How to set a date range for date field ?

    Dear Experts,
    Scenario:
    I have a query in validating the date field in my BSP application. My application is for maintain infotype 0023 Other/Previous Employers online by employees in the company.
    As per our design we are maintaining the all employment details of the employee both ( with in the current company / previous employment outside the company) in the same infotype.
    Every employee will have a hiring date within the SAP HR system. We consider this date as the cutoff date between current and previous employment in our application. When the employee updating the details wia BSP page I need to check the following.
    Record inside current company: Validation that, the user should only able to enter BEGIN DATE (BEGDA)  greater than or equal HIRING DATE and END DATE(ENDDA) should be greater than FROM  DATE (BEGDA).
    Record outside current Company: Validation that, the user should only able to enter BEGIN DATE (BEGDA)  less than or equal HIRING DATE and END DATE (ENDDA) should be greater than FROM  DATE (BEGDA) and less than HIRING DATE.
    Technical Requirement:
    How to set a date range for date field, i.e. how we can limit the date range in a HTMLB date field? Can this it be achieved via standard functionality of HTMLB?
    Following is the code to describe date field in my application.
        <htmlb:inputField id= "ENDDA_NEW_IN"
                          type= "date"
                    doValidate= "TRUE"
                      showHelp= "TRUE"
                      disabled= "FALSE"
                         width= "183"
                         style= "cssTextAreadate"
                         value= "<%='99991231'%>"/>
    Thanks a lot in advance for your assistance and help.
    Cibinu2026
    Edited by: cibin kuruvilla on Nov 12, 2008 11:13 AM

    Hi,
    This functionality is known to be very important and is a key part of the next major release of the JRC planned for the first half of 2008.
    Regards,
    <p>Blair Wheadon</p>
    <p>Product Manager, Crystal Reports</p>

  • Data validation for Date Field in Web Dynpro ABAP

    Hi ,
    In my WDA i want to perform data validation for date filed. (i.e. While creating a new record i have to check the Start Date should be always lesser than End Date.)
    If u ll enter the wrong date it should validate the Date and throw an error message.
    Please Reply soon its urgent.
    Thanks,
    Deepika

    Hi,
    First read the two attributes start date and end date.
    Then write the following condition.
    IF item_start_date > item_end_date.
    Error message.
    Endif.
    For pop up error message you need to use Create_window method of the Interface if_wd_window.
    Thanks.

  • Table and Field for Open Order Quantity for a Customer and Material

    Hi
    I created two sales orders 3 and 5 quantities, and delivered 1 qty in the second order.
    when I checked the table VBBE or VA05, I am able to see 3 and 4 qantities open.
    but I want to see the total 7 as open order qty, i.e, 3+4=7
    because both the orders are placed by the same customer and same material
    can u please tell me in which table exactly the total open order quantity for a customer and total open order quantity for a material is stored
    Madhu
    Edited by: madhubabu rao on Jul 1, 2008 1:49 PM

    HI,
    U can get the information in VA05 as there are columns like confirmed quantity and order quantty and status. U can use  summation button (add upto values) to get required information.
    Thx,
    Pramod

  • How do I find the screen with my personal iPod (my name's iPod) so I can download from my purchased or free songs/pods from my computer? My iPod has opened to that for 3 years and this week I can't find it: not on purchased page or on Apple store page.

    QUESTION from an American in India:
    How do I find the screen with my personal iPod (my name's iPod) so I can download from my purchased or free songs/pods from my computer? My iPod has opened to that for 3 years and this week I can't find it: not on purchased page or on Apple store page.

    See:
    Recovering your iTunes library from your iPod or iOS device: Apple Support Communities

Maybe you are looking for

  • TFS performance report pack not working on TFS 2013

    Hi I have TFS 2013 setup and I found TFS performance report pack from http://blogs.msdn.com/b/granth/archive/2009/02/03/announcing-tfs-performance-report-pack.aspx URL. These reports don't work after uploading to my report server. The blog talk about

  • Exception [TOPLINK-4002]

    Hi,I have no idea,help.thanks javax.ejb.EJBException: nested exception is: java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:      java.rmi.RemoteException: null; nested exception is:      Exception [TOPLINK-400

  • What are the roles in CRM implementation Project(all generic extractions)

    Hi Gurus, Now I am placed from a support project from BW (CRM) implementation project(all are generic extractions). & I am also new to implementation project. what are the neccessary steps to be taken when we are implementing BW for CRM. Gurus please

  • Monitor resolution for OS 8.6

    I have a Sony Trinitron multiscan 200 ES and I can not change the resolution will not change from 640 x 480. HELP

  • Custom.pll - bounce listener ?

    Hi there, After adding changes in custom.pll under $AU_TOP/resource and generating custom.plx , do we need to bounce the Forms Listener to have the changes reflected in application ? Thanks in advance.