Modify Web Template Parameters Using API or Javascript

Hello Experts,
I am using the Web Application Designer (WAD) to build a template.  We are on BW 7.01 (EHP1).  I am trying to find a way to set a command within the template to change one of the parameters of the Web Template itself.  I am very familar with how to use the SAP provided API Commands to change the Web ITEM parameters (like ANALYSIS item, CHART item, etc), but I do not see an API that will allow me to change the parameters of the Template itself.
For example, in WAD, on the left hand side, you can select the "Web Template" item and set the properties.  For example:
Display Variable Screen [VARIABLE_SCREEN]
Reset Variable Values to Default [CLEAR_VARIABLES]
Show Personalized Variables [SHOW_PERSONALIZED_VARIABLES]
I would like to add a button to the template where I can allow the user to change some of these properties, but I don't see a way to do it.  Does anyone have any experience coding this?
Thanks in advance for your help.
Jose

Hi ,
According to your description, my understanding is that you want to retrieve list item values related to a specific version using JavaScript.
We can also see the a specific version via the url …/_layouts/15/Versions.aspx?list=GUID….
We can use the SharePoint List web service that exposes
Lists.GetVersionCollection Method to return version information for the specified field in a SharePoint list.
There are some similar posts for your reference:
https://social.msdn.microsoft.com/Forums/en-US/02d29ce7-1a2b-4e91-9319-6dd43cde0bee/getting-the-version-history-of-a-list-item?forum=sharepointdevelopment
https://social.technet.microsoft.com/Forums/systemcenter/en-US/4bd80e0e-a605-4c5e-b534-a189c346b978/csom-fetching-list-item-version-history-programmatically?forum=sharepointdevelopment
(the last reply of Patrick)
Best Regards,
Wendy
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Wendy Li
TechNet Community Support

