Using the Suspensibility property of a Webdynpro application
Hello Experts,
I have around 10 WDJ applications.All these applications are hosted on different iviews on portal.
I use the portal navigation to navigate between these applications.I want to use the Suspensibility property of the applications so that i dont have to reload them everytime they are called by other applications.
My Question is : The Suspensibility property stores the state of the application as it is. This will be done for multiple applications. Does anyone know where is this temporary storage done and how much of an effect will it have on the performance of the applications overall.
Regards,
Virag
Hi Virag,
You can use Suspend & Resume plugs for the same. Refer below SAP NetWeaver Library link & asoociated links.
http://help.sap.com/saphelp_nw04s/helpdata/en/68/3aee42c4257176e10000000a1550b0/frameset.htm
Hope this helps you.
Kind Regards,
Nitin
Similar Messages
-
DatabaseLogOnList - Use the LogOnInfos property to specify logon infos
Hi,
I use CRYSTAL REPORT 2008 to develop reports and view these reports using crystalreportsviewers in web application on dot net framework.
when I run this application the report displayed the messege "DatabaseLogOnList - Use the LogOnInfos property to specify logon infos".
could you tell me why and soluction please?
The code is:
ParameterField parametro;
ParameterDiscreteValue parametroVal;
DataTable dt;
ReportDocument crReportDocument;
FormulaFieldDefinition crFormulaDefinition;
string db = System.Configuration.ConfigurationManager.AppSettings["Database"].ToString();
string user = System.Configuration.ConfigurationManager.AppSettings["Username"].ToString();
string pwd = System.Configuration.ConfigurationManager.AppSettings["Password"].ToString();
string server = System.Configuration.ConfigurationManager.AppSettings["Server"].ToString();
string RPTtemplatePath;
//--inizializzazione report--
crReportDocument = new ReportDocument();
crReportDocument.Load(RPTtemplatePath);
//--inizializzazione report--
ConnectionInfo crConnInfo = new ConnectionInfo();
crConnInfo.DatabaseName = db;
crConnInfo.UserID = user;
crConnInfo.Password = pwd;
crConnInfo.ServerName = server;
crConnInfo.IntegratedSecurity = false;
//autentico il mio report principale
SetDBLogonForReport(crConnInfo, crReportDocument);
//autentico tutti i sottoreport richiamati dal report principale
SetDBLogonForSubreports(crConnInfo, crReportDocument);
//--istanza ODS per report (DATATABLE)--
dt = new DataTable();
it.cdlan.gestionale.bll.objectManager.report.Report_Mgr MGR = new it.cdlan.gestionale.bll.objectManager.report.Report_Mgr();
dt = MGR.GetDTInterventiFatturazione(idAnagrafica, idServizio, dataFatturazione);
crReportDocument.SetDataSource(dt);
//--istanza ODS per report (DATATABLE)--
//--parametri per report--
parametro = new ParameterField();
parametroVal = new ParameterDiscreteValue();
parametro.Name = "idAnagrafica";
parametroVal.Value = idAnagrafica;
crReportDocument.SetParameterValue("idAnagrafica", parametroVal.Value);
parametro = new ParameterField();
parametroVal = new ParameterDiscreteValue();
parametro.Name = "idServizio";
parametroVal.Value = idServizio;
crReportDocument.SetParameterValue("idServizio", parametroVal.Value);
parametro = new ParameterField();
parametroVal = new ParameterDiscreteValue();
parametro.Name = "dataFatturazione";
parametroVal.Value = dataFatturazione;
crReportDocument.SetParameterValue("dataFatturazione", parametroVal.Value);
//--parametri per report--
//--parametri Per Intestazione Titolo Report--
crFormulaDefinition = crReportDocument.DataDefinition.FormulaFields["Intestazione"];
crFormulaDefinition.Text = "\" " + DateTime.Parse(dataFatturazione.ToString()).ToString("dd/MM/yyyy") + "\"";
//--parametri Per Intestazione Titolo Report--
CrystalReportViewer1.ReportSource = crReportDocument;
private void SetDBLogonForSubreports(ConnectionInfo crConnInfo, ReportDocument crReportDocument)
Sections sections = crReportDocument.ReportDefinition.Sections;
foreach (Section section in sections)
ReportObjects crReportObjects = section.ReportObjects;
foreach (ReportObject crReportObject in crReportObjects)
if (crReportObject.Kind == ReportObjectKind.SubreportObject)
SubreportObject subReport = (SubreportObject)crReportObject;
ReportDocument subReportDocument = subReport.OpenSubreport(subReport.SubreportName);
SetDBLogonForReport(crConnInfo, subReportDocument);
private void SetDBLogonForReport(ConnectionInfo crConnInfo, ReportDocument crReportDocument)
Tables tabelle = crReportDocument.Database.Tables;
foreach (CrystalDecisions.CrystalReports.Engine.Table tabella in tabelle)
TableLogOnInfo myTableLogonInfo = tabella.LogOnInfo;
myTableLogonInfo.ConnectionInfo = crConnInfo;
tabella.ApplyLogOnInfo(myTableLogonInfo);
Thanks
TeresaWithout trying to parse through all of your code line by line, you seem to be trying to set the database by connecting to the database directly and then you pass it a datatabe. You should pick one or the other and try it.
-
Capture an image using the web camera from a web application
Hi All,
Could anyone please share the steps what have to be followed for capture an image using the web camera from a web application.
I have a similar requirement like this,
1) Detect the Webcam on the users machine from the web application.(To be more clear when the user clicks on 'Add Photo' tool from the web application)
2) When the user confirms to save, save the Image in users machine at some temporary location with some unique file name.
3) Upload the Image to the server from the temporary location.
Please share the details like, what can be used and how it can be used etc...
Thanks,
Suman1) Detect the Webcam on the users machine from the web application.(To be more clear when the user clicks on 'Add Photo' tool from the web application)There's not really any good way to do this with JMF. You'd have to somehow create a JMF web-start application that will install the native JMF binaries, and then kick off the capture device scanning code from the application, and then scan through the list of devices found to get the MediaLocator of the web cam.
2) When the user confirms to save, save the Image in users machine at some temporary location with some unique file name.You'd probably be displaying a "preview" window and then you'd just want to capture the image. There are a handful of ways you could capture the image, but it really depends on your situation.
3) Upload the Image to the server from the temporary location.You can find out how to do this on google.
All things told, this application is probably more suited to be a FMJ (Freedom for Media in Java) application than a JMF application. JMF relies on native code to capture from the web cams, whereas FMJ does not.
Alternately, you might want to look into Adobe Flex for this particular application. -
View dimension hierarchy using the filter property of data form
Hi,
I created a data form where I want to show the dimension hierarchy. But when I am filtering the form using attribute dimension then the hierarchy is not being shown in the form.Is their any way so that I can use the filter property also and make the dimension hierarchy visible in the data form?
Thanks.847833 wrote:
Hi Endy,
Thanks for your reply. I have used the "equal" function as to set that specific attribute as I am choosing the descendants function against the attribute dimension,it's showing error.Hi,
What's the error ? You have to use a function, otherwise it will only display the member you picked.
Actually in our dimension structure we have a 3 generation hierarchy and the attribute is only associated with the 3rd generation member. So we want to display the 3rd generation having the specific attribute "xx" wit the entire hierarchical structure in our data form.
Can you please tell me if I have missed anything?
Thanks.If you want to display the attribute value in the form, edit the form, go to the "Layout" tab, and click on your row. On the right side of the screen, you have a section called Display Properties. Check the box called Enable custom attributes, then check your attribute name. Save the form and you will have the attribute value displayed at the right of the member name. -
Using the JMS API in Java EE Applications
Hello to all,
this is some sort of theoretical question.
I been reading the JMS documentation for a while.
1.I could not understand what this statement means :
>
This section describes the ways in which using the JMS API in enterprise bean applications or web applications differs from using it in application clients.
2. What is the difference to use the JMS in java EE web orEJB container and application client ?
Thanks.peterwkc wrote:
Hello to all,
this is some sort of theoretical question.
I been reading the JMS documentation for a while.
1.I could not understand what this statement means :
>
This section describes the ways in which using the JMS API in enterprise bean applications or web applications differs from using it in application clients.
What a developer is allowed to do is different depending on whether they are writing code to run in a container or not. The container already provides lots of services so some code you would write for outside a container is not needed when you write for a container. There are APIs that you are not allowed for in container code if you want to adhere to the spec.
>
2. What is the difference to use the JMS in java EE web orEJB container and application client ?
Thanks.Read more of that document to find out the differences. Application components in Web/EJBs must not create more than one active session per connection while application clients are allowed to do so. -
Using MS Access as backend in Webdynpro Application
hi guys,
I am creating a application in webdynpro in which i want to use MS Access as Backend, so can u please tell how to use MS Access as backend.
What all needs to be done and where the database file needs to be stored etc. please give me all the details...
thanks in advance
Gaurav MakinHi Gaurav,
It is pretty easy to use the MSAccess as a back end from the webdynpro applications. Take the driver as a JDBC-ODBBC driver and creat the alias name for the database server to use as a data source.Select the model as a Beanmodel while creating a model in the Webdynpro explorer.
please find the below code which will help you lot.
Please let me know if you need any further information.
package com.accenture.radar.project;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import javax.naming.InitialContext;
import javax.sql.DataSource;
@author suvarna.chittoor
To change the template for this generated type comment go to
Window>Preferences>Java>Code Generation>Code and Comments
public class ProjectBean {
private String name;
private String description;
private String du;
private String saveOrUpdate;
static DataSource dataSource;
private Connection connection;
private ResultSet rs;
private ArrayList duArrayList =new ArrayList();
private ArrayList projectArrayList =new ArrayList();
public ProjectBean()
try
//code to look up the datasource
InitialContext initialContext = new InitialContext();
dataSource = (DataSource)initialContext.lookup("jdbc/aliasforradar");
catch(Exception e)
System.err.print("Error Message"+e.getMessage());
public static Connection getConnection() throws SQLException, ClassNotFoundException
System.err.println("In Get Connection");
java.sql.Connection connection = null ;
try
connection = dataSource.getConnection();
catch (SQLException e)
System.err.println(e.getMessage());
throw e;
System.err.println("After getting Connection from the datasource");
return connection;
public void getDUInformation()throws SQLException, ClassNotFoundException
connection = getConnection();
PreparedStatement ps= connection.prepareStatement("select distinct name from du");
rs=ps.executeQuery();
while(rs.next())
duArrayList.add(rs.getString("name"));
ps.close();
connection.close();
public void saveProjectDetails() throws SQLException, ClassNotFoundException
Connection connection = null;
if(saveOrUpdate.equalsIgnoreCase("Save"))
connection = getConnection();
PreparedStatement ps =
connection.prepareStatement(
"insert into project values(?,?,?)");
ps.setString(1, getName());
ps.setString(2, getDescription());
ps.setString(3, getDu());
ps.executeUpdate();
connection.close();
ps.close();
else
connection = getConnection();
PreparedStatement ps =connection.prepareStatement("update project set du=?,description=? where name='"name.trim()"'");
ps.setString(1,du);
ps.setString(2,description);
ps.executeUpdate();
connection.close();
ps.close();
public void getProjectDetails() throws SQLException, ClassNotFoundException
Connection connection = null;
connection = getConnection();
PreparedStatement ps=connection.prepareStatement("select name,description,du from project");
rs=ps.executeQuery();
while(rs.next())
Project_HelperClass proj= new Project_HelperClass();
proj.setName(rs.getString("name"));
proj.setDescription(rs.getString("Description"));
proj.setDu(rs.getString("du"));
projectArrayList.add(proj);
ps.close();
connection.close();
public void getProjectInformation()
throws SQLException, ClassNotFoundException {
Connection connection = null;
connection = getConnection();
PreparedStatement ps =
connection.prepareStatement("select description,du from project where name='"name"'");
rs = ps.executeQuery();
while(rs.next())
this.description=rs.getString("description");
this.du=rs.getString("du");
connection.close();
ps.close();
@return
public String getDescription() {
return description;
public void deleteProject() throws SQLException, ClassNotFoundException
Connection connection = null;
connection = getConnection();
PreparedStatement ps=connection.prepareStatement("delete from sme_support where project = '"name"'");
ps.executeUpdate();
PreparedStatement ps1=connection.prepareStatement("delete from wbse where project = '"name"'");
ps1.executeUpdate();
PreparedStatement ps2=connection.prepareStatement("delete from supervisor where project = '"name"'");
ps2.executeUpdate();
PreparedStatement ps3=connection.prepareStatement("delete from du_lead where project = '"name"'");
ps3.executeUpdate();
PreparedStatement ps4=connection.prepareStatement("delete from project where name = '"name"'");
ps4.executeUpdate();
connection.close();
ps.close();
ps1.close();
ps2.close();
ps3.close();
ps4.close();
@return
public String getDu() {
return du;
@return
public ArrayList getDuArrayList() {
return duArrayList;
@return
public String getName() {
return name;
@param string
public void setDescription(String string) {
description = string;
@param string
public void setDu(String string) {
du = string;
@param list
public void setDuArrayList(ArrayList list) {
duArrayList = list;
@param string
public void setName(String string) {
name = string;
@return
public ArrayList getProjectArrayList() {
return projectArrayList;
@param list
public void setProjectArrayList(ArrayList list) {
projectArrayList = list;
@return
public String getSaveOrUpdate() {
return saveOrUpdate;
@param string
public void setSaveOrUpdate(String string) {
saveOrUpdate = string;
Thanks and regards
Ratnakar reddy alwala -
How to implement the documentation help function for webdynpro application
We have implemented SAP Travelmanagement ESS services which uses ABAP Webdynpro. In each of the screen there is a "help" link on the top right corner. I would like to know how to use this function to link a help file that explains what needs to be done on each screen.
My requirement is to provide screen specific help information as a document for each of the screen in my webdynpro application.
Any suggestions, options, samples from the experts would be most appreciated.
Regards
VivekHi Vivek,
seems to be your WDA are built by FPM, thats how by default you will be getting help link in top corner.
when you click on help link it has to display the help related data.
for this sap calls the standard wdc: WDHC_COMPONENT and the view:WDHC_APPL_HELP in this view you will see the element as: TEXT to fill some text which is your help data.
there might be some way to fill this TEXT (text view) try this.
or else i will check and upate you soon.
all the best.
Regards,
Mahesh.Gattu -
Can I use the Apple Loops in my iPhone application ?
Hi,
I use the Apple Loops for GarageBand to create my application soundtrack. But I don't know if I have the rights to do it.
Someone can say me if I can ?
Thank you !You can include the loops as part of your own soundtrack. But that soundtrack must be an original work. You cannot redistributed the loops by themselves. You have to make some new composition with them.
-
Tutorials for using the UI element "Network" in webdynpro.
Hello,
Where can I find tutorials or illustrations of using the Active component/UI element "Network" in webdynpro.
Regards,
Anupama.This is the only video tutorial that I know of:
http://tv.adobe.com/watch/insights-on-acrobat-solutions/introducing-adobe-reader-for-ios/
Unfortunately, that is fairly old and doesn't cover any of the editing features. More tutorials would be a great idea: Thanks for the suggestion. As for changing the color and size of a freehand drawing, please tap on the drawing. This should show a menu from which you can choose "Delete, Thickness, Color, Opacity". Once chosen, we will remember your choice for subsequent drawings. Hope this helps! -
I am making an application, that is used for distribution, to create a palette. In my VI I take the VIs in a file and create a palette with them using the write palette VI. When I run the VI it works perfectly, but when I build it into a .exe I get the attached error. Is there a way around this?
Attachments:
Write Palette error.PNG 10 KBThat makes sense that it doesn't work because you aren't running it inside of LabVIEW. Therefore, there is no palette to write to. What you could do is create a *.mnu file and just put it in a location so that LabVIEW will notice it next time it is started.
If LabVIEW is running, you may be able to invoke the paltte write or refresh via VI Server.
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines -
Problem in OOPs ALV using the BOX_FNAME property in LAYOUT
Hello Guys,
I am trying to use the property BOX_FNAME property in the LAYOUT of OOPs ALV, as a CHECKBOX for selecting the records and then processing the selected records.
Also i need to implement the functionality of SELECT/DESELECT ALL.
Below is the code i am using:-
DATA : w_layo TYPE lvc_s_layo. " Layout
w_layo-box_fname = 'MARKE'.
MARKE is a field used in internal table as CHAR01 field.
But know when i select record on display, the internal table field MARKE is not reflected back with the values.
Please suggest if i am missing something.
Thanks in advance.
Regards,
Tarun GambhirSolved by own, using method GET_SELECTED_ROWS of class CL_GUI_ALV_GRID.
Regards,
Tarun -
How to disable the right click options in webdynpro applications
hi
i want to disble the right click options in the webdynpro applications.
kindly help me soon.
thanks,
gupta.Hi..
Do u got to know how to disable right click option in Webdynrpo application.
If so, then kindly help me.
Regards,
Yugesh A. -
Using the VI Analyzer in a built application
I have a application that is being designed for a continuous integration server. This application uses the VI Analyzer API (Labview 2009 at the moment) to run a set of tests on a folder of VIs. The issue is that when the program is run as VI everything is happy, the folder is added using the "VIAn Add Item.vi" and the task runs on the four VI's in the folder. But when the VI is built and ran as an exe, "VIAn Add Item.vi" appears to add the folder but the no vi's are analyzed and if a specific VI is given then error 53 is thrown by "NI_FileType.lvlib:Get File Type.vi". Is this simply a case of not being able to use the VI Analyzer API in a built application that is being run as a exe? I attached the front panel of the built app after it has been run and the back panel of the source code in question; there is more to it the rest of it is just for determining the paths to scan.
Solved!
Go to Solution.
Attachments:
fp of built app.png 96 KB
bp of built app.png 23 KBIt was decided the installing the editor environment on the server would not be a big deal, so I was able to get it working by writing a batch file that calls labview, passes the vi to it to be opened, and passes any user-defined augments to the vi. In the VI, I set the "run-on-call" option to true, and added a "quit Labview" block at the end. This way it "acts" like a built program, just with a long startup time.
I know its not ideal or "correct" (if there is such thing when using a product in a way that it not indented) but it only needs to be on the one server so in this case it is fine.
In the future this functionality (using the VI Analyzer API from within a built application) might be a nice thing to add to software validation tool set that is already in place, if its possible. (It may not be)
Anyway just my 2 cents on the subject, thanks for the help and quick responses.
- Christoher -
Using the click property in a SWFLoader
I'm using a SWFLoader to load a flash made button. I thought
I would've no problem navigating from one screen to another by
clicking on the SWFLoader, but the click property just doesn't seem
to work, eventhough I'm using a model locator and methods that I've
used several times before for navigation with no problem at all.
Is there anything special that needs to be done in this
case?I tried with a sample and it seems to work.
Some points which might be worth checking....
1. Have you tried a sample app and found it working ?
2. Is the Flash SWF being loaded into a different
SecuritySandbox ?
3. If answer for 2 is YES, have you called
Security.allowDomain() for the domain of the loaded SWF?
More explanation here under the Event security section
http://livedocs.adobe.com/flex/3/html/05B_Security_08.html#129093 -
How to use the FORMAT property of an account dimension
Hi Experts,
I tried my best but I just can't find any information about the format property of an account dimension. I know that it is a reserved one and I have seen something such as #,##0. In detail I want inc member to look like 1.000.000 and exp member like -4.000.0000.
This is probably a stupid question.
Thanx in advance,
CoraHi Cora-
These are Excel custom formats..please review the following link for detailed information:
[Custom Number Formats in Excel|http://www.ozgrid.com/Excel/CustomFormats.htm]
For your specific example: ###,###,### for INC and -###,###,### EXP should be sufficient.
Regards,
Sheldon
Maybe you are looking for
-
i try and open my email on my mac and nothing comes up. itll show mail in the bar above. it wont even let me shut my mac off because it says i need to quit mail and i got to quit and it won't do a single thing!
-
ITunes won't recognize iPod, iPod charges but won't play
When I connect my nano, it goes to the Do Not Disconnect screen, but my iTunes does not recognize the nano, so I can't update songs/playlists. It charges, but when I try to play - after I select a song - it goes to that song, but doesn't play and the
-
How do I disconnect./eject my new ipodnano after I had synched my playlists (from itunes library on my computer). Itunes message - CANNOT BE EJECTED BECAUSE IT CONTAINS FILES THAT ARE IN USE BY ANOTHER APPLICATION:. This is after my synch was succesf
-
Does the source code for the standard java libraries come with the sdk? I thought that was the whole point of an sdk, but when using eclipse, it says it cant find the source (in rt.jar), and just gives me an outline of the class. Do I separately have
-
Is their a way that you can change the language when you import cd's into itunes? I try to import my anime soundtracks into itunes and some of the songs have the little squares that translates into that language. In my case, the tracks are in japanes