How to get name of the slicer via script

Hi Gurus,
I was wondering if we could get the name of the slicer added in IR Query section, via script ??
That is, I have a bqy connecting to Essbase OLAP.
Now I am adding a slicer in OLAP Section via script.
For Ex : ActiveDocument.Sections["Query2"].Slicers.Add('Market.Gen3,Market' , 'Market.LA')
Now,for some reason, I wanted to retrieve the name of the slicer I added and assign it to a variable. Is this possible ?? I couldn't see any option for this. Please help me out if any one has done this before ?
Thank You,
Aji

Sethil,
Use your date(let us say Date1) instead of sy-datum.
CALL FUNCTION 'MONTH_NAMES_GET'
EXPORTING
LANGUAGE = SY-LANGU
IMPORTING
RETURN_CODE =
TABLES
MONTH_NAMES = itab_month
EXCEPTIONS
MONTH_NAMES_NOT_FOUND = 1
OTHERS = 2
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
READ TABLE itab_month
WITH KEY MNR = date1+4(2).
itab_month-LTX will contain the value you are looking for
Good luck
Raghava

Similar Messages

  • How to get name of the month from current date.

    Hi,
       How to get the name of the month from current date.
    Thanks,
    Senthil

    Sethil,
    Use your date(let us say Date1) instead of sy-datum.
    CALL FUNCTION 'MONTH_NAMES_GET'
    EXPORTING
    LANGUAGE = SY-LANGU
    IMPORTING
    RETURN_CODE =
    TABLES
    MONTH_NAMES = itab_month
    EXCEPTIONS
    MONTH_NAMES_NOT_FOUND = 1
    OTHERS = 2
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    READ TABLE itab_month
    WITH KEY MNR = date1+4(2).
    itab_month-LTX will contain the value you are looking for
    Good luck
    Raghava

  • How to get names in the phonebook transferred to Car device?

    Hi,
    I am using BB 8900 and Fiat Linea car with Blue & Me technology. After copying the phone book from the BB hand held to the car device, the car phone book only displays the numbers without names, which is practically useless. Because of this, I am unable to utilize the expensive feature in my car to the full, though I can receive calls and dial from the handheld and then continue conversation through car device. My another handheld Nokia model, costing 1/4th of BB 8900 works perfectly well with the car device. Kindly help with information on how to get the names in the address book of BB handheld transferred to the car device. Thanks and Regards - Ram Bhat

    Hi, I did not get help but I succeeded in transferring the names in the address book of my BlackBerry. I am sharing how I did it for the benefite of others -
    1. The automatic pairing by blue & me does not transfer the names!!
    2. Keep your BlackBerry (BB) unlocked, blue tooth paired with device.
    3. Press 'Phone' sign on the sterring wheel to activate menu.
    4. Scroll using the up/down arrows on the steering wheel for 'Settings'
    5. Select settings by pressing the 'Phone' sign.
    6. Scroll for 'User data' and select by pressing 'Phone' sign
    7.Scroll for 'Add contacts' and select by pressing 'Phone sign'
    8. After hearing the voice message from the car audio do seetings on BB as below
    9. Go to 'Manage Connections' -> 'Set up Blue Tooth' - > 'Cancel' This Leaves 'Blue tooth' menu with "Blue & Me" on the screen.
    10. Click 'Menu' button and click on 'Transfer Contacts'
    11. The BB shall transfer 300+ numbers within a minute ans give a message of completion of transfer.
    12. Look at the car display, it shows the numbers being added, trailing the completion of transfer completion from BB
    13. Within less than 2 minutes, the address book in the car device is updated and you have all the names in the phone book of the car now.
    Enjoy but keep the usage of the calling from car to safety limits.
    Ram

  • How to get names on the tunes

    I had a 30gb ipod & installed into my laptop. About a year later I receaved a new 60gb and without running the 60gb intallation CD with it, I loaded the new ipod with the songs.
    Now I have a new laptop and after trying to trasfer songs from the old laptop to new, I finally got frustureted and just copyed all the music from the old into CD,s and then installed them to my new laptop. The problem, I can not get tune names from itunes. Did I change format?

    Unfortunately you almost certainly did. Getting track information from Gracenote depends on the track order and timing being exactly as they were on the original CD.
    There is a Wiki on Gracenote:
    http://en.wikipedia.org/wiki/Gracenote

  • How to get name of the current localization language?

    Hello!
    How can i get value of Setting->General->International->Language?
    TIA

    Hi, not tested but from apple docs:
    NSUserDefaults* defs = [NSUserDefaults standardUserDefaults];
    NSArray* languages = [defs objectForKey:@"AppleLanguages"];
    NSString* preferredLang = [languages objectAtIndex:0];
    You should also take a look at:
    http://developer.apple.com/iphone/library/documentation/MacOSX/Conceptual/BPInte rnational/Articles/ChoosingLocalizations.html

  • How to get name of batch file/shell script that starts program?

    I don't think there's a way to do it, but I'm asking the question anyway...
    of course, the startup script could pass its name as a parameter to the Java program, but I was wondering if the information could be determined "directly," via Java code. The idea is to allow your Java program to modify the startup configuration specified by your startup shell script.
    For example, a "startup configuration" menu item would pop up a dialog box that would display- and allow you to change- the startup parameters, and then let you write the changes back to the script file.

    There are always some ways to do things.
    I guess for your case, you need to go through JNI and have a native program to back track the Process ID of who started who. Never done that but I guess should work.
    But a more natural way to do this is to have your startup configuration stored in an xml file or a properties file inside your classpath.
    --lichu                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How to get rid of the Fetch Art Script from iTunes

    A couple months ago I installed Fetchart, didn't like it and uninstalled using app zapper. App is gone but I still get this "S" looking script logo when I open iTunes. If I click on it, it says Fetchart. I tried going to library/iTunes and finding the "scripts" folder but it's not there.
    I really want to get rid of this

    Anybody?

  • I had to manually download the new version of itunes.. via tools, it gave me 4 items to download and i did not download all 4 compenants.  Does anyone know how to get back to the pop up that contains tools so i can redownlaod all of them.

    I lost my old iphone and have a new 5s.. i need to sync to itunes.  i had to donwload manually via tools but i didnt download all four files.  now when i plug my phone into itunes it says there is an error bc i didnt download all the files.  so when i go into itunes now and check for updates it says its up to date.  the problem is with the phone support file i didnt download. 
    Does anyone know how to get back to the pop up that has the music player update and itunes update bc this is the only place i have seen "tools" to be able to manually update all four files....
    ***IF i completely uninstall itunes and reinstall will it still have all my songs, photos, apps etc... bc i need to sync my new phone to get all my stuff back

    this is a follow up from the profane post earlier....
    i have done this twice in two other posts..
    here is my problem.. i started off trying to update itunes, it failed twice and said i needed to install manually via tools.
    the only place to get to tools is the pop up box that appears when you click check for updates.. if there is an available update then the pop up shows up with the quick time and itunes files to download. so i finally figured that out. i clicked on tools and manual update, four files were saved to a file. Apple mobile device support, another one similar, itunes, and another one i cant remember. I only downloaded the itunes file seeing as though thats all i needed to accomplish in the first place.
    so then i restarted my computer bc you need to reboot and then reopen itunes for update to take effect. once i have itunes back open i plugged in my new 5s which i am trying to sync to my computer to get all my stuff back bc i lost my previous phone over the weekend.. once i plugged the phone in an error stating i needed to unistall the apple mobile device support and itunes and then reinstall. well i dont know where those files were originally stored on my computer AND since my itunes was updated, just not the other 3 associated files, when i click check for updates it says its up to date and then pop up containing the quick time and itunes does not pop up thus i cant get back to the tools tab to manually save the 4 files again.
    so i was just going to uninstall itunes all together and then i thought well what happens if it erases all my photos apps songs etc... which would defeat the whole purpose in the first place of me trying to sync my new phone to get all my stuff back.
    so i literally have no idea what to do at this point.. if you have read this you are probably just as confused as me...

  • How to get rid of the safari community toolbar?

    How to get rid of the community toolbar in safari

    That toolbar/ct plugin causes problems for all who install it!
    Close Safari, then locate and delete the following files and it should be gone:
    /Library/Application Support/Conduit
    /Library/InputManagers/CTLoader
    /Library/Receipts/ctloader.pkg
    /Library/Receipts/<Toolbar name>.pkg
    /Library/Application Support/SIMBL/Plugins/CT2285220.bundle
    /Users/<User name>/Library/Application Support/Conduit
    where / is the root library on your Hard Disk.
    If you are running Snow Leopard you should also look here:
    Library/launchAgents/com.conduit.loader.agent.plist
    Library/Application support/conduit plugins
    Note: Safari does not support any third-party toolbars except those supplied as an extension to Safari via the Extension Gallery.

  • How to get rid of the SAP BPC "three globes" startup screen?

    Hi,
    I am trying to figure out how to get rid of the SAP BPC "three globes" startup screen when we start BPC. I do not want it to pop up.
    I looked at VBA behind the workbooks but could not find anything. Could not make the sheet invisible.
    Is there a way to get rid of the screen? This is the screenshot
    www.flickr.com/photos/chalinka/3471310254/
    Thanks!

    Just found the answer on this very forum!
    Re: How to change the logo, (3 Globes) on the launch page
    Posted: Mar 18, 2009 12:46 PM in response to: David Fletcher Reply
    OK then, now v7sp03 for microsoft has hit the shelves, you can change the logo !!!
    It is quite easy.
    Have the logo file ready in either BMP, GIF or JPG format.
    Put it in your "Server Install -> DataWebFolders[Appset]" folder (so where you keep your files).
    In ApplicationSet parameters, add the parameter COMPANY_LOGO and in the options type the name of the file you just put on the server.
    Now if you restart BPC for Excel, the second excel page that pops up should be showing your new logo or graphic (mine did).
    The use of the logo has been documented in the admin manual -> working with appset parameters
    Some tips.
    I wanted not to clutter the filesystem so i put my logo in the appsetpublications folder and added the path accordingly in the parameter (so now it reads appsetpublicationslogoname.jpg instead of just logoname.jpg).
    If you do not supply a name (only the parameter), your second Excel window (normally holding the graphic) will not appear. That could be an alternative too if you find that whole thing annoying.
    Hope this helps you build great BPC apps,
    Edwin van Geel

  • HOW TO GET INFORMATION ABOUT THE CLIENT MACHINE AT DATABASE LEVEL

    HOW TO GET INFORMATION ABOUT THE CLIENT MACHINE AT DATABASE LEVEL USING 10g Database and 10g Application Server
    we have developed an application using oracle forms 10g with
    oracle database 10g and Application server 10g
    Application uses a single Oracle User name to connect to database
    where as at Application level there are different users (these are not database users)
    Now how can we get the information about the user/his machine etc. at database level. earlier in 6i/8i we use to get by using
    USERENV('TERMINAL')
    we had written a triggers on tables on Insert/Update where we used to update a database field Last user terminal with USERENV('TERMINAL')
    but not this information is comming to be the machine name of application server where as we wish this to be the machine name of Client. Any Way outs
    thanks
    Chaand Kackria

    hi, you can use the sys_context function, like this:
    select sys_context('userenv','current_user'),
         sys_context('userenv','os_user'),
         sys_context('userenv','host'),
         sys_context('userenv','ip_address'),
         sys_context('userenv','instance'),
         sys_context('userenv','sessionid'),
         sys_context('userenv','terminal')
    from dual;
    Is this what you 're looking for?

  • How to get value on the table control in infotyp e0008

    Dear Freinds
                I have written a user exit ZXPADU02 for my requirement
    as per the requirement in i have calculated  wa-poo8-bet01 = wa_p0008-ansal/12 and i have passed on to the INNNN structure .
    Nowe when do a Create or Copy for a rcord in  infotype 0008  iam not
    getting value on Q0008-betrg field on the SCREEN , since it is table control how to get data on the table Control Cell .
    Please let me knlow
    regards

    Hi Syamala,
    The try to find the name of the table control and pass the values to it.
    Of course you have to loop and endloop, the table control and mofidy it from the work area.
    Message was edited by:
            Sera

  • How to get name of table from front end

    Hi,
    How to get name of table from front end in EBS 11i?
    thanx
    Ashish

    Hi
    Sandeep is correct. The "Help"/"Record History" will give you the table/view name, but sometimes this particular menu function give me a "Record History is not available here." error message.
    I then use the following menu functions (this will also give you additional information, like column details).
    1) Open Forms
    2) Click on Help/Diagnostics/Examine (*you might have to enter the APPS password at this point)
    3) Change "Block" to "System"
    4) Change "Field" to "Last_query"
    The system will populate the "Value" field with the query that was executed in order to populate the form.
    Regards
    Frank

  • How to get names of sub tabs?

    Hi All,
    Could someone tell me how to get names of all sub tabs?
    I have Parent Tab T1. T1 has 3 sub tabs T1_1, T1_2 and T1_3.
    I would like to have T1_1, T1_2 and T1_3 sub tab names in the list.
    Thanks in advance!!
    Dip

    Dip,
    You can get the tab names from apex dictionary views, apex_application_tabs & apex_application_parent_tabs . Thanks.
    Regards,
    Manish

  • How to get names of method parameters ?

    How to get names of method parameters (Not only their type and value) is it only possible during debugging ??
    for example void myFunction(int a,int b)
    I need the "a" , and the "b" The issiue is about the java.lang.reflect.InvocationHandler ,
    and its method invoke(Object proxy,
    Method method,
    Object[] args)
    throws Throwable
    I Have the parameter objects themself and their types using method.getParameters() , this is fine ,, but i need the names of the parameters !!!

    If the class file was compiled without debug information included then it is impossible to get the original parameter names, as used in the source code.
    However, If the class file does include debug information, then the method names are hidden deep within the class file. You'd need to parse the class file yourself. Check out a copy of the Java VM Specification for a detailed format of the java class file format.
    It's not a trivial task to parse the java class file, and the VM spec isn't easy reading. You'd nearly be writing a class file disassembler.