Similar Messages

  • How to Execute a Web Template Without Using the Cache?

    Hi All,
    I am trying to execute a webt emplate to determine performance and optimisation. The trick is that the web template starts using the cache. Is there any way to turn off the cache for the web template? Maybe using a URL parameter or something?
    Thanks in advance for any assistance provided.

    Hi,
    You can do it thru RSRT, choosing HTML, the query and the template, then in the menu you have to check the box dont use cache, aggragates and BIA.
    Regards, Federico

  • How to modify a template and use both old/new in the same library without interference

    OK first Thank you for reading this and hopefully being able to help me out. I got dumped this project on my desk to update two different templates already published in
    share point(2010) years ago. The original developer left the company 4 years ago. Since then anyone that tried to do anything with them made a big mess. I have done some heavy reading and am stuck on few issues.
    Please note the templates were created IP 2007 and I will be using IP 2007 to modify them. The temples have a small amount of C# that does not have to be changed. There is also a digital signature linked to them.
    After some heavy reading this week. I figured that I need to edit the template from Share point(2010)/IP(2007) and not copy the templates to a different location laptop/desktop
    because that will ruin the digital signature. There is also a large volume of submitted forms from these temples. The new version of the temples will be heavily modified deleting rolls columns changing names. My understanding is that since I want to keep the
    old submitted forms the way they are and still use the old template to open them. I would need a second version of the original template with all the visual modification to still use the original template's C# digital signatures and any other file that runs
    in the background.
    The plan:
    1)Turn off the automatic update to forms/template when a new version of the template is created.
    2) Copy the existing template (.xsn) file to a new document folder in share point(same network).
    3) Change the name of the .XSN file that I copied and modify it??????????? Will keeping the same name interfere with the old template/C# digital signature ect? I would like to change to something like SameName_version_2015 for example. or will changing the
    name cut the link to the old C# digital signature? or will it get modify the background files and break the old template/submitted files.
    4) Publish the new template in share point.
    5) Change the data connection to a new directory that I wish to submit all files.
    Please advice am I missing anything? and help me understand my step 3 better. Also I would love to get a better understanding of how i can backup and recover everything. Do I simple copy unmodified .XSN files somewhere and publish them if things goes wrong?
    Do I need to backup anything else?
    I am open to options if I can create a test folder in the share point for safety.
    Once again THANK YOU for trying to help.

    Hi, thanks for the reply!
    Just to follow up for what we did to disable the delete function for maintaining table records. We hided the Delete button by adding a "MODULE disable_delete" code in Screen Painter. So now only adding records to the table is allowed.
    Thanks,
    Jenny

  • Provision and modify user's access using API

    We have a requirement where user can request new/ modify access to an application in a custom UI. In the backend we need to use OIM apis to do the task. For account creation I can make use of access policies to trigger prvisioning but not sure how I can modify the access. Please suggest.
    There is a new API oracle.iam.provisioning.api introduced in R2 but not sure how to make use of it.

    Kiril,
    So, i'd like to "map" Database Authentication and Application Express Authentication.That doesn't mean anything to me. What do you mean in technical terms?
    From FROMS i'll call Applcation Express to display some information - like report or...Call it by placing a hyperlink on the screen? When the user clicks the link to the Application Express application are you expecting the user to have to login or not (what is the requirement)?
    Realize that when the Oracle APEX application runs (after USERA authenticates) it will not be like running a Forms application as USERA. The Oracle APEX app will run as the parsing schema of the application, no matter who logs in to it. Of course internally you can recognize who the user is and do different things based on querying the user roles/privs in the data dictionary, but you have to code that yourself. You can also use VPD and base predicates on the authenticated user. Can you live with that?
    Scott

  • How can Javascript in BW web template access query data

    Hi All,
    I want to access the BW query data from within Javascript within the BW Web template. Can you kindly share ideas how I can make my Javascript reach the query results returned by the dataprovider query in the BW template.
    Your help is highly appreciated.
    Thanks
    Karen

    Hi
    The question is not using BW queries in Web templates I use them all the time. Within a BW web template I have Java script I want to access the BW query data from Javascript. The question is how to access query data within JavaScript.
    Regards
    Karen

  • Security for creating web templates using web application designer

    I work for ChevronTexaco as a BW Security Analyst. I have a request to set up roles for web template creation using the Web Application Designer. Where can I get help in setting up the security for these types of roles? My experience is in setting up roles for running and creating queries in BEX. I need to know what additional authorizations will enable web template creation. Setting up a trace in ST01 has been less than helpful since it dumps out tons of RS_COMP tracing that doesn't help me much.
    The user wants to be able to create web templates for existing queries in BEX and restrict by rs_comp infocubes/areas/reportid, etc. and to be able to save to restricted role names. Are there new auth groups specific to this type of activity that I need to code for in addition to the basic end user or report builder authorizations?
    Any help would be greatly appreciated.
    Jeff Ehritt
    925 827-6012
    ChevronTexaco

    Thanks Marc, I'll check it out. My problem was that I was trying to create the role by granting a userid sap_all, sap_new and s.a_system as well as power user auths for a specific application. I set up a trace in ST01 for authorization cking on the ID while one of our BW Central Support people went into Web Designer to create a template and everything else they wanted to do.
    The resulting trace spewed out so much stuff from S_RS_comp and comp1 as to be virtually useless since it named scores of different cubes and infoareas that the analyst wasn't even interested in. The results puzzled me and made it extremely difficult to pin down the required authorizations. Usually ST01 can be used as a blueprint to create the role,ie; everything that the user touches is traced but no more than that. Have you seen this before? With just the new role I had set up the user could not save to a role unless I coded the fully qualified role name such as YRH_SENDAT_USER. YRH* would not work.
    Thanks,
    Jeff Ehritt
    ERP COE SAP BW Security

  • Using Tab Pages & Web Template Web Items

    Hi Experts,
    i want to build a report with a tabs
    i have created a WAD report with a tab page web item
    in the tab page i have inserted three web template web items
    and in each web item i have entered a diffrent technical name of a WAD report (3 reports)
    but when i run the report i get in all three tab pages
    the data of the first report (like it uses DP_1 of the first one)
    i have tried to change in the reports the name of the data providers
    to DP_7 or whatever and it is not working still.
    any one know how to display three WAD reports in a tab page web item?
    Thanks and BR,
    Or.

    Hi
    for  one clair example you can install the 0Analyzer web template - the standard sap web template that use TABs with different reports inside
    hope it helps
    Edited by: Andrea Previati on Sep 28, 2011 5:53 PM

  • Regarding upgrade of web report\web templates functionalites BW 3.5-BI 7.0

    hi all,
             I m working on a Upgrade study from BW 3.5 to BI 7.0 for Web Templates,web items and java scripts.
    Below is the scenario of the client system:
    New web templates are created from the 6 master web templates available for publishing to a custom Portal (created using BSP and hosted on the WAS). TOOLBAR and FOOTER are custom web templates used in all Master Templates and contain various JavaScript functions and footer code respectively.
    TOOLBAR provides the Toolbar, header and buttons functionalities in the Master Templates via the contained Javascript functions. FOOTER displays the date and time of issue as well the logged in user.
    FOOTER1 and FOOTER2 are web items derived from FOOTER web template. They have different set of web item properties and are used to create web templates used through the custom Portal.
    It is observed from BW Tables that out of 100 unique Web Templates available in the system, 90 are using TOOLBAR template and 95 are using FOOTER template.
    No external Javascript .js files are used in the Web templates. Most of the Javascript functionality is contained in TOOLBAR and no other custom javascript in master templates. However, there are some derived web templates where custom javascript is contained.
    Following is the process to create custom Web Templates in development server that are eventually transported to QA and Production:
    1)     The appropriate master template is identified and saved with new name in developer role.
    2)     Dataprovider is added to corresponding web items.
    3)     From the library, properties are transferred from master template to the custom template.
    4)     Report title is added in HTML tab.
    5)     No changes are needed in the Web Templates Properties except change of value in  “Show Jump Target in” field to the portal Frame ConPortal or _self in case RRI is to be used.
    6)     Some properties like Title, Width in Pixel, Affected Data Provider, etc. needs to be adjusted. Changes can be done to web items seen in Overview tab except the FOOTER and TOOLBAR web items. These web items are saved as reusable components in Library.
    7)     After all the changes the web template created is transported from development server.
    To summarize, all master data for creation of web templates like reusable master templates, web items in library, web templates containing Javascript code are stored in dev. server. Custom web templates created from these are transported.
    I want to validate the sequence of migration as below:
    Following sequence has to be followed for the Web Templates and Queries Migration in development BI 7.0 Server:
    1)     Migrate the Individual BEx Queries first and perform functional testing.
    2)     Migrate the TOOLBAR template manually (create as new in BI 7.0 Toolset) and FOOTER template automatically (using Migration Tool).
    3)     Manually migrate the JavaScript code in TOOLBAR. Please refer to section ..for more details.
    4)     Migrate the library of reusable web items, if any.
          (What to do if web item is custom or is not supported in BI 7.0)
    5)     Migrate the Master Web Templates manually (create as new in BI 7.0 Toolset) and automatically (wherever possible) and perform functional testing.
    6)     Migrate the custom web templates automatically (wherever possible) and manually, if automatic migration is not possible. Perform functional testing and data provider binding.
    7)     Perform jump target binding wherever applicable.
    8)     Transport custom templates, TOOLBAR and FOOTER to QA and Production subsequently.
    Also i have the following questions:
    1. How to migrate functionalities accessed thru web templates like jump queries, general navigation blocks with filter, table interface, and are data providers automatically linked to web items or have to be done manually post migration.
    2. Do we need to migrate the library of reusable web items also.
    3. After migrating the master  web templates and javascript containing templates to BI 7.0, can we migrate automatically the custom webtemplates derived from master templates and containing the custom javascript that is now avaialbe in BI 7.0, will they pick up the custom code automatically.
    thanks in advance
    Regards
    praveen

    No resolution found

  • Download scheduled web templates

    Hello,
    I need to download scheduled web template files using abap instead of Download Scheduler Wizart.
    I have created a web template for offline reporting and need to mail it.
    Greetings, abu
    Message was edited by: Linda Bortolus

    I'm about to solve the problem with FM "webquery".
    But I do not get the results i am waiting for. The mistake is on passing parameters.
    Here is my code:
    My web template is z_wt_test and i have a variable in my web template also.
    Greetings, abu
    function zag_webquery.
    ""Lokale Schnittstelle:
    *"  TABLES
    *"      QUERY_STRING_TAB STRUCTURE  W3QUERY
    *"      MIME_TAB STRUCTURE  W3MIME
    *"      HTML_TAB STRUCTURE  W3HTML
      data:
        html_line       type w3html,
        mime_line       type w3mime,
        return_code     type w3param-ret_code,
        content_type    type w3param-cont_type,
        content_length  type w3param-cont_len.
      data:
        query_string_line like line of query_string_tab.
      query_string_line-name = 'CMD'.
      query_string_line-value = 'LDOC'.
      append query_string_line to query_string_tab.
      query_string_line-name = 'Z_WT_TEST'.
      query_string_line-value = ''.
      append query_string_line to query_string_tab.
      mime_line-line = '/webrfc/bw30/'.
      append mime_line to mime_tab.
      content_type = 'text/html'.
      call function 'WEBQUERY'
        tables
          query_string   = query_string_tab
          html           = html_tab
          mime           = mime_tab
        changing
          return_code    = return_code
          content_type   = content_type
          content_length = content_length.
    endfunction.

  • Call a FM in a web template to execute a workbook in the portal

    this is what i got and what i need,
    i got a web template like a panel buttons, where behind each button is a web report,  but there is one report that is needed in a workbook,  i got the button for this report, the problem is how can i call this workbook trough the web template???
    trough javascript???
    trough html???
    trough FM ??
    i got a FM RSAH_LAUNCH_EXCEL , this FM just need the ID WORKBOOK and ID QUERY and call the workbook , this FM can be  fixed because this button is for this report, but now what can i do to make this...., help

    Hello.
    I have exactely the same need, can you please let us know how you solved your problem?
    Thanks
    Best Regards.

  • Web Template with two dataproviders ! Provided in url !

    Hello,
    I would like to create a standard web template more or less according to the 0ANALYSIS_PATTERN (Web Analyzer) with some standard features like Buttons, Charts and Table-View, etc.
    In the 0ANALYSIS_PATTERN (when you execute your query from the BEx QueryDesigner in the web) the query name is provided as a parameter in the url like
    ...&QUERY=PSD_MONTHLY_REPORT. The web templates then uses this query as data provider. This is also possible for any other web template.
    My problem is that I have always two different data providers for chart and analysis item. Unfortunately it is not possible to supply more than one QUERY-Parameter in the URL.
    Has anyone of you come across such a problem?
    Any ideas are welcome.
    Thanks,
    Heiko

    Hi,
    This is an old thread, but I have a solution for your problem :o)
    What you need to do, is the specify the web template instead of the query - like this: ?TEMPLATE=Z_YOUR_WEBTEMPLATE
    Then you add the following syntax:
    &BI_COMMAND_1-BI_COMMAND_TYPE=SET_SELECTION_STATE
    &BI_COMMAND_1-TARGET_DATA_PROVIDER_REF_LIST-TARGET_DATA_PROVIDER_REF_1=DP_1
    &BI_COMMAND_1-TARGET_DATA_PROVIDER_REF_LIST-TARGET_DATA_PROVIDER_REF_2=DP_2
    &BI_COMMAND_1-CHARACTERISTICS_SELECTIONS-CHARACTERISTIC_SELECTIONS_1-SELECTIONS-SELECTION_1=SELECTION_INPUT_STRING
    &BI_COMMAND_1-CHARACTERISTICS_SELECTIONS-CHARACTERISTIC_SELECTIONS_1-SELECTIONS-SELECTION_1-SELECTION_INPUT_STRING=<your filter value>
    &BI_COMMAND_1-CHARACTERISTICS_SELECTIONS-CHARACTERISTIC_SELECTIONS_1-CHARACTERISTIC=<your filter infoobject>
    The URL contains a reference to two different dataproviders in your web template and will filter both.
    Hth,
    Jacob

  • Setting up Default web template for BeX 7.0 queries.

    Hi Experts,
    I am running a web-report based on a query created using Query Designer 7.0. I have a default web-template that I have been using for BeX 3.x queries [which has been created using WAD 3.X] and I tried to set the same template as default for the BeX 7.0 in SPRO>SAP Netweaver>Business Intelligence>Settings for Reporting and Analysis>BeX Web>Set Standard Web Templates>Ad Hoc Analysis.
    But I can't see the changes being reflected in the web report after I made the change.I still see that the default template 0ANALYSIS_PATTERN is being used. Can we set a web template created using WAD 3.x as the default template for 7.0 Queries?If yes, do I need to do something else apart from the changes I did in SPRO?
    Thanks
    Arvind
    Edited by: Arvind Pattabiraman on Apr 29, 2009 8:51 PM

    Arvind,
    Have you migrated your template to 7.0 ? you cannot use a 3.x template as the default for  a 7.0 template... unless you are using the EP6.0 iView / ABAP stack for running your queries on the web...
    Edited by: Arun Varadarajan on Apr 30, 2009 12:29 AM

  • Modyfiying standard web template

    Hi,
    I have made a copy of 0ADHOC template (ZADHOC) and want to add element to it: query view selection.
    I do it in that way;
    1. open zadhoc
    2. drag&drop query view selection icon from standard web item to zadhoc layout
    3. save
    4. Execute in browser...  and there is always the same error in browser: "The affected Web item does not exist. Check the spelling"
    Can somebody write me how to do this or advice where to find documentation on modifying web templates...
    Thanks
    Andrzej

    'affected web item' is attribute of query view selection and need to be filled.
    ak

  • Training a ABC Data Mining (DM) model for a Web Template.

    Hello All,
    I need to create a Web Template that uses the ABC web item. This Web Item needs a "trained" ABC Analysis DM model. The only tool that I know of that can "train" a DM model is the APD. However the APD does not support the ABC DM as a data target. Is there any other way to "train" a ABC DM model ? Or are there gaps in my knowledge ?
    Dorothy

    Hi,
    Being new to mining you have really set off on a ambitious mining project :)
    Couple of technical pointers:
    *1) Version of Data Miner being Used*
    You are using the original Data Miner release.
    I would download the latest SQL Dev release that contains the current Data Miner client and repository installation.
    http://www.oracle.com/technetwork/developer-tools/sql-developer/downloads/index.html
    SQL Developer 3.2.2 RTM Version 3.2.20.09 Build MAIN-09.87
    Drop the old repository and start with this latest one, assuming you are just getting started and have no significant mining worklows created.
    You can always export the workflows to disk if you want to import them to the repository.
    Alternatively you can migrate the older repository, but I would avoid unless you really need to, as it requires Data Miner to hold on to some older repository definitions.
    *2) Handling of text*
    It seems your primary source of data for the clustering process will be the cs_uri_query.
    You might find better results processing it as text data rather than as categorical data.
    You can use the Build Text node to transform cs_uri_query into a nested column that contains text tokens.
    *3) Methodology definition*
    This is probably your biggest challenge really.
    What is the overall methodology to produce the desired result.
    You stated your objective is: develop an intelligent recommend model based on queries recorded in the web log
    Once you create clusters from this data, what are your next steps?
    What type of recommendation do you want to generate?
    Thanks, Mark

  • Copy Variants between Web Templates

    Experts,
    Our users access all BI Reports via the SAP Portal.  The reports are published using Web Templates (developed using the Web Application Designer).  We are on BW 7.0 EHP 1.
    My question relates to Variants created on the web templates.  Is there a way to copy variants from one web template to another, if the templates are based off of the same query?  I can see that the web template variants are in SE11 table RSRPARAMETRIZA.  But I am not able to see a way to copy them from one template to another.  Any thoughts?  Thanks!
    Jose

    Experts,
    Our users access all BI Reports via the SAP Portal.  The reports are published using Web Templates (developed using the Web Application Designer).  We are on BW 7.0 EHP 1.
    My question relates to Variants created on the web templates.  Is there a way to copy variants from one web template to another, if the templates are based off of the same query?  I can see that the web template variants are in SE11 table RSRPARAMETRIZA.  But I am not able to see a way to copy them from one template to another.  Any thoughts?  Thanks!
    Jose

