Javascript in Web Application Designer (WADuFF09

Hi Experts,
I was trying to write a for loop in WAD to display text repeatedly.
for (i=0; i<4;i++ )
document.write("test");
After compiling and executing the template in EP, what i notice in the generated HTML is a "/" is automatically added in front of <.
A warning message was displayed on WAD showing < is an invalid character.
I tried replacing with &LT;. It is not working as well. removing the ";", still not working.
Wonder if any comparison operators like <, >, <> can be added into WAD?
Please help. Points will be given. Thanks in advance.
Heng Meng, Yong

Hello,
var i=0;
for (i=0;i<=10;i++)
document.write("Test" + i);
document.write("<br />");
Thanks
Chandran

Similar Messages

  • URL link in rows/colomns of a report web application designer.

    Hi,
    I would like to create a URL link in a report which jumps to documents on livelink.
    For example:
    1.  bw    30.000    www. google.nl
    2.  sap   40.000    www. sap.com
    3. basis  50.000   www. nu.nl
    etc.
    etc.
    Do all the rows have different URLS, is that possible in the web application designer? Or do I have to use RRI? Or a user exit?
    Thanks for your help en replies.
    Rishma.
    Edited by: R. Debi on Oct 7, 2010 11:20 AM

    I used the RRI already but would like to have a hyperlink in the report. (So, the prefix of the URL is always the same an I have put this in RRI and used the & and contract ID as dynamic part of the URL.)
    In a BW web report, our customer would like to display a characteristic value as a hyperlink, so that when clicking on the link, the user is taken to an external website holding a document.  SO I am just looking for a javascript perhaps? Or maybe even abap in transformation? To actually create the hyperlink in this report.
    Thanks a lot,
    Rishma

  • Calling a webservice from within Bex Web Application Designer

    Hi
    I have a web-template built with BEx web application designer which also contains textboxes. This text should be stored by calling a webservice (standard BI-documents are not an option).
    Can anyone tell me how I could call a webservice from within the BEx web template to store the text contained in the textbox? The webservice-call should include some of the filter-varialbes of the web application.
    Is this only possible by the use of a JavaScript WebItem? If so - does anyone have an example of such a JavaScript.
    Thanks a lot in advance.
    Kind regards.
    Christoph

    Thanks for your response. The BSP page would work out fine if I only needed to save the data.
    But the next time I call the webtemplate, the textarea should be filled by another webservice call with the stored text (so the text can be modified und saved again). This will not be possible by calling a BSP page.
    Do yoiu have any suggestions how to integrate the text (return value from the webservice call) into the textbox in the webtemplate?
    Kind regards.
    Christoph

  • Freeze a Column in WAD (Web Application Designer)

    Hi,
    I have a web template in WAD that has an analysis_item, which data provider (DP1).  The data provider (DP1) has a query attached to it.
    My goal is to be able to freeze a column (data column) in the analysis_item.
    I looked at all the properties of the analysis_item, but I didn't find any properties that I can use to freeze a column.  I saw another discussion thread on Freezing column and rows, but there wasn't an answer for it in that thread.  
    I even tried to search for a way to freeze a column using JavaScript , and I found the link below using CSS (cascading style sheet) to accomplish the freezing of a column for a non SAP web application.  However, I was not able to figure out how to apply this method in WAD and specifically in the analysis_item.
    http://web.tampabay.rr.com/bmerkey/examples/locked-column-csv.html
    Do you know any method to freeze a column when displaying data via the analysis_item?
    I would really appreciate any suggestion you have.
    Thank you,
    Katelyn

    Dear Katelyn Dang  ,
    Freeze column
    On the properties tab select table. goto web item tab. in number of data columns displayed put value as 4. (you can change as per ur need).
    Also go through thes links
    http://web.tampabay.rr.com/bmerkey/examples/locked-column.css.html
    http://web.tampabay.rr.com/bmerkey/examples/locked-column-csv.html
    For visiblity
    you can set visible rows and columns in the specific properties of web item table! Just click the table in the Web Application Designer and than look into the specific properties. Select "Number of Data Rows..." or "Number of Data Columns..." as you wish!
    Hope it helps
    Regards
    Bala

  • XCelsius + BICS + Publish to EP + BEx Web Application Designer

    Dear Friends,
    Any one have idea about how we can publish an XCelsius Dashboard (with BICS connectivity) to the SAP Enterprise portal using Bex Web Application Designer?
    I tried to publish the dashboard using the iView, by following the below link.
    http://wiki.sdn.sap.com/wiki/display/BOBJ/IntegrationofanXcelsiusdashboardinNetWeaverEnterprisePortal
    Since it can only support individual report, I can not use this option in my client.
    Appreciate your help to provide me the information how we can publish the dashboard using Bex Web Application Designer.
    Thanks & Regards,
    Ajish George

    Hi,
    Did creating the iView using the instructions in the link work for one Xcelsius report?  Can you explain what you requirement is or expand on your comment "Since it can only support individual report, I can not use this option in my client.".  One iView can only launch one object.  If you have multiple BW connected XC files to launch I think that you will have to create multiple iViews with the "DASHBOARD=" each XC file value in each iViews  BEx Web iView query string parameter  setting.
    If you only want one link off of your Portal then you could create a BW 7.0 Web application where you could use objects like buttons to launch each individual URL string for the seperate dashboards.  The challenge with this would be that your URLs would be static and if you are using a regular BW landscape, DEV / QAS / PRD, then you would need to employ logic find and  update the system part of the URL.  I am not sure how this would be done, but it would probably require JavaScript.  If you do report development in your PRD system this would not be an issue.
    From a support perspective I would suggest using a container iView to group your XC reports together and then create a seperate iView for each XC report.  This eliminates dealing with the system identifier as the Portal enviroment manages this as the objects are transported through the systems.  A container iView with the action iViews in it would look like a menu structure on your Portal.
    Rgds,
    Mel

  • Bex Web application designer

    Hi all,
    I have to customize a report that has been generated by the Bex Web application designer. The report is available on our portal under "Business Intelligence" > "Business explorer" > "Bex Portfolio".
    I need to understand the technical context. The generated report, is it a BSP? If yes, where can I find it in BW (which name)? I already know that in transaction RSRT I can retrieve the name of an ABAP program that has been generated by Bex, but I don't manage to figure out what it's used for.
    Thanks in advance,
    Jeroen

    Hi,
    Thanks for your reply.
    I want to add a contextmenu item 'do sth'. When the user rightclicks on a cell in the BW report & chooses 'do sth', an existing iView should be opened with some parameters that are dependent on where the user clicked in the report. Can all this be achieved in the WAD?
    Edit: I've been reading the WAD help and it seems to be possible using javascript. I'll open a new thread for more info on retrieving the parameter values.
    Thanks,
    Jeroen

  • Web Application Designer need help ASAP

    Hi All,
    I have a requirement to customize the analysis item in a web application designer.
    I have created new templetes and added a analysis with a query view as data provider .
    in the output I require to hide some rows of the query view and also change the color of the text i.e the numbers.
    How to modify the output of the analysis item which is coming from a query view or is there any way where I can modify the output of the web templete.
    Thanking You,
    Rukmini

    Dear Devi,
    If you do not want to use the default display and behavior of the Analysis Web item, you can use the Modification parameter to change them. You can modify the table structure and the table cells.
    The Modification parameter provides modules whose use can be controlled using additional parameters.
    This function enables you to use similar options to those available in earlier releases with the Web Design API for Tables. Unlike the Web Design API for Tables, modifications enable you to make targeted changes to the display and behavior without any programming.
    Prerequisites
    The modules are the main prerequisites for making modifications to the Analysis Web item. The modules are implemented in Java. The SAP Basis infrastructure in SAP NetWeaver 7.0 does not support any customer modifications or extensions to Java coding. Customers are therefore not able to develop their own modules for modifications to the Analysis Web item.
    SAP delivers a number of sample modules. You can use parameters to modify the display and behavior of these modules.
    Procedure
    You use the modules as follows:
           1.      Select a module from the sample modules.
           2.      Specify the module in the Modification parameter of the Analysis Web item.
           3.      Control the display and behavior of the module by specifying the module-specific parameters.
    Result
    The table of the Analysis Web item is displayed in an individual manner using the modules. The behavior of the table may also be different. For example, you can define commands for table cells.
    Example
    For example, you can define a fixed column width or display comments in cells.
    For more info :
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/1a/456a3badc1b315e10000000a114084/frameset.htm
    Hope this helps u..
    Best Regards,
    VVenkat..

  • Problem with layout in Web Application Designer

    Hi all,
       I am working with the BEx Web Application Designer. Well, I execute a web template in the browser, click on right button and  choose enhanced menu, query properties and mark the check box Display Rows as Hierarchy and Expand to and from the list of values (combo-box) choose the last field that can be expanded.
    Once all the lines have been expanded and the layout of the template is longer than a page, we look for a line that is not in the first page and contract it. The problem is that when we contract the line, the layout shows  the first page, instead of the page where the line had been contracted. I have tried to solve this changing the properties that appear when the template is designed, but I haven´t found the solution. Is there any way so that i can solve it?
    Thanks in advance,
    Mª del Mar Bonilla.

    Bonilla,
    Welcome to SDN...
    Try this out...
    In the Query designer view , right click on the rows structure and select display as hierarchy. In case this option works fine , the behavior pointed out by you could be a possible bug.
    Just update the result of what I have mentioned above...
    Hope it helps..
    Arun
    P.S Assigning points is a way fo saying thank you in SDN

  • How to create a date range in Web Application Designer

    I am using 3.1 version of Web App Designer.  I need to create a report with date ranges.  I can get one date to work but not two (I need a start date and end Date).  My Query has 0CALMONTH with a variable for Interval.  When I select it as a dropdown (??) in Web App Designer, I only get one date prompt in web app designer.
    Any suggestions??
    Thanks
    Kristen

    Hi Kristen,
    I'm sorry i'm not coming to solve your problem,but for the trouble I have had,and I want to create a date picker in Web Application Designer,so if you have solved the problem ,please email to me? [email protected] ,thx very much!
    best regards
    zegion chan

  • To use Web Application Designer release 2004s do we need to have portals???

    Hi
    I would like some clarity regarding whther we need a portal or not.
    If you use Web Application Designer (SAP BW 3.x) it works fine, you can create reports and then it shows in SAP Easy Access under favourites. Executes fine, no portal is used.
    Now when I want to use the new Web Application Designer I can not execute the reports. Gives me error
    "Java communication error: RFC destination NOT_CONFIGURED does not exist", the window it appears in has a text saying it can't conect to the portal. Then notes that I look at regarding this seems that the connection between SAP BW and Portal must be set up.
    So can please someone tell me whether you need the portal to use the new Web Application Designer release 2004s
    Thanks in advance

    YOu neeed BI Java configured
    If you do not use any new BEx Web functions, do you have to install the usage types BI Java and EP?
    answer -SAP EP 6.0 Portals could be integrated into a federated portal system landscape using URL iViews.
    For more insights - FAQ
    Pls read carefuly should answer all your current and future questions.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/43008b6a-0901-0010-90af-c848d878bac3?rid=/library/uuid/a5067965-0901-0010-6f8a-bbf0b7424283
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/43008b6a-0901-0010-90af-c848d878bac3?rid=/library/uuid/cea68c65-0901-0010-f5a4-fd34189d8078
    Hope it Helps
    Chetan
    @CP..

  • Web Application Designer: Column width on analysis_item with BW 7.0

    Hi,
    I'm new to SAP world and I have found a problem I'm not able to solve. I'm working with the Web Application Designer and I want to modify the cell properties (such as cell width) for aligning different queries. In fact, my question are:
    <b>
    1. Is it possible to hard-code/specify column widths of the analysis_item?
    2. The property width of the analysis_item doesn't work, does it?
    </b>
    Thanks for your time and efforts.
    Message was edited by:
            Daniel Rubio

    Hi,
    I have just discovered the capability of modifying columns widths with css properties.
    So if I add to the head section of the html:
    div.prueba2 .urSTTDBdr1
    div.prueba2 .urSTTDBdr
    div.prueba2 .urSTTDBdr2
    And later I put the AnalysisItem between a div class="prueba2" and /div, the columns widths are changed.
    Do you know where can I find all the style properties (such as urSTTDBdr1) and its functions?
    Thanks

  • Unable to open WAD (web application designer) in BW 3.5!

    Hi,
    when i open WAD through menu path (start->programs       
    ->Business explorer->Web application designer), i am getting the following error!
    WADConst
    Please log on to a Netweaver BI 7.x system. System J2E does not have the minimum version required 70005.
    I just can`t understand from where i got this BI 7.x system, when my system is BW 3.5 (NW04 platform).
    can any one expalin me what is this problem? and suggest me to over come this problem?
    Thanks,
    Ravi

    Hi Ravi!
    I assume that you installed the SAP GUI 6.40 with BI Addin (which contains the BI Frontend for SAP NetWeaver 2004s BI).
    In this case, you have a sub folder underneath "Business Explorer" in your startmenu named "Business Explorer (SAP BW 3.x)".
    You have to use this version of the BEx Web Application Designer.
    If this is not the case, please create a Support Message with all detailed information (backend and frontend versions).
    Thank you,
       Tobias

  • Hiding table columns in web application designer

    Hi,
    Can anyone please tell me how to hide the columns of a table which im using in a web application template as analysis. E.g : if i have 7 columns in my table and i dont want to show that particular column  i.e 7th and m using the same query somewhere else also to show other information so i cannot change my query but i want to hide it at web application designer level.
    Any help will be appreciated.
    Thanks & Regards

    Hi Preetha,
    I think best solution to your problem(keeping future enhancements in mind) is to create a query view based on the query that you are using.
    Move the unwanted characteristics to free chars section or hide the unwanted key figures.
    Then resave this query view.
    You can use this query view as a data provider to this table.
    Hope this helps.
    Thanks and Regards,
    Anup Kulkarni

  • Error in Web application designer in BI7.0

    Hi,
    If we try to create the template and save, it is showing the following error.
    JAVA COMMUNICATION ERROR RFC_DESTINATION IS NOT CONFIGURED.
    we tried some RFC connections in the backend . It is showing BI metadata for BSM is outdated. I checked the necessary settings according to note :888687.
    But we are able to check the RFC connection between ABAP and portal.
    But we are getting the same error. While saving the template which created. it showing the error and i am not able to save the template
    Please help in this issue..
    thanks in advance.
    Regards,
    Mohankumar.G

    I was working on similar issue for 2 days & I am able to overcome the error mention by you related to WAD now I am able to execute the WAD application through portal.
    Send me your mail Id I will fwd u the configuration steps
    Meanwhile chk Trans: SM59 for RFC connection
    IN Visual Admin check the JCo RFC Provider is properly configured with backend username.
    Chk all the JCo related to BI are working properly either with SSO or User mapping
    Chk in Table RSPOR_T_PORTAL the portal URL is proper or not
    (transaction code SM30).
    2. Enter RSPOR_T_PORTAL as the table.
    3. Choose Maintain.
    4. Choose New Entries to create a new entry.
    5. Maintain the connected portal:
    RFC destination: <RFC_DESTINATION>
    System name: <SYSTEMALIAS>
    Default: <DEFAULT>
    Portal URL prefix: <PORTAL_URL_PREFIX>, for example, http://<portalserver><domain>:<port>
    Prefix of RM for BW Metadata: <KM_RM_METADATA_PREFIX>, for example, /bw_metadata
    KM service URL: <blank>
    Referesh the MetaData Service in BI Web Application Designer under settings try to connect you SAPRFC.ini file set enviroment variables for the same.
    Swapnil

  • Dynamic Wrapping of text in Web Application Designer of BEx.

    Hi
    Dynamic wrapping of text is to be done in Web application Designer of BEx.
    How is the code that was given earlier to be incorporated using stylesheets???Please explain in detail.
    Also if any other way is possible,plz deliberate.
    Thanks.

    Hi Sachin,
    stylesheet parameter is:
    white-space:
    options:
    normal
    pre
    nowrap
    pre-wrap
    pre-line
    regards Sven

Maybe you are looking for