WebDynpro Application Performance
Can any one guide me how to check WebDynpro Application Performance. I have application which refreshes every 1 hour. There are 1500-2000 users for this. Can any one guide me how to monitor and do changes for streamlining performance?
Also my application is using both VC and webDynpro in one page.
Thanks in advance
To can check the performance of the webdynpro application follow the procedure mentioned in the link below.
/people/bertram.ganz/blog/2006/11/21/analyzing-web-dynpro-java-application-performance-with-a-simple-url-parameter
Similar Messages
-
SSO b/w portal and webdynpro application customized login??
Hi,
I have one webdynpro application which has a login screen (Created as Webdynpro view). If user enters user/passord, the same gets checked from a custom table in the db (Method for checking user credtentials has been written in view controller). if user credentials are correct it performs some actions defined in webdynpro application.
I want to configure SSO b/w portal and this webdynpro application sothat when user logon to the portal and open this webdypro application, Login page of webdynpro application should not be shown i.e user credentials should be passed from portal and corresponding authentication method in webdynpro should be called to authenticate the user.
How to do the same without touching webdypro application ?
Can we call a method of webdynpro application from portal?
Regards
Deepak1) To enable ticket authentication for the web dynpro iviews, you must maintain the definition of the system running the Web Dynpro application and set logon method to "SAPLOG"
2)Since you have customized login screen, you need to bypass this screen manually when you login from portal.
Add parameter to the application while defining the iview.Give some constant value.
Check value of this parameter in webdynpro and fire to next view. -
Webdynpro application time out in portal
Hi all,
I am trying to perform a batch of process in my webdynpro application.
I selected 100 records in my view which are displayed in a table ,for updateding..
Upon selction of these 100 recoreds and on click of submit it is giving portal
time out after a few seconds..
where the problem can be??Is it in front view(webdynpro code means giving the selected records as input to the function module) or at the backend(mesns at BAPI's)
Can anyone please tell me where problem might be ??
Regards
Padma NHi all,
I am trying to perform a batch of process in my webdynpro application.
I selected 100 records in my view which are displayed in a table ,for updateding..
Upon selction of these 100 recoreds and on click of submit it is giving portal
time out after a few seconds..
where the problem can be??Is it in front view(webdynpro code means giving the selected records as input to the function module) or at the backend(mesns at BAPI's)
Can anyone please tell me where problem might be ??
Regards
Padma N -
How to add attachments to Webdynpro Application?
Hi All,
I have a requirement wherein I need to add supporting documents to a Webdynpro application online. The attachments can be of any type and any number of attachments can be added. If any of you had worked in such a kind of requirement please give some inputs.
Thanks
SubathraHi,
i think we can't add an attachment here rathere we can upload the file to to applicarion server
you can do as below
1. create a file upload UIElement.
2.capture the file name in to context element
3.use the following code on your action
DATA: it_bdcdata TYPE TABLE OF bdcdata,
wa_bdcdata TYPE bdcdata,
it_messtab TYPE TABLE OF bdcmsgcoll,
wa_messtab TYPE bdcmsgcoll.
DATA: MSG_TEXT(200) TYPE C.
PERFORM BATCH_INPUT.
CALL TRANSACTION 'CG3Z'
USING IT_BDCDATA
MODE 'A'
UPDATE 'S'
MESSAGES INTO IT_MESSTAB.
LOOP AT IT_MESSTAB INTO WA_MESSTAB.
CALL FUNCTION 'FORMAT_MESSAGE'
EXPORTING
ID = WA_MESSTAB-MSGID
LANG = WA_MESSTAB-MSGSPRA
NO = WA_MESSTAB-MSGNR
V1 = WA_MESSTAB-MSGV1
V2 = WA_MESSTAB-MSGV2
V3 = WA_MESSTAB-MSGV3
V4 = WA_MESSTAB-MSGV4
IMPORTING
MSG = MSG_TEXT
EXCEPTIONS
NOT_FOUND = 1
OTHERS = 2.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
WRITE:/ MSG_TEXT.
ENDLOOP.
*& Form BATCH_INPUT
text
--> p1 text
<-- p2 text
form BATCH_INPUT .
PERFORM bdc_dynpro USING 'SAPLC13Z' '1020'.
PERFORM bdc_field USING 'BDC_CURSOR'
'RCGFILETR-FTFTYPE'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=EIMP'.
PERFORM bdc_field USING 'RCGFILETR-FTFRONT'
*HERE PASS YOU FILE NAME .
PERFORM bdc_field USING 'RCGFILETR-FTAPPL'
HERE PASS THE FILE NAME ON THE APPLICATION SERVER
PERFORM bdc_field USING 'RCGFILETR-FTFTYPE'
'BIN'.
PERFORM bdc_dynpro USING 'SAPLSPO1' '0300'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=YES'.
perform bdc_dynpro using 'SAPLC13Z' '1020'.
perform bdc_field using 'BDC_OKCODE'
'/EECAN'.
endform. " BATCH_INPUT
*& Form BDC_DYNPRO
text
-->P_0112 text
-->P_0113 text
form BDC_DYNPRO using program
dynpro.
*Fill internal table with program name and screen number
CLEAR WA_BDCDATA.
WA_BDCDATA-PROGRAM = PROGRAM.
WA_BDCDATA-DYNPRO = DYNPRO.
WA_BDCDATA-DYNBEGIN = 'X'.
APPEND WA_BDCDATA TO IT_BDCDATA.
endform. " BDC_DYNPRO
*& Form BDC_FIELD
text
-->P_0117 text
-->P_0118 text
form BDC_FIELD using fnam
fval.
CLEAR WA_BDCDATA.
WA_BDCDATA-FNAM = FNAM.
WA_BDCDATA-FVAL = FVAL.
APPEND WA_BDCDATA TO IT_BDCDATA.
endform. " BDC_FIELD
Thanks,
Shaik Shadulla. -
Display Smartform Pdf output in ABAP Webdynpro application
Hello,
there is a solution for displaying Smartform output in Java Webdynpro application in this forum. Since i want to start an project in ABAP Webdynpro i need a solution for this technology since i don't want to recreate all the paperwork again using Adobe. Is there any solution available?
Thanks
Udo AhleHello,
this is the solution which i was able to implement using the hints given by Heidi and Thomas. Thank you for the support. With this solution it is possible to reuse oldstyle sapscripts and smartforms in todays environment. Here is the sample code which solves the problem:
In WDA you define for example a pushbutton to start the display of the PDF.
In the onaction method you implement:
method ONACTIONSHOW_PDF .
data LX_pdf type xstring.
* get PDF from existing sapscript or smatform
call function 'Y_PDF_GET' destination '46c'
IMPORTING
ex_PDF = LX_PDF.
* append the pdf to the response
cl_wd_runtime_services=>attach_file_to_response(
i_filename = 'Hello.PDF'
i_content = lx_pdf
i_mime_type = 'application/pdf'
i_in_new_window = 'X'
i_inplace = 'X' ).
endmethod.
The function 'Y_PDF_GET' is implemented as follows:
FUNCTION Y_PDF_GET .
*"*"Local interface:
*" EXPORTING
*" VALUE(EX_PDF) TYPE XSTRING
*" TABLES
*" ET_OTF STRUCTURE ITCOO OPTIONAL
data: lf_filesize type i,
lt_otf type table of ITCOO,
lt_lines type table of tline,
tline type tline.
* start sapscript or smatforms and return
perform make_otf.
CALL FUNCTION 'READ_OTF_FROM_MEMORY'
TABLES
OTF = lt_otf
EXCEPTIONS
MEMORY_EMPTY = 1
OTHERS = 2
et_otf[] = lt_otf.
CALL FUNCTION 'CONVERT_OTF'
EXPORTING
FORMAT = 'PDF'
* MAX_LINEWIDTH = 132
* ARCHIVE_INDEX = ' '
IMPORTING
BIN_FILESIZE = lf_filesize
TABLES
OTF = lt_otf
LINES = lt_lines
EXCEPTIONS
ERR_MAX_LINEWIDTH = 1
ERR_FORMAT = 2
ERR_CONV_NOT_POSSIBLE = 3
OTHERS = 4
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
* convert tline to xstring as needed in
* in web dynpro
field-symbols <X>.
data: st(268) type c.
data l1 type i.
data len type i.
data maxline type i value 134.
l1 = 0.
loop AT lt_lines INTO tline.
clear st.
st+l1(maxline) = tline.
len = maxline + l1.
l1 = maxline - strlen( tline ).
ASSIGN st TO <x> TYPE 'X'.
CONCATENATE ex_pdf <x>(len) INTO ex_pdf.
endloop.
ENDFUNCTION.
The make_otf for sapscript is the following:
* the next attribute enables the otf output.
* no other output will be generated
<b>options-TDGETOTF = 'X'</b>
CALL FUNCTION 'OPEN_FORM'
EXPORTING
* APPLICATION = 'TX'
* ARCHIVE_INDEX = ARCHIVE_INDEX
ARCHIVE_PARAMS = ARCHIVE_PARAMS
DEVICE = DEVICE
DIALOG = ' '
FORM = FORM
LANGUAGE = language
OPTIONS = OPTIONS
* IMPORTING
* LANGUAGE =
* NEW_ARCHIVE_PARAMS =
* RESULT =
EXCEPTIONS
CANCELED = 1
DEVICE = 2
FORM = 3
OPTIONS = 4
UNCLOSED = 5
OTHERS = 6.
*... make some write forms
data lT_OTF type table of ITCOO.
* get the otf data
CALL FUNCTION 'CLOSE_FORM'
* IMPORTING
* RESULT = result
TABLES
OTFDATA = lt_otf
EXCEPTIONS
UNOPENED = 1
OTHERS = 2.
* put otf into memory for later usage
if not lt_otf is initial.
CALL FUNCTION 'SAVE_OTF_TO_MEMORY'
* EXPORTING
* MEMORY_KEY = 'DEF_OTF_MEMORY_KEY'
TABLES
OTF = lt_otf.
endif.
For Smartforms technology it is possible to implement the same concept. -
How to Trace ABAP Webdynpro Application?
Dear Friends,
We are trying analyse performance bottle neck for ABAP Webdynro application.
We have an Webdynpro Application named Z_APPLICTION_URL in NW 7.0 SP16 which is calling 4 RFC's in R/3 4.7 to fech data. Users lauch this application using URL configured in SICF. As there are some performance issues I would like to run trace for the complete call.
I would appreciate if any one please let me know how to run trace for these kind of scenarios.
Thank You.
Regards,
VenkatHi Prasad,
Step1: Runtime analysis using SE30 can help you to list out the extreme performance pitfal based on classifications like Methods, FMs & Reads in you WD application. All you can do is to activate the trace for your user and run the application and start analysing.
Apart from this there are various other ways like st05, wd trace tool which would be next moves in your activity.
Let me know incase any issues with step1 -
How to redirect to portal iview from a stand alone webdynpro application
Hello,
I need to able to navigate from a standalone webdynpro application, for which I do not want to create Portal iview, to a Portal iview with some data.
Please let me know how can I pass the string value and how to navigate.
Thanks,
VinitVinit,
You're walking in circles. There is no magic answer to this problem. Web Dynpro is not an application of communication / interface with other applications, but a presentation layer for the user.
To perform this procedure interaction (simulating an ajax) you will need to use a middleware interface (CAF, EJBs, or any other technology that communicates directly with the Web Dynpro), or use the version 7.2 of Web Dynpro (maybe that solves their problems).
If only the external page you need to open did not have the user interaction (just loading and returning information) you could consume it like a WebService.
without more,
Angelo -
Webdynpro application deployment problem
Hi, I am tring to deploy webdynpro application using netweaver studio 2004 version, and using ep6.
when I deploy and run application , I get following error:-
URL to deploy : file:/C:/DOCUME1/PROCES1/LOCALS~1/Temp/temp32470a.ear
Result
=> deployment aborted : file:/C:/DOCUME1/PROCES1/LOCALS~1/Temp/temp32470a.ear
Aborted: development component 'a'/'local'/'LOKAL'/'0.2006.09.28.23.40.19':
Caught exception during application deployment from SAP J2EE Engine's deploy service:
java.rmi.RemoteException: Only Administrators have the right to perform this operation.
(message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)
1.
why does it say only administrator can deploy? I am uing login which has admin rights.
2. is there any other way to deploy ear file? using some SDM or other way? How?I tried using SDM, same error message: only adminsitrators have rights to perform this action.
I think, I am not able to access J2EE engine.
How to get J2EE engine access?
Message was edited by: Ankit -
Appraisal documents with Webdynpro application
Hi All,
in my system i can see some of the webdynpro application for appraisals
e.g.
HAP_START_PAGE_UI with application hap_a_ess_start_page
HAP_DOCUMENT_LINK with application hap_document_link
etc..
but when i am trying to run the application i am getting the error message
Error when inserting or changing in a sorted table
I have already created the appraisal template and all and those are running with the hap_document_pa BSP application.
I just have the requirement of look and feel changes so i want to check this out.
Regards,
Umesh Chaudhari.Hi,
An objective setting cycle encompasses the following phases:
Planning
In a planning consultation, the necessary qualifications and competencies are first identified for an employee and then concrete objectives and required performance levels are agreed. For example, sales targets could be defined and the employee could agree to take on specific tasks in a project, and so on. These aspects can be defined by the manager, by the employee or both. The employeeu2019s personal training and development requirements are discussed and entered in the objective setting agreement.
Review
During the review, the objectives agreed with the employee during the planning phase are checked and adjusted to reflect the current situation. The manager and employee discuss the possible need for support, establish whether the objectives defined in the planning phase are still relevant, and add further objectives or decide to delete obsolete ones. Furthermore, the manager can make comparisons between the objectives set previously and the employeeu2019s current performance.
Appraisal
During the appraisal, the manager and employee discuss the extent to which the employee has fulfilled the set objectives. They check and assess the employeeu2019s overall performance and the implementation of concrete set objectives. Any further training requirements or an overfulfillment of the objectives are identified in the different areas. The appraisal document is completed when the manager and employee agree on an valuation. As soon as the appraisal document is saved in the system as Completed or Approved, the employeeu2019s compensation can be adjusted automatically and the employeeu2019s qualifications profile can be updated
Get the proper information from following .
https://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=53773. -
Webdynpro Application slowness
Hi everyone,
I am working in Netweaver 7.0
I have a webdynpro application which uses ARFC in order to execute a BAPI model object connected to the Action handler of a button.
The response, after the button is clicked for the firsttime , is taking a long time.
But once the response has been shown, the subsequent execution of the model object takes very less time.
Why is this difference?
Is there anything we can do to improve this ?
Share your ideas,
Thank youHi,
The following comments I will make is based on my experience.
As per your hyperlink, you would be right. Having "many" FM's per "Model" would be "best practice", but I think this takes into consideration only connection pooling.
In the real-world, this leads to inflated Models, barely re-usable, very 'costly' in Development Time, Build Time and Deployment Time. A fine tuning of JCO Connections is usually better than follow that (again, this is my opinion as a software developer).
Another thing you should be aware of is how the underlying layer works (JCO). If the Model has never been used (Not Cached!) it will take expensive time to build the metadata and modeldata into the destinations. As a 'work-around', (I've never did this, I'm not even sure if this would work) is to create a J2EE Application and 'read' the whole thing at server startup.
Also, be sure to be "caching" both destinations, this is a good 'performance' improvement.
Hope this information helps somehow,
Daniel -
How can i run Webdynpro application
How can i run Webdynpro application without using Developer Studio? Where should i put a whole project and how shoud i start it.
Thanks!
MaciekHi Maciej
You wouldnt require a Developer Studio to run you
application.But you would require it to deploy (if are
using the JDI ,atleast to perform an Activation).
However you can launch the application once deployed
through the Web Dynpro Content Administrator
http://<servername>:50000/webdynpro/welcome/
The deployed applications are present on the
lefthandside. They can be expanded to drill down to the
Application and the press Run
Regards
Pran -
DeBugginng The WebDynPro Application
Dear Gurus,
Im new to WebDynPro for Java , i want to know to debug the application , please any one of you can explain inn detail.
what is the difference NWDS and NWDI?
Thanks in advance,
PhaniHello Phani,
To be able to debug within a running Webdynpro application, you must activate debugging of the server processes of J2EE engine.
This will be done in J2EE engine View.
Follow:-
a) Window --> Show View --> Other and then select J2EE --> J2EE engine.
Choose ok to confirm your entries.The system displays a view containing status information about the running J2EE engine.
b) expand the tree display fully until you can see the actual server processes.
c) Right click the server node and then choose Enable Debugging of Processes from the context menu.
Now, Setting a Breakpoint:-
a) Choose the place where you want to set the breakpoint. Right click on the marker bar, frame next to the line of code to open the context menu and choose add breakpoint (highlighted blue dot will appear)
Hope this helps, with respect to debugging.
NWDS:- SAP NetWeaver Developer Studio is used as an integrated development environment (IDE) which incorporates NWDI. The SAP solution is designed so that the developer can perform almost all his tasks within the development environment. Access to separate interfaces and the relevant services is only required in exceptional cases such as when having to adhere to a role concept with a manager for transporting applications. SAP NetWeaver Developer Studio is based on the platform of the Eclipse open-source development project. Using its plug-in mechanism, it supports a variety of development tasks and perspectives of the individual development objects.
NWDS is just a development environment with all robust development tools.
It can run j2ee,j2se and sap applications also.
It is an interface to access NWDI services and applications
NWDI:- NWDI is Netweaver Development Infrastructure.
NWDI provides an infrastructure to develop Java applications on netweaver platform and is responsible for versioning,building and lifecycle management of these applications developed.
It has mainly three components :
DTR(Design time repository) : for versioning of any file altered.
CBS(Component build service) : for building application in central build environment.
CMS(change management service):to transport and setup logical landscape.
[NWDI Basics|http://help.sap.com/saphelp_nw2004s/helpdata/en/44/312b1a8bea3ec8e10000000a1553f6/frameset.htm]
Hope this helps,
Regards,
Shailesh -
How to convert WebDynpro Application into Webservoce
HI Experts,
I have one WebDynpro Application which has the functionality of search Using KM Index Management API's.
This performs the search in portal using TREX.
My requirement is to use this functionality in sharepoint portal(Microsoft Product).
From this sharepoint portal they want to use this search application to search in portal.
Now my choice is to convert this WebDynpro application into webservice so that , share point server guys can call webservice to use that search application.
How can I Convert my webdynpro application into webservice?
Any other ideas?
Thanks in advance
Regards
Bala
which needs to be converted intoHi Bala,
I think there is no possibility as for your query. You will be allowed to create a webservice which is a piece of code that can be applicable to required application. Gothrough the following link to know clear details about webservice.
http://help.sap.com/saphelp_nw04/helpdata/en/84/54953fc405330ee10000000a114084/content.htm
download.microsoft.com/download/f/3/7/f371bbba-2341-41bf-822d-2c7dd4174756/UI_CreateWebServices_5min.ppt
Regards,
Harish -
Web dnypro Application performance
I am interested in comparison of performance of 2 web dynpro applications .
I have already gone through the following blog :
/people/bertram.ganz/blog/2006/11/21/analyzing-web-dynpro-java-application-performance-with-a-simple-url-parameter
Is there any method or tool other than this by which i can compare the performance of two web Dyn applications in terms of response time or some graphical interpretaions .Hi Purav,
Please go through this Link,
<a href="http://help.sap.com/saphelp_nw04/helpdata/en/bb/fdc4402418742ae10000000a155106/frameset.htm">Measuring Performance of Webdynpro Allpications</a>
Regards,
Ramganesan K. -
To get login details of portal into webdynpro application
Hi All,
How to get the portal login details(user name) into my webdynpro application.
Thank you,
Harsha P.Hi,
If you want to have portal login details from backend system (with ABAP) you should ask this question in some portal forum and ask if it is possible. This has nothing to do with workflow or UWL. Even if you get the portal user ID to the backend system, then what? Do you want to manipulate the portal roles etc. from your ABAP WD application? Then you will have even more complicated requirements to achieve with ABAP. It is not that straightforward to call different portal functionalities from backend system. You might need to do some "portal development". And eventually your ABAP WD application might come just an unnecessary wrapper component for calling some web services or whatever in portal.
Regards,
Karri
Maybe you are looking for
-
Create link in detailled level navigation after creating BSP iview
Hi All, I have created few bsp iview in portal. After assigning these iview to role, a create link is unnecessary visible in detailled navigation. I would like to hide it. I have tried to play with iview properties but no luck please advice. Regards
-
PININST_BBV recovery error HP ENVY
Hi all, i've ordered the recovery kit (usb) for my hp envy 15, it goes through the software installation and restart a few times it even goes through the Windows 8 administrator login but it stop with the ChkErrBB.CMD detecting some error during PINI
-
My PC Windows 7 hard drive crashed. I have a new hard drive. But i lost all my CD's that i had burned onto iTunes. They are all still on my iPhone 4s, but when i sync, only the purchased songs will import. Is there anyway to retrieve them? Thank
-
Organization Hierarchy related setup for Item Organization Assignment prog
Hi, Could someone please help us with this..we have a Master org M1 , a child org C1 already existing and has items already assigned to it. Now we have created a new org :C2 with the Master org still as M1. Now we want to assign all the items current
-
Just restored itunes on my computer and upgraded to ios 6. When I synch'd my iphone 4, most all of my apps got wiped out!!! Literally everything I downloaded from istore is gone. Went to itunes and re-synched thinking everything might be restored aut