on 07-17-2007 1:54 PM
Hi,
Could you gus please guide me how to call another application in current application. and also i want to pass values from current application to calling application. its very urgent for me. explain me how to all application(webdynpro)
Thanks in advance
Guys,
please guide me. till now i didnt got any reply
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Venkat,
You could call the other applications through URLs and open in an another window if the second application is also a Webdynpro app.Here the class method will fetch you the URL of the application.You need to provide only the application name.
Thanks
Anzy
Data:lv_url type string.
CALL METHOD cl_wd_utilities=>construct_wd_url
EXPORTING
application_name = 'MyApplication'
IMPORTING
out_absolute_url = lv_url.
Hi
And also , you could append the URL parameters with the URL
concatenate lv_url '?' OBJECTGUID '=12345' into lv_url.
Then you could open this URL in the same view using IFRAME or in a different window using
lo_ext_win = lo_window_manager->create_external_window(
url = lv_url
title = lv_title ).
lo_ext_win->open( ).
Hope this answers you question,
Thanks
anzy
Hi Anzy
ThankQ Very much for ur reply.
Here i m having a table with list of value and a button names as "get". By selecting a perticular row in a table, when i click on button, it should open anothe application which is having the more details about the selected row in the table. that means v need to pass these values to that application. this this how to do it
ur answer will give more weight to me
thanks
Hi Venkat,
When you select a row in your table , the entire row will be accessable through the lead selection, which means that you will get all the attributes and values.
Now you are goin to call a different webdynpro application which shows the details of this specific row.For this i dont think you need to pass all the data to the next application , you need to pass only the key data.For example consider the below table.
Table Students
Student_ID
Student_Name
Student_Maths_Marks
Student_English_Marks
In this table , the key field is the student ID , which means that , if you have the Student_id , you can get the details anywhere you want.
So in the same manner , when you are calling the second application .You need to pass the key values to the second application through URL.
Let us assume that , i have created the second application , and in the DEFAULT plug of window of the application i have specified one parameter,student_id.Which means that , we need to pass the Student_id when i call this application.
Let my Second application name be DTLS.
With the WD_UITILITIES class mentioned in my previous post, i will get the URL for the application and with that URL , i will append student_id as a parameter.
concatenate lv_url '?' 'STUDENT_ID=' stud_id into lv_url.
Now you can call that URL directly.
Thanks
Anzy
Hi,
I have also followed the following code for calling the other application from
one application.but i can't able to call the other application with the help of following code.even though i am not getting any error after executing my application.
Data:lv_url type string.
CALL METHOD cl_wd_utilities=>construct_wd_url
EXPORTING
application_name = 'MyApplication'
IMPORTING
out_absolute_url = lv_url.
<b>Can any body give me the detail idea for calling the other application,from one application.</b>
Regards,
Ravi
Hi,
Thanks 4 u'r immediate rply, In my application i have one table and button.
After selecting the row in the table,if i click the button,i need to pass the selected value in the table to the new application.
Actually In the Button "On Action" i mentioned your code for calling the new application.
<b> Can you gude me,how to call the new application by clicking the button.</b>
Eagerly awaiting your feed back.
Thanks in Advance.
Regards,
Ravi.
Hi mohammed,
I have tried by calling the method as u said aboce to calla any application from within a WDA application. But its not triggering the event and hence not calling the application.
Could you please guide me how to call a application within another wda application.
Thanks & Regards
Sireesha.
Hi,
Now i can able to call another application in my view. but i didnt used URL for to call other application. i hav been used navigation links to call other application of wbdynpro. But i didnt get how to pass the parameters to the calling application. /how to do that, guide me....
thanks in advance,
Hello Venkat,
if you are using navigation links then you can pass parameters through the outbound plugs.
at the time of creation of the outbound plug you can specify the parameters you wish to pass. This you need to capture in the HandleDefault method of the called application window.
Regards,
Shweta
i am also facing same problem i am having a POWL at portal where multiple items are listed. user can select single or multiple rows and press a button here. on pressing of button i am opening a web dynpro application in new window using OBN(Object Based Navigation).
now my problem is to transfer multiple items from POWL to Web Dynpro Application.
any help or link is appriciated.
thanks in advance
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Manish,
the handle_action method of the POWL feeder has a changing parameter C_SELECTED which returns the list of items selected by the user, this you can pass to the the E_PORTAL_ACTIONS-PARAMETERS exporting parameter of the handle_action method.
the data passed is in the form of a key value pair, so you might have to read the C_SELECTED internal table first and then a build another internal table of type POWL_NAMEVALUE_TTY with key value pairs, through which you can fetch details pertaining to each row in the called application.
the called application's handleDefault method also needs to accept this data in the same format.
Regards,
Shweta
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.