Hiding a web item through the command line URL

We use the Web API and command line processing heavily to pass in different filter values, variable values, data providers, etc. to our web reports.  I had a requirement within a given area to launch our web reports with the Navigation block visible on the web template.  In our commonly used 'default' web template, we currently allow the users to switch this item on/off once they are in the report, but we always have it come up Hidden initially.
My question is this: is there some trick to getting a web item property changed dynamically at execution time from Hidden=X to Hidden= ?  I have tried numerous attempts to format a URL to change this behavior, but have been unsuccessful.  A sample would be: &ITEM=GR6&MULTI=X&HIDDEN=  --> this is intended to make all items with 'GR6' in the name unhidden.  But in my case, it ends up making more web items visible than I want.  Even specifying the Item name directly does not help.
I have also tried applying it in conjunction with a command sequence from the Web API docs. Is there a particular command that this has to go with (i.e. LDOC? RESET_WEB_ITEM? etc.)?  We have a button on the web template that issues the command <SAP_BW_URL ITEM='GR6' MULTI='X' HIDDEN=''> when clicked -- this works fine.  How do I apply the same type of logic to the initial URL within the command processing?
Any help would be appreciated.  I know that I can resolve this by just creating a copy template with this web item set to Visible instead of Hidden at the launch.  I was just thinking I could reuse the main web template and control it through the URL.
Thanks...
Jody Chassereau

Heike,
maybe you can help me out on this one:
I'm trying to implement Tobias Kaufmann's How To Paper <i>Web Printing with Excel</i>.
Before calling the respective Abap classes from my web template, I want to hide the web item <i>Hierarchical Filter Selection</i> as this one comes out ugly when downloaded to Excel. So what I'm doing is, I first hide the Filter Selection and then call the Abap classes.
Here is the coding that I am using:
<!-- Web Print with Excel-->
<td class="SAPBEXNavLine"><A href="<SAP_BW_URL
CMD_1='Item=HIERCONTEXTMENU_1&HIDDEN=X'
CMD_2='CMD=PROCESS_HELP_WINDOW&HELP_SERVICE=HELP_SERVICE_PRINT&ITEM=Table_1&SUBCMD=PRINT_EXCEL'>">
<IMG  alt="Web Print with Excel" src="/sap/bw/Mime/bex/icons/print.gif" border=0></A></td>
This coding is working fine.
The problem is however, that the <i>Hierarchical Filter Selection</i> is now hidden in my web template. To unhide it, I thought I'd use the coding as above, but add a third command (CMD_3) to make that item visible again.
Here is the coding:
<!-- Web Print with Excel-->
<td class="SAPBEXNavLine"><A href="<SAP_BW_URL CMD_1='Item=HIERCONTEXTMENU_1&HIDDEN=X'
CMD_2='CMD=PROCESS_HELP_WINDOW&HELP_SERVICE=HELP_SERVICE_PRINT&ITEM=Table_1&SUBCMD=PRINT_EXCEL'
CMD_3='Item=HIERCONTEXTMENU_1&HIDDEN='>">
<IMG  alt="Web Print with Excel" src="/sap/bw/Mime/bex/icons/print.gif" border=0></A></td>
Unfortunately, only the commands CMD_1 and CMD_3 are being executed (which is kind of useless), the main command CMD_2 however is not.
Do you have any idea why this is happening and how to avoid this?
Really appreciating your help,
Regards,
Yogen