Maybe you are looking for

  • Can I open .xlsx file from mobile Safari webmail in Numbers?

    Due to security concerns, my company won't allow me to set up my work email account in Mail on the iPad. I have to use webmail. I can open .xlsx attachments in Safari, but graphs tend to be pretty bad. Is there some way to get Numbers to open the .xl

  • Malformed packets - slow web page loading

    I'm running bm3.9 sp2 with some post bm sp2 files as provided by Novell support on a nw6.5 server. I've noticed that on IE and Fireforx browsers, that web pages will often take a long time to load and typically if I hit the 'stop' button on the brows

  • Problems installing Adobe CS6 master suite

    I am having trouble installing software from Adobe on my mac. I purchased it directly from Adobe and when I try to install it, it claims it is not a legit copy. Does anyone have any suggestions to get it to install? Also, I have the installation CD.

  • Barcode Issues in Printer

    Hi All, We are using SMARTFORMs to print barcodes. The printer is HP 4350 . When we are printing in Our Development System the Barcodes Prints and the Print Preview are coming out fine . But in our Quality System the barcode Print previews as well as

  • HT201077 full resolution is not loading, just getting a smaller version, has this policy changed?

    The FAQs says that full resolution will load to the icloud photo stream from my macbookpro, but that's not the case, it's a smaller version.  Has this changed? It used to work at full resolution.