How to use the current view in script logic - %DIMENSIONNAME_SET% not work

Hello,
I have the requirement to use the values from the current view in the script logic. User would like to use the members which were selected from the current view in the calculation.
We are using SAP BPC 7.0 SP06
I have prepared the following scrpit:
*XDIM_MEMBERSET TIME=$YEARS001$.NA
*XDIM_MEMBERSET ACCOUNT=BAS(PLVEH_EXP)
*SELECT(%CBU%,ID,BUSINESSAREA,[ID]='%BUSINESSAREA_SET%'")
*SELECT(%CIO%,ID,INTERNALORDER,[ID]='%INTERNALORDER_SET%'")
*RUNALLOCATION
*FACTOR=USING
*DIM BUSINESSAREA WHAT=BANA;WHERE=%CBU%;USING=<<<
*DIM INTERNALORDER WHAT=IONA;WHERE=%CIO%;USING=<<<
*DIM INDICATORS WHAT=INVEHPRI;WHERE=INPXQ;USING=INVEHQUA
*ENDALLOCATION
I have read in the sdn that it is possible to get the current values using %DIMENSIONNAME_SET% variable and use it but it returns all the members that were selected in the datapackage.
I would like to know if there is any special consideration regarging the use of variable or if there is another way to solve it.
Thanks in advance.

Hi,
If you want the code to be executed for the current view selected, you can place the code in Default logic which executes the logic for what ever current view values you send the data through Input schedule.
The key word you have mentined is for script running through Data Manager which gets the value selected through user promt.
Hope this helps,
Regards,
G.Vijaya Kumar.

Similar Messages

  • Before using the current Mac version Yosemite, I did not have an Administrator password.  It seems now that one is required to unlock and make changes in settings.  I have tried all my usual passwords but to no avail.  any ideas???

    Before using the current Mac version Yosemite, I did not have an Administrator password.  It seems now that one is required to unlock and make changes in settings.  I have tried all my usual passwords but to no avail.  any ideas???

    Boot into Recovery. OS X: About OS X Recovery - Apple Support
    Select Terminal from the Utilities menu.
    At the prompt type,
    resetpassword
    Hit return.
    Follow the prompts in the utility to select hard drive, then user.
    Reset the password.
    Exit the utility and restart.
    You will need to log in with your new password, but your keychain will not be reset.
    I’m not sure what access you’ll have to the old keychain since it didn’t have a password. You may be able to get into the keychain and reset the password to match your login password.

  • How to use the text module in script

    hi,
            i script how to use the text modules and how to write the code  in layout of the script?

    Hi,
    You canr use text modules in script. You have to use standard texts .
    Standard text are maintained in SO10 transaction.
    you can create translation text for other languages also . So based on logon language it will print translation text.
    go to SO10
    give textname it say Ztextname  id as ST and language as EN
    say create, then you will get editor there maintain your text and save it . then come back . Now change language (say for german DE) say create and eneter translation text and save it.
    so now you have created a text called ztextname which you can use in your script.
    Inorder to insert the texts in your script do as below
    go to any window editor and   select path
    Insert->texts->symbols->standard symbols
    then you will get popup  in which you have to mention all the parameters that you have created earlier.
    after inserting just change language EN to sy-langu
    Reward points if useful
    About text elements Sravan already given some informatiomn
    Regards,
    Nageswar

  • How to use the current connection when calling db procedure ?

    dear all,
    Am using Jdevleoper 11.1.1.3 ,
    I have a java class that call a database procedure , now everything is going fine with me but a bit slow bcoz am openning a new connection I think it would be definitely faster if am using the current connection
    so how can i re-write my code so i can use the current connection istead of defining a new connection to the DB :
    public void DeleteApp (int PAppNo){
    String username,password,thinConn;
    username = "ACC";
    password = "ACC";
    thinConn = "jdbc:oracle:thin:@..."
    try {
    DriverManager.registerDriver(new OracleDriver());
    Connection conn = DriverManager.getConnection(thinConn, username, password);
    CallableStatement cs = conn.prepareCall(" { call myprocedure(?,?,?) } ");
    cs.setInt(1,PAppNo);
    Thanks for all,
    Lama

    Delta,
    You shound NOT be doing JDBC calls from your UI project. You should put the code as a service method in your application module, expose the service method to the client, and then call it through the binding layer from your UI http://download.oracle.com/docs/cd/E14571_01/web.1111/b31974/bcservices.htm#sm0212
    thx John & timo but u always post the same reply at the same time for my questionsTimo and I have been around long enough that we recognize the questions that have been posted 9,461,293,811 times before and know the stock answers, and know where in the documentation the answers are given. As you appear to be new to ADF, I'd strongly recommend reading the Fusion Developer's Guide (skim it once and then read in detail the parts that interest you). As I've said before, so many of the basic (and not-so-basic) concepts are covered in there. Once you've skimmed it in enough detail, then the next time you have a problem, you might not know the answer, but you'll remember, "ah, I think I read something about that before, let me check..."
    John

  • How to get the current view name is displaying?

    Hi Experts,
    I have a requirement that I have to know the current view is displaying. At the header of the page, there is a component (BTCHIST) which is fix and common for the all others. It has a button called Finish. When the user clicks on it, it has a different behavior depending on the current view.
    Does anyone know any method in order to get this information? I searched up in CRM_UI_FRAME, however I didnu2019t find anything.
    Regards,
    André

    Hi,
    You need to redefine the method IF_BSP_WD_HISTORY_STATE_DESCR~GET_STATE_DESCRIPTION of the controller class to change the view description. Unfortunately, the effort is huge and we cannot do it dynamically and needs to be done for each view in question.
    Regards
    Prasenjit

  • How do i test my magazine for free using the current viewer builder?

    I downloaded  the adobe viewer builder, and i entered all my license's. I get to the activation page. Then it ask me to purchase a serial number. When it brings me to the
    site, it prompts me to purchase something for $400.00.
    I just want to test, for free... How do i do that?

    Thanks Bob!
    I think thats insane considering  the adobe content viewer doesnt work on the ipad with the current DPS folios.
    Is there any other alternative?
    Would it be better just to use the xcode apple ap?
    Thanks
    - Joe

  • How to use the frame viewer?

    I've been watching some tutorial videos and wondered how they take a frame from two clips, and put them in the frame viewer. One half of the image is from one clip, the other, another. How do I do this? Thanks.

    The frame viewer has 2 drop down menus at the lower left and right corners. The left menu has a green icon, and the right menu has a blue icon. These icons correspond with the frame boundary indicator in the frame viewer window.
    The view options that are included in the drop menus are:
    -2nd Edit Back: Displays the frame of the Out point two edits back.
    -Previous Edit: Displays the frame of the Out point one edit back.
    -Current Frame: Displays the frame corresponding to the position of the playhead in the Timeline.
    -Current w/o Filters: Displays the same frame as the Current Frame option, without filters applied to the clip.
    -Next Edit: Displays the frame of the In point one edit forward.
    -2nd Edit Forward: Displays the frame of the In point two edits forward.
    -In Point: Displays the frame corresponding to the currently defined In point of the sequence in the Timeline.
    -Out Point: Displays the frame corresponding to the currently defined Out point of the sequence in the Timeline.
    This is from pages 556 & 557 of the Final Cut Pro Users Manual.
    Hope this helps.

  • How do I stop FF from opening everytime I want to use the XPS Viewer,even when FF is not open at the time

    This is actually a workaround answer for the question at https://support.mozilla.org/en-US/questions/943960 , which has been archived.
    This problem persists for me in FF 27.0.1. The source of the problem can be found in this bug: https://bugzilla.mozilla.org/show_bug.cgi?id=358297 which Mozilla seems to think has been fixed.
    Basically, the MS xps reader program thinks it needs to open MS Internet Explorer, but it does this by opening the default browser, which for us is probably FF.
    Here is the workaround:
    If you want to open an xps file in ms windows:
    * First right click on the file in ms explorer to get the context menu.
    * Choose "Open with" > "Choose program"
    * Instead of the default choices (if any) offered, choose "Internet explorer"
    * ALSO, check the check box "Always use the selected program to open this type of file."
    This will make Windows go straight to IE, which works for me. However, you will still have to have the underlying handler installed, presumably.

    1. "this is a really really old version of Firefox" Really? FF 27.0.1 is really old? It's the latest version as of today. Read my post more carefully.
    2. The bug was updated relatively recently by someone else, who was told to file a different bug. I do not have time to refile bugs that other people have already filed and updated. Among other things, I will be told to install the latest build and see if the bug persists.
    3. The purpose of my post here was to help others who might have the same problem.
    4. If you "have no idea", why did you feel the need to respond? I would rather hear responses from those who have some idea.

  • How to use the windows API GetCaretPos with FireFox? It works with IE

    I want to get caret position from a windows desktop application using the Windows API GetCaretPos. It works in any windows Application and in IE. It worked also in FireFox for some minutes in version 3.6.8 but than it stopped working. Can anyone tell me how to make it work?
    == This happened ==
    Every time Firefox opened

    Many site issues can be caused by corrupt cookies or cache. In order to try to fix these problems, the first step is to clear both cookies and the cache.
    Note: ''This will temporarily log you out of all sites you're logged in to.''
    To clear cache and cookies do the following:
    #Go to Firefox > History > Clear recent history or (if no Firefox button is shown) go to Tools > Clear recent history.
    #Under "Time range to clear", select "Everything".
    #Now, click the arrow next to Details to toggle the Details list active.
    #From the details list, check ''Cache'' and ''Cookies'' and uncheck everything else.
    #Now click the ''Clear now'' button.
    Did this fix your problems? Please report back to us!

  • How to use the WRT54G2 as a switch...not a router?

    I've got one linksys wirless router that's providing DHCP addresses, doing MAC filtering, and allowing access to the internet (it's hooked up to our DSL modem).  The wireless signal doesn't reach to our other building (lots of brick and steel in the walls), so I've run a hardwire from the main building into that 2nd building. 
    We've got all wireless devices in the 2nd building.  I want to use the linksys in the main building to hand out DHCP and do MAC filtering for the devices in building 2, if possible (don't want to have to maintain 2 MAC lists, and would like wireless devices to be able to go between buildings).
    How do I setup the WRT54G2 in building 2 for this scenerio? Do I goto "Advanced Routing" and set the operation to "router" rather than "gateway"?  Do I then use RIP?  Or...do I do something else?
    Any help would be great...thank you!!

    Errr...I guess I could have asked "How do I configure the WRT54G2 as a WAP"...which is already answered here!  Durr...I'm a network professional...durr...
    TOOMANYDONUTS, you rock and somebody should give you some more donuts!!

  • How to use total elements in a script logic?

    Hi All,
    I am using BPC 7.0 MS. I need to create a calculation using script logic as follows:
    The application name is GYP and it is composed by the following dimensions:
    PL (Account type) in this dimension are the units
    Time
    Category
    Entity
    Product
    RptCurrency
    I would like to make a calculation like this:
    UNITS of any product (base element) and any entity (base element) for the BUDGET category and LC currency divided by UNITS of TotalEntity.
    Also, I would like to check before the calculation if UNITS have any value to proceed with that calculation.
    Best Regards,
    Luisana

    Hi Robert,
    Thank you for your reply.
    Let me explain better what i would like to do. I have an application called GYP, it is composed for the following dimensions:
    PL (Account type)
    Time
    Category
    Entity
    Product
    RptCurrency
    In the PL dimension i have an element called UNITS and another one called UNITSBYX. I would like to get a calculation like this:
    For the BUDGET category and LC currency.
    UNITSBYX = UNITS for each ENTITY / UNITS for ALL_ENTITIES
    Let's say I have three entities:
    Units for Entity1 = 50
    Units for Entity2 = 100
    Units for Entity3 = 300
    Units for All_Entities = 450
    The calculation should be like this:
    UNITSBYX = Units for Entity1 / Units for All_Entities
    UNITSBYX = 50 / 450
    UNITSBYX = 0.11
    UNITSBYX = Units for Entity2 / Units for All_Entities
    UNITSBYX = 100 / 450
    UNITSBYX = 0.22
    I hope you get my point.
    Kind regards,
    Luisana

  • How can standarize the settings of Firefox, by ADM is not working as it only modifies the registry, how can I configure firefox for all my users ?

    I used the adm from Frontmotion but it only works with the FirefixCE version, I need to force Firefox configuration in my domain with a standar version of Firefox, how can I do this, it could be by GPO or logon script

    Most YouTube content requires the Flash plugin. Sometimes it's necessary to uninstall then reinstall that plugin.
    Uninstall the Flash plugin then reinstall new >  Troubleshoot Flash Player | Mac OS
    Very important to uninstall the currently installed plugin first.
    Now launch Safari and try a video.
    If you have the ClickToFlash extension installed, that can prevent Flash based video from streaming. It can also be installed as a plugin in /Library/Internet-Plug-Ins.
    And check to see if Safari is running in 32 bit mode. Right or control click the Safari icon in your Applications folder then click Get Info. If the box next to:  Open in 32 bit mode  is selected, deselect, quit then relaunch Safari.
    You may also need to delete the cache associated with Safari .
    Open the Finder. From the Finder menu bar click Go > Go to Folder
    Type or copy/paste:   ~/Library/Caches/com.apple.Safari
    Click Go the move the Cache.db file from the com.apple.Safari folder to the Trash.
    Quit and relaunch Safari. Try a video.

  • The window displaying bookmarks is too large (suddenly happened with the new version). I can't figure out how to make the display smaller. Zooming out does not work on the bookmark menu display.

    I have version 4, just downloaded, and a Mac w. OS 10.6. 7.
    The bookmarks display (when I pull down "bookmarks") is much too wide. I can't figure out how to reduce the display size. The window is not persistent so I can't even get you a screen shot.
    Thanks, Sara

    It seems there was a change in Firefox 4 where the width of the drop-down is now determined by the length the longest bookmark name in the folder being displayed. Previous versions of Firefox would shorten a long name like that and add an ellipsis to signify the name was truncated.
    Sorry, I don't know how to change that other than to advise you to edit the name of that long bookmark name and make it less verbose. Just scroll down the list of bookmarks in that wide folder until you see the culprit, then right-click that bookmark and open Properties & edit the Name line at the top of that dialog.

  • Please help me how to fix the yahoo messenger video call camera was not working have a line appear color green

    My new iPad air is not working the yahoo messenger video call pls help thanks

    Hello Evaorange
    If you are having an issue with the app downloaded form the App Store, check out the general troubleshooting article below to resolve the issue. If the camera is not working in that app, check other apps to see if the camera is working besides in that app.
    iOS: Troubleshooting apps purchased from the App Store
    http://support.apple.com/kb/ts1702
    Regards,
    -Norm G.

  • How to use wait.for() /wait() commands for MAC? Not working...

    I am trying to run an external application on mac using runtime.exec() and it runs fine but after it runs it suddenly terminates the program. I have a waitFor() command after the runtime.exec() waiting for that program to end. If i comment out the waitFor() then the program terminates by going through the run command. The waitFor() worked fine for PC but doesnt work for MAC... anyone know what i did wrong or alternative way of listening for it? thanks!

    On the PC i have the following:
    Process p = Runtime.getRuntime().exec("C:\\program Files\\QuickTime\\QuickTimePlayer.exe "
    +file.getPath());
    p.waitFor();
    It basically creates a process of QuicktimePlayer and runs the file specified. I then have p.waitFor() used to wait for the user to close the application so i can do listener stuff for it- it worked for PC.
    On Mac
    String b= "open"+ tempFile.getPath();
    Process p= Runtime.getRuntime().exec(b);
    System.out.println("before wait");
    p.waitFor(); .
    System.out.println("app. terminated");
    output:*
    "before wait".
    Program terminates before System.out.println("app. terminated"); but the application (quicktime) starts.
    if I do this:
    String b= "open"+ tempFile.getPath();
    Process p= Runtime.getRuntime().exec(b);
    System.out.println("before wait");
    // p.waitFor(); .
    System.out.println("app. terminated");
    output:*
    before wait
    app.terminated
    program terminates "normally" and I see "app.terminated".
    I used Eclipse so the "red square" turns red when running it and suddenly grays out when the player appears. So to me the program terminated before the p.waitFor(); If i commented out p.waitFor() then the program goes to the System.out statement and everything goes "fine". I tried using thread.wait(), this.wait() p.wait() etc. but i get errors saying they are not owner of the thread.
    hope this helps. thanks

Maybe you are looking for