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
Similar Messages
-
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 pass dynamic params to Transaction iView from webdynpro java app
Hi Experts,
I am trying to call a transaction iview in PCD from my Dynpro application with a dynamic param.
Can somebody help me generating the URL for transaction iView and passing the dynamic params???
Thanks in advance
biroj...Hi,
Generating the URL:
StringBuffer strBuff = new StringBuffer("/webdynpro/dispatcher/xyz.com/xx~xxxx~xxxxx/xxxxxApp");
strBuff.append("?");
strBuff.append("TCODE=");
strBuff.append("" + WDProtocolAdapter.getProtocolAdapter().getRequestObject().getParameter("TCODE"));
IWDWindow window = wdComponentAPI.getWindowManager().createNonModalExternalWindow(strBuff.toString(), "TCODEWindow");
window.show();
Please try the above code snippet helps you to create a TCode iView in a new window.
or
We can include URL parameters in a portal URL that calls a Web Dynpro page and these parameters can be forwarded to the otehr iVIews on the page.
Example:
http://xxxxxxxxx.com/irj/servlet/prt/portal/prtroot/com.sap.portal.appintegrator.sap.WebDynpro?System=SAP_XXXXXXXX&WebDynproNamespace=xxxxx.com&WebDynproApplication=xx~xxxx~xxxx/xxxxApp&DynamicParameter=u201DTCODE=VA02u201D
For more information Please go through this:
http://help.sap.com/saphelp_nw04s/helpdata/en/c3/235a428a1e9041e10000000a1550b0/frameset.htm
Thanks
Krishna -
Printing SAP Reports (Transactional iviews) from Portal
I am having problem in printing the SAP Transactional I views (SAP Reports Output) from the Portal page. On selecting the Print Option under Menu from the SAP transactional iview page, it shows the list of the printers in the backend system. On selecting the printer configured in backend abap system and issuing a print command, it only creates a spool request in the backend system and nothing is sent to the printer itself.
I have also tried to use "PDF1" device type by creating a new output device and it does bring the contents of the report on a web embedded PDF page, hoever the characters are too small and to read and the ALV Report is no longer aligned. The line separating the rows and columns are not aligned.
Can anyone help in suggesting the best way to print contents of SAP Reports (created as Transactional i views) from the SAP Portal.
Thanks!Hi Margie,
It is not necessary for a developer to have access to that area, and certainly not in a production system.
Ideally, there should be developer, test, QA and production systems, and the developer can have access to the developer system. The UI you are talking about gives access to all WD applications deployed to the AS Java, and the ability to run them as well as change some settings. But this is the domain of the administrator.
Hope this helps.
Daniel -
Calling a SAP Transactional iview into a WebDynpro
Hi,
Can we call a sap Transactional URL through a webdynpro Application?
I need to call a SAP Transaction using a webdynpro Link.Is it possible by creating a SAP Transactional Url and then calling this Transactional URL Through a link of WebDynPro.If so how?
Regards,
Raja Akella.Raja,
In one of the client we needed to create a lot of iviews pointing to SAP transactions and then put them in Detailed Navigation. Sort of like user menus in SAPGUI. I ended up creating mass content for this. There is a <a href="https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/964">weblog</a> you can refer or better the <a href="https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/aaa54576-0501-0010-2a91-d4aeb886bc27">howto</a> guide.
- Pankaj
- Pankaj -
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 -
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 -
Launching transaction iview frm webdynpro iview
Dear experts,
I am launching a transaction iview from a webdynpro iview. On click of button it launches the transaction:CV02N.
The screen variables are: DRAW-DOKNR and DRAW-DOKAR.
I am using absolute navigation.
the code is as below:
WDPortalNavigation.navigateAbsolute("ROLES:"path,WDPortalNavigationMode.SHOW_HEADERLESS_PORTAL,null,null,WDPortalNavigationHistoryMode.NO_HISTORY,null,null,"DRAW-DOKNR="docnos+"&DRAW-DOKAR=DRW&OkCode=/00",null,false,false);
I can see the name value pair in the URL of the transaction iview which opens in the new window. But I just see the initial window of the transaction and I need to enter the parameters again to see the result.
Is there any way to see the result directly?
Thanks in advance for your help.
Regards,
RahulDear Piyas,
Thanks for reply.
If you see attribute: "DRAW-DOKNR="docnos"&DRAW-DOKAR=DRW&OkCode=/00"
Here docnos is a string which takes value dynamically.Rest of the values are hardcoded.
When I launch the transaction iview, I can see the values being passed in the URL.
Regards,
Rahul -
Embedding Transaction IView into Webdynpro TabStrip
Hi,
My Requirement is ,I have Created Transaction IView ,I want to access the Transaction Iview into Webdynpro TabStrip. I am able to access Iview but it is overwriting existing screen i..e complete Webdynpro screen disappears only Transaction Iview displays. I want Transaction Iview to be displayed as part of the TabStrip.
Thanks & Regards
Madhan MohanHi Satyajit,
I am having a similar kind of requirement , i have to navigate from webdynpro applicaiton to transaction iview ..once user is done with the transaction ( say maintained the material ) i have to come back to the previous screen ... but i think this is not possible as there will be no way to know that user is done with the transaction .. so i though of creating a Iframe and a button on a webdynpro view and link the Iframe to the transaction iview . so user will have to click on the button once he is done with the transaction .. but according to you .. the transaction will be locked if we link that to the Iframe .. please let me know how to resolve this pronblem. or is there any other solution to my problem .. -
Calling oracle reports 3.0 from ASP(IIS Server)
Hi,
Please can any one guide me how to call
Oracle Reports 3.0 from an ASP Web Application .I would appreciate if any one could provide me the details and the code for this .This is very urgent .
Thank u,
sureshIf you are using parameters in the report create a url using ASP variables and concatenate the same to produce a link that invokes the report.
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by sureshnair nair ([email protected]):
Hi,
Please can any one guide me how to call
Oracle Reports 3.0 from an ASP Web Application .I would appreciate if any one could provide me the details and the code for this .This is very urgent .
Thank u,
suresh<HR></BLOCKQUOTE>
null -
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 -
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 -
Calling transaction SECATT from webdynpro UI
Hi friends,
I want to open the secatt applications second screen from webdynpro UI. For this I am using the following code on webdynpro side
CALL METHOD cl_wd_utilities=>construct_wd_url
EXPORTING
application_name = 'appname'
IMPORTING
out_absolute_url = lv_final_url.
SPLIT lv_final_url AT 'webdynpro' INTO lv_first_url lv_second_url.
SPLIT lv_second_url AT 'ztwb_tor' INTO lv_final_url lv_apostrophe.
CLEAR lv_final_url.
CONCATENATE lv_first_url '/gui/sap/its/webgui?TRANSACTION=secatt&RB_TEST_CONFIG=X&RB_ECATT_SCRIPT=& ECTC_VER-NAME =' ls_ztwb_test_case-testcase '&okcode=ECOB_SHOW' lv_apostrophe
INTO lv_final_url.
CALL METHOD lo_window_manager->create_external_window
EXPORTING
url = lv_final_url
RECEIVING
window = lo_window.
lo_window->open( ).
But I am still able to open the first screen of secatt and not the second screen with the relevant testcase datails.
But if I try to open the second screen of SCAT transaction I am able to open it using the following url.
CONCATENATE lv_first_url '/gui/sap/its/webgui?TRANSACTION=SCAT&*CATA-ABLNR=' ls_ztwb_test_case-testcase '&okcode=ZEIG' lv_apostrophe
INTO lv_final_url.
Is there anything else that I need to pass as parameters in SECATT transaction.
The program of SCAT transaction is a module pool program.
The program of secatt transaction is a function pool program.Hi Jenish,
As I am new to WebDynpro for ABAP I could not help you out exactly.But See this link which will help you to create applications in WebDynpro by using ABAP language.
https://www.sdn.sap.com/irj/sdn/developerareas/abap?
rid=/library/uuid/02e1fa45-0801-0010-10a0-f1cf47e8c943
If you get any answer for your question let me know.
Regards,
Karthick K Eswaran -
Calling an iview from webdynpro do not run
Hello,
my environment consists of a Sap Netweaver Portal 7.0 (SP15) and ECC 6.0 (SP9).
On portal I have configured UWL, so when the user click on workitem a custom webdynpro is run.
Webdynpro is composed by some container, with some alv lists
included.
In an alv list an hotspot is linked to a purchase requisition
document number.
At the click on cell a method is called. Below the source.
REFRESH: lt_lp, lt_bp.
l_api_component = wd_comp_controller->wd_
l_portal_manager = l_api_component->get_portal_
ls_lp-key = 'P_TCODE'.
ls_lp-value = 'ME53N'.
APPEND ls_lp TO lt_bp.
ls_lp-key = 'P_BANFN'.
ls_lp-value = l_banfn.
INSERT ls_lp INTO TABLE lt_bp.
l_target =
'ROLES://pcd:portal_content/com.ieo.it.portaleieo/
_rilascio/ME53N'.
ls_lp-key = 'OkCode'.
ls_lp-value = 'ONLI'.
APPEND ls_lp TO lt_lp.
CALL METHOD l_portal_manager->navigate_absolute
EXPORTING
navigation_target = l_target
navigation_mode = '1'
use_sap_launcher = abap_true
business_parameters = lt_bp
launcher_parameters = lt_lp.
Variable "l_target" contain the link to a custom SAP Transaction
iview.
The SAP transaction calls the transaction received as parameter
(P_TCODE) with the other parameter (P_BANFN).
All is run perfectly on Develop system, but in Production the target
iview is not called. The two systems seems identical.
Could anyone help me to understand what happen?
Regards,
Corrado AuderoHi Praveen,
My code is given below :
<b>package scheduler;
import java.util.Properties;
import com.sapportals.wcm.service.scheduler.ISchedulerTask;
public class scheduler implements ISchedulerTask {
public void run( String id, Properties properties ) {
// implement the tasks to be scheduled
}</b>
I have to write some code in this run() to run the iView. How do I use ur statement?<b></b> -
Interaction between SAP Transaction Iview to webdynpro application
Hi All,
I have a requirement where in,
I have one SAP Transaction Iview and one Webdynpro (Java) Iview,
Now what I have to do is,
I need to call Webdynpro app ( or iview) as a pop up from Transation Iview (e.g. click on some button on SAP screen),
webdynpro screen will be opened,
do some processing there (calling some web service, getting some data from an external system) and then posting response data back to some screen field in Transaction Iview.
It is like on a standard SAP transaction, I want to open my custom webdynpro screen to do some data operation and fill response data back to SAP screen once that is done.
any ideas would be heavily appreciated and rewarded!!!!!
Regards
DeepakI 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????
Maybe you are looking for
-
Suggestions for Fios in the New Year
I posted this over on DSL reports too, but figured this was a good place to make the suggestions as well. I'd love some reaction from the folks who work at Fios. 1. Ditch FYI and find someone better to provide the guide data. 2. Add NASA-TV. NASA-
-
How do you connect a lexmark x6570 printer to an iMac wirelessly? The basic user manuals are not helpful as the printer is not showing up when using the add printer function. I my printer is working fine wirelessly with my windows laptop so it appe
-
Getting the context from a DataControl
I have a JavaBean that I have converted into a DataControl. Since the methods on that JavaBean are getters, and don't take parameters, I am wondering if there is any way to get at either the request, the session, or the context from within my DataCon
-
I use a web site called ACRIS- it allows me to access NYC Finance dept records- specifically images of deeds. Up until yesterday I had no problem. Then without any apparent reason I could access all parts of the site, but could not access the deed im
-
How do i connect external speakers
I am migrating from PC to Mac. I would like to connect my Altec Lansing 495 external speakers whic is a 5.1 system to the Imac. how would I go about doing this? Will I need any drivers? Thanks deputyaj