PPOME - New Tab & Infotype - How to find "start date" of preview period

Hi all,
I have successfully created own Infotype and add as new tab in PPOME.
But now I need in my modulpool program to read field "start date" of preview period (from heading of screen in PPOME). I can't find right field. Has anybody any idea?
Thanks a lot.
Dusan
Message was edited by:
        Dusan Skokanek

Hi ramprasad74,
According to your description, you are using Analysis Services as a data source for the report, the cube has hierarchy: Fyear, FQuarter, FPeriod, fweek, Fdate. You want to add a date parameter to the report, after you changed value of the parameter, the
report will return the first day of FPeriod.
To achieve your goal, we need to add a parameter to the report, then use the parameter in mdx query. For detail information, please refer to the following steps:
In the Report Data pane, right-click on a dataset created from a SQL Server Analysis Services data source type, and then click Query. The MDX query designer opens in Design mode.
On the toolbar, click Design to toggle to Query mode.
On the MDX query designer toolbar, click Query Parameters symbol. The Query Parameters dialog box opens.
In the Parameter column, click <Enter Parameter>, and then type the name of a parameter.
In the Dimension column, choose a value from the drop-down list.
In the Hierarchy column, choose a value from the drop-down list.
In the Default column, from the drop-down list, select a single value.
Click OK. 
In query designer dialog box, type the mdx query like below:
with member [Measures].[FirstChild]
as
[Date].[Fiscal].currentmember.parent.firstchild.name
select {[Measures].[FirstChild]} on 0,
[Date].[Fiscal].[Date].members on 1
from
( SELECT ( STRTOSET(@ParameterName, CONSTRAINED) ) on 0
from
[Cube]
Here are relevant threads you can reference:
https://social.msdn.microsoft.com/forums/sqlserver/en-US/c7146ac3-40ea-4d53-b321-c707aebbd405/how-to-pass-date-parameter-to-mdx-query
https://social.msdn.microsoft.com/forums/sqlserver/en-US/fd12a865-bc90-4a65-af42-ce38a8cfa29b/pass-date-time-parameter-to-mdx-query-ssrs
If you have any more questions, please feel free to ask.
Thanks,
Wendy Fu
If you have any feedback on our support, please click
here.

Similar Messages

  • How to get start date of the period for a given date from cube

    I have a situation where i need to find the start day of the period for a given date. is there a way to know that. i want to use that in my report. i enter the date from my report(i have date parameter), depends on the date, i want to display the start day
    of the period. how can i write expression for that in my report?
    ram

    Hi ramprasad74,
    According to your description, you are using Analysis Services as a data source for the report, the cube has hierarchy: Fyear, FQuarter, FPeriod, fweek, Fdate. You want to add a date parameter to the report, after you changed value of the parameter, the
    report will return the first day of FPeriod.
    To achieve your goal, we need to add a parameter to the report, then use the parameter in mdx query. For detail information, please refer to the following steps:
    In the Report Data pane, right-click on a dataset created from a SQL Server Analysis Services data source type, and then click Query. The MDX query designer opens in Design mode.
    On the toolbar, click Design to toggle to Query mode.
    On the MDX query designer toolbar, click Query Parameters symbol. The Query Parameters dialog box opens.
    In the Parameter column, click <Enter Parameter>, and then type the name of a parameter.
    In the Dimension column, choose a value from the drop-down list.
    In the Hierarchy column, choose a value from the drop-down list.
    In the Default column, from the drop-down list, select a single value.
    Click OK. 
    In query designer dialog box, type the mdx query like below:
    with member [Measures].[FirstChild]
    as
    [Date].[Fiscal].currentmember.parent.firstchild.name
    select {[Measures].[FirstChild]} on 0,
    [Date].[Fiscal].[Date].members on 1
    from
    ( SELECT ( STRTOSET(@ParameterName, CONSTRAINED) ) on 0
    from
    [Cube]
    Here are relevant threads you can reference:
    https://social.msdn.microsoft.com/forums/sqlserver/en-US/c7146ac3-40ea-4d53-b321-c707aebbd405/how-to-pass-date-parameter-to-mdx-query
    https://social.msdn.microsoft.com/forums/sqlserver/en-US/fd12a865-bc90-4a65-af42-ce38a8cfa29b/pass-date-time-parameter-to-mdx-query-ssrs
    If you have any more questions, please feel free to ask.
    Thanks,
    Wendy Fu
    If you have any feedback on our support, please click
    here.

  • How to do that when you open a new tab to appear like the start page after opening the browser?

    How to do that when you open a new tab to appear like the start page after opening the browser?

    https://addons.mozilla.org/en-US/firefox/addon/newtaburl/
    Never used it myself, so I'm not sure if you can set to about:home or not. You'll have to give it a try.

  • How can I set home page for a new tab? how can i get firefox to open the home page every time i open a new tab in Windows vista home basic??

    How can I set home page for a new tab? how can i get firefox to open the home page every time i open a new tab in Windows vista home basic??
    == This happened ==
    Every time Firefox opened

    Firefox can have multiple home pages if you wish. Each home page that will open when starting Firefox is separated by the "|" character.
    See: http://support.mozilla.com/en-US/kb/How+to+set+the+home+page
    To have new tabs open a specific web site, add one of the following extensions:
    http://sogame.awardspace.com/newtaburl/
    https://addons.mozilla.org/en-US/firefox/addon/777

  • [SOLVED] ok, so ever since I downloaded the newer version of Firefox my tabs icon (+) on the top is gone. I know I can hit cntrl T, but I really like just clicking the + which opens a new tab. How do I get that back??

    ok, so ever since I downloaded the newer version of Firefox my tabs icon (+) on the top is gone. I know I can hit cntrl T, but I really like just clicking the + which opens a new tab. How do I get that back?? I've looked around the HELP section and can only find info about what tabs are etc... Even in all the picutres about the feature it shows the + icon at the top of the page to open a new one. What do I do??

    NM, got it fixed. Thanks!!!

  • Whenever I click on a link in google, it opens the link in a new tab. How do I fix this cuz I don't think this is normal.

    I type something in on google, I then find a link and click on it. But then, the link opens in a new tab.
    HOW DO I FIX THIS?????

    You may have to clear the Google cookies in case there is a problem with the Google PREF cookie.
    "Remove Cookies" from sites causing problems:
    *Firefox/Tools > Options > Privacy > Cookies: "Show Cookies"
    *http://kb.mozillazine.org/Cookies
    *https://support.mozilla.org/kb/Deleting+cookies

  • AVG tried to take over the Firefox Program. I unchecked some stuff on AVG and now Firefox doesn't lool right. There is only a bar at the top of the page with "Firefox" and "new Tab" . How do I get the Firebox homepage back?

    AVG tried to take over the Firefox Program. I unchecked some stuff on AVG and now Firefox doesn't look right. There is only a bar at the top of the page with "Firefox" and "new Tab" . How do I get the Firebox homepage back?

    Google Toolbar Options, in the Search tab, make sure that '''Enable the Google new tab page''' is check-marked. If that doesn't fix it for you, see this for support information about the Google Toolbar. <br />
    [http://www.google.com/support/toolbar/?hl=en] <br />
    Or visit the Google Toolbar forum. <br />
    [http://www.google.com/support/forum/p/Toolbar?hl=en]
    As far as your UserAgent showing Firefox 3.0.11, see this: <br />
    https://support.mozilla.com/en-US/kb/Websites+or+add-ons+incorrectly+report+incompatible+browser
    You might want to consider getting rid of that '''desktopsmiley''' program that has messed up your UserAgent, it is known as Malware.

  • In the new tab page, how do you restore sites you've deleted.

    in the new tab page, how do you restore sites you've deleted.

    You can only edit the content of the chromeappsstore.sqlite file with an SQLIte manager like this Firefox extension:
    * SQLite Manager: https://addons.mozilla.org/firefox/addon/sqlite-manager/
    # open Profile Directory -> chromeappsstore.sqlite -> Go
    # open Table > webappsstore2
    # select the "Browse & Search" tab to see all entries in that table
    You can select the "batwen.:about" "blockedLinks" line and click the Delete button on the toolbar to remove that record and reset the deleted sites.

  • Setting is open new windows in new tab. How/can I open new link in a new tab automatically.

    When I go to open a link within a tab, it overrides what is there and opens.
    I would lik the option of opening a link from within a tab or the menu bar, into a new tab.
    I cant find that option, the only one being opening a new windows in a new tab
    Can you help?
    Thanks

    You can middle-click a link or the Go button on the location bar to open the link in a new tab.<br />
    You can also use Alt + Enter to open a link in the location bar in a new tab.
    See also:
    *Open Link in New Tab: https://addons.mozilla.org/firefox/addon/open-link-in-new-tab/
    *Tab Utilities Lite: https://addons.mozilla.org/firefox/addon/tab-utilities-lite/
    *Tab Utilities: https://addons.mozilla.org/firefox/addon/tab-utilities/
    *Tab Mix Plus: https://addons.mozilla.org/firefox/addon/tab-mix-plus/

  • I installed ShopAtHome toolbar, now Yahoo has hijacked my new tab. How do I fix this to the last visited tabs?

    I installed ShopAtHome toolbar, now Yahoo has hijacked my new tab. How do I fix this to the last visited tabs?
    Multiple forums have addressed the fact that Yahoo is hijacking new tabs. I installed the ShopAtHome toolbar - which I love - but then I get Yahoo installed (mysteriously and uninvited).
    I would like the new tab to reset to its default of: either the panels of previous sites, or the blank page. The prior issues relating to netassistant do not work.
    Any help would be appreciated.

    Hi,
    You can try to right-click and '''Reset''' the key '''browser.newtab.url''' in [http://kb.mozillazine.org/About:config about:config] or '''Modify''' and enter '''about:blank'''.
    [http://kb.mozillazine.org/About:config_entries about:config Entries]
    The [https://services.addons.mozilla.org/en-US/firefox/discovery/addon/config-descriptions/ Config Descriptions] add-on adds helpful source comments in about:config.
    [https://support.mozilla.org/en-US/kb/new-tab-page-show-hide-and-customize-top-sites New tab page]
    If the issue returns, you can try to check/change the '''Options''' for ShopAtHome in Firefox '''Tools''' ('''Alt''' + '''T''') > '''Add-ons''' > '''Extensions''', or in the toolbat itself.
    [https://support.mozilla.org/en-US/kb/Using%20extensions%20with%20Firefox Using extensions]

  • How to find "start-dreamweaver-first-website" zip in local site folder?

    Hallo...
    I have download that file already. But somehow it does not show up on the "local site folder" when i want to save it as in the tutorial video suggest....
    Do i need to do anything else before that to save it.???
    BTW, how to unzip that folder....??
    Thanks a lot.

    Dear Ken:
    Many many thanks...[?]
    2015-03-08 19:22 GMT+08:00 Ken Binney <[email protected]>:
        how to find "start-dreamweaver-first-website" zip in local site
    folder?  created by Ken Binney
    <https://forums.adobe.com/people/Ken+Binney> in *Dreamweaver support
    forum* - View the full discussion
    <https://forums.adobe.com/message/7264408#7264408>

  • How to find Installation Date for each SQL installation

    Dear All,
    I need a basic info. How to find installation date of each SQL instance (My environment running with multiple standalone/cluster instances)?
    So, I need a query to find installation date easily (I don't want to check it in registry by manual). Thanks in advance...

    Hi Balmukund
    This is the same answer that (1) Prashanth posted
    from the start, letter on (2) Stan posted
    this again with the same link, and now for the third time, (3) you posted it with the same link :-)
    * This answer is correct for specific instance.
    The OP asked a solution for several instances. Therefore he should execute this on each instance. As I mentioned he can do it dynamically on all instances, for example using powershell (basic logic is, first find all instances and than post this query in a
    loop).
      Ronen Ariely
     [Personal Site]    [Blog]    [Facebook]
    Then your answer is correct :)
    Balmukund Lakhani
    Please mark solved if I've answered your question, vote for it as helpful to help other users find a solution quicker
    This posting is provided "AS IS" with no warranties, and confers no rights.
    My Blog |
    Team Blog | @Twitter
    | Facebook
    Author: SQL Server 2012 AlwaysOn -
    Paperback, Kindle

  • REgd  How to find appropriate data sourses for given tables in Inve Mngt

    Experts!
    M completely new to Inventory Mngt where i needto extract data from R/3,
    they 've given me some tables, but i dont know how to find appropriate data
    sourses for that tables
    those are
    MKPF,MSEG
    EKKO,EKPO
    EKBE,EKET
    How to find right data sourses when table names given in any module??
    pls guide me,
    'll assign the points.
    thanks
    Srujan

    Hi,
    2LIS_03_BX is the initialization of your stocks; you'll need to perform the setup procedure for extracting this data.
    Usually this DSource is used to bring the stocks positions at a given time; from this given time you'll then extract deltas from BF and UM so your stocks are always:
    BX + BF(Delta) + UM(delta).
    Hope this clears your doubts...
    Olivier.

  • How to find the data loaded from r/3 to bw

    hi
    how to find the data loaded from r/3 to bw is correct . i am not able to find which feild in the query is connected to which feild in the r/3 . where i am geting the data from r/3 . is there any process to find which feild  and table the data is comming from . plz help
    thanks in advance to u all

    Hi Veda ... the mapping between R/3 fields and BW InfoObjects should take place in Transfer Rules. Other transformation could take place in Update Rule.
    So you could proceed this way: look at InfoProvider Data Model and see if the Query does perform any calculation (even with Virtual keyfigures / chars). Than go back to Update Rules and search for other calculation / transformation. At least there are Tranfer Rule and eventually DataSource / Extraction Enhancements.
    As you can easily get there are many points where you have to look for ... it's a quite complex work but very usefull.
    Once you will have identified all mappings / transfromation see if BW data matchs R/3 (considering calculations ...)
    Good job
    GFV

  • How to find the Data Type of a column

    Dear All,
    How to find the Data Type of a Column dynamically in oracle Form.
    Thanks and Regards,
    Fazil
    Edited by: user11334489 on Aug 25, 2012 9:06 PM

    hi,
    you can use get_item_property built-in
    eg:
    declare
       l_item VARCHAR2(10);
    begin
       l_item := Get_Item_Property('item_name',DATATYPE);
    end;

Maybe you are looking for

  • Show Message Before Send?

    Hi All, I think this is my last question (At least I hope so)... I am using the Groupwise objects to generate an EMail from my application which works fine, however I would like to show the EMail to the user before it is sent. So I programmatically c

  • Has anyone had to abandon their current voice plan when activating iphone?

    Has anyone had to change their current voice plan when activating the iphone? I want to get the iphone, but the restrictions are killing me. I can't apply my 24% business discount, no MMS capabilities, no video and the ATT rep told me that I would ha

  • Driver LINUX for DIO32HS

    Hi ! I'm looking for a device driver for a NI PCI-I/O card, the PCI DIO32HS. We are looking for this driver (on Linux); source code exist on ftp.ni.com/support/daq/linux; but we work with Red hat, kernel 2.2.12 and we cannot compile it, it seems this

  • Macbook Air Google Chrome Problem

    My new Macbook air will not open Google Chrome. It says to reopen or restore which I can do neither. Chrome works on all my other Macs.  How do I delete the Chrome application from my library and start over?

  • Recovering a table from backup

    Hi, I have a full back up of rman back up / normal back up. I wanted to recover a particular table from the back up without disturbing the current activities on DB/User. DB:11.2.0.1.0 OS Windows 2003 Server