WEB Application / Dynamic variable input / Prompts
I've defined a variable on characteristic Currency with the following definition:
Processing by : User Entry/ Default Value
Variable represents : Single Value
Variable entry is : Optional
Ready for input : yes
Can be changed in query nav: yes
Default Value : EUR
This variable ist used in "Currency Translation" as "Target currency" (variables entry: yes)
The query is used in a Web-Report that performs the following command by selecting currencies from a checkbox:
url=SAP_BW_URL_Get() +"&CMD=PROCESS_VARIABLES&SUBCMD=VAR_SUBMIT&VAR_NAME_1=SL_CURR&VAR_VALUE_EXT_1=";
url=url+value;
(value is the code of the selected currency)
Everything works pretty good, but opening the web-report I get a prompt window for the variable. How can I avoid this ?
Changing the variable property <Ready for input : no> causes the effect that the dynamically changing of the variable doesn't work anymore. It seems that in this case always the default value of the variable is taken.
The application should use the default value while opening the report, afterwards it should be possible to set the variable dynamically.
Thank you very much for your ideas !!
Hi Stefan,
you can activate/deactivate the variable screen with parameter "Force Variable Screen" in your web template.
bye
Similar Messages
-
Web Application Designer : Variables for Ad-Hoc Report
Hi,
I have to modify the default template who is used to display the variable entries ...
Someone know the technical name of the web template that's call when I push the button "Variable Screen" ?
Thanks in advance
AlexThere is no extra template executed when processing the variable screen.
It is just a command within the current template:
CMD=PROCESS_VARIABLES&VARIABLE_SCREEN=X
Regards,
Beat -
Web Application Designer Variable Screen = X
Hello all,
I have a question concerning an option in WAD where you flag the variable screen. <bi:VARIABLE_SCREEN value="X">.
We are using the 0Analysis template and upon selecting the "New Analysis" button which opens up a selection screen to choose a particular BEx Report and execute. Prior to setting the option within the button to flag the variable screen = X, when selecting the "New Analysis" button the second time for a new report, we would not get a variable selection screen to choose our values even though the report clearly has selection variables. So as a work around we flagged this option to force a variable screen.
The issue is now that if a particular report we choose does not have a any selection variables, we get a message that says No variables available and it closes without executing the report.
Does anyone have any suggestions or options we could do?
The 'New Analysis" button is made up of the following:
1. Load
2. SET_VARIABLES_STATE
Thank you in advance.Any suggestions or ideas?
Thanks -
Forms, web applications, dynamic pages
Hi.
Can someone tell me what the best method is to create a form
in DW? Correct me if I am wrong as I am quite new to this, but I
see a lot of sites out there with different types of
pages...they're using .aspx, .jsp, .php, .cgi, .html, .asp .cfm
.........etc. Which one do you use??
I want a form for contact info filled in & then you click
a submit button & an email goes to your email listing all the
fields & the entries of whoever filled your form. What is the
difference of all of those mentioned above?
Also what is the difference between .aspx & .asp?
.html & .htm?
Any help would be appreciated.
Thanks.Forms can be html pages but once the submit button is clicked
the form is
usually processed on the sever hence the .asp. .aspx .jsp
.php etc.
Search google for active server pages. You can also look at
the help file
for info on database sites.
Dave
"Stella1251" <[email protected]> wrote in
message
news:gpmak2$ftb$[email protected]..
> Hi.
>
> Can someone tell me what the best method is to create a
form in DW?
Correct me
> if I am wrong as I am quite new to this, but I see a lot
of sites out
there
> with different types of pages...they're using .aspx,
.jsp, .php, .cgi,
.html,
> .asp .........etc. Which one do you use??
>
> I want a form for contact info filled in & then you
click a submit button
& an
> email goes to your email listing all the fields &
the entries of whoever
filled
> your form. What is the difference of all of those
mentioned above?
>
> Also what is the difference between .aspx & .asp?
> .html & .htm?
>
> Any help would be appreciated.
> Thanks.
> -
Dynamic deployed web application doesnt' work in managed server
Hi:
Can anyone tell me what I have done wrong:
1. I create a new web application DYNAMICALLY (i.e. copy directory to
applications directory)
2. I assigned one of the managed server as target for the new
application
3. Restart managed server
4. Try to access the new application in managed server, and get error
message:
10.4.5 404 Not Found
The server has not found anything matching the Request-URI. No indication is
given of whether the condition is temporary or permanent.
If the server does not wish to make this information available to the
client, the status code 403 (Forbidden) can be used instead. The 410 (Gone)
status code SHOULD be used if the server knows, through some internally
configurable mechanism, that an old resource is permanently unavailable and
has no forwarding address.
Any ideas?
Thanks in advance.
AlexSee my answer to your last post. The short answer is that the HttpClusterServlet is
likely to be the problem and not the cluster. You can try one of the web server plugins
or a hardware load balancer as a temporary workaround. You should file a case with
support too...
Manu Kar wrote:
> Hai All!
>
> Here is my problem ! I started Admin Server and Managed server in a same machine.
> I deployed HttpClusterServlet in web.xml of Managed server. When i started servers
> they start fine and says Clustering started.... But when i tried to Access index.jsp
> that is in Managed Server default web application ..Nothing happens. It neither
> throws exception nor shows the desired page.. Seems to be Browser hang and server
> hang. At this stage i am unable to access Admin console also.(I can access before
> i tried index.jsp of managed server).. It seems to be Hang Allover..
>
> Pls suggest me how to come out of this hanging...
>
> Rgds
> Manohar
-
Error in creating web application through power shell
hi,
i have taken the ps script from the below url :
credits to Roger :
http://blogs.msdn.com/b/rcormier/archive/2012/09/01/how-to-create-sharepoint-web-applications-with-powershell.aspx
http://gallery.technet.microsoft.com/Create-SharePoint-Web-742a8fb9
But when i am running the script, i am getting many errors:
Note: i am not using appln pool account password [as i dont know the password]
want to know whether this paramter is necessary.
$ver = $host | select version
if($Ver.version.major -gt 1) {$Host.Runspace.ThreadOptions = "ReuseThread"}
if(!(Get-PSSnapin Microsoft.SharePoint.PowerShell -ea 0))
Write-Progress -Activity "Loading Modules" -Status "Loading Microsoft.SharePoint.PowerShell"
Add-PSSnapin Microsoft.SharePoint.PowerShell
Write-Progress -Activity "Creating Web Application" -Status "Setting Variables"
#Set Individual Web App Variables
#This is the Web Application URL
$WebApplicationURL = "http://mysrvr:2020/"
#This is the Display Name for the SharePoint Web Application
$WebApplicationName = "myweb1"
#This is the Content Database for the Web Application
$ContentDatabase = "myContentDB"
#Set Common Variables
#This is the Display Name for the Application Pool
$ApplicationPoolDisplayName = "mapppool2020"
#This is identity of the Application Pool which will be used (Domain\User)
$ApplicationPoolIdentity = "mydomain\myidd"
#This is the password of the Appliation Pool account which will be used
#$ApplicationPoolPassword = "Pass@word1"
#This is the Account which will be used for the Portal Super Reader Account
$PortalSuperReader = "i:0#.w|in\hariharan.venugopalk"
#This is the Account which will be used for the Portal Super User Account
$PortalSuperUser = "i:0#.w|in\spinstall.dev"
Write-Progress -Activity "Creating Web Application" -Status "Loading Functions"
#Create Functions
Function CreateClaimsWebApp($WebApplicationName, $WebApplicationURL, $ContentDatabase, $HTTPPort)
#AppPoolUsed is set when calling the ValidateAppPool function. This will be true if the application pool is already running SharePoint web appplications
#If the application pool is already being used in web applications, the syntax for New-SPWebApplication changes
if($AppPoolUsed -eq $True)
#Create the web application, assign it to the WebApp variable. The WebApp variable will be used to set object cache user accounts
Write-Progress -Activity "Creating Web Application" -Status "Using Application Pool With Existing Web Applications"
Set-Variable -Name WebApp -Value (New-SPWebApplication -ApplicationPool $ApplicationPoolDisplayName -Name $WebApplicationName -url $WebApplicationURL -port $HTTPPort -DatabaseName $ContentDatabase -HostHeader $hostHeader
-AuthenticationProvider (New-SPAuthenticationProvider)) -Scope Script
#Call the SetObjectCache function, which sets the object cache.
Write-Progress -Activity "Creating Web Application" -Status "Configuring Object Cache Accounts"
SetObjectCache
else
#Create the web application, assign it to the WebApp variable. The WebApp variable will be used to set object cache user accounts
Write-Progress -Activity "Creating Web Application" -Status "Using Application Pool With No Existing Web Applications"
Set-Variable -Name WebApp -Value (New-SPWebApplication -ApplicationPool $ApplicationPoolDisplayName -ApplicationPoolAccount $AppPoolManagedAccount.Username -Name $WebApplicationName -url $WebApplicationURL -port $HTTPPort
-DatabaseName $ContentDatabase -HostHeader $hostHeader -AuthenticationProvider (New-SPAuthenticationProvider)) -Scope Script
#Call the SetObjectCache function, which sets the object cache.
Write-Progress -Activity "Creating Web Application" -Status "Configuring Object Cache Accounts"
SetObjectCache
Function ValidateURL($WebApplicationURL)
#Find out if a web application with the target URL exists
if(get-spwebapplication $WebApplicationURL -ErrorAction SilentlyContinue)
#If a web application with the specifid URL already exists, wait 5 seconds and exit
Write-Progress -Activity "Creating Web Application" -Status "Aborting Process Due To URL Conflict"
Write-Host "Aborting: Web Application $WebApplicationURL Already Exists" -ForegroundColor Red
sleep 5
#Setting the CriticalError value to $True results in the script to not create anything
Set-Variable -Name CriticalError -Value $True
#If the WebApplicationURL passed is not already a SharePoint web application, find out if it starts with HTTP or HTTPS
elseif($WebApplicationURL.StartsWith("http://"))
#If the string starts with http://, and not https://, trim the protocol from the URL. Set the host as the host header
Set-Variable HostHeader -Value ($WebApplicationURL.Substring(7)) -Scope Script
#If we're using HTTP, use port 80
Set-Variable -Name HTTPPort -Value "80" -Scope Script
elseif($WebApplicationURL.StartsWith("https://"))
#If the string starts with https://, and not http://, trim the protocol from the URL. Set the host as the host header
Set-Variable HostHeader -Value ($WebApplicationURL.Substring(8)) -Scope Script
#If we're using HTTPS, use port 443
Set-Variable -Name HTTPPort -Value "443" -Scope Script
Function ValidateAppPool($AppPoolName, $WebApplicationURL)
#Change the ErrorActionPreference to SilentlyContinue while preserving the original value in a temporary variable
#Failing to do this will result in error messages being displayed if Get-WebAppPoolState does not return an object. The script would still continue
$CurrentErrorActionPreference = $ErrorActionPreference
$ErrorActionPreference = "SilentlyContinue"
#Check to see if an application pool with the name passed by the AppPoolName variable already exists, assign this to a variable.
#This variable will be used in order to determine if the application pool exists, but is not part of SharePoint
$TestAppPool = Get-WebAppPoolState $AppPoolName
#If we have a SharePoint application pool with the value passed by the AppPoolName variable, find out if there are any sites using that app pool
#This changes the syntax used with New-SPWebApplication
if(Get-SPServiceApplicationPool $AppPoolName)
#Return all application pools used by all web applications
$AppPools = Get-SPWebApplication | select ApplicationPool
#Providing there is more than one application pool, find out what their names are
if($AppPools)
foreach($Pool in $AppPools)
#Get The application pool display name for each application pool returned
[Array]$Poolchild = $Poolchild += ($Pool.ApplicationPool.DisplayName)
#If any application pool matches the value passed by ApplicationPoolDisplayName, set AppPoolUsed to True
#This is referenced in the CreateClaimsWebApp function
if($Poolchild.Contains($ApplicationPoolDisplayName))
Set-Variable -Name AppPoolUsed -Value $True -Scope Script
#If the application pool display name does not match the value passed by ApplicationPoolDisplayName, set AppPoolUsed to False
#This is referenced in the CreateClaimsWebApp function
else
Set-Variable -Name AppPoolUsed -Value $False -Scope Script
#Since this is a SharePoint Application Pool, set the AppPool value to the the SPServiceApplicationPool object returned
Set-Variable -Name AppPool -Value (Get-SPServiceApplicationPool $AppPoolName) -scope Script
#Set the AppPoolManagedAccount variable to the name of the managed acount used by the application pool returned
#AppPoolManagedAccount is used in the CreateClaimsWebApp function if the application pool does not have existing web applications that are using it
Set-Variable -Name AppPoolManagedAccount -Value (Get-SPManagedAccount | ? {$_.username -eq ($AppPool.ProcessAccountName)}) -scope Script
#Check to see if the application pool is in IIS, but is not a SharePoint app pool
elseif($TestAppPool)
#If the application pool exists in IIS and is not a SharePoint application pool, abort the script by setting CriticalError to True
Write-Host "Aborting: Application Pool $AppPoolName already exists on the server and is not a SharePoint Application Pool `n`rWeb Application `"$WebApplicationURL`" will not be created" -ForegroundColor
Red
Set-Variable -Name CriticalError -Value $True
#If it's not a SharePoint app pool, and it doesn't exist in IIS, we have to create one
elseif(!($TestAppPool))
#Find out if a managed account exists by calling the ValidateManagedAccount function
validateManagedAccount $ApplicationPoolIdentity
#If the managed account exists, create an application pool using the existing managed account
if($ManagedAccountExists -eq $True)
#Set the AppPoolManagedAccount to the identity of the managed acocunt referenced by the ApplicationPoolIdentity variable
Write-Host "Creating New App Pool using Existing Managed Account"
Set-Variable -Name AppPoolManagedAccount -Value (Get-SPManagedAccount $ApplicationPoolIdentity | select username) -scope "Script"
#Create a new SPServiceApplicationPool, assign that to the AppPool variable
Set-Variable -Name AppPool -Value (New-SPServiceApplicationPool -Name $ApplicationPoolDisplayName -Account $ApplicationPoolIdentity) -scope "Script"
#If there is no managed account matching the account referenced by the ApplicationPoolIdentity, create it
else
#Use the ApplicationPoolIdentity and ApplicationPoolPassword to create a credential object
#This is necessary when creating a new managed account
Write-Host "Creating New Managed Account And App Pool"
$AppPoolCredentials = New-Object System.Management.Automation.PSCredential $ApplicationPoolIdentity, (ConvertTo-SecureString $ApplicationPoolPassword -AsPlainText -Force)
#Create a new managed account, assign that to the AppPoolManagedAccount variable
Set-Variable -Name AppPoolManagedAccount -Value (New-SPManagedAccount -Credential $AppPoolCredentials) -scope "Script"
#Create a new application pool using the new managed account, assign this to the AppPool variable
Set-Variable -Name AppPool -Value (New-SPServiceApplicationPool -Name $ApplicationPoolDisplayName -Account (get-spmanagedaccount $ApplicationPoolIdentity)) -scope "Script"
#Return the ErrorActionPreference to the default value
$ErrorActionPreference = $CurrentErrorActionPreference
Function ValidateManagedAccount($ApplicationPoolIdentity)
#Find out if the manage account referenced by the AppPoolIdentity already exists
#If it does, set ManagedAccountExists to True
if(Get-SPManagedAccount $ApplicationPoolIdentity -ErrorAction SilentlyContinue)
Set-Variable -Name ManagedAccountExists -Value $True -Scope Script
#If it does not, set ManagedAccountExists to False
else
Set-Variable -Name ManagedAccountExists -Value $False -Scope Script
Function ClearScriptVariables
#Set the ErrorActionPreference to SilentlyContinue
#If this is not set, and the script variables referenced have not been set, an error message will be returned. The script would still continue
$CurrentErrorActionPreference = $ErrorActionPreference
$ErrorActionPreference = "SilentlyContinue"
#Remove the CriticalError variable
Remove-Variable $CriticalError -ErrorAction SilentlyContinue
$ErrorActionPreference = $CurrentErrorActionPreference
Function SetObjectCache
#Set object cache user account properties based on the value of the parameters supplied
$WebApp.Properties["portalsuperuseraccount"] = $PortalSuperUser
$WebApp.Properties["portalsuperreaderaccount"] = $PortalSuperReader
#Create a New Policy for the Super User
$SuperUserPolicy = $WebApp.Policies.Add($PortalSuperUser, "Portal Super User Account")
#Assign Full Control To the Super User
$SuperUserPolicy.PolicyRoleBindings.Add($WebApp.PolicyRoles.GetSpecialRole([Microsoft.SharePoint.Administration.SPPolicyRoleType]::FullControl))
#Create a New Policy for the Super Reader
$SuperReaderPolicy = $WebApp.Policies.Add($PortalSuperReader, "Portal Super Reader Account")
#Assign Full Read to the Super Reader
$SuperReaderPolicy.PolicyRoleBindings.Add($WebApp.PolicyRoles.GetSpecialRole([Microsoft.SharePoint.Administration.SPPolicyRoleType]::FullRead))
#Commit these changes to the web application
$WebApp.Update()
#Script
#Call the ClearScriptVariables function to empty out varialbes that should be blank when the script executes.
ClearScriptVariables
#Validate the URL passed by calling the ValidateURL function
Write-Progress -Activity "Creating Web Application" -Status "Validating Web Application URL Variables"
ValidateURL $WebApplicationURL
#Validate the application pool variables by calling the ValidateAppPool function
Write-Progress -Activity "Creating Web Application" -Status "Validating Application Pool Variables"
ValidateAppPool $ApplicationPoolDisplayName $WebApplicationURL
#As long as CriticalError has not been set, create the web application using the variables passed.
if(!($CriticalError))
Write-Progress -Activity "Creating Web Application" -Status "Creating Claims-Based Web Application"
CreateClaimsWebApp $WebApplicationName $WebApplicationURL $ContentDatabase $HTTPPort
error is thrown below:
deployment
S D:\myworkspace\bif> iisreset
ttempting stop...
nternet services successfully stopped
ttempting start...
nternet services successfully restarted
S D:\myworkspace\bif> .\CreateSP2013ClaimsWebApplication.ps1
reating New Managed Account And App Pool
ew-SPWebApplication : "mysrvr:2020/" contains invalid character ':'.
t D:\myworkspace\bif\CreateSP2013ClaimsWebApplication.ps1:68 char:43
Set-Variable -Name WebApp -Value (New-SPWebApplication
ApplicationPool ...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~
+ CategoryInfo
: InvalidData: (Microsoft.Share...PWebApplication:
SPCmdletNewSPWebApplication) [New-SPWebApplication], ArgumentException
+ FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletNewSPWeb
Application
annot index into a null array.
t D:\myworkspace\bif\CreateSP2013ClaimsWebApplication.ps1:235 char:5
$WebApp.Properties["portalsuperuseraccount"] = $PortalSuperUser
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo
: InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : NullArray
cannot index into a null array.
t D:\myworkspace\bif\CreateSP2013ClaimsWebApplication.ps1:236 char:5
$WebApp.Properties["portalsuperreaderaccount"] = $PortalSuperReader
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo
: InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : NullArray
ou cannot call a method on a null-valued expression.
t D:\myworkspace\bif\CreateSP2013ClaimsWebApplication.ps1:239 char:5
$SuperUserPolicy = $WebApp.Policies.Add($PortalSuperUser, "Portal Super
ser ...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~
+ CategoryInfo
: InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : InvokeMethodOnNull
ou cannot call a method on a null-valued expression.
t D:\myworkspace\bif\CreateSP2013ClaimsWebApplication.ps1:242 char:5
SuperUserPolicy.PolicyRoleBindings.Add($WebApp.PolicyRoles.GetSpecialRole([
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~
+ CategoryInfo
: InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : InvokeMethodOnNull
ou cannot call a method on a null-valued expression.
t D:\myworkspace\bif\CreateSP2013ClaimsWebApplication.ps1:245 char:5
$SuperReaderPolicy = $WebApp.Policies.Add($PortalSuperReader, "Portal
uper ...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~
+ CategoryInfo
: InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : InvokeMethodOnNull
ou cannot call a method on a null-valued expression.
t D:\myworkspace\bif\CreateSP2013ClaimsWebApplication.ps1:248 char:5
SuperReaderPolicy.PolicyRoleBindings.Add($WebApp.PolicyRoles.GetSpecialRole
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~
+ CategoryInfo
: InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : InvokeMethodOnNull
ou cannot call a method on a null-valued expression.
t D:\myworkspace\bif\CreateSP2013ClaimsWebApplication.ps1:251 char:5
$WebApp.Update()
~~~~~~~~~~~~~~~~
+ CategoryInfo
: InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : InvokeMethodOnNullHi Benjamin,
If you're getting a Null Value error anywhere, that means a variable you're referencing isn't set to anything. If you're getting that try echoing out each variable after it's assigned to see if it's set to anything.
The link you are referring is for SharePoint 2010 and verified on Windows Server 2008 R2 and 2008, but not Windows Server 2012.
The approach in this case includes the following per the blog:
Check to see if a web application with the current specified URL is already in use – exit if it is
Check to see if an application pool with the name already exists. If so use it, otherwise create one
Create a web application based on the parameters specified
Assign the object cache properties to the new web application
Create policies for the object cache users to the web application
To simplified the code, we could use powershell below to check if web application and application pool have been already in use ahead. And skip the last two steps in the first time.
Get-SPWebApplication | fl displayname, applicationpool
Please refer to New-SPWebApplication
which is used to create a new web application within the local farm:
http://technet.microsoft.com/en-us/library/ff607931(v=office.15).aspx. Only two parameters i.e. ApplicationPool and Name are required, we could try a simple command at first:
Please run Get-SPManagedAccount to check the managed account, then execute the command below:
$ap = New-SPAuthenticationProvider
New-SPWebApplication -Name "Contoso Internet Site" -Port 2014 -ApplicationPool "ContosoAppPool" -ApplicationPoolAccount (Get-SPManagedAccount "Domain\Administrator")
-AuthenticationProvider $ap -SecureSocketsLayer
Regards,
Rebecca Tu
TechNet Community Support -
How to deploy XML schemas a web application?
Hi,
I have a couple of XML schemas in the project, which I want to import them into my BPEL using http url.
How can I deloy XML schemas as a web application.
Any inputs are appreciated.
Thanks.
~V~You already asked this question:
http://forum.java.sun.com/thread.jspa?threadID=5150005&messageID=9561597
Obviously running notepad on the clients PC is not possible (ignoring active x) -
Generating web applications ?
I want to be able to write a web application that takes Input from the user and based on the input data generates another web application and deployes it to the Application Server.
Say web application A generates web application B that is to be deployed under /appB and to use a datasource myDS.
My problem is that once the content of B has been generated, how do I deploy it automatically from A to the Application Server. Or in other words, how do in interact with the Application Server from A, telling it to deploy B under /appB, and to create a Datasource named myDS to be used by B?
Suppose later at some time user instructs A to make changes to datasource of B, how would I interact with the Application Server to achieve this ?On many app servers, the app server itself reloads or redeploys an application if the configuration files change. If it doesn't do this, the specific app server might have an RMI interface which lets you force it.
-
Dynamic image display (based on variable attribute) in Web application?
Hi experts,
I am using a Web Template (from the Web application designer) based on a BEx Query.
This web template displays a logo (jpg image) and the report.
Is there a way to add another image to my web app and having the right logo displayed depending on a characteristic (sales organization for example) chosen in the variable screen (before the first rendering)?
Thanks for your help.
Points will be given to useful answers.
Cheers,
OlivierThanks for your helpful answers guys.
Andrey's tutorial helped me to catch the sales org variable value in a variable named salesorg (Script Item in the web template as well as Data Provider Info Item).
Now could you explain how/where to use this variable to swith images? Is this still in the same Script_item where i should be able to "hide" / "show" the following XHTML tag?:
<img etc ....... img<
Thanks for your help, I'm a bit confused on this last point (and not so comfortable with Java Script).
Olivier
Edited by: SAP_BW_USER_49 on Nov 23, 2011 3:32 PM -
Missing texts in WEB with F4-help combined with variable input.
I've defined a characteristic with text : short text, medium length text and long text. The texts are language independent.
I've defined a variable for this characteristic and I've defined a BEX-report that provides a variable-filter for this characteristic in the filter area. I've also set the property <b>Display as</b> to <i>text</i> or <i>Key and Text</i>
When I start the report the prompt-window appears and then I can perform F4 on the input field for this characteristic. Then a selection box opens showing the key and all texts - short desription, medium descr. and long desc.
If I use this report in the web-Application designer or if I launch this report directly in the WebBrowser I'll also get a selection box <b>but no texts appear.</b>
What can I do to see these texts also in WEB ? Where can I influence the search help for the web (in BEX it works perfectly) ?
Additional information: By defining the info object there is a tab for Business Explorer settings. For general settings I've choosen <b>Text</b> for the property <i>Display</i>. What is really strange is that in Bex-Explorer the property <b>Display as</b> always shows <b>Key</b> as a default although I've entered <b>Text</b> in RSA1. I've also inspected other characteristics where there are no missing texts. Here I've found out that in the info object there is <b>Text</b> choosen as attribut for Display -> in the Bex itself <b>Text</b> is shown as a default too.
Message was edited by: Stefan Vogler
Message was edited by: Stefan VoglerHello there,
I am having a similar problem but I have found this is due to either of two reasons.
1) The object is compounded
2) The compounded object is authorisation relavant and the security is stopping the masterdata being read properly.
Hope this helps narrow down your search.
Paul -
Displaying dynamic variable text in WEBi
Hi I would like to populate data to my dashboard using a Webi report. My datasource is BI query.
In this query I have two dynamic variable values where the user needs to enter the starting period & ending period
If the user enter starting period as 2009 & ending period as 2010 it should display the text as Dynamic year 2009 to 2010
as below
Region -
Dynamic year 2009 t 2010
WW_______41
if the user enter the values starting period as 2008 & ending period as 2011 it should display the text as Dynamic year 2008 to 2011
IThe result was successful in the BI query but when I us eteh same query in Webi & when I run the webi report it prompts me to enter the starting period & ending period values & when I execute it it displays the values for this period but not showing the text it dispaying the technical name instead of teh dynamic text like below
Region -
&CRMTFY&CRMTEY&
WW_______41
How can I get these dynamic text
ThanksHi Sirisha,
Use User responce Function for diaplying the input data as
User Responce('(dataprovider(any data object name)), 'prompt name')
In the 1st parameter try to use diff functions available in BO instead of hrdcoding data provider name.
Cheers,
Suresh A. -
Hello Experts,
I have a requirement to create a Webi report which has 3 key figure columns.
While executing report It should ask for input variable fiscal year/period.
Now 1st key figure colum should show Amount for the fiscal year/period I entered as an input variable.
2nd column should show Amount for previous YTD for the fiscal year I entered.
For Ex. if I enter 04.2009 it should show amount for 01.2009 - 04.2009 and if I enter 04.2008 then it should show amount for 01.2008-04.2008.(based on the variable input I provide)
3rd column should provide the Amount <= ficsal period I enter as an input.
Can anyone guide how would I achieve this?
Regards,
Nirav ShahHi Nirav,
what is the granularity of the time dimension of your data in your report? Generally you make sure that you fetch all required in your report and then use formulas (applying the if operator on the time field of your data and the value returned from your prompt) to calculate the desired key figures.
Regards,
Stratos -
Where to store "global variable" for a web application
There are some "global" variables in my portal web application. e.g. email server
name, admin email address etc. Will web.xml context-param a good place to store these
kind of information?
If so, how do I retrieve it back from a java class? It is easy in a jsp file: appalication.getAttribute(),
but how about a pipeline component or input processor which are all java file.
Please help!
Thank you very much
EllenI still believe that the information like connectivity parameters to remote
servers in the distributed environments would be best stored in the JNDI
tree. I agree, that it is not a "general storage area", but I am not talking
about storing application run-time data either.
In the clustered environments it would provide additional benefits of
centralizing this kind information across the cluster.
Regards,
Mike
"Subrahmanyam Allamaraju" <[email protected]> wrote in message
news:[email protected]..
>
JNDI is not a general-purpose storage area, although you could bind data
in a JNDI tree. A better (and simpler) way is to store them as context
parameters. You could read the initial values for these variables from a
servlet init parameters.
Subbu
Michael Goldverg wrote:
Ellen,
I would advise to put you global variable in JNDI tree.
You can use jndi.properties file to store name-value pairs, which will
get
loaded into jndi tree at the server startup. Just put this file in your
application class path.
The other method would be to code a startup class to store the global
variable in the jndi tree.
Regards,
Mike
"ellen" <[email protected]> wrote in message
news:[email protected]..
There are some "global" variables in my portal web application. e.g.
email
>>
server
name, admin email address etc. Will web.xml context-param a good place
to
>>
store these
kind of information?
If so, how do I retrieve it back from a java class? It is easy in a jspfile: appalication.getAttribute(),
but how about a pipeline component or input processor which are all javafile.
Please help!
Thank you very much
Ellen -
Variable in Web application designer
I created a template in WAD (Web Application Designer) and inserted table which is connected to Query. Given Query consists variable also. However WAD generating report without any variables.
Also, if anybody has stepwise document for WAD.
Regards,Hi,
1. Check if your variable is input-ready (if it's not - it shouldn't appear on variable screen). If yes - pls.follow
2. Try to set parameter Reset variable values - On (WAD-> your Template --> Web template parameters --> Behavior)
3. General info on WAD can be found here http://help.sap.com/saphelp_nw70/helpdata/EN/1a/456a3badc1b315e10000000a114084/frameset.htm
Hope this helps -
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
-
Modifying emulated DataSource 3.x
Hello, I'm working with SAP BW Netweaver 2004s, and I have a DataSource 3.x with an InfoPackage and a Transfer rule. I need to add some fields into DataSource 3.x, but when I tried to change to Modify View of the DataSource appears a message telling
-
Purchase a T400 with different language
Hi, When purchasing a T400 can I have it preloaded with Windows in Spanish or dutch? Thank you, Vinny P
-
Error : Attempt to validate an already invalid RegionSite
Hi, I have dragged and dropped a bounded taskflow as a region on a jspx page. I dint give any input parameters to it. When i run the application its throwing the following error : <UIXRegion$RegionSiteImpl> <validate> Attempt to validate an already i
-
Hi, is it possible to play parallel elements in a series by adding a ParallelElement to a SerialElement? I mean I already tried this and it didn't work out. But maybe I used a wrong way. parallelMedia = new ParallelElement(); serialMedia = new Serial
-
Slightly confused and hope somone can clear this up. It comes pre-installed with some apps: Eg Play Books But these don't seem to update automatically I had to go to Play App Store > Find Play Books and select 'Update' Any advice would be appreicated