Call SAPGUI-iView from WebDynpro-iView
How can i call a SAPGUI-iView from a WebDynpro-iView?
You can create a Transaction iview on portal and point it to a particular transaction in R/3....
Regards,
Shikhil
Similar Messages
-
How to call IAC Iview from WebDynpro java code
Hi Team,
I am tring to call IAC Iview from WebDynpro Java code. we are passing value but blank page displayed and there is no error show on error log.
Below is Java Code which i am calling.
public void wdDoInit()
try {
String strURL = "portal_content/TestSRM/iView/TestSRM"; //WDProtocolAdapter.getProtocolAdapter().getRequestParameter("application");
String random = WDProtocolAdapter.getProtocolAdapter().getRequestObject().getParameter("random_code");
//wdContext.currentContextElement().setRandomNumber(random);
//below we are call URL
WDPortalNavigation.navigateAbsolute("ROLES://portal_content/TestSRM/iView/TestSRM?VAL="+random,WDPortalNavigationMode.SHOW_INPLACE,(String)null, (String)null,
WDPortalNavigationHistoryMode.NO_DUPLICATIONS,(String)null,(String)null, " ");
} catch (Exception e) {
// TODO Auto-generated catch block
e.printStackTrace();
I am passing value from URL.
http://<host Name>:<port>/webdynpro/resources/local/staruser/StarUser?random_code=111111111
when we call above URL we getting blank screen.
Regards
Pankaj KambleHi Vinod,
read this document (from pages 7 ).
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/b5380089-0c01-0010-22ae-bd9fa40ddc62">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/b5380089-0c01-0010-22ae-bd9fa40ddc62</a>
In addition lok at these links: (Navigation Between Web Dynpro Applications in the Portal)
<a href="http://help.sap.com/saphelp_erp2005/helpdata/en/ae/36d93f130f9115e10000000a155106/frameset.htm">http://help.sap.com/saphelp_erp2005/helpdata/en/ae/36d93f130f9115e10000000a155106/frameset.htm</a>
<a href="http://help.sap.com/saphelp_erp2004/helpdata/en/b5/424f9c88970f48ba918ad68af9a656/frameset.htm">http://help.sap.com/saphelp_erp2004/helpdata/en/b5/424f9c88970f48ba918ad68af9a656/frameset.htm</a>
It may be helpful for you.
Best regards,
Gianluca Barile -
Has anybody created Iview from "Webdynpro Java" component in CE7.1 ?
Hi All,
Has anyone created Iview from Webdynpro Java component in CE7.1.
Because the wizard that appears for creation of Iview has only "Webdynpro ABAP"
component.There is no option to create iview from "Webdynpro Java" component.
Althought in portal content--->Template folder i can see there is also
another template for "SAP Webdynpro iview" which i think is for the Java scenario.
But issue is, its not coming in the wizard.Can anyone tell me how to make it appear in the wizard ? It will be of great help to me.
Thanks and Regards
AshisHi Ashis,
your deployed webdynpros are published under "web dynpro applications". just copy the webdynpro from there and paste it into the portal content section.
http://help.sap.com/saphelp_nwce10/helpdata/en/ce/e0d6f54ae641fc9566501cffaa8c6c/frameset.htm
Hope that helps you.
Best wishes, Jens -
Trying to opn SAP Transaction IView from Webdynpro
Hi Friends,
I need to open a SAP Trancation Iview from Webdynpro (on click of some button) and pass some values to the screen fields,
I am using the code below(which I found in many threads):
WDPortalNavigation.navigateAbsolute("ROLES://<Iview ID excluding pcd>",
WDPortalNavigationMode.SHOW_INPLACE,
(String)null,
(String)null,
WDPortalNavigationHistoryMode.ALLOW_DUPLICATIONS,
(String)null,
(String)null,
(String)null);
The problem is nothin happened on account of execution of this code,
I mean not even a blank screen gets opened.
I am not even getting any error/exception.
Please advice what could be the possible cause.
Regards
Deepak
Edited by: Deepak Gupta on Mar 17, 2008 12:15 PMI wrote the code like below:
WDPortalNavigation.navigateAbsolute("ROLES://<IViewPath>", WDPortalNavigationMode.SHOW_EXTERNAL,
(String)null,
(String)null,
WDPortalNavigationHistoryMode.ALLOW_DUPLICATIONS,
(String)null,
(String)null,
"number=123456");
In IView application property, I wrote:
CRMT_SEARCH_LOC-CARD_NO=<Request.number>
(L.H.S is the screen field name)
then I got following exception at portal:
An exception occurred while processing a request for :
iView : pcd:portal_content/<Iview path>
Component Name : com.sap.portal.appintegrator.sap.Transaction
Exception in SAP Application Integrator occured: Unable to process template 'CRMT_SEARCH_LOC-CARD_NO=<Request.number>', because 'number' is an invalid terminal property of context 'Request.'..
what went wrong???? -
How to call a page from an iview
HI SDNs
I have a requirement as follows .
I need to call a page from an iview . for that i developed a html and i gave the hyperlink to call the page.
When i click on hyperlink it is calling page but iviews are not displayed. it is showing masterhead and DLN and but iviews are not shown
Is there any soultion with out solution to display the iviews. i Appreciate if you help at the earliest.
Thanks
RamanaDid you build your hyperlink using "NavigationTarget"?
ex:
http://myServer:50000/irj/portal?NavigationTarget=ROLES://portal_content/myFolder/myRole/myPage
check the below link:
http://help.sap.com/saphelp_nw04/helpdata/en/43/014421d21d6fade10000000a11466f/content.htm
Greetings,
Praveen Gudapati -
Calling a webservice from webdynpro ABAP.
Hi,
Anybody have doc/material with screenshots on calling a webservice from webdynpro ABAP (In WAS 7.0 version using service calls ) with clear steps ?
Thanks in advance. Ponts will not be a constraint for right answers
Praveen
Edited by: Praveen kumar Kadi on Feb 23, 2009 11:19 AMHi Praveen,
1st Step : configure Logical Port
http://help.sap.com/saphelp_nw70/helpdata/EN/16/285d32996b25428dc2eedf2b0eadd8/frameset.htm
2nd Step : Generate Proxy Object
http://help.sap.com/saphelp_nw70/helpdata/EN/16/285d32996b25428dc2eedf2b0eadd8/frameset.htm
3rd Step : Instantiating the proxy object & calling the methods exposed by webservice
data: sys_exception type ref to cx_ai_system_fault,
sys_exception2 type ref to cx_ai_application_fault,
client_proxy type ref to zco_myesa, "MY PROXY CLASS
lv_ret_code type int4,
lv_input type zsend_email_input,
lv_response type zsend_email_response.
data: lv_from type string,
lv_from_address type string,
lv_to type string,
lv_to_address type string,
lv_subject type string,
lv_msg type string.
lv_input-from = 'MYSAPTEST'.
lv_input-from_address = '<someAddress>'.
lv_input-to = 'Prashant'.
lv_input-to_address = '<someAddress>'.
lv_input-subject = ' TEST'.
lv_input-msg_body = ' Hi this is wonderfull to see it work'.
try.
create object client_proxy
exporting
logical_port_name = 'BASIC'. " Basic is a TYPE G RFC Destination
call method client_proxy->send_email
exporting
input = lv_input
importing
output = lv_response .
catch cx_ai_system_fault into sys_exception .
data lv_err type string.
lv_err = sys_exception->if_message~get_text( ).
write: / lv_err.
catch cx_ai_application_fault into sys_exception2 .
lv_err = sys_exception->if_message~get_text( ).
write: / lv_err.
endtry.
if lv_response is initial.
write: /'Not Executed'.
else.
write: /'Did Execute'.
endif.
Greetings
Prashant -
Calling SAP scripts from WEBDYNPRO
Hi
We need to call SAP scripts from WebDynpro application. As per my understanding we need to do following steps
Create a new RFC function module and create sap script output in PDF format.For this
- use OPEN_FORM , by assigning TDGETOTF='X' in the Options(Structure
ITCPO).
- call function module CLOSE_FORM with option OTFDATA
- convert OTF data to PDF by using function module CONVERT_OTF_2_PDF
Now I would like to know how to display the PDF string from WebDynpro.
Please help....
Regards
SujithHi,
You can call by creating external window method.
create LINK to URL or LINK TO ACTION according to requirement, for this. write code in onaction of that.
data: iv_url type string value 'http://<server>:<port>/sap/bc/gui/sap/its/webgui?~transaction=*se38 RS38M-PROGRAMM=rsparam;DYNP_OKCODE=SHOP'.
data: api_component type ref to if_wd_component,
window_manager type ref to if_wd_window_manager,
window type ref to if_wd_window.
api_component = wd_comp_controller->wd_get_api( ).
window_manager = api_component->get_window_manager( ).
window = window_manager->create_external_window(
url = iv_url
modal = abap_false ).
window->open( ).
Cheers,
Kris. -
How to call a webService from WebDynPro ABAP ?
We are trying to call a webService from WebDynPro-ABAP application. It is not working, While if we are calling the WebService from a Report, it is working.
How exactly do we call a WebService from a WebDynPro-ABAP application?
What are the main steps involved ?Hi Phani,
You will need to create a service call as follows.
Right click on your WD component name and select Create->Service Call
The wizard will guide you through a series of steps to make a Web Service Call. On the 3rd screen, it will give you options such as Function Module, Web Service, etc
Before making a service call, you will need to create a proxy for the Web service in the ABAP Workbench using a WSDL document as a basis. To create or consume Web services, you will need the authorizations associated with the role SAP_BC_WEBSERVICE_ADMIN. -
Problem with special charecter while calling a BAPI from Webdynpro JAVA.
Hi Experts,
I am calling a BAPI from Webdynpro JAVA. I am passing a special charecter u2018 as input to BAPI. But I am getting a # as input in R/3.. Can any one explain why it is getting changed?
Any inputs regarding this issue are appreciated.
Thanks,
Kasinath.Hi,
I had same problem before..For this I have created function module in backend for removing #. It was for converting Stream to ITF text.
CONVERT_STREAM_TO_ITF_TEXT.
Try this.
Thanks,
Prajakta -
Control iView from another iView
Hi,
I would like to know, how I can control on iView from another iView. Is there any HowTo-Guide about this? Or a simple example, maybe a list of links in one iView and the displaying of those links in the other iView.
Kind regards,
DominikHi Dominik
You can do that using the client side eventing framework (EPCF) provided in EP.
Please go through this
http://help.sap.com/saphelp_nw2004s/helpdata/en/ce/3e98408d953154e10000000a1550b0/frameset.htm
Hope this helps,
BR,
Goutam. -
Calling a Report/Transaction iview from Webdynpro..
Hi all,
Our first issue is we have a scenareio, where we need to execute reports(ABAP Program) from webdynpro. Is it possibile to execute a standard report from webdynpro? using JCO. Also tell me how to pass the input/output parameters.I am not allowed to create RFC.I can use only standard BAPI.
Our second issue is we created one transaction type callable object, and we want to call this transaction callable object from webdynpro, in another callable object in GP. Is this Possibile in webdynpro. We tried using portal navigation, but it is working for normal webdynpro iviews only, not for url iviews also.
Does any body know the answer for the above issues. please let us know.
Thanks in advance.hi,
1) it is not possible in web dynpro to call abap reports, what you can do is creating wrapper of Remote enabled FM around the report. But you dont have authorisation to create BAPI, so gotta take use of standard BAPIs.
ABAP Report in WebDynpro
this link will help you out for that(calling standard bapi in WD)
https://www.sdn.sap.com/irj/sdn/downloaditem?rid=/webcontent/uuid/f0b0e990-0201-0010-cc96-d7ecd2e51715 [original link is broken]
2) go thru this links
WebDynpro Application as callable object in GP?
Webdynpro callable object - RFC model
implenting webdynpro as a Calable Object with GP Interface
hope it helps
regards -
Calling an Portal iView from Webdynpro - Error
Hi,
I have two iViews in a page in my Portal. Both of them are WebDynpro iViews.
The iView on the Left hand side consists of links to different WebDynpro iViews in the same Portal.
I have used LinkToAction UI element, on event of click
i am executing this piece of code.
onActionClick (com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent)
WDPortalNavigation.navigateAbsolute("ROLES://portal_content/folders/X.Iview", WDPortalNavigationMode.SHOW_INPLACE, (String)null, (String)null, WDPortalNavigationHistoryMode.NO_DUPLICATIONS, "Called iView Name", (String)null, (String)null);
I have picked up the iView name from the Portal(exact PCD location).
This is not giving me consistent results.
Please let me know your thoughts.
Thanks
SenthilHi,
Had some permission issues in the loading iView, got that sorted. Now it works fine.
Thanks
Senthil -
How to Call standard iView from WebDynpro custom iView
Hello all Experts
I want to know whether there is any way to call (navigate to) standard iView from my cutom WebDynpro iview or not?
If yes please tell me how to code it.
(Points will be awarded for helpful answers)Hi Vinod,
read this document (from pages 7 ).
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/b5380089-0c01-0010-22ae-bd9fa40ddc62">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/b5380089-0c01-0010-22ae-bd9fa40ddc62</a>
In addition lok at these links: (Navigation Between Web Dynpro Applications in the Portal)
<a href="http://help.sap.com/saphelp_erp2005/helpdata/en/ae/36d93f130f9115e10000000a155106/frameset.htm">http://help.sap.com/saphelp_erp2005/helpdata/en/ae/36d93f130f9115e10000000a155106/frameset.htm</a>
<a href="http://help.sap.com/saphelp_erp2004/helpdata/en/b5/424f9c88970f48ba918ad68af9a656/frameset.htm">http://help.sap.com/saphelp_erp2004/helpdata/en/b5/424f9c88970f48ba918ad68af9a656/frameset.htm</a>
It may be helpful for you.
Best regards,
Gianluca Barile -
Creating a pdf from Webdynpro iview using "WebDynpro Java"
Hi everybody,
I have a requirement like creating a pdf file from the iview content in a web dynpro project.
Can any one explain me the procedure as well as code how to create a pdf from the table content using the "WebDynpro Java".
Thanks in advance,
NaveenHi Naveen,
To be able to use PDF forms in Web Dynproapplications:
��SAPNetWeaver Developer Studio(minimum SPS 11) is installed
��Adobe LiveCycleDesigner7.0 is installed
��Adobe Reader7.0.x is installed
��SAP NetWeaverWeb AS Java compatible with the DevStudio s installed
��The Adobe Document Services are deployed and configured on the SAP J2EE Engine.
��The Active Component Framework(ACF) of the Interactive Forms integration is installed. (not mandatory)
�� Internet Explorer(version 6)
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/2b6db1c4-0801-0010-faa5-ff4b4df55b45
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/63f09fc2-0401-0010-1482-dbf9891e7613
Web Report to PDF
/thread/104121 [original link is broken]
Dynamik PDF
Create Adobe PDF for user to download and print
Online PDF
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8d7b9e7d-0c01-0010-2495-947691554cb7
Regards,
Mithu -
Need call a method of one iview from another iview
Hi,
There are 2 iviews in a component.
1) FirstView - contains abc() method & xyz() methods
2) SecondView (a popup) - asdf() method
i want to call abc() method from asdf() method. i.e. i want to call a method of the firstview from the secondview.
Note:
1) i couldn't able to copy the code of abc() method to component controller, as it has the code which uses (iview) local attributes (this can be done by context mapping) & main reason is from the method it calls the xyz() method of the same view (again i couldn't call a method of iview from component controller).
2) firstView contain 5 tabs, i want to be in the same tab from which secondview (popup) was called, if i use fire plugs between both view, the current tab will be chnaged (i suppose, not sure).
3) can we use event handlers, if yes how can we do that.
Please provide a better solution for calling a method of view from another view.
Thanks
Maha
Edited by: Maha Hussain on Jan 13, 2009 12:40 PMHi Maha,
It is better to have such methods in the component controller to make it reusable and avoid writing same code again and again.
You can have that method in component controller and call that method on click on a button from Iview1 and can pass the parameters in the mthgod only.
for example.
Say Method abc() which is currently in Iview1 and you are passing values from context say aa bb cc to the method now what i am suggesting is
have that method abc(String aa, String bb, String cc) ;
and call it on click on button in Iview1 and pass the required parameters.
Hope this will help
Regards
Narendra
Maybe you are looking for
-
XSLT mapping - Which transformation engine is used in PI 7.0
Hi, In my favorite xslt tool I can choose which transformation engine I want to use while executing the xsl. Which Transformation engine is used in PI 7.0 ? (Nice to test with the same as PI have....) Br, Martin
-
I am new to apple products. Have a Window 7 PC, I phone 4s and Ipad . I want to move an audio book purcahsed on the Ipad to my I phone so I signed up for the cloud because it said what I described above would be possible. How do I do it? Also, ho
-
SAXParseException from parser.parse()
Hi, I am using xml on http sample code with xerces-123 and I get I get "SAXParseException: The root element is required in a well-formed document." on the parser.parse(...) line. Yes, the XML is well-formed. I also try to use a well-formated xml file
-
to be dead....let me elaborate. I was on the compujter last night, went to bed (leaving the computer on, as i often do) and got up this morning and it was powered off. My first thought was there had been a power outage, but there were no other signs
-
WD My Passport not detected on OSX Mountain Lion
Anyone has the same problem?