Variable - Default to current period but allow input fomr user??

Hello All,
This may be a simple question.... I am not sure....
I'd like to have a variable for a report where the user can select the fiscal period.  Creating this variable is not a problem.  The problem is that I would like for the variable to default with the current period.
The best solution is for the variable to be displayed with the current period as the default selection but give the user the ability to overwrite this default value on the variable selection screen.  Can this be created as a customer exit variable?  We have tried this but can't get the variable to prompt the user and give them the option to overwrite when it is customer exit.
thanks
rodney
Edited by: Rodney on Feb 26, 2008 10:14 PM

Hi Rodney,
Yes, I think you can use a customer exit variable for this. However, you need to set the code to I_STEP = 1 when you set the date to sy-datum. What happens is that at I_STEP = 1, the default value pops up in the variable screen. Then, your user can opt to change this value or just use the default value. If your user wants to change the value in the selection screen, it automatically overwrites the default value.
Hope this helps,
Juice

Similar Messages

  • How to setup a Default Playlist to Airport but allows BYOD playlist override?

    Sorry for the unclear description.
    Here is what I am trying to accomplish.  I have my laptop or ipod playing a default playlist to my Airport express attached to my Stereo system.  The music plays fine with no issues.  I come into the house and want to play music from my iphone or ipad, I cannot connect or play to airport express since it is already sync'd or acquired by my laptop.
    My goal is to have a default playlist playing all the time.  When myself, my kids, or anyone comes in to house they can have priority over my laptop to play their music.  Then when they disconnect, stop playing music, or leave the house; the default playlist kicks back on and continues to play out the speakers via the airport.  I am trying to do this without human manual interaction.
    I can do all of this manually like disconnect laptop, new device syncs to airport, then when they leave manually start playlist.  But I am trying to figure out how to do this dynamically without human interaction.
    Any ideas or solutions on how to get this to work?
    Thanks!
    T.

    Hello,
     I'm either blind or over-worked (probably both) but I can't seem to find how to setup a DMZ on the XTM 330. I need to add an Avaya IP phone system and don't want to try using SIP because the vendor said they need no NAT.
    Can someone please either direct me to the correct spot in the documentation or tell me how to do it?
    Thanks in advance
    This topic first appeared in the Spiceworks Community

  • Current period/Year to Date Amount calculation

    Hi,
    I would like to create a query in Bex Query Designer.
    Requirements:
    If I enter current period and Fiscal year then the report should appear total of period 1 to current period.
    Example:
    Period: 4
    Year:  2008
    For Cost Elements in Controlling.
    The report should be like
    |Cost Elements   |   Amount of(P1P2P3+P4)|
    I can keep select variable as filter to enter current period, But how can I calculate the total amount from period 1 to current period.
    Any help would be appreciated.
    Thanks,
    Aparna.
    Edited by: Aparna Pyeddu on Jan 29, 2009 9:45 PM
    Edited by: Aparna Pyeddu on Jan 29, 2009 9:46 PM

    Hi,
    To get the required output do like this...
    1. Create a Customet Exit Variable on 0FISCPER. (Single, Mandotory, Uncheck Ready for InPut):'ZFY_CURR'
    2. Create a Customet Exit Variable on 0FISCPER. (Single, Mandotory, Uncheck Ready for InPut):'ZFY_CUR1'
    3.In Free Chars drag and Drop 0FISCPER and the restrict with Variable '0P_FPER'.
    4.Create New Selection in Columns and the Drag your Key figure and then Drag 0FISCPER and then restrict with (Select Value Range) []ZFY_CURR; ZFY_CUR1.
    5. Execute the report then you can get the desired output.
    The below Code is for From Period
    WHEN 'ZFY_CURR'.
    Data: ZSF(4) type C,
          ZSF1(3) type C,
          ZSFY(7) type C,
          ZSFH(7) type C.
          ZSF1 = '001'.
      LOOP AT i_t_var_range INTO loc_var_range WHERE vnam = '0P_FPER'.
        IF sy-subrc = 0.
          CLEAR: l_s_range.
          ZSF = loc_var_range-LOW+0(4).
          ZSFH = loc_var_range-LOW.
          CONCATENATE ZSF ZSF1 INTO ZSFY.
          l_s_range-low = ZSFY.
          l_s_range-sign = 'I'.
          l_s_range-opt = 'EQ'.
          APPEND l_s_range TO e_t_range.
        ENDIF.
      ENDLOOP.
    The below Code is for To Period
    WHEN 'ZFY_CUR1'.
      LOOP AT i_t_var_range INTO loc_var_range WHERE vnam = '0P_FPER'.
        IF sy-subrc = 0.
          CLEAR: l_s_range.
          ZSFH = loc_var_range-LOW.
          l_s_range-low = ZSFH.
          l_s_range-sign = 'I'.
          l_s_range-opt = 'EQ'.
          APPEND l_s_range TO e_t_range.
        ENDIF.
      ENDLOOP.
    Thanks
    Reddy
    Edited by: Surendra Reddy on Jan 31, 2009 2:46 PM

  • Delete RA in current period

    Hello, All!
    Standart transaction KKA8 delete all data RA for WBS. Created reverce positon for all period in same period at that time.
    I want to make a reversal posting data deletion RA cumulatively for the current period.
    that the data correspond to the data in the CO in FI.
    How i can do it?
    thanks for your attention

    Hi Victor
    So my understanding of your issue is that using KKA8, you wish RA data should be deleted/ reversed not only for current period but all past periods cumalatively and this reversal should be posted in the current period. If so, yes you can do it.
    The above stands true only in case, settlement entries are posted in the current year only and this has to be reversed before using KKA8. In your case, since the periods are falling in past year, I am afraid you cannot use KKA8.
    Further KKA8 is period and year independent, hence it will stop you from using KKA8 even if there are no settlement entries during the current year.
    Hope the above information was helpful.
    Regards
    Mustafa

  • DI SDK on version 2005 - getting  No Current Period error

    Trying to connect to the DI SDK, and get an error message of 'No Current Period' when supplying the server, user, password, language and trust. The same code works fine with the 2004 version. Can anyone help?

    The error normally appears if there are no periods contaning todays date... Make sure you have a running posting dates (If you don't have the client will also at stratup warn you about this)... Point is that you can not manke a connection to the DI for some reason in no posting period (Even if you just want to do DI-work that have nothing to do with periods)

  • Variable default period should be currenct fiscal period

    Expert's,
    Here is a requirement from ousite folks.where in the variable default should be current fiscal period.
    I have to write  a code in CMOD.Please any one give the code so, that I can pasted and modify based on my requirment.
    Points will definitely assigned .
    Thanks in advance.
    vasu.

    Hi Vasu,
    <u><b>Sample Code.</b></u>
    When <Variable Name>
    Data : l_p_range_test   TYPE rrrangesid.
    data: l_peri like T009B-POPER,
            l_year like T009B-BDATJ.
    IF I_STEP = 1.(This is for default value) before query execution.
    --> use following function module to derive period from system date(sy-datum)
      CALL FUNCTION 'DATE_TO_PERIOD_CONVERT'
      EXPORTING
        I_DATE               = sy-datum
        I_PERIV              = <Fiscal variant>
    IMPORTING
       E_BUPER              = l_peri
       E_GJAHR              = l_year
    EXCEPTIONS
       INPUT_FALSE          = 1
       T009_NOTFOUND        = 2
       T009B_NOTFOUND       = 3
       OTHERS               = 4
      Concatenate l_peri l_year into  l_p_range_SSS-low.
      l_p_range_test-sign = 'I'.
      l_p_range_test-opt  = 'EQ'.
      APPEND l_p_range_test TO e_t_range.
    endif.
    Just written code, check datatypes and systax check.
    Hope it Helps
    Srini

  • How can I transfer photos from an IPhone 5 to an IPad 2 using a cable.  I have tried using the lightning to firewire adapter with my current lead but this only seems to allow a download from the Ipad to the Iphone and not the other way around.

    How can I transfer photos from an IPhone 5 to an IPad 2 using a cable.  I have tried using the lightning to firewire adapter with my current lead but this only seems to allow a download from the IPad to the IPhone and not the other way around.

    The devices are not designed for transfer of that kind.  Use Photo Stream as suggested by another poster, or transfer photos to your computer (a good idea anyway since they will be lost if your device needs to be reset), then use iTunes to sync them to the other devices.

  • Financial Reporting - Current Period Variable

    Anybody know a quick way to get the Current Period Number (eg June = 6 ) for use in a formula? Thanks.

    You'll need to restart FR studio, after you have created the substitution variables. As the studio only performs one read of the sub var database on startup.
    It also won't show up unless you assign a member to it.
    Hope this helps.
    Iain

  • Create a BEx variable which should by default contain current date, etc

    Hi,
    I need to create 2 variables: ZDATE01 and ZDATE02.
    They will be used in the following situation:
    0DATETO >= ZDATE01
    and
    0DATEFROM <= ZDATE02
    to only display records on a current "key" date.
    ZDATE01 should be a variable that has current date pre-populated in it on the variable entry screen in BEx Web Analyzer, so that users do not have to type in the date themselves.
    ZDATE02 should be a replacement path variable to be replaced by whatever is the value of ZDATE01.
    How would I accomplish ZDATE01 variable having current date pre-populated in it on the variable entry screen?
    I tried creating ZDATE01 variable with having SAP exit variable as replacement path, but it did not let me.
    Thanks

    Sorry, the previous link was wrong...
    Here you go...
    Current System date in report
    WHEN 'XXXX'.
    LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE
    WHERE VNAM = 'YYYY'.
    CLEAR L_S_RANGE.
    L_S_RANGE-LOW = sy_datum.
    clear L_S_RANGE-HIGH.
    L_S_RANGE-SIGN = 'I'.
    L_S_RANGE-OPT = 'EQ'.
    APPEND L_S_RANGE TO E_T_RANGE.

  • Browse URL in FM11 won't allow input of any kind.  I need to connect either to a CMS, or WebDav, or checkout from Sharepoint, but nothing works.

    Any one in FrameMaker 11 having ANY luck of any kind with a check out rev controlled doc management system for a team?  So far, CMS won't work with FM11.  SharePoint 12 doesn't work with FM11.  And the Browse URL won't allow input of any kind no matter what direction I approach at.  I have been to preferences, allowing checkout of HTTP files on open, and upload HTTP files on save, but nothing works yet.
    I can check out and return from SP13 from the web, but all links are lost, and only embedded information carries over.
    Any suggestions and input would be valued.
    I didn't want to go Ditta simply because the company has SharePoint and it was supposed to be compatible. It isn't, so I need a back door.
    I would rather not run two systems for Doc Control if I don't have to.  There is much to do, and dividing resources is a waste that I would prefer to avoid.
    Thanks
    A

    I didn't want to go Ditta simply because the company has SharePoint and it was supposed to be compatible. It isn't, so I need a back door.
    If you mean DITA and structured documentation, take a look at DITA Exchange – sad disclaimer, I'm no wise affiliated and I haven't yet managed to persuade the powers that be to try this level of integration.

  • How to no allow input japanese in JCombobox but still handle keypress event

    How to no allow input japanese in JCombobox but still handle keypress event?
    I used DocumentFilter to no allow input japanese but when i execute ENTER keypress event no action.
    Please help me. thanks very much

    I don't know about Raspberry but on desktop it would be primaryStage.close() - does that work?

  • Variable Report Filter (Current Year)

    Dear Gurus,
    I need a report which always will work with current year measure. (Without asking to user in selection screen) The system should automatically assign the current year. I created an object in universe. In definition tab, in the select statement I wrote   to_char(sysdate,'yyyy') . But, in report and while the system gives an error message like "Parse failed. Exception: DBD, The supplied XML is not valid. to_char(sysdate, 'yyyy')State: N/A".  I think the formula is wrong but I wrote it by referencing OSS note 1381486. Are there any suggestion? Thank you.

    Hi,
    This should have been posted in the designer section, but...
    I think I know why you are having problems getting a right answer, the parse failed message says:
    The supplied XML is not valid.
    Which leads me to believe you are using an OLAP universe (on top of BW may be?), all the solutions given here are for SQL access.
    Unfortunately, there is no string handling possible in an OLAP universe on top of BW, you would have to resort to solving this in the underlying BEx query for this universe.
    You can think along the lines of using a BEx variable that is input ready, takes multiple values, is mandatory and has a default value filled with by a user exit (which makes it default to current year).
    You can show the prompt message of the BEx variable for when the user wants to select different year(s).
    Not showing the prompt and leaving it empty will trigger the default.
    Good luck,
    Marianne

  • How to create logical columns for current period and prior period

    Hello all.
    Is there any way in obiee to create a new logica column in BMM layer that says "CURRENT PERIOD" AND "PRIOR PERIOD" OR ONE SINGLE COLUMN THAT SAYS "PERIOD".
    In those columns what I need is if it a current period column it shoould have 03/01/2012-03/31/2012 (this month date range)
    and in prior period column I shouldhave 02/01/2012 -02/29/2012(which is previous month date range).These columns I will be using in my reports.
    Please help me if we can create any such columns with these conditions/requirements

    Hi,I have already created he dynamic variables.But I am not getting how to use those variables and create the new logical columns in bmm layer.
    this is what I am trying
    case when VALUEOF("Current Month begin date"."Current Month begin date") ='..' and VALUEOF("Current Month end date"."Current Month end date")
    ='..' then 'current period' end
    I don't really understand what I should write case when VALUEOF("Current Month begin date"."Current Month begin date") ='..'??

  • How to lock the data for few periods in the Input Layout

    Dear All,
    I have an input enabled layout wherein I will display the data based on a period range.( For ex, 01.2007 to 12.2007).
    Now, based on the current period I should disable the input readiness for the periods less than my current period.
    In my ex, if my current period is 06.2007, the input readiness should be disabled for the periods 01.2007 to 05.2007 .
    How can I achive this?
    Regards,
    Srini.

    Hi Srinivas.
    You can use user variable exit for the disabled one (the period one); based on the current period..
    You can read regarding it in here:
    http://help.sap.com/saphelp_nw04/helpdata/en/1d/ca10d858c2e949ba4a152c44f8128a/frameset.htm
    Hopefully it can help you a lot.
    Regards,
    Niel
    thanks for the points you choose to assign.

  • Current period time vs previous period time

    Hi All,
    I have to create a report which compare the sales period time..
    for example variable 0calmonth period 0108 - 0208
    product  |  current period  0108 / 0208  |  previous period 0107 / 0207   |  current - previous
    TV        |      1000                              |            500                            |   500
    Audio    |      100                               |             300                            |  -200
    its work great
    but when I add 0calmonth in column query
    product  |  current period  0108 - 0208  |  previous period 0107 - 0207   |  current - previous
    0107
    0207
    0108
    0208
    0107
    0207
    0108
    0208
    0107
    0207
    0108
    0208
    TV           |     0   |     0  |  800   |  200     |  300    |   200 |    0      |    0    |   -300 |   -200 |  800    |  200   |
    Audio    |     0   |     0  |  70   |     30     |  150    |   150 |    0      |    0    |   -150 |   -150 |  70      |    30   |
    This is not what i want.
    I want this.
    product  |  current period  0108 - 0208  |  previous period 0107 - 0207   |  current - previous
    0108
    0208
    0107
    0207
    0108-0107
    0208-0207
    TV        |   800                     |  200     |  300                           |   200   |   500           |  0              |
    Audio    |    70                     |     30     |  150                          |   150    |   -80           |   -120         |
    How do that?

    Hi,
    I think there is a way to do this, take normally first 4 fields, product | current period 0108 - 0208 | previous period 0107 - 0207 | current - previous
    Then remove 0CALMONTH from columns and after that create a RKF by new selection, using sales Keyfig. with 0CALMONTH resticted to the value 0108, and next take a new selection and restrict the same with 0208.
    Similarly restrict for remaining months also (0107  0207  0108-0107  0208-0207 ) so that it can be arranged in the order u want.
    Hope this helps.
    Rgs,
    I.R.K

Maybe you are looking for

  • The MuVo V200 beltclip is a joke, Now I have no player. What Can I

    Hello all, I'm very disappointed with the Muvo V200 Beltclip. I have had my Muvo since the 9th Jan 2005 and have been using it all the time and had no problems with it what so ever. But yesterday I had taken my player out with me. I had it connected

  • How can I email a video in iPhoto that has been uploaded from my iPad?

    How can I email a video in iPhoto that has been uploaded from my iPad?

  • APO DP - use of forecast settings

    I am using APO DP V5. In my planning area I have <u>one</u> set of forecast settings specifying a forecast key figure x, corrected history key figure, corrected forecast key figure, ex post key figure. I have two master forecast profiles, one specify

  • Activity Types

    at the time of confirmation of Production order by CO11n i get error : No Price could be determined for Object Activity Types 1000/1031101/43003, where 1000 is comtrolling area, 1031101 is Cost Centre and 43003 is activity. i have check all the possi

  • Switch abap to bi and scope  for current year

    Hi Gurus, i have 1+ year exp in abap in reputed company. I want to switch carrier in ABAP to BI. I have gone thro. all related foram..just i want to knw as current date scope of BI. If i have exp. of abap. Certification is required is yes then should