URL shortcuts for webdynpro applications
I would like to have a iview as shortcut to windows desktop which receives parameters in URL.
How can we achieve this.
Thanks
Hi Ayyapparaj,
Thanks for the reply...i have used the code given by you...and i got an error
"com.sap.tc.webdynpro.services.exceptions.WDIllegalArgumentException: Invalid deployable object part type: Component"
i have included this code in component controller in Modify View method
try{
WDDeployableObjectPart deployableObjectPart = wdThis.wdGetAPI().getComponent().getDeployableObjectPart();
String appURl = WDURLGenerator.getApplicationURL(deployableObjectPart);
wdComponentAPI.getMessageManager().reportSuccess(appURl);
catch(Exception ex)
throw new WDRuntimeException(ex);
Please let me know how to proceed further
Thaks & regards
Swetha
Edited by: Swetha Nellore on Feb 24, 2009 10:04 AM
Similar Messages
-
WD ABAP - Reading the URL Parameters for FPM application
Hi,
As per the Custom requirment,
I want to pass URL parameters for WD ABAP application (sap/bc/webdynpro/dbm/app_veh_cus_search) which uses FPM.
example: sap/bc/webdynpro/dbm/app_veh_cus_search?Customer=12345&fromExternal=true
I am facing difficulty in reading the URL parameters.
How to read/get the URL Parameters for an FPM WD ABAP application????
Observation:
I tried reading the parameter in Window --> HANDLEDEFAULT method. But could NOT read the Parameters from here for FPM application whereas if I create a Z Custom application then I could read the URL Parameters. so the issue is in reading the URL Parameters for FPM application.
Kindly support
Regards,
HussainHi Hussain,
You can do this either with the methods of interface if_fpm_parameter...
DATA lo_param TYPE REF TO if_fpm_parameter.
lo_param = cl_fpm_factory=>get_instance( )->mo_app_parameter.
CALL METHOD lo_param->get_value
EXPORTING
iv_key = parameter_name
IMPORTING
ev_value = parameter_value.
or a more generic approach using class cl_wd_runtime_services...
cl_wd_runtime_services=>get_url_parameter
Cheers,
Amy -
Shrinking URL for WebDynpro Application
Hi ,
I'm doing an application in web Dynpro that dispatching to Web by using WEB Dispatcher.Here i want to Supressed the unwanted URL Parameters.
for Example My actual URL looks like this :
http://filqua.Mayo.inet:8080/sap/bc/webdynpro/sap/zdoms?sap-language=EN
i want in this format :
http://doms.Mayo.in
Please help in this issue.
Regards,
MalikHi Rama,
First of all thanks for ur reply....
I found out how to reduce the size of URL with the very informative help from THOMAS JUNG.
Step 1->We need to go to T-code-> SICF .
Step 2->Click on External Aliases button.
Step 3->It will navigate to Maintain external aliases page, over there we will right click on Virtual Host-> Create External Aliases
Step 4-> Enter node name for External Alias and give some description.
Step 5-> Go to Logon Data tab, fill the required information for (Client,User, Password,Language).
Step 6-> Next go to Trg Element tab, drill down for ur created Program i.e (host->sap->bc->webdynpro->ur program)
double click on ur program, save it and click on back menu button.
Step 7->Select ur created external alias name right click and go for Test Ext. Alias.
It will show u the final result , u can check ur final URL with any browser it will work..
Thanks,
Malik -
Error while configuring Debugging for WebDynpro Application
Hi Experts,
I am trying to configure Portal server for debugging a WebDynpro application.
In NWDS , in Debug configuration
When i tried to add my Webdynpro Project and application under Debug tab , No problem.
But when i checked J2EE Engine tab : it showed the following error.
<b>[J2EE Engine]: the selected server node does not run in restricted load balancing mode, please configure it correctly so that the URL extention can be used</b>
And ignoring it when i started debugging the application , the URL was formed like this :
http://<host>:50000/@@@DEBUG@@@7672950/webdynpro/dispatcher
/local/WDtest/WDtest?SAPtestId=1
with the error : The requested resource does not exist.
Details: Go to main page of this application!
Can anybody help me to fix the configuration.
Regards,
Ashish ShahHi,
To configure to the debugging mode... follow the steps:
1. Select "SDM" from J2EE engine (To get this view navigate thru Window--> Show View --> J2EE Engine)
2. Make a right click on "SDM" and choose "Enabling Debugging of Process"
3. Now, Navigate to Run --> Debug --> Select your Project as "Webdynpro Application" and click "new" button
4. Now give some name and Click BROWSE to select ur project and then click APPLY and DEBUG
Or if u use 2004s, then u can do the settings in Portal itself...which gives u more clear information... follow the link
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d0cb32c5-36a7-2910-2c9b-ba4a5bbdbb56">WebDynpro Java Debug Configurator</a>
Hope it helps...
Regards / Guru -
Supporting Environment for WebDynpro applications
Hi All
Please let me clarify my doughts...
1) In local machine where all webdynpro applications stored...I mean I wnat to know path.
2) who(Developer/Administrator) will deploy the webdynpro components and what is the process to deploy webdynpro components in to SAP Enterprise portal.
3) In support environment which tools willbe used to give support for applications, which are developed using webdynpor technology.
I mean how the tickets will be handled,,I worked for some days in java, where in that environment i have used remedy tool to get tickets from the clients.
4) In local environment how can we run and deploy webdynpro applications...
5) Can we use make utility for webdypro applications as we can use for java applications..
Thanks
Seshu..Hey Seshu
1>By default it'll be in
C:Documents and Settings<user>.dtc
2>FYI we dont deploy applications in EP, we deploy in the J2ee engine and portal just a component on top of the java engine.
An Administrator can deploy the applications developed.
or anyone can deploy applications knowing the SDM password
3> am not clear on wat tickets u spekin
4>you need to deploy once in the server and then run the application throught he url generated after deploying.
5>need more clarity..
[Still More Details|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/29fd0ec7-0301-0010-359f-9f50928528db]
regards
Harish
` -
Help Text for Webdynpro Application
Hi Guys,
I've created a "Help" link. clicking on it displays a popup Help_Window. I want to display paragraph of Text in this Help_Window.
Is there any element available where i can enter a paragraph of text ?
( my goal is to create documentation for the application. just like we do documentation for se38 programs )
Your inputs are highly appreciated.
Thanks in Advance.
Arun.Solution :
1. Create MIME to import the help.PDF file which contains documentation to your application
2. In Help_View i have included the element INTERACTIVE_FORM.
3. In method WDDOINIT of HELP_VIEW i have included the following code to call the help.pdf file
data:
mime_repository type ref to if_mr_api,
content type xstring,
url type string value '/SAP/BC/WebDynpro/SAP/WDR_TEST_ADOBE_PDF_ONLY/test.pdf'.
mime_repository = cl_mime_repository_api=>get_api( ).
call method mime_repository->get
exporting
i_url = url
importing
e_content = content.
wd_context->set_attribute( name = 'PDF' value = content ).
4. on clicking the help link from my main window i'm calling the HELP_VIEW as a popup window. in this window it displays the help.pdf file which give the documentation about the application.
check example - WDR_TEST_ADOBE_PDF_ONLY -
Cannot maintain JCO connection for webdynpro application in Portal Admin
I cannot create or modify the JCO connection in Portal Content Admin->the application.name while executing webdynpro application.
There should be a red or green icon Butr in my case for my application ,
The create or test is disbaled .Colored icon is not there.
I am using SAP sneak preview and its first time.Should I check SLD settings.Pls help.
Georgehow to maintain it?
accidently deleted SLD form localhost/sld url and now i cannot change or add the sld.It gives page cannot be displayed.PLs advice how to fix it or should i reinstall it?
George -
How to create the IView and Roles ,User for WebdynPro Application in Portal
Hi,
I have one simple webdynpro application. i want to create the user,Role and Iview for my webdynpro application in the Portal . after that i need to assign the roles to the user and i want to see the different output for each user depends upon the Role.
Can anyone give me Tutorial page(PDF) or Guide me How to do?
Thanks in Advance
Regards
RamkumarHello Ramkumar,
following please find the link to available documentation in SAP Help Portal:
http://help.sap.com/saphelp_nw70/helpdata/en/42/fa080514793ee6e10000000a1553f7/frameset.htm.
Regards,
SAP AG
Gesine Raith -
Callable Object for Webdynpro Application
Hello,
I have a Webdynpro for Java Application where I am importing a model from R/3 and displaying certain records......and want to include it in GP Framework....so which is the Callable Object I should use.....i tried using Webdynpro application type but it gives me the error at runtime while execution as :
Application error occurred during request processing.
Details: com.sap.tc.webdynpro.services.sal.core.DispatcherException: Failed to start deployable object sap.com/home~<webdynpro component name>
Any help would be highly appreciated.
Regards,
AnilHi Anil,
I am also facing a similar problem . Can you please guide how to solve it.
Thanks and Regards,
Anurag -
Quicklink for WebDynpro application
Hi everybody,
I'd like to set up a quicklink to access my WebDynpro application as I can access for example the UME (http://<server>:<port>/useradmin)
How can I build a URI like http://<server>:<port>/myApplication?
thanks in advance
regards
JanHi Jan,
A quick (and dirty) workaround would be to create htm file.
the htm file will contain this:
<html>
<iframe
src="/webdynpro/dispatcher/local/<project name>/<application name>"
width="100%"
height="100%"
scrolling="auto"
frameborder="0"
>
</iframe>
</html>
put the file under
<drive>\usr\sap\<SID>\JC<InstanceNumber>\j2ee\cluster\server<No>\apps\sap.com\com.sap.engine.docs.examples\servlet_jsp\_default\root
Then, you can run your application by:
http://<server>:<port>/<file name>.htm
Omri -
Banner for WebDynpro application
Hi,
How to include banner as header for my WebDynpro application?
Thanks
SivaHi,
I want to place an image as banner to my WebDynpro application.
Currently I have placed the image in header of group element.
When I view the screen in the browser, I am getting space between image and top of the screen.
I want to show the image at top of my screen.
Could you please suggest any solution for this/
Thanks
Siva -
Context Root for WebDynPro Applications
Is it possible to give a custom context root for a WebDynPro Application?
Ex: http://localhost:50000/myapp
Thanks and Regards
ChanduHi,
If u r talking about Custom Controller context , it is possible.For every WD component bydefault one component controller will be there and u can create any no of custom controllers.Both r faceless entyties and work as globel resource for any views in the component.
Regards,
Srikanth Reddy.T -
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 -
Want to load dynamic URL from the WebDynpro application
Hi ALL,
My problem is I developed a WebDynpro application to show the vendor details in the table.
I created a iview in the portal and integrated the webdynpro application. Taken 2 columnwidth page.
In 1 column to showing the vendor details and in another column i want to show the site of the vendor.
Now, In row selection I want to show the homepage of the vendor site in another ivew(2nd column) of the page.
Kindly help me out.
Thanks in advance.Hi,
Please follow the below process for passing data between two webdynpro applications using portal eventing.
Step1:-
Webdynpro Application 1 (Iview1)
Create an input field bind a context variable and have a button and write the following code in the button onaction.
public void onActionOK(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
com.sap.tc.webdynpro.clientserver.event.api.WDPortalEventing.fire("urn:com.sap.tc.portaleventing.example","show",
wdContext.currentContextElement().getHi());
Here Hi-->is the context variable binded to the input field.
Step2:-
WDDOINIT write the following code:-
com.sap.tc.webdynpro.clientserver.event.api.WDPortalEventing.subscribe("urn:com.sap.tc.portaleventing.example","show",wdThis.wdGetRaiseFireAction());
While creating the action it should have the following 3 parameters.
1.dataObject-->Type String
2.namespace-->Type String
3.name-->Type String
Your action code should look like something below.
public void onActionRaiseFire(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent, java.lang.String dataObject, java.lang.String namespace, java.lang.String name )
wdComponentAPI.getMessageManager().reportSuccess("Value in the input field"+dataObject);
Note:-
1.Make sure your using portal along with domain
Eg:-http://portal:50000/irj/portal--->wrong
http://portal.domain.com:50000/irj/portal--->right
2.EPCF level should be 1.
3.Check whether both applications run on the same domain.Sometimes portal eventing does not work between cross domain applications.We should do domian relaxing in order to achieve this.
Thanks & Regards,
Lokesh Kamana -
Keyboard shortcuts for APEX applications
Hi,
I want to add shortcut keys to my APEX application. I have already allowed users to show report, save and delete data using F-keys – I made it with javascript and doSubmit(request) function, invoking pl/sql procedure on F-key press.
Unforutnatelly I don’t know how to invoke something else than pl/sql procedure or request. In my application I have several buttons, most of them are connected to procedures but one, that should have shortcut, invokes JS function. The problem is that I want to have one shortcut function for whole application and put it into library. So that procedures on each page has the same request, and it works very well, but I can’t simulate this way clicking on button with JS. JS invoking by this button is different for each page so I can’t just replace doSubmit() with it.
Do you know any way to simulate clicking on the button or create shortcut for it? Button is displayed as <A> HREF with <IMG>.
Regards,
PrzemekTime and motion studies in terms of Gilbreth‘s therbligs do not favor your approach. The keyboard lies in the heart of the area of minimall motion requirements. The mouse requires more movement to accomplish the same task. It’s all in what’s comfortable with the user, regardless of efficiency, or what the user’s bent may be for finding other ways. Antagonistic responses are oxymoronic in terms of the definition of “help”: verb sap.
Message was edited by: alibi . . . I needed to get around the program’s ill informed decency standards. “Bent” is a poor substitute for l*u*s*t.
Maybe you are looking for
-
hi, as part of my requirement , i have to perform read and write operations of few files [ using the file upload control in my custom visual web part] and on submit button click. but while writing these files - with the help of fileupload control
-
ImaqFindEdge and imaqFindEdge2
Hello all, I''m trying to program an picture process application with NI Vision Assistant, but I've got some problems. I'm actually trying to use the "Straight Edge (Rake)" detector of edges in an image (see NI VIsion). When I put "Generate C code"
-
Using IBook, I can't seem to figure out how to insert a blank page inbetween pages that are already set up, like if you want to add some pictures or something. Anyone have any tips on this? Thanks, Mark
-
Error loading Inventory Service
Just completed several installs of Zen for Desktops 6.5 SP2. No problems except for one server that will not load the Inventory service. Tried renaming the Zenworks folders and reinstalling, deleting the objects and reinstalling, etc... Found the fol
-
How to take promotional rates when I am already spotify premium?
I have premium subscription paying a lot more than some promos out there. So I would like to take the promotional rate of my country so I will pay 3 months for 9 pesos MXN, and after that I will pay a lot less than Im paying right now for every month