WAD Javascript  to return system id

hi
In WAD , is there a javascript API call to return system id?  eg SAPPRD or SAPDEV
thanks.

hi BWer
use this link
http://help.sap.com/saphelp_bw320/helpdata/en/d9/4a853bc623c075e10000000a114084/content.htm
with hopes
Raja Singh

Similar Messages

  • Connect SharePoint to SQL Server Database Then Build Rules Based Returns System

    Hello Guys,
    I work for an ecommerce business. We sell a wide range of products to customers all around the world which are ordered from our websites and then dispatched to our customers from our warehouses.
    I have been tasked with developing a computerised return system from the company because at the moment everything is done using paper forms.
    We have all our customer, order and product data within SQL Server databases.
    What I would like to know is...
    1. Can we connect sharepoint online to a local sql server database
    2. Could we then build searches within sharepoint to display data contained within these databases e.g. customer information etc
    3. How is the data presented in sharepoint - is there a way to design how the data is displayed within sharepoint etc?
    4. Can we then build a rules based return system within sharepoint? The on screen workflow would need to vary according to data contained within the database e.g. the weight if the product being returned and also on fields input by the service agent such
    as the reason for the return, what solution the customer would like etc.
    5. is it possible to build these workflows in such a way that they can be saved part way through then gone back to later
    6. Can reports be build based on the returns that are being generated e.g. list of products most commonly returned
    Sorry for all the questions, I am a bit of sharepoint novice. I think it may possible be able to do what we need but I just wondered if the answer to any of the above questions is definately a no because if it is that could mean it is not suitable
    Thanks

    You could use a BCS connection
    http://community.office365.com/en-us/b/office_365_community_blog/archive/2012/10/11/business-data-connectivity-services-in-office-365-sharepoint-online.aspx, this will allow you to edit data in your non SharePoint SQL DB, on premises, from Office 365 SharePoint.
    Search will index the web applications you point it at, and the lists from the BCS will be part of those web apps, site collections, sites at some place and will get indexed. 
    You can create views on the data, that can sort of work like a search, but when you search on the site where the lists are the query will return results based on the BCS data.
    These views can be based on criteria such as the weight of the product being returned and other fields.
    The data is presented as a list.
    You can make it read only or read-write based on SharePoint permissions on the list.  The account used to create the connection can edit.
    BCS is possible in on-premises SharePoint too
    here is a good read on it,
    http://www.dotnetcurry.com/showarticle.aspx?ID=632
    Stacy Simpkins | MCSE SharePoint | www.sharepointpapa.com

  • JavaScript: calling Java system code message...

    When I try and call an applet function from Javascript, I get the following message in the output window:
    JavaScript: calling Java system code
    JavaScript: default security policy = file://
    ... and the method isn't called.
    Can someone tell me what I need to do please?

    Research pointers:
    http://devedge.netscape.com/library/manuals/2000/javascript/1.5/guide/lc.html#1014290
    http://java.sun.com/j2se/1.4.1/docs/guide/plugin/developer_guide/js_java.html

  • ExecuteScalar returns System.Decimal or System.Double on diff Oracle srvrs

    Hi,
    Oracle Data Provider for .NET Developer's Guide states that Oracle type NUMBER maps to .NET type System.Decimal.
    In my application I would like to retrieve value from database using simple query and OracleCommand.ExecuteScalar method. The problem is that on one database ExecuteScalar returns a value of type System.Decimal and on the other a value of type System.Double. Table creation script and C# code are shown below.
    Since I declared column as NUMBER without any precision or scale, I wonder if there is a setting that specifies default values on Oracle server? If I declare column as NUMBER(38) I get the same result (System.Decimal) on both databases. But I would not like to change table creation scripts.
    Oracle.DataAccess.dll (9.2.0.2102)
    Database 1 (returns System.Decimal)
    Oracle9i Enterprise Edition Release 9.2.0.2.0 - Production
    PL/SQL Release 9.2.0.2.0 - Production
    CORE     9.2.0.2.0     Production
    TNS for Compaq Tru64 UNIX: Version 9.2.0.2.0 - Production
    NLSRTL Version 9.2.0.2.0 � Production
    Database 2 (returns System.Double)
    Oracle9i Enterprise Edition Release 9.2.0.4.0 - Production
    PL/SQL Release 9.2.0.4.0 - Production
    CORE     9.2.0.3.0     Production
    TNS for Compaq Tru64 UNIX: Version 9.2.0.4.0 - Production
    NLSRTL Version 9.2.0.4.0 - Production
    Database scripts:
    CREATE TABLE TEST_TABLE (ID NUMBER NOT NULL) LOGGING NOCACHE NOPARALLEL;
    ALTER TABLE TEST_TABLE ADD (CONSTRAINT PK_TEST_TABLE PRIMARY KEY (ID));
    INSERT INTO TEST_TABLE ( ID ) VALUES (1);
    COMMIT;
    C# code:
    using System;
    using System.Data;
    using Oracle.DataAccess.Client;
    namespace TestOracle
         class MainRun
              [STAThread]
              static void Main(string[] args)
                   if (args.Length != 1)
                        Console.WriteLine("usage: TestOracle.exe DSN");
                        return;
                   string dsn = args[0];
                   OracleConnection connection = null;
                   OracleCommand cmd = null;
                   try
                        connection = new OracleConnection(dsn);
                        connection.Open();
                        cmd = new OracleCommand();
                        cmd.CommandText = "SELECT ID FROM TEST_TABLE";
                        cmd.CommandType = CommandType.Text;
                        cmd.Connection = connection;
                        object retVal = cmd.ExecuteScalar();
                        Console.WriteLine(retVal.GetType().FullName);
                        connection.Close();
                   finally
                        if (cmd != null)
                             cmd.Dispose();
                        if (connection != null)
                             connection.Dispose();

    There was a fix on the database side that caused this behavior change but this was by design and intended. An event was also introduced as part of this fix so that this fix could be enabled or disabled on the database side. Please refer to the doc for more information.
    ODP.NET has worked around this behavior change in ODP.NET itself so that the behavior is consistent between different database versions. Next release of ODP.NET would have this work around.

  • How do you return System Time of the local box in FTP command

    How do you return System Time of the local box in FTP command... since I want to output the system time of my local box copying to the FTP server...

    Its asking me to enter a new date... I actually want to return it into a log file since I am using ws_ftp.... but the log files dont have any date time being returned... i just want to be able to echo that date time into the log file... but it doesnt do that... I also tried
    SHELL ECHO %DATE% %TIME%
    but it returns this in the log file
    Processing Line 10 [SHELL ECHO %DATE% %TIME]
    I also tried in my ws_ftp script and it says:
    Processing Line 15 [!Date]
    Sending command [!Date] with parameter []
    !Date
    500 '!DATE': command not understood
    Failure in command [!Date]

  • Pacman -Syu returns system up to date after a new 2008.03 (solved)

    I just installed arch from the march 08 live cd (the new cd got stuck on the grub boot screen, but that is another bug for another thread).
    I eventually got a totally working installation (installing only core packages).
    what's strange is, i've updated pacman's package list and a pacman -Syu says the local system is up to date, but for whatever reason, no package was actually downloaded or updated. My kernel is stil 2.6.24-arch, my klibc is 1.5.5... What gives?
    everything i read says all you need to do is run a pacman -Syu, but clearly there should have been updates from the core packages between march and now? (i know there has been, and that packages are updated constantly).
    clearly i'm missing something simple here. Sorry for the stupid question.
    (i uncommented the achlinux.org repo line in the mirrorlist, and i'm sure this is the server pacman is using).
    thanks for any help.
    -m
    (edited Syu typo and subject, sorry)
    Last edited by fop518 (2008-08-28 05:03:57)

    oops, my bad. that was a typo.
    a pacman -Syu yields a local database is up to date
    the first time i did a pacman -Sy it downloaded and updated some new dbs... but the  -Syu has always returned that the system is up to date, when i'm fairly certain it isnt... if i am running kernel 2.6.24, that is old right? i should be presented with some updates if i just installed the march live cd...
    thanks,
    m

  • WAD transport to productive system?

    Hi,
    I have implemented a query in the development system with WAD.
    How can I bring the WAD query to the productive system?
    Thanks!

    You can collect Query and WAD in the same request and transport
    Choose Query in Transport con - only necessary objects - assign package - give new request
    Repeat the same for WAD and use the same request and release and import to Qual and perform test then IMPORT to Prod

  • Using WAD with multiple source systems

    Is there a way connect 2 BW sources to a dashboard built in WAD?
    We have 2 BW systems in our global company.  We want to create global metrics and the current strategy is to pull all data into 1 BW system and post.
    There must be an easier way to pull a query from 1 BW system and another query from a 2nd system and post both results.
    Without physically pushing the data into the backend.
    Any ideas?
    Thx,
    Brandon

    WAD won't be able to access from a different BW system other than the one you initiated the application from.
    If you are using Visual Composer you could have done that, but another solution might be creating Remote Cube.
    Check out this:
    http://help.sap.com/saphelp_bw33/helpdata/en/26/39dc37bff7a66de10000009b38f889/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/da/5909392a430303e10000000a114084/content.htm
    thanks.
    Wond

  • Wad report stuck the system

    Hello,
    When I use a WAD report and do an operation that takes the system a lot of time to calculate the system is stuck and even if I regret that I did this operation and wants to start the report from the beginning the system will be stuck. Just when I logout from the system and enter it again I can continue to work. 
    Is there a way to prevent this behavior?
    Please Advice,
    David

    hi David,
    in sm50 you can see when accessing which program/table it's stuck. you may also activate trace with RSRTRACE to see in which step it's stuck, base on this we may check what's the problem.
    meanwhile, try to run the query with RSRT,
    - also try in RSRT 'execute+debug' mark database->display query, after execute check the sql statement, char/kf selected if make sense or unnecessary char/kfs have been selected.
    - try menu environment -> delete old abaps, 'generate query'.
    - click properties, try read mode = h ...; cache mode '1 - without swapping'
    hope this helps.

  • SAP sales return system should not accept quantity more than open quantity

    Dear All
    During sales return user is able to enter the quantity more than open quantity and system is allowing for that enter
    Plz tell me how to restrict this
    Regards
    Arun

    No need of exit for this.
    Go to VTAF, select the item category for the combination of order type and billing type and maintain "+" for the field "Pos./neg. quantity"
    Also go to OVAH and change message class V4 no 229 to E will work.
    Now try to create a return order and increase the quantity.  Sytem will not allow to do so but if you create a new line item, then system will also for which, you can go for exit already suggested.
    thanks
    G. Lakshmipathi

  • Returning System Messages From A Called Routine In Dynamic Actions

    I am triggering a call to a custom ABAP program from a Dynamic Action.  This program is doing updates and the user was asking me if I could return any system messages back so that the person doing the action would see them.   I've done some looking and can't seem to find an answer so I've come to the experts.  Any help is appreciated.

    Problem solved.

  • Javascript - Formatting Return Values & Removing Decimal in Dollar Amount

    Hi, I'm looking for some help. I'm new to Javascript and working off my limited knowledge. Below is one item I need help figuring out.
    ---JavaScript Registration Fee---
    I'm using the following document level Javascript in Acrobat to calculate the pro-rated registration fee based on the current month:
    **Note: Text Field "Today" is using the following value:
    var f = this.getField("Today");
    if (f.value=="") f.value = util.printd("mm/dd/yyyy", new Date());
    ---- Below is the Registration Fee Javascript ---
    function calculateRegistrationFee() { 
         var s = this.getField("Today").value;
         if (s!="") {
              var d = util.scand("mm/dd/yyyy", s);
              return (12-(d.getMonth())) * 1.25;
         return "";
    I use the following in the Text Field (Text Field Properties ---> Format ---> Custom Format Script) to display the results:
    event.value = (calculateRegistrationFee()).toString();
    1) How can I format the return value to remove the decimal (period) from the results & split into two text fields?
    For Question #1 - Example 1, Let's look at this example:
    Using the current date (05/22/2013), then
    a. The output of the function above = 10
    This is a dollar amount so the output 10 is really $10.00. I would enter the cost into two fields (RegFee1 & RegFee2) as "10 00". (See below). So how do I format the return value to enter into these fields correctly?
    For Question #1 - Example 2, Let's look at this example:
    Using the current date (06/22/2013), then
    a. The output of the function above = 8.75
    Given the information in the example above, how do I format this return value to enter into these fields correctly?
    Thanks,
    Stephen

    Some time ago I created this (german) how to document
    http://www.oracle.com/global/de/community/tipps/textfield_autoformat/index.html
    about formatting elements using JavaScript. Currency formatting is not contained but perhaps the other stuff in the javascript file
    http://www.oracle.com/global/de/community/tipps/textfield_autoformat/library.html
    is helpful.
    Regards
    -Carsten

  • Returning system properties to applet

    Hello,
    I am investigating the possibility of building an applet that will return a number of user system properties to determine if they meet minimum requirements.
    I know from documentation I can retrieve OS details but I also would like to return the following:
    Computer processor
    Memory
    Available hard disk space
    Video Hardware
    Method of Internet AccessIs this possible?
    Thanks.
    - David

    There's no standard Java API to provide most of that information. The usual cop-out is to write some JNI code to find it on whatever platform you are interested in, but that's impractical with an applet.

  • Problems w javascript function return true/false

    Hi all,
    I have a javascript function that return true or false.
    It's called by a link in a report (URL-target):
    javascript:return showForr(&APP_ID.,&SESSION.,#PERSON_ID#,'#STARTDATUM#','#SLUTDATUM#');
    With the return it does NOT work. If I remove return it works with no problem but then I can't "end" the function where I want.
    Any pointers how I can achive what I want here?
    BR Daniel

    The solution is the to put a span around and make the on-click there:<br><br>
    select 'Daniel' namn, <br>'>span onclick="return test();"><br>>a href="javascript:test2();"><br>Calling func return true/false<br>>/a><br>>/span>'  id3
    from dualSee http://apex.oracle.com/pls/otn/f?p=22968:5:1350065385503137::::: for details.
    /D

  • When will the 'disable javascript' button return?

    The disable javascript button was in firefox 22.
    It was disabled in 23, and still in 24. I am part or the user community who wants it back! I read on previous question/threads about it being disabled and not returning. :-(
    Really sad :-( !!!!
    It was simple and it worked.
    Why do you deprive the community of a liked security feature?

    Background information about why that pref was removed from options. <br />
    http://limi.net/checkboxes-that-kill/
    Just install an add-on or work through about:config to switch it on and off.

Maybe you are looking for

  • Excel save

    I have an application with a lot of excel functions going on using ActiveX. When I create a line to be added to the excel file it stays in memory but is not written immediately. When the LV app closes and uses close /save the file is written. I want

  • How can I get my MAC iMessages to work again?  (is IOS 7.0.2 to blame?)

    So, armed with an iPhone 5 (orig) , iPad (4th Gen) and an iMac running OS X 10.8.5 it appears that my iMessages on the desktop no longer work. This is apparently coincident with my upgrade of the handhelds to IOS 7.0.2. Alas, I am no longer in sync!

  • Patching/updating Java Applications in the WebLogic environment.

    Hi All, I'd like to get some feedback on our process and hear if there is some better/different ideas out there on how to handle patching/upgrading java applications in the WebLogic environment. Here is our process: 1) We build using ANT our Enterpri

  • SAP Query with Logical databse BRM

    Hi All, I'm developing one report by SAP Query using with logical database BRM to pick the accounting documents. But I would like add some kind of where condtion for one of field for BKPF table. Is there way to achieve this by using logical database

  • Updationg of ztables in module pool programming

    I have to update ztables.... When I tried doing only last records is getting updated and not the entire ones... please help me PROCESS BEFORE OUTPUT. MODULE STATUS_0100. LOOP AT zasset. " into wa_zasset.     module put_data. endloop. PROCESS AFTER IN