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
Ashis
Hi 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
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 -
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 -
How to create iview from webdynpro application abap
hi ,
i have built webdynpro Application ABAP with adobe interactive form in it. i want this as part of the page in portal .
Can you point me how to do it ...some resources .
thank you
chandra.Hi,
Logon to portal, Content Administration->Portal Content and by right clicking, select New iView. In the "Template Selection" select SAP Web Dynpro iView. In the 2nd step, give the name and id of the iView. In the 3rd step you have the option to select either 'Java' or 'ABAP'. In your case select ABAP.In the 4th step, select the System and supply namespace and application name of your Web Dynpro ABAP Application. Click and Next->Finish. Now you will find the iView for your web dynpro ABAP application.
A doc on integrating web dynpro appl in portal,
http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/0c7b2f25-0c01-0010-f2a2-f8a65a9dcad9
Hope this helps.
Regards,
Srinivasan T
<b>Helpful answer=>points</b> -
How to Create IViews in WebDynpro java
Hi Experts,
I want to Create the I View of my WD Application.
So how can i create it.
Can you send me the Step-by-step Procedure for it.
Regards,
DSHi DS,
Whatever application u create in WD, has to be integrated with portal as IViews. u can check this for details
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b0446f5c-fcb9-2910-e082-88becbe3ddc9">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b0446f5c-fcb9-2910-e082-88becbe3ddc9</a>
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/0c7b2f25-0c01-0010-f2a2-f8a65a9dcad9">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/0c7b2f25-0c01-0010-f2a2-f8a65a9dcad9</a>
regards
Sumit
Message was edited by:
Sumit Malhotra -
Trigger MDM workflow from Webdynpro Java
Hi All,
After updating records in MDM, I want to trigger an MDM workflow from Webdynpro Java and pass those updated records to workflow. Any inputs on how to accomplish this. Workflow has already been developed using MSVISIO by the MDM team.
Thanks,
TomBy following steps, it is possible to integrate workflow (or any workflow designed in MDM) within portal:
1. UWL (Universal Worklist): The UWL gives users unified and centralized way to access their work and the relevant
information in the portal. It collects tasks and notifications from multiple provider systems. One can expose MDM
workflow functionality on Portal using UWL.
2. JAVA APIu2019s: MDM Java API consists of set of classes related to MDM workflows through which one can create an
application that provide the MDM workflow functionality and expose the application as an iView in the portal. -
Call stateless session bean EJB 2.0 from Webdynpro Java UI
Hello,
Can someone please tell me asto how to call a stateless session bean EJB 2.0 from Webdynpro Java UI?
The NWDS version is 7.0.
Thanks and Regards,
AryaHi Aryadipta
Please check this pdfs
https://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/b00917dc-ead4-2910-3ebb-b0a63e49ef10&overridelayout=true
Steps for calling stateless session bean in Webdynpro java
Go to NWDS -> open perspective ->j2ee
select EJB Module Project ->create a project with name
Open the Project -->RC on ejb-jar.xml -> Select new --> EJB
Give name to EJB Bean (First letter should be in capital letters)
select the type of bean as Stateless session bean and give the package name to store that EJB bean.
After that Expand ejb-jar.xml and then select the <projectEJB>
Double click on this on method tab double click you will get business method where we will create the methods for business logic
Double click on projectEJB and then RC on bean tab and write required business logic in bean window as follows(based on requirement we will design a business logic).
After writing the business logic go to project -> rebuild
Till now we have created one EJB jar file
then go to File-->Enterprise Application Project -->create a project (projectEAR)
After creating a project click on next-> here we will have ear projects and then we select specific project required for our application.(here select projectEJB)
After that Calculate EAR project will be available on j2ee explorer.
Right click on <Bean> here
select New->Web Service->give a name to webservice and select Default configuration type as simple SOAP
-->click next -> Finish.
That webservice and related are created in ejb-jar.xml .
Expand the ejb-jar.xml.and double click on < webservice>
RC ProjectEJB -> Build EJB Archive RC on CalculateEAR ->Build applicationarchive.
Expand the projectEAR->RC on CalculateEAR.ear->Deploy to J2EE Engine
Double click on calculateEAR.ear ->Webservice navigator tab ->we eill servers expand the node
select the specific WebService
Here we test the webservice by click on Test and test it.
After that go to Web dynpro perspective ->create one webdynpro Project and one component
RC on model> Select import Web Service model(last)>give model name and package
and select radio button as local file system or URL
Go to WSnavigator->copy the WSDL path and paste it in model WSDL path and click on finish.
from here onwards steps are same as that adaptive RFC model
Hope it helps
Thanks
Tulasi Palnati
Edited by: Tulasi Palnati on Aug 26, 2009 12:15 PM
Edited by: Tulasi Palnati on Aug 26, 2009 12:43 PM -
Cannot create iView from PAR file
I am trying to create an iView from PAR file. But when I select the option,
"Portal component - create an iView from a portal component contained in a deployed portal archive (PAR) file"
and click next, I get the following error.
Error______________________________________
Step 1: Portal Archive Selection
No templates to display. You are not assigned to any existing templates.
I have portal_configurator and developer roles assignmed to myself. Which other role do I need? I cannot get admin role.
Note: Other users with admin roles can create iViews.Hi
What is your portal version details ?
In EP 7.0 you do not have the option -- New From PAR.
So to create IView from Par, you should select the option New --> IView and then there will be an option to select par file.
Otherwise
1.Check if your par file is deployed on server.
2. Check the portalapp.xml, if you have configured your components properly.
Cheers
Chinmaya
reward for helpful answers -
Passing Parameters via Post Method from Webdynpro Java to a web application
Hello Experts,
I want to pass few parameters from a web dynpro application to an external web application.
In order to achieve this, I am referring to the below thread:
HTTP Post
As mentioned in the thread, I am trying to create an additional Suspend Plug parameter (besides 'Url' of type String) with name 'postParams' and of type Map.
But when I build my DC, I am getting the same error which most of the people in the thread have mentioned:
Controller XXXCompInterfaceView [Suspend]: Outbound plug (of type 'Suspend') 'Suspend' may have at most two parameters: 'Url' of type 'string' and 'postParams' of type 'Map'.
I am using SAP NetWeaver Developer Studio Version: 7.01.00
Kindly suggest if this is the NWDS version issue or is it something else that I am missing out.
Also, if it is the NWDS version issue please let me know the NWDS version that I can use to avoid this error.
Any other suggestion/alternative approach to pass the parameters via POST method from webdynpro java to an external web application apart from the one which is mentioned in the above thread is most welcome.
Thanks & Regards,
AnuragHi,
This is purely a java approach, even you can try this for your requirement.
There are two types of http calls synchronous call or Asynchronous call. So you have to choose the way to pass parameters in post method based on the http call.
if it is synchronous means, collect all the values from users/parameters using UI element eg: form and pass all the values via form to the next page is nothing but your web application url.
If it is Asynchronous means, write a http client in java and integrate the same with your custom code and you can find an option for sending parameters in post method.
here you go and find the way to implement Asynchronous scenario,
http://www.theserverside.com/news/1365153/HttpClient-and-FileUpload
http://download.oracle.com/javase/tutorial/networking/urls/readingWriting.html
http://digiassn.blogspot.com/2008/10/java-simple-httpurlconnection-example.html
Thanks & Regards
Rajesh A -
Consuming PI Webservice from Webdynpro Java Not working
Hello SAP,
Environment: CE 7.2.
Resolution expected immediately, Helpful answer is highly appreciated.
Is the namespace should not exceed 60char for PI Webservice, for executing the webservice from Webdynpro Java.
I tried with all the options in executing the PI Service from Webdynpro Java, None of the options worked. I am facing the below error while I was calling the PI Webservice.
I don't see any problem from Webdynpro Java, what ever the procedure I have followed is the standard procedure.
Fortunately when I execute the service from Webservice Navigator, it is working as expected. The same webservice when I consume it from Webdynpro Java it is not working
Options tried so far:
1) Published the Services to Service Registry and there by consuming the PI Service from Service Registry - Not worked
2) Tweaked the URL with few options - Not worked (Tweaking the URL, ex: portType, Binding)
3) Changing the Business Systems in PI and there after calling the service - Not worked
4) Initializing the code, instead of creating Service Controller and calling the PI Service - Not worked.
5) Created a Provider System and tried to call the PI Webservice from Provider System - Not Worked
For all the Options, I am facing the same error which is provided in the screenshot.
Below procedure which I have followed for calling the PI Webservice:
1) Created Adaptive Webservice Model
2) Provided PI Webservice URL (It prompts for PI System UserId and Password)
3) Selected Option - No Service Group Configuration
4) Provided Logical Destination
6) Completed creation of Model
7) Added the model as a UsedModel
8) Right Click on Comp Contr. and selected Apply Template and Created a ServiceController for the model (Entire mapping to comp contr, Initializing the nodes is taken care by Service Contr.)
9) Created an Template Action button and there by calling execute method which is auto rendered from CompContr..
10) Build the project.
11) Activated the code and Run the Application.
12) Getting the below error which is showed in the message.
ERROR MESSAGE:
Exception on execution of web service on destination 'GetPIHRPeopleData' for operation 'SI_CreateHRPeopleData_OS' in interface 'SI_CreatePeopleCompany_OS'Hi Sankar,
If the webservice is working fine in the Wsnavigator then there is some problem with importing the webservice in webdynpro for Java. Please check the required parameter for creating the Adaptive Webservice Model. After adding in the used model and compoent controller binding, you need to write code for to execute the webservice model.
Please check the code for initialization and execution for the webservice and then test it.
Best Regards,
Arun Jaiswal -
Creation of purchase requisition from Webdynpro Java
Hi all,
I have a requirement that i should create purchase requisition from webdynpro java. i imported all required BAPI in the webdynpro. But i am not getting what should i have to give as input paramater. I have imported the Bapi_Requition_Create. Please help me on thin what sould be the input parameter i should pass.
Regards,
ShreeharshaShreeharsha,
you can check out the fm inse37 and see what are the importing and tables parameters
Thanks
Bala Duvvuri -
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???? -
Can we access PI tables from WebDynpro Java via PI 7.1?
Hi Experts
Is it possible to fetch PI Tables (to display monitoring and alerts as dashboard on portal) from Java Stack. I got some javadocs API SAP Netweaver for PI 7.1 but i don't know how far it can help me in solving my purpose of fetching and displaying the PI monitoring data on Portal.
https://www.sdn.sap.com/irj/sdn/javadocs
Please advise if J2EE access to PI Tables is possible or RFC is the suggested solution to fetch PI Monitoring data.
Thanks
NehaHi Neha,
You can access PI tables from Webdynpro Java application using RFC or Webservices. Create RFC or Webservices which will fetch data from the PI tables.Create the required JCO's and the Webdynpro java application which uses the Adaptive RFC model or Adaptive Webservice Model to connect to the ECC system.
I found a document that speaks about fetching data from SXMB_MONI Standard Table https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b050ff4f-84c3-2b10-3d99-8f9c44f57a17
Hope this is useful.
Regards,
Seema Rane. -
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 -
How to create webservice in Webdynpro java
Hi Experts,
I need to develop one application in Visual Composer.Since VC doesn't support coding so i need to create Webservice in webdynpro java and use that webservice in VC.Can any one of you please suggest how to create Webservice in Webdynpro Java.
Regards,
Prasanna.Hi prasanna,
Refer this links.
/people/sridhar.k2/blog/2006/09/12/creating-and-exposing-bapi-as-web-service-and-using-it-in-web-dynpro
BAPI Exposed as Web Service
Connect R/3 from Java web application
Web Dynpro integration with R/3
http://help.sap.com/saphelp_nw04s/helpdata/en/82/6a0e7bbe744276bf393654b9b576ed/frameset.htm
Regards,
karthik.
Maybe you are looking for
-
IMovie HD keeps quiting unexpectedly?
Hi, I have an MAC OS X 10.4.8 and I use iMovie HD. Everytime I try to record on iMovie it quits unexpectedly, it lets me open it but it gets to about 6milliseconds then it quits. I have a 55.57GB harddrive but there is 27.07 free, is that enough spac
-
Correct File Size-Web Photo Gallery?
I've optimized my photos in photoshop and now its time to display the photos at their best quality on the web. I'm curious how working photographers proceed at this point. What methods are used to get your final image optimized for best quality viewi
-
Travel booking details from Travel desk to traveller
Hi Experts, We have a requirement wherein requester raises a travel request. Travel desk books a ticket, hotel accomodation and car for traveller. How can we capture these details in system across trip ID? How ticket booking, hotel booking and car bo
-
Template No Longer Updates Site Pages
Hi, everybody. I am using Dreamweaver CS3 to build a web page. I created a template file, called "Template1.dwt." I then created all the other site pages based on this template. When I updated the template, it asked if I wanted to update all the o
-
Everything deleted & iTunes & Updater doesn't recognize iPod
Yeah, that's my problem. Funny thing is, I didn't do anything to the iPod to cause the problem. One day I was just adding songs to the iPod & using it like a hard drive (things I've done before with no problems) & then I turn it on two days later to