How to create remote SAP j2ee web dynpro system
I have a J2EE web dynpro on another J2EE instance than the portal. I want to take advantage of logon tickets from Portal J2EE to this other system. But creating the system connection in the portal, I'm not sure what system type to select. If I choose to create an IView for J2EE Web Dynpro, it seems to assume that the app is on the portal instance.
I could just do a straight URL type IView, but then I don't think that I could make logon tickets work with that.
Thank you, that was helpful.
I followed the instructions to create a system and then web dynpro iview, putting in the relevant parameters.
Our remote webdynpro iview URL is:
http://<host>/webdynpro/dispatcher/sap.com/<namespace>/<app>?SAPtestId=83
SO, in the iview entry, i gave values:
namespace: sap.com/<namespace>
app: <app>
parameters: SAPTestId=83
When I preview it, I get a J2EE exception:
Caused by: javax.naming.NoInitialContextException: Cannot instantiate class: com.sapportals.portal.prt.registry.PortalRegistryFactory [Root exception is java.lang.ClassNotFoundException: com.sapportals.portal.prt.registry.PortalRegistryFactory
Found in negative cache
Similar Messages
-
How to create value help in web-dynpro-abap
Hi ,
can anybody tell me detailed step for creating value help in web-dynpro-abap .Hi,
Web Dynpro provides two types of pre-implemented search helps :
1. ABAP Dictionary Search help
2. OVS
Input Help for WDA
http://help.sap.com/saphelp_nw04s/helpdata/en/b3/4d3642eca5033be10000000a1550b0/frameset.htm
There is a blog on implementing OVS help in WDA. You can refer below link for sample code.
/people/shruti.rathour/blog/2008/05/05/ovs-help-in-web-dynpro-abap
In addition, you can also provide help through Drop Downs and Select options.
Working with Select options in WDA
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c09fec07-0dab-2a10-dbbe-c9a26bdff03e
Plz reward if helpful.
Thanks.
Raj. -
How to create search help for Web Dynpro?
Hi all,
I have troubles when creating search help for web dynpro. I have visited this link /people/dirk.rehberg/blog/2006/12/27/generic-search-help-for-web-dynpro-for-java but I can't find this generic search help plug-in for download. If u have this plug-in can u share it for me or upload somewhere for download. Or anyone has already done this search help please help me solve this problem! Thanks in advance!Hi Dinh Thieu Thien,
please place such a request to the appropriate forum "[Web Dynpro for Java|Web Dynpro Java;".
Thanks and regards,
Boris -
How to create PDF from a web dynpro screen
Hi all,
I am in the process of creating my first web dynpro application for parking a document, the new requirement is when the user parks the document, a PDF of the web dynpro screen should also be generated. Can you please tell me how can I achieve that.
Thanks,
RajatA PDF generated from the screen? There is no SAP delivered functionality to do this. I might suggest that you just use the browser print and print to a PDF generated virtual printer. Otherwise you would have to design an Adobe Form (and run it within WDA using the InteractiveForm) that matched the interface of the WDA screen. There is no automatic generation. You would have to design and maintain each independently.
-
How to create dictionary table using web dynpro?
Dear Experts,
Please clarify my doubts.Im new in this EP development.
Im using EP6 portal with NWDS6 for dev.
My Doubts are :
Im trying to develop a web dynpro application which captures some data and insert/update in Table.
=> If we create a structure Dictionary in web dynpro application will that automatically create the table in Portal database?
=> If it is automatically created how to insert or update that table.
can any one plz help.
thanks and regards,
Viswes.Hi Visweswara
This will use the concept of EJB.
Refer these for creating Dictionary tables...
[https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/70929198-0d36-2b10-04b8-84d90fa3df9c]
[https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/1f5f3366-0401-0010-d6b0-e85a49e93a5c]
As far as answer to your second question is concerned,
=> If u create a structure Dictionary in web dynpro application it will not create the table in Portal database..
You can access that table via creating a web dynpro iview in Portal..
Only application can accessed after deployment via iviews in Portal..
Thanks...
Rewards Appreciated... -
How to create a dropdown in Web Dynpro
Hi,
I just wanted to know how to create a dropdown box.
Actually I am using a webservice and on the view I have to create a dropdown box with 4 values inside it.Also I have to map dat same field with one of the fields in the webservices request node.Is this possible???Hi,
You can create Dropdown in two ways,
1. Create a simpleType.(DictionariesLocal dictonarysimpleTypes)
2. Go to enumeration , and add the data.
3. Create a context and in the property of the context , choose select and select the local dictionary and select the one which you have created.
4. You can create a DropDownKey and map to the context.
Dropdown by Index.
1.) Take DropDownByIndex UI Element in the Layout Tab.
2.) Take One ValueNode Named "Employee" in the Context.
3.) Take One Value Attribute Named "Id" for the Node "Employee".
4.) Bind "Employee.Id" to the texts Property of the DropDownByIndex.
5.) Set the "Employee" Node Properties in the Context Tab as
a.) Cardinality --> 0..n
b.) Selection --> 1..1
c.) Singleton --> True
6.) Write the Below Code in the Implementation Tab.
IPrivate<View Name>.IEmployeeElement empEle;
for(int i=0;i<3;i++)
empEle = wdContext.createEmployeeElement();
empEle.setId("Emp Id "+i);
wdContext.nodeEmployee().addElement(empEle); -
Creating sales order using web dynpro JAVA
Hello everyone,
i am new to web dynpro. Can any one tell me how to creating sales order by web dynpro JAVA using BAPI.
Thanks.
Vinita SharmaHi...
you can use Adaptive RFC methodology in web dynpro java to work with BAPIs..... these are standard bapi's provided
Here are required Bapis... select which one you want....
BAPISDORDER_GETDETAILEDLIST Sales Order: List of All Order Data
BAPI_ORDER_CHANGE_STATUS_GET Change status for order
BAPI_SALESDOCU_CREATEFROMDATA Creating a Sales Document
BAPI_SALESORDER_CHANGE Sales Order: Change Sales Order
BAPI_SALESORDER_CREATEFROMDAT1 Sales Order: Create Sales Order
BAPI_SALESORDER_CREATEFROMDAT2 Sales Order: Create Sales Order
BAPI_SALESORDER_CREATEFROMDATA Create sales order, no more maintenance
BAPI_SALESORDER_GETLIST Sales order: List of all orders for customer
BAPI_SALESORDER_GETSTATUS Sales order: Display status
BAPI_SALESORDER_SIMULATE Sales Order: Simulate Sales Order
check this thread SALES ORDER creation using BAPI
sample java program which will call SAP bapi function sales order create
PradeeP -
Connecting to SAP from Web Dynpro
Hi,
I am new to web dynpro, but have downloaded the java sneak preview edition and worked through it a bit. I understand that we have to use JCo to connect to SAP from Java Web dynpro, . Is it true?
What about web dynpro for ABAP? Can we use normal select statements to connect to SAP? How is it exactly done in that case?
Thanks in advance
PGhi pg
Just go thru this example which describes how to connect to SAP from web dynpro application.
http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/webdynpro/tutorial on accessing abap functions in web dynpro - 4.htm
thanks
kris -
Create portal user using web dynpro abap application
Dear All,
I would like to know is it possible to create portal user-id through web dynpro abap application.
My requirement is
> I have to create a web dynpro abap application. In the web dynpro abap application I have name email-id and phone number as entry fields.
> I will click on submit, one unique id will get created. This unique id will be the login id for portal.
I found how to create portal user using web dynpro java, but i could not find regarding web dynpro abap.
If it is possible to create the portal users using web dynpro abap pls share the code as well.
Regards,
Swapnil IndulkarHi swapnil,
I think by using BAPi.. BAPI_USER_CREATE1 you can create.
Please check this...
Create portal user from webdynpro abap
Creating user and assigning a group through code
user administration su01
How can i get the portal user id from logon ticket in the webdyn 4 ABAP
Cheers,
Kris.
Edited by: kissnas on May 21, 2011 8:47 AM -
How to call PDF file in Web Dynpro Appl?
How to call PDF file in Web Dynpro Appl?
Hi Gobinath,
1. Create a value attribute of type byte called pdfSource.
2. Insert an UI element called Interactive Form in your layout
3. Set the source property of this Interactive From UI element to the context pdfSource.
4. Insert a button which would open your pdf file.
public void onActionsubmit(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
//@@begin onActionsubmit(ServerEvent)
IPrivate<viewname>.IContextElement contextElement = wdContext.currentContextElement();
byte[] bytes = contextElement.getPdfSource();
try
File file = new File("C:
temp
example.pdf");
FileOutputStream os = new FileOutputStream(file);
os.write(bytes);
os.close();
catch (IOException e)
// do something
e.printStackTrace();
//@@end
Warm Regards,
Murtuza -
How to decrease performane of a web dynpro abap application
Hi Folks,
I am new to web dynpro abap .pls tell me how to decrease performane of a web dynpro abap application but dont say by using icm tracking and wd_trace_tool.that are used to find out errors?>You mean to say we can use Runtime analysis and SQL trace in WDABAP?
Yes, that is exactly what I mean.
>I Thomas i need e learning tutorials created by you.I am new to WDABAP.if possible try to send URL of your e learning tutorials
They are all available here on SCN in the Web Dynpro ABAP eLearning library:
http://www.sdn.sap.com/irj/scn/webdynpro-elearning -
How do I connect my netweaver web dynpro
How do I connect my netweaver web dynpro to the portal? how do i arrange the iviews? how do i add the iviews?
hi,
You can create webdynpro iviews in portal in two ways.
1) from iview template &
2) from webdynpro java applications.
If you create from the 1st one, you have to provide two parameters of the webdynpro application.
i) namespace
ii) application name
you can find these namespace & application name from content admin --> webdynpro --> open your webdynpro project > open the application. you will find two columns.
left side name is the namespace (eg: local/firstproject) & right side you will find application name.
If you create iview from 2nd menthod, the following is the link contains creation of webdynpro iview.
[https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/0c7b2f25-0c01-0010-f2a2-f8a65a9dcad9]
hope this helps you
regards,
vv. -
Creating a report in Web dynpro using OOPS concept
Hi all,
Iam new to web Dynpro, i need to create a report in Web Dynpro using oops concept. can any one guide me regarding it.
Regads,
EasterHi,
Please refer to these links -
DEMO_COMMON_ASSISTANCE1 -Example for standard component
http://help.sap.com/saphelp_nw04s/helpdata/EN/43/1f6442a3d9e72ce10000000a1550b0/content.htm
http://help.sap.com/saphelp_nw04s/helpdata/EN/43/1f6442a3d9e72ce10000000a1550b0/content.htm
Regards,
Lekha. -
How to create Sub Queries In Webi
Hi,
we are creating webi reports by using BICS connection..
Now my requirement is how to create sub queries in webi.
Any one give me suggestions how to achieve this
Regards,
GHi Bhargav,
Below is thread related to same topic-
http://scn.sap.com/thread/3430274
~Anuj -
How to make color screen in Web dynpro appl?
How to make color screen in Web dynpro appl?
Hi Gobi..
<u><b>Go thorugh the follwing links</b></u>
https://www.sdn.sap.com/sdn/collaboration.sdn?contenttype=url&content=https%3A//forums.sdn.sap.com/forum.jspa%3FforumID%3D52
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/business_packages/a1-8-4/nw04stack09themes.zip
<u><b>Tutorial</b></u>
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/how%20to%20edit%20web%20dynpro%20themes.pdf
<u><b>Setting the Theme</b></u>
http://help.sap.com/saphelp_nw2004s/helpdata/en/1e/535d420447e054e10000000a155106/content.htm
<u><b>Configuration</b></u>
http://help.sap.com/saphelp_nw70/helpdata/en/43/8a1a8ece230c8ce10000000a11466f/content.htm
Regards,
GS
Message was edited by:
Sathishkumar GS
Message was edited by:
Sathishkumar GS
Maybe you are looking for
-
Button in BEx Analyzer 7.0
Hi, Can anybody help me to create a workbook containing the following: 1. A cell that the end user can fill with a variables value for madatory variable. ex) 01.01.2009 - 07.01.2009 (period variable with name ZVICALDAY_3) 2. A pushbutton that ha
-
I don't know how to program my DVR to edit out the commercial​s
Does anyone know how to program the DVR not to record the commercials? Its not a problem on public television, of course.
-
Burning a DVD from iMovie in OSX 10.8.5
Hi I want to make a DVD from a movie I have made in iMovie. The instructions tell me to send it to iDVD but I believe OSX does not have iDVD. Any suggestions on how I can get this movie copied to a DVD please? (I have an external DVD drive and Macboo
-
Change existing PO in the backend
Hi SRM gurus, Scenario: I have to create custom fields in shopping cart it will have the backend PO number, i need to check this field and add shopping cart line items to the the the same PO. i can get the back end PO details by calling
-
VL32N Zero Receiving or Setting Delivery Complete on Inbound Delivery
ERP Retail Scenario: We receive ASN from vendor creating inbound delivery; however, some items are not received so we enter zero quantity for them into VL32N Zero quantity does not post to article document and invoice verification process (GR-IV)cann