Maybe you are looking for

  • Inserting dynamic image doesn't work for range of records

    Hi, I'm using BI Publisher 5.6.3 and E-business Suite 12.1.3. I have set up my RTF template so that it brings in a logo image dynamically onto an invoice. The code in the "alt text" field behind my dummy image is: url:{concat('${OA_MEDIA}/',//CF_LOGO

  • Trade-ins down and value dived

    So yesterday I went in to my Plover BB with a stack of games to trade in only to be told they were down for the day and to come back tomorrow (today). Of course, now the game value has plunged, a difference of $60-$70 for my trade! I assume there is

  • Wireless Router issues with MacBook Pro and Windows XP laptops

    hello, I have a d-link wireless router and I have a MacBook Pro and a Windows XP laptops. My issue is that I have to keep rebooting either the router or the modem (which I both replaced) and it still does not work right. Now can mac and windows work

  • Labplot crashes Xorg.

    For some reason, why I try to edit a certain part of a plot in labplot, attempting to open a dialog window crashes xorg. This i the error in the log. Backtrace: 0: X(xf86SigHandler+0x88) [0x80ba6d8] 1: [0xffffe420] Fatal server error: Caught signal 1

  • Macbook pro Retina not recognizing my Apple TV 2nd generation

    My new MBR Retina won't recognize ma apple Tv 2nd generation. The airplay mirroring is working through itunes music and videos. some help pease.