Accessing portal dictionary tables from Web Dynpro project
Hi
Am a new to whole portal and webdynpro thing, and I hope that you can help here
I created a new dictionary project through NWDS and created a table with columns and I successfully deployed it
I also created a web dynpro project and I added a TABEL UI to the layout
how can I connect or access the table I created in the dictionary project from the Web dynpro project so I can query all data to fill the TABEL UI in the web dynpro ?
is there a driver that I can use like JDBC where I can just write regular SQL queries ?
regards
Hi swathi
See the persistence API--Adv and Disadvantages what ever you mentioned come under the persistence API
Relational Persistence
=================
SQL-based coding: expressive!
SQLJ: for static SQL, checked at design time,
recommended
JDBC: for dynamic SQL, can be combined with SQLJ
=======================
Object-relational Persistence
======================
SQL-free! Portable!
JDO: light-weight object persistence, Java-like dynamic
query language
EJB CMP: part of J2EE standard, relatively heavy-weight,SQL-like static query language
Regards,
Venkata Kalyan Karanam
Similar Messages
-
Need info on Accessing portal services within a Web Dynpro application
Hi,
I need information on Accessing portal services within a Web Dynpro application.I want to explore this topic.Can anyone give useful links?
Thanks in advance.
Rajani NHi
how to reference a portal service with web dyn pro ?
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/ep/how%20to/how%20to%20access%20a%20portal%20service%20within%20a%20web%20dynpro%20java%20application.pdf
http://help.sap.com/javadocs/NW04S/current/wd/com/sap/tc/webdynpro/clientserver/portal/WDPortalUtils.html
Best Regards
Jakub Krecicki -
Update cluster table from Web dynpro
Hi
I am trying to export data to a cluster table from web dynpro using this statement:
EXPORT zhr_sanct_st100 FROM zhr_sanct_st100 TO DATABASE zhr_clrm(ep) ID zhr_clrm-srtfd.
same piece of code work well if I include it in a report program through se38, but If I use it in Web dynpro, it doesnt update the cluster table and there is no error shown.
please reply ASAP.
Vishal kapoorThanks for your immediate reply. it worked this way:
IMPORT structure name TO structure name
FROM DATABASE cluster table name
TO wa_zhr_clrm
ID zhr_clrm-srtfd.
initially i missed to insert a work area wa_zhr_clrm, which has all the key fields of the cluster table.
Regards
Vishal Kapoor -
Portal dynamic iView from Web Dynpro ABAP?
I wish to use a "Dynamic iView" from a Web Dynpro ABAP application, but it appears the API is only available in Web Dynpro Java. Can this feature be used from Web Dynpro ABAP, or can this be accomplished in another way?
Scenario: I have two iViews on a page, one Web Dynpro ABAP and another iView whose source I want to change dynamically based on something a user clicks in the Web Dynpro ABAP.
Dynamic iView:
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/44/a72c155df77038e10000000a422035/frameset.htmSo you are suggesting the WDA fires an event to a new WDJ that we would need to create that would in turn use the Dynamic iView service mentioned in that help document?
-
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... -
Portal integration: Navigation from Web Dynpro to other iviews
Hello,
I am trying to implement a navigation from my web dynpro application (which is embedded in our corporate Netweaver portal) to another portal iview.
Therefor I use the "absolute navigation" functionality:
CALL METHOD lo_portal_manager->navigate_absolute
EXPORTING
navigation_target = 'pcd:portal_content/BOSCH_CONTENT/INTERNAL/CONTENT/MY_WORK/MANAGEMENT_SUPPORT/ORDERINGS/PAGES/rb.inside.page.EWORKS_PROCUREMENT'
By hitting a button in the web dynpro this functionality is executed but nothing happens.
The iview defined as target is not called.
The SAP documentation (http://help.sap.com/saphelp_nw70/helpdata/de/18/f96f4132f15c58e10000000a1550b0/frameset.htm) says, the "Absolute address, path for page or iView in the portal content directory. " should be defined as target.
Address, for example ROLES://portal_content/...
I also copied the address from the portal content directory, but it always starts with "pcd:portal_content" and not with "ROLES://portal_content/".
Is this an issue of the portal or of the method call?
Thank you a lot in advance...
Regards
Stefan LöhleinHi,
1.first check if popup blokcer is is disabled for the portal url you are testing with.(This is asuming you are navigating to the iview as an external window).
2.Make sure you are testing this in the context of portal .ie you are runnning the web dynpro within portal and not outside portal as an application.
3.The iview that you would be prefixing with ROLES:// should have the permissions set for the user you are testing with.
Regards,
Ashok -
Change portal Page layout from Web Dynpro
I have some problem:
I need to rearrange Portal Page layout from 2 columns to 1 collumn from Dynpro action. Decision to hide 1 Column or resize its width to 0 is good idea, but I do not now how.
Absolute Navigation is wrong idea, because I need to go back to multiply IViews mode and I will lost my data context.
I saw PageService - custom Portal service, where I can resize IViews.
In my Netweaver 2004 this class is absent.
Probably exist some Portal events to manage Page layout? Anybody knows?
Thanks!Hi,
For this we have to use eventing among the webdynpro components of two different views.You can refer this example for this.
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e8d7cd90-0201-0010-4a8c-dd22fa16ca0a
Thanks,
Murthy. -
Access portal system details in Web Dynpro ???
Hello All,
I have a requirement such that in my Web Dynpro application, I need to figure out that the backend R/3 it is trying to connect to, is it a unicode or a non unicode system.
For this purpose, we maintain an additional alias name for the portal system starting with UNI_ if its a unicode box or NONUNI_ if its a non-unicode box.
Is there any other better way of storing this information.
<b>I need to know, how can we fetch all the alias names maintained for a sytem in portal using Web Dynpro APIs.</b>
Please help.
Thanks in advance,
SamtaHi,
please take a look at the <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/developerareas/webdynpro?rid=/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d">tutorial section</a> here at SDN. This is a good starting point to learn WebDynpro.
Regards
Sebastian -
Access non-DC project from a DC Web Dynpro project
Hi,
I have a DC Web Dynpro project that needs to access a non-DC Java project. As I cannot create a public part of the non-DC Java project then add that public part to the used DC list of the DC Web Dynpro project, I add the non-DC Java project to the build path of the DC Web Dynpro project. That way I can do the coding without any issue, but when I build the Web Dynpro DC, I keep getting building error saying that the Web Dynpro DC doesn't see the classes in the non-DC Java project.
How can I resolve this issue without switching the non-DC Java project to a DC?
I am on NW04s.
Thanks and Best Regards,
VietHi Viet,
There is a way to achieve your purpose, but at the same time, Iu2019m not sure that it will be exactly your requirement. Anyways, herein, Iu2019m providing you a concept which we had used in our earlier project.
You need to create a java file with the communication parameters for DC and non DC and after that create a jar file. Now, you create an external library DC of this jar file and publish it as public part with complication and assembly.
Now, use this external library DC in your DC.
Thanks
Gautam Singh -
Accessing dictionary tables from dynpro?
Hi all
As far as i know, there are 4 approches to access dictionary tables from webdynpro.
-entity bean
-sqlj
-jdbc
what are the advantages and disadvantages for all above?
and which one to go for?Hi swathi
See the persistence API--Adv and Disadvantages what ever you mentioned come under the persistence API
Relational Persistence
=================
SQL-based coding: expressive!
SQLJ: for static SQL, checked at design time,
recommended
JDBC: for dynamic SQL, can be combined with SQLJ
=======================
Object-relational Persistence
======================
SQL-free! Portable!
JDO: light-weight object persistence, Java-like dynamic
query language
EJB CMP: part of J2EE standard, relatively heavy-weight,SQL-like static query language
Regards,
Venkata Kalyan Karanam -
BW SEM-BPS API functions from a Web Dynpro project in Netweaver
Hi,
Rather than using the standard Web Interface Builder in BW SEM-BPS (3.1B), we have to use SAP Netweaver to create a Web Dynpro project which accesses all the API_SEMBPS functions, such as GETDATA, SETDATA, FUNCTION_EXECUTE etc. Has anyone done this before? If so, do you have any examples, hints?
Regards,
Linda LeeHello Linda,
let me add some more remarks on this topic from the BW-BPS development perspective:
I completely agree with Marc's statement.
Thechnically it is possible to build a planning application UI on top of the BW-BPS API functions and we have some customers that are live with such a solution. However, I would recommend this only in 2 cases
1. You need to create a tightly integrated application with BPS being only one part of several other components (including transactional UI, e.g. running against a CRM system).
2. You prefer a UI technology that is not provided by SAP (e.g. Java Swing based).
In all other cases, I would say that one should stick to the Web Interface created with Web interface Builder, mainly for cost reasons. If this tool does not fulfill all your needs there are several possibilities to enhance and extend the generated web interfaces by custom specific coding (see also several How-To guides in this area; e.g. "How to integrate a BEx Web Template into a BPS Web interface").
Another possibility is to loosly couple several web UIs with the help of the portal.
To my knowledge, it is not true that BSP web technology will be obsolete shortly.
In general, I would always prefer a tool supported, model driven approach compared to a heavy custom coding. This is also in sync with SAPs general strategy to a more pattern based approach to create UIs.
Regards,
Tobias Hagen
Dev. Manager BW-BPS
SAP NetWeaver BI -
SRM 7.0 find transparent table name from Web dynpro Component
Hi ,
I am trying to find the transparent table name from Web dynpro component dictionary structure. I am working in SRM 7.0. Please let me know how to find the transpartent table for a field.
Thanks,
Monicahi,
your question is very unclear and does not relate to performance.
SRM uses webdynpro ABAP so the recommendation will not help.
Do you need a technical UI element?
Or the application table where the business data of an UI is stored???
If it is the later, then you can use the SQL trace, change to element you are interested in, and trace it. The table should appear in the trace in connection which an UPDATE command. Still a bit cimbersome.
Siegfried -
Navigate from Web Dynpro app to portal page
Dear All,
I've created a number of Web Dynpro applications which I run from various portal pages. From one of the Web Dynpro's I navigate to a different portal page using the WDPortalNavigation.navigateAbsolute method. This works fine, but I'm left with one problem:
I'd like to pass parameters from the Web Dynpro which navigates to the portal page to the Web Dynpro applications which run on that specific page. I've appended the parameters to the URL I'm navigating to (eg ROLES://<pcd location>?<param=xxx>) and in the Web Dynpro's I've added a parameter to the Default interface plug. This doesn't seem to work. As an alternative I've added the statement WDWebContextAdapter.getWebContextAdapter().getRequestParameter("param") to the doInit() method of the view, but this also doesn't work.
Either I'm doing something wrong, or what I want to accomplish is not possible. Does anybody know of a way to access parameters passed to a portal page from Web Dynpro applications contained on that page?
Thanks,
ArnoudI hope you are passing parameters between two WebDynpro applications.
Please go through the example available for passing interaction between two webdynpro components.
Please check the following link
Alternative method for navigating to another page ?
or the following link
Re: Can we pass parameters in querystring of the webdynpro application? -
Accessing UWL API from Web Dynpro Java
Hi experts,
I need to retrieve the data from UWL into Web Dynpro java, I have gone through many blogs and solutions but since I am new to portal I am unable to a get hang of it. Can anyone provide me step by step solution including codes for my problem?
Thanks & Regards,
Amit Sinha.
P.S. Points will rewarded.Hi Amit,
just gothrough this below link... here they given the coding also.....
Accessing UWL-API out of Web Dynpro Java
it may be helpful to you.... pls comeback if you are struck any where......
Regards,
Srinivas. -
How to create a Web Dynpro Project from Downloaded zip file?
Hi,
I have been working in Java Web Dynpro for last 1 month but not able
to create any Web Dynpro from Downloaded zip file?
Can anybody tell me how to create a Java Web Dynpro Project from
Donloaded zip code?
Regards
Kaushik BanerjeeHi Kaushik,
You can add the existing zip file into your workspace by the following way -
First open the NWDS and create a new project by clicking file -> new -> Project -> Simple -> Project
and then File -> Import -> zipfile and then browse the zip file into the newly created project.
or else you can also unzip the zip file into a folder and then Use the option of Import an exisitng project into workspace. You can find this in the File-> import -> Existing project into workspace. and then use the Browse option to browse to the existing folder.
After importing the project you need to rebuild the project
Regards,
Raju Bonagiri.
Maybe you are looking for
-
I have an icloud message that i can't get rid of.
I have an iphone 4, today a message popped up saying that I have not backed up my phone in 4 weeks. The message is now stuck on the front of my phone and I can't get into my phone to use it or back it up. I still receive e-mails and messages - just
-
Hi All I am having a strange problem. The JSP file is taking to much of time to load and the IE doesnot responds properly even after the the page is loaded. I agree that the JSP has significant amount of Java code in it. What could be the problem?? T
-
Itunes search not finding podcasts keywords
So I created a podcast about a game called League of Legends. Link: https://itunes.apple.com/us/podcast/nexusdown-podcast/id578816992 when the podcast was created I included the following tags as shown: Tags: league of legends,leagueoflegends,lol,nex
-
BEFW11S4 will not connect two computers at once.
I have a new set of cables. When I hard wire two computers to router only one or the other will connect. Thanks for any suggestions.
-
5D Mark III Not Recognising CF Card in Slot 1.
I recently inserted a CF card into slot 1, but the camera cannot see it or format it. I've tried two known, good, error free CF cards, but the camera just tells me they cannot be accessed and to change them or format them in camera. I've checked for