Similar Messages

  • How can I start a second window of a second profile through the command line?

    I have two profiles set up, 'default' and 'second'. If both are already running how can I start a second window of profile 'second'?
    firefox -p 'second' : opens a new window of the default and,
    firefox -p 'second' -no-remote : tells me that firefox is already running.

    I don't think that this is possible.<br />
    You need to open this second instance (Firefox profile folder) with the -no-remote command line switch and that makes it impossible to open external links via the command line or via a double-click.<br />
    You can only open a link in such an instance by dragging the link on the tab bar of that Firefox window.

  • Running the Archiving actions through the Command Line

    Hi,
    I am not able to import and export archives using command line tools. I want to directly transfer the archive and don’t want to use a shared location. I have created the scripts that I need to run. For that I have created a sequence of steps that needs to be followed. I have mentioned the steps and the command file that I run for each step.
    1)     Created a target archive on the target server and set the IsTargetable
    <?hda version="10.1.3.3.3 (080807)" jcharset=UTF8 encoding=utf-8?>
    @Properties LocalData
    IdcService=ADD_ARCHIVE
    IDC_Name=CS98310
    aArchiveName=TargetArchive
    aIsTargetable=1
    aArchiveDescription=This is an target archive
    aCopyWebDocuments=1
    @end
    2)     Created a source archive on the source server and set the target archive for this source archive as the target archive created in step 1.
    <?hda version="10.1.3.3.3 (080807)" jcharset=UTF8 encoding=utf-8?>
    @Properties LocalData
    IdcService=ADD_ARCHIVE
    IDC_Name=idc
    aArchiveName=SourceArchive
    aArchiveDescription=This is an source archive
    aCopyWebDocuments=1
    aTargetArchive=CS98310/TargetArchive
    aIsTargetable=0
    aExportQuery=Standard Query     ValuePanel      UseExportDate 0     AllowExportPublished 0     AllRevisions 1     LatestRevisions 0     NotLatestRevisions 0     MostRecentMatching 0     CurrentIndex 0     Clauses dDocName:sqlEq: 20     CustomQuery dDocName%=%'20'     IsCustom 0
    aIsAutomatedTransfer=0
    @end
    3)     Create a query for the source archive to select the content
    aExportQuery=Standard Query     ValuePanel      UseExportDate 0     AllowExportPublished 0     AllRevisions 1     LatestRevisions 0     NotLatestRevisions 0     MostRecentMatching 0     CurrentIndex 0     Clauses dDocName:sqlEq:20     CustomQuery dDocName%=%'20'     IsCustom 0
    (This is added in the previous step)
    4)     Export the source archive on the source server
    @Properties LocalData
    IdcService=EXPORT_ARCHIVE
    aArchiveName=SourceArchive
    IDC_Name=idc
    dataSource=RevisionIDs
    @end
    5)     Transfer the source archive to the target archive from the source server
    @Properties LocalData
    IdcService=TRANSFER_ARCHIVE
    aArchiveName=SourceArchive
    IDC_Name=idc
    @end
    6)     Import the target archive on the target server
    @Properties LocalData
    IdcService=IMPORT_ARCHIVE
    aArchiveName=TargetArchive
    IDC_Name=idc
    aImportDocuments=true
    @end
    The issue comes while creating the archive. I am not able to set the parameters “aIsTargetable” for the target archive and “aExportQuery and aTargetArchive” for the source archive.
    Now I create the archive with the archiver utility and tried running the commands (from step 3), but still it fails in the transfer command. The error comes that “aTargetArchive” parameter cannot be found. Now if I do the entire process through the Archiver Tool, its works fine and I am able to view the documents on the target server. I am not able to understand the reason. Is there a problem in the Command Files?
    Also I want to check if I can automate it without deleting the batch files and their associated content file.
    Thanks,
    Noel

    About dbms_output the answer from Roberto is correct.
    About other things see How to view and set current directory to run a script in sql plus.

  • Firefox keeps prompting users to disable java plugins How can reinable them through the command line or registry?

    Windows users keep getting prompted about java version being insecure and are advised to disable the plugin. They then complain that java based websites no longer work. Can I disable / prevent this warning feature. And can I re-enable java plugin via command line or script? I need to do this on a large scale and various versions of firefox. Right now I will need to abandon firefox if I cannot easily resolve this. Yes I realize updating to latest version of java is a solution... but this will take too much time now and how long before another security fix for java and then I will have to update yet again.

    Tylerdowner, to say that Firefox 3.6 is no longer supported is not an answer. Apparently, the so-called block deployed for the Mac OS X version of Firefox, created to deal with a vulnerability in Oracle's Java, has now crept into the Windows version. Moreover, it is blocking the latest version of Java, which was not intended according to https://bugzilla.mozilla.org/show_bug.cgi?id=741592. The official text of the block follows:
    Java Plugin has been blocked for your protection.
    Why was it blocked?
    Outdated versions of the Java plugin are vulnerable to an actively exploited security issue. All Mac OS X users are strongly encouraged to update their Java plugin through Software Update, or disable it if no alternatives are available. For more information, please read our blog post or Oracle's Advisory.
    Who is affected?
    All Firefox users who have installed the Java plugin, JRE versions below 1.6.0_31 or between 1.7.0 and 1.7.0_2.
    What does this mean?
    Users are strongly encouraged to disable the problematic add-on or plugin, but may choose to continue using it if they accept the risks described.
    When Mozilla becomes aware of add-ons, plugins, or other third-party software that seriously compromises Firefox security, stability, or performance and meets certain criteria, the software may be blocked from general use. For more information, please read this support article.
    Well, whoever wrote the code to block the Java plug-ins specified above screwed up, since it is blocking even the updated Java plug-in.
    I have an enterprise with many computers, and we had deployed Firefox as our browsing platform. Based on the latest decisions at Mozilla, new version numbering, forced release cycle, and almost all add-on vendors just walking away from the maintainence nightmare created by this decision, I guess it's time to move over to the Dark Side and adopt Google Chrome.

  • How do I create a local account from a network login from the command line?

    I am connecting to my organization's domain using 3rd party software which doesn't allow for using the GUI for creating local accounts.  How can I do this through the command line or is there a better way to script it?  Thanks in advance!

    What you're looking for, I think, is mobile accounts with portable home directories.
    Portable Home Directories in 10.8...: Apple Support Communities
    Configuring OS X Server 10.8 – Open Directory and PHD

  • The command line 'route' command is broken - what alternatives are there?

    The 'route' command appears to be broken in Mavericks ( now also in 10.9.4 ). It does update that tables, so netstat -r makes it seem that it has worked. However, browsers, pings and trace routes all give errors such as 'out of memory'.
    So, what can I do to set up working alternatives to the standard routing?
    There certainly is some routing capability, and the ability to change it - if you use the OS/X server and set up a VPN, you can set up routing there. So it should be possible to access it through the command line somehow.
    Any suggestions gratefully received.
    I really thought that this would be easy, but it's turned into quite a headache.

    This isn't a great fix but it's helped us out. We created an autoit script to edit the firefox.js file found in program files\mozilla firefox\default\pref. It searches for the line "pref("app.update.auto", true);" and changes it to "pref("app.update.auto", false);". It's a pain but it's the best we could come up with.
    Note: We updated to 3.6.14 and even with the setting above FF still did an auto update to 3.6.15.

  • RH9 - Any idea why generating printable output from the Command Line doesn't include images?

    I have a batch file that creates a printable output of our main documentation broken up into 36 separate documents, 1 per chapter. Each chapter is a separate layout. I realize that RH has its own Batch building process, but the reason for me doing it through the command line via a batch file (.bat) is that RH keeps taking focus from my mouse and it makes it difficult to do any other computer work while the RH project generates the printable output for those chapters.
    Anyway, RH's Batch build works fine.
    But the command line for printable output does not include any of my images in the printable output. I don't know why. The document generates with all the topics fine, but the images are missing. No placeholder box in the resulting Word doc, they just simply weren't included. Has anyone else seen this? Any way to fix it?

    All,
    I thought it may be related to spaces in the path in which the script was called from. I tried having the ODBC command script in another directory but the same thing happens. It will give me the "CONFIGSYSDSN: Unable to create a data source for the 'Oracle in OraClient10g_home1' driver: Could not load the setup or translator library with error code -2147467259". As soon as the script is done running I can manually double click the script and it adds the DSN fine.
    Thanks,
    Clif Bridegum

  • How do shutdown the weblogic server from the command line prompt using web logic 8.1

    I%u2019m currently using weblogic 6.1, but I will upgrade to weblogic 8.1. In weblogic 6.1, the following statements will shutdown the weblogic instance from the command line:
    java weblogic.Admin -url t3://hostname:port -username system -password abc SHUTDOWN
    How do I shutdown the weblogic server from the command line prompt using web logic 8.1.
    Any help will be greatly appreciated.
    Maria

    Maria <[email protected]> wrote:
    How do I shutdown the weblogic server from the
    command line prompt using weblogic 8.1?Greetings Maria! Use this document, located here:
    http://edocs.bea.com/wls/docs81/admin_ref/cli.html#1131733
    Hope this helps...
    Brian J. Mitchell
    Systems Administrator, TRX
    email: [email protected]
    office: +1 404 327 7238
    mobile: +1 678 283 6530

  • Setting proxy servers via the command line

    I am looking to find out how to set up the system to use http and https proxies via the command line instead of through system preferences. How do I do this. I have basic command line knowledge.

    This information is stored in a plist file and is easiest to manipulate with PlistBuddy. For example, to set the HTTP proxy name, use:
    /usr/libexec/PlistBuddy -c "Set NetworkServices:6CFBA910-E4A0-4418-82E5-66A6480EBC71:Proxies:HTTPProxy http://my.proxy.com" /Library/Preferences/SystemConfiguration/preferences.plist
    Note: 6CFBA910-E4A0-4418-82E5-66A6480EBC71 is a UUID and likely to be unique on each machine. I don't have another Mac handy to check this. If so, you'll need to do some heavy to find out which one is the interface you need to address.
    Try man PlistBuddy and/or a web search for more information on how this tool can be used.
    Try man PlistBuddy or a web searc for more info on using it.

  • Error while running the Discoverer report from the command line.

    Hi All,
    I've to run a discoverer report from command line and export the results in xls/html on to my local machine. This report I've to run it as batch and scheduled it.
    I have a parameterized worksheet and this has to be run from command line specifying the parameter value I wanted to run the report for. I do not get any results. Here is the command line I am using.
    dis51usr /connect user/password@database /opendb "TIMS-PCJ status Report" /sheet "TIMS observation status report (based on performed date)" /parameter "Test Number" '40351' /parameter "From Date" '05-MAY-2008' /parameter "To Date" '06-MAY-2008' /export HTML "C:\DISCOVERER_REPORT_SCHEDULING\DIS_OUTPUT\PCJStOutputinHTML123"
    I even added the TO_DATE conversion for the parameters and also gave the format of the date as 'DD_MON_YYYY'.
    Discoverer Desktop opened up, logged in and gets terminated saying 'Oracle Discoverer Desktop has encountered a problem and need to close. We are sorry for the inconvenience.'
    Please anyone reply me.
    Regards & Thanks,
    P. Gayathri Devi

    Hi Gayathri,
    Try changing your parameter names to be a single word. (Change "Test Number" to Test_Number).
    Does the report run fine when run through Desktop for the same parameter values? Which version of Discoverer are you using?
    Thanks.

  • Is it possible to script Firefox to do things from the command line?

    Specifically, I am attempting to print a web page at a specific url from the command line.

    Thanks for the quick reply. I had already seen the page you linked to, but it doesn't have any commands to print a web page. Should I interpret from that absence that there isn't a way to print from Firefox from the command line?

  • How do I open a PDF to a specific page via the command line?

    Several questions about opening PDFs from the Mac OS X command line:
    1) How do I use the "open" command to open a PDF to a specific page? (I know I can open a document via: open doc_name.pdf)
    2) How do I use the "open" command to pass multiple arguments (page no, zoom scale, view mode, etc...) to open a PDF file in a specific manner?
    3) Does Preview handle the same parameters as Acrobat Reader? If not, what are the differences in options?
    I've spent hours searching for this answer and have come up dry. I've downloaded Adobe's "PDF Open Parameters" document -- it lists all of the parameters I need, however I can't get any of them to work from the command line.
    My goal: Open a PDF from the command line to a specific page. At first glance, I thought this would be simple to do and find -- however, after a lot of searching I haven't found an example on how to do it.
    Anyone have any experience doing this, and care to share?
    Much appreciated! ---> Kelsey

    I don't know of any way to do what you want using the 'open' command. It can probably be done with Applescript, which you could call from a shell script. The Preview application doesn't seem to be scriptable. I don't use Acrobat, so I can't tell you anything about that. Looking through the dictionaries of the apps I do have, it seems that Skim (another PDF viewer) has an AS 'page' class. Below are a couple of links that may get you started. Look for more specific guidance in Applescript forums.
    http://sourceforge.net/apps/mediawiki/skim-app/index.php?title=AppleScript
    http://links.tedpavlic.com/shell_scripts/skim

  • Is there a way to switch between workspaces in Spaces from the command line?  I want to write a script to set up certain applications in certain workspaces (without having to do it manually each time)...

    Is there a way to switch between workspaces in Spaces from the comnand line?  I use several workspaces from Spaces, each workspace having a certain number of fixed applications running.  Rather than set all this up each time I log on, I'd like to write a script from the command line (I use gawk) to automate this. Currently I have a gawk script that, given a directory, opens a few xterms whose working directory is the given directory, and opens "preview" applied to a certain file in that directory.  However, at present I have to manually move an xterm through each workspace and run my gawk script in each workspace (applied to each directory that I'm working on).
    There must be a better way...

    Addendum: Can this be done via:   open -a Spaces --args xxx  , where xxx is some set of arguments (or something like this)?

  • How can hide the command line of a t.code in the portal

    Dear Experts.
    I have the following doubt:
    How can hide the Command Line of a Report that is called with a T.Code in the portal?
    Attach Image:
    [Image T.Code|http://www.freeimagehosting.net/uploads/eab3b6a03c.jpg]
    When I created a service using the T.Code SICF for the T.Code , I can hide buttons and the filed command line  using
    ~webgui_simple_toolbar
    ~singletransaction
    ~NOHEADEROKCODE
    With notes 1010519, "SAP GUI for HTML: Simplified Title Area Without Menu and OK Code" and 959417.
    But the problem is that when I create the service in the T.Code SICF, I also have that create an Iview IAC in the portal.
    The Question is : How can hide this fields and buttons if I want Publish the T.code using an Iview Transaction in the portal?
    In this moment I have used the two options:
    1 option) I created a service using the t.Code SICF for my Transaction and I also created an Iview IAC in the portal for call the service.
    RESULT:
    SAP Web Application Server
             500 Connection timed out
            Error: -5
           Version: 7000
           Component: ICM
           Date/Time: Sat Jun 12 20:26:39 2010 
           Module: icxxthr_mt.c
           Line: 2698
           Server: xyxab...
    Error Tag: {-}
    Detail: Connection to partner timed out after 60s
    2)  created an Iview Transaction  in the portal and  call my transaction.
    RESULT.
    [Image T.Code|http://www.freeimagehosting.net/uploads/eab3b6a03c.jpg]
    But not can hide the field Command Line and other buttons.
    I think that the command :
    ~webgui_simple_toolbar
    ~singletransaction
    ~NOHEADEROKCODE
    Only can be used if I create a service using the T.Code SICF .
    Best Regards
    Carmen.

    Hi Carmen,
    The bottom line is that this cannot be done for transaction iviews without modifying the standard webgui service in SICF, which is probably not a good idea (since it affects everyone using SAP GUI for HTML). (You could hack the appintegrator to add the ~webgui_simple_toolbar parameter to the transaction URL template in the portal, but again its not a recommended thing to do ...). Better to create an IAC service in SICF with ~webgui=1 where you set the required appearance using an appropriate value for ~webgui_simple_toolbar, and then create an IAC iview to point at this service.
    You can even override the ~transaction value configured in the new service in individual IAC iviews by entering the appropriate value in the application parameter of the iview, for example:
    ~okcode=/nSU01
    And you can pass parameters in the same way:
    ~okcode=/nSU01 USR02-BNAME=xyz;USREFUS-USERALIAS=abc;
    By the way, it would not be recommended to create a URL iview to access an IAC, since you are likely to encounter session management issues in this scenario - better to use an IAC iview.
    Regards, Rory

  • Compress/zip files from the command line in Windows 7?

    In Windows 7 is there a native way to compress or zip files from the command line?  I'd like to do it without installing any third-party utilities such as 7Zip.

    I fully agree that Compact is not the answer. There are additional concerns with the Compact command. It enables disk compression which is a total no-no. Very bad! It makes your computer very slow and is quite difficult to undo. The only time anyone should
    use this command is when they're removing disk compression because someone turned it on to save space.  Turning this off has to be done by booting into the recovery console, if my memory serves me correctly, and it's a real nuisance.  So
    definitely no to the Compact command.
    If you wanted to compress files before sending them to another drive, or over a network, or by email, then Compact wouldn't actually help at all because the files have to get uncompressed whenever they're accessed, especially before sending them anywhere. 
    When I say accessed, I mean that just looking at a file triggers the OS to decompress it in the background and present you with an uncompressed version of it then letting you change it and recompressing it again for storage every single time you access the
    file, which is why your machine gets slower.  If you have folders or files that have blue text instead of black, then you've probably already made this mistake.
    I would also like to know if there is a built-in command for zipping files/directories, or, if there isn't such a thing built into Windows, then I would like to know if this is feature is accessible through Visual Studio, which would be just as good as having
    a command-line program for those of us that do a bit of programming.
    If anyone knows if MS provides such a feature, either by command-line or through an API, then I'd love to hear about it.  Good luck to those of you that have disk compression turn on.

Maybe you are looking for

  • Installation problem on Intel - IV Machine

    Hi, I am having Intel P-IV machine, with 845 motherboard, sdram, seagate hdd and tnt vga. when i am trying to install solaris 8 in my machine after proceding upto booting from disk (or) cdrom i have selected cdrom then, when i say 1. Interactive or 2

  • Crystal Reports not displaying embedded OLE Objects in browser

    I am building an .net web application.  I am using VS2013 and have my report displaying ok in report viewer in the browser.  Only issue I have is i have embedded images, checkboxes and empty checkboxes, to signify if a user has selected certain crite

  • Importing said to be 'a nonvalid exported file'

    I have bought a movie on-line and when I tried to import it to iTunes it said, to be exact...'The file ... cannot be imported because it does not appear to be a valid exported file.' I am not sure how I'm supposed to import it because of this. Thanks

  • Special Field in FBL1n

    Dear Experts How can i add table in special field of FBL1n,  can i add GL table in special field to get offseting account in FBL1n? please suggest. how can i add entry in this table? Thanks

  • Parameter : Threshold_alert of sp_add_log_shipping_primary_database

    Hi Experts , Hope you are doing good !! Could you Please  Elaborate the use of the Parameter : @threshold_alert ? I assume that it is and error number ? am i correct ? Please let me know what is the exact use of this . Many Thanks Chaithanya M Regard