Modification of an iview
1. I need to replace the existing "Change My settings" link with a Z-transaction code 'Zxxxxxxx' in all the roles.
How should I go about this...do I need to create another transaction iview? (it would be of gr8 help if any1 of U can give me detailed steps to do this)
2. And also I want to know the process for creating a package and transporting it frm Dev to Qlity and viceversa.
I am very new to Portal and right now trying to learn it...so it would be of gr8 help if U Portal gurus can guide me.
Regards,
JJ.
1. I need to replace the existing "Change My settings" link with a Z-transaction code 'Zxxxxxxx' in all the roles.
How should I go about this...do I need to create another transaction iview? (it would be of gr8 help if any1 of U can give me detailed steps to do this)
2. And also I want to know the process for creating a package and transporting it frm Dev to Qlity and viceversa.
I am very new to Portal and right now trying to learn it...so it would be of gr8 help if U Portal gurus can guide me.
Regards,
JJ.
Similar Messages
-
Hi All,
I have an iview displaying output using SAPQuery. Once iView diplays the output i don't want to allow the Endusers to sort or removing some columns or any modification to the iView ouput. Why i want this means i am reading this iView ouput and if EndUser perform Sorting on columns ,my progam ouput would be effect .
Regards
MadhaviHi Divya,
to use Workset Map iView you need to follow the structure.
Role
Workset
Worksetmap iview
workset1
workset2
workset3
the way your are saying is not possible because we cannot use workset map iview to show up iViews under Workset.
to resolve ur problem you can go with Service map iView, which you can have under workset to show the pages under workset which contains iViews.
Role
workset1
servicemap iView
page1
page2
Workset2
Workset3
if you go this way TLN you will see the role name
TLN2 will see the worksets, and when you click on workset it will show a icon as workset and the links to pages.
Hope this helps.
Pramod
-Reward points if helpful. -
Problem with displaying a standard field in Personal Data iView
Hi,
I'm trying to display the field 'Nickname' from infotype 0002 in the Personal Data iView. I searched SDN and SAP Help and all of the replies/documentation refers to "Maintain V_T588MFPROPC". I want to display this field in the Edit and the Review and Save screens.
The steps given in this forum seem straightforward but in reality it's a nightmare. I've spent days and nights debugging and testing, but still couldn't solve this. I can see from my debugging that the field is filled in with the appropriate values in all the internal tables/structures but it is not shown at all in the iView. What I got from maintaining V_T588MFPROPC is just the field's attributes.
How do I actually display the field in the Review and Save screens of the Personal Data iView? Does this involving modification to the iView Java program? Can anyone help?
Thanks in advance.V_T588MFPROPC is the table where you add the technical field name for the country version you are using
like for USA it is 10
Now the same field if supported should appear in all screens, it if it not then you would need java modification
of the ess component
http://wiki.sdn.sap.com/wiki/display/profile/ESSPersonalInformationUIenhancementwithoutmodification
https://wiki.sdn.sap.com/wiki/pages/viewpage.action?spaceKey=profile&title=ESSPersonalInformationUIenhancementwithoutmodification&decorator=printable -
Hi,
Can we do a modification in an iview so that it doesn't use the backend Auth object.
For eg. i click on some iview, it fetches the data from the backend system after checking the authorization.
Suppose, if i dont have the auth object assigned to my Id in backend and i want that I should modify the iview so that it doesn't look for that object.
Regards
PuneetPuneet,
Why do you want to fetch the data without proper authorisations.
I believe it's not the correct way of by-passing security.
Thanks
Bala Duvvuri -
Java iviews and PDV Urgent!!!!
Hello FOlks
I am working on EP5.0SP5. I need to do some modification to the existing custom developed java iviews. These iviews were developed using PDV. There is no much documentation available on this. So if any one could tell me where begin the modifications for these iviews it will be of great help to me.
I need to make some columns removed from the iviews etc.
Any help will be of great help. I am working on PDV for the first time.
ThanksHi,
In <b>beforePdvExecuteSource</b>(IDataViewer portalDV) you should set the portalDV source, ususaly using a JCO.Table:
JCO.Table table = getDataTable();
ISource myJCoSource = portalDV.createSource(table);
portalDV.setSource(myJCoSource);
when getDataTable() is a method you should write (probably exists in some way or another in the code you have), which creates a new JCO.Table, fills it with data and returns it.
Removing columns will be done in that method, by deleting lines like:
table.addInfo("ID", JCO.TYPE_STRING, 0);
In <b>afterPdvExecuteSource</b>(IDataViewer portalDV)
you can add meta-data used by the portalDV while displaying the table, like personalization settings,
columns display types, target url for data in a column with a link display type, etc.
In <b>afterTableViewCreate</b>(TableView table) you can handle the display properties of your table (e.g. setting columns visibility, etc.)
In <b>onContainerCreate</b>(TableView tableView) you construct your gui. The given tableview contains the data you put in the source, formatted according to afterTableViewCreate, and should be added to the form (like in doProcessBeforeOutput in ordinary dynPage).
Hope that helps,
Yoav. -
Hiding custom column in Weekly view of the Time Entry in ESS
We have added a custom field to time entry (CAT2). This field is displaying in both (weekly and daily) view of the time entry screen in ESS. Our requirement is too display the field only in daily view.
Is there a way to hide the custom column in the weekly view of the time sheet in ESS?
Thank you,
Rohitwell it would require modification to the iview , it wont be a easy quickfix cause you lauch the iview it is built using CAC2 field customisation
you can explore Personalisation for the daily view hope it can work! -
Web Dynpro ABAP Stylesheet - Portal Integration
We have a Web Dynpro ABAP being displayed through a Portal iView. The Portal server and the Web Dynpro ABAP server are separate. Our problem is in getting the Web Dynpro ABAP to use the stylesheet of the Portal.
We can make this work by forcing an external stylesheet (via application parameters, global Dynpro settings, or passed on the end of the URL), but we have to hard-code the full URI of the Portal stylesheet. This would be very hard to manage if we hard-code every iView's CSS location (or set every individual Web Dynpro's application parameters), and we want instead for the Portal to supply whatever the user's stylesheet is dynamically.
So what we want is: if we change the Portal stylesheet, the Portal would just pass the new stylesheet URI to our ABAP Web Dynpro iViews without manual modification of the iViews.
Here is an example of what works:
http://our-abap-server.com/sap/bc/webdynpro/sap/cprojects?sap-ep-themeroot=https://our-portal-server.com/irj/portalapps/com.sap.portal.design.portaldesigndata/themes/portal/ourportalstylesheetname
Shouldn't the Portal iView automatically pass sap-cssurl or sap-ep-themeroot to Web Dynpro ABAP? We have "Supply Portal Stylesheet" checked on the iView it just doesn't pass anything to the Web Dynpro ABAP. Why wouldn't SAP pass this parameter dynamically to the Web Dynpro ABAPs? Is this a product error?
There seems to be a great deal of confusion about this on the SDN message forums... I think this may be the core issue.
We are using a 7.0 SP13 Portal with an ECC 6.0 SP12 backend.Now that you mention it, I ran into that exact same issue -- the application parameters didn't work for hard-coding the theme. The fix ended up being the web server semicolon thing I mentioned earlier (that was why the parameter didn't make it to the backend).
The themeroot is automatically sent to the backend from the portal, so you shouldn't really have to manually send it as a parameter anyways.
I'd suggest talking to your network guys. Also this could be the result of the SP you are on (we're on 13 for the portal and the backend system -- maybe this feature doesn't work in some earlier SP's?). There are also some options to force the theme as a WD application parameter on the backend side, which you could check into. Details on those are here:
[http://help.sap.com/saphelp_nw2004s/helpdata/en/7b/fb57412df8091de10000000a155106/frameset.htm]
Also you could look at the requests being made by installing HttpAnalyzer in your browser. You can inspect "post" parameters going from the portal to the backend system. One of those posts (the first one to the backend system) should contain the parameter sap-cssurl (same kind of thing as sp-ep-themeroot). This is where our problem turned up as this parameter was not being posted.
Lastly, make sure that your frontend portal and backend portal are in the same domain. For instance:
frontend.domain.com
backend.domain.com
If your backend and frontend are in different domains it messes all kinds of things up, including stylesheets I think. If you can't get around this, then read about domain relaxing (but I highly recommend getting the domains the same).
When we started, ours were:
portal.dx.company.com
sap.company.com
This created all kinds of problems. Putting our systems in the same domain with the same protocol and fixing our little semicolon web server problem fixed basically all of our portal complaints. Up until that time, we had also had many problems with session management (backend sessions were getting stuck until the HTTP timeout).
That's all I know. Good luck. -
ESS - how to remove the search header.
Hi expert.
I want to remove the search header in the portal ess mss.
Can it be done? and how?
tq.Hi
do yu want to remove the search from the desktop or do you want to disable the Employee search in ESS overview page
For disabling the total Tool area follow below article
[Customizng the Tool Area|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/501f3154-b66c-2910-0988-bd9b2440d018?quicklink=index&overridelayout=true]
To remove search in ESS overview check the Overview IView and do modifications to that iview by CTRL+RightClick
Regards,
Mahesh -
How to allow modification of Country key in standard ESS "Adress" Iview ?
Dear all,
In the standard ESS Personal Information Iview and especially "Adress" Iview, the COUNTRY drop down list can't be modified, modification is deactivated, Country drop down list isn't accessible. But I need to let people select their country when they indicate a new adress (emergency, foreign adress, secondary adress...).
In SPRO>ESS>Personal data/information -->I use country 06, infotype 0006, application case 1 permanent residence.
I tried the CTRL+right click method but I can't activate the country "modification" (no button to solve my issue).
I looked at the below thread but I do want to know if there's really no standard way to allow people to modify that usual field?
http://wiki.sdn.sap.com/wiki/pages/viewpage.action?spaceKey=profile&title=ESSPersonalInformationUIenhancementwithoutmodification&decorator=printable
Many thanks by advance for your advices!
BR
Blandine LandaisMany thanks for your answer!
I've tested it on another system (EHP3 this time) and you need, indeed, to activate business functions (new releases of EHP) in the customizing to allow editing of other country forms. The address iview is a new one too, so no way on an ECC6.0. We tried to search a solution within the abap way but it would generate such a big specific development that I'm not sure we will implement it..
Thanks again for your helpful answer.
BR -
Iview modification: java class compilation ?
Hello,
I have downloaded from the portal the .par of the iview I want to modify.
I have extracted from this .par file one class for modification. I have decompiled this class using JavaDecompiler and I have modified the code.
My question is to know how I could now compile this modified class?
When it will be done I will put this class in the JAR file with the no modified classes.
Thanks for yout help,
Regards,
Jerome.Hi Jerome,
First, welcome on SDN! About your question:
You have (at least) two options: Create a pure Java project in NWDS/Eclipse and compile the modified class, later on use some tool like WinRAR to exchange the original class with the modified one (dirty approach).
Or: Create a portal application project, remove the decompiled class from the privat lib jar / lib jar, put these modified JARs into the target lib directories, and put the decompiled Java file into the appropriate src section.
This way, the non-modified original class files as well as your modified class get together into the destination PAR. This one is also deployable from NWDS (clean approach).
Hope it helps
Detlev
PS: Please consider rewarding points for helpful answers on SDN. Thanks in advance! -
Enhancement/Modification ESS iViews WDA (EhP2)
Hi All
I am implementing T&E of ESS with WD ABAP iViews (EhP2). I have some requirements like adding an input field and couple of similar modifications. It would be great if any of you could share some information on this.
Thanks, RajHello there,
I am a bit confused by your question...because what I know is that when you make delta link of SAP Content ..make changes to it ....and then apply new patch the new SAP changes are applied to the custom content because of the delta link as well as the old custom changes are retained.....they are not overwritten....
Regards,
Shikhil -
Synchronisation of iview modifications in a cluster environment
Hi:
We have several iviews arranged on a single page, which
shows URL links to several websites belonging to various
internal departments. The approach we have taken is
#. Put the URL link attributes like url, display string,
target etc. in a resource file (like properties). Read
them for rendering, write back to the files after Admin
modification(s). We put these properties files in the
private area of the .par file structure.
Part of the functionality is Admin(s) can invoke an admin
iview, which allows to edit, modify, add, delete these
URL links on these different iview trays.
Question is whether synchronisation occurs for these
Admin modifications in a clustered environment ? We know
synchonisation occurs, when a new iview is deployed, but
what about when some resource files are modified ?
One idea we have is whether we can write to PCD area of
the Database ? Is it possible ? if so, good or bad ?
Thank you so much for your help,
Prasad NutalapatiOne solution is that you need only one single MDB deployed to consume from this queue. Thus deploying the MDB in one node only would solve this, but then again you will not have the fail-over handling of this MDB. In JBoss though you may deploy the MDB as a ha-singleton [http://www.jboss.org/community/docs/DOC-9899]. It will ensure only one MDB is deployed for the entire cluster, and if the node it is deployed at fails, JBoss will start the MDB on another node. This is not providing load-balancing, but then again it is in no use for you, since your requirement is sequential processing of the messages. But this is application server specific.
Another possibility is support by JMS provider. Sun's reference implementation (Java CAPS reference jms) supports 'protected concurrent processing' [http://developers.sun.com/docs/javacaps/reference/820-2239/bpabu.html]. This ensures that one consumer cannot commit its work before another if that breaks the timed sequential ordering of the messages. This requires of course XA transaction, and also that your code handles the start of processing of message 2 before message 1 is committed (but cannot commit it before message 1 is commited). This is JMS implementation specific solution.
Just my $0.02
- Roy -
Modification of ABAP Web DynPro iViews delivered via Business Packages
Hello Everyone,
If this has been answered before, I apologize.
Is there any 'supported' way ( or 'unsupported' ) to modify the out of the box ABAP WebDynPro iViews which are delivered via some of the new Business Packages for ECC 6.0?
For example, I want to hide some fields on the 'Create Order' iView delivered in the Business Package for Internal Sale Representative..
ThanksThese Business Packages are just iView definitions that point to normal Web Dynpro ABAP components/applications that reside on the backend ABAP system. They can be enhnaced like any other WDA application.
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/6b/edc21e5e1e4a33a492b8955afffac7/frameset.htm
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/47/b170d256293c5ce10000000a421937/frameset.htm
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/94/9cdc40132a8531e10000000a1550b0/frameset.htm
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/c5/f4b9422e0fb911e10000000a1550b0/frameset.htm
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/9f/95467bbefc4a808fffeba4c5177258/frameset.htm -
MDM Item Details iView modification
Hello,
We have a requirement to implement custom functionality for some of the fields when using the standard Item Details iView. Is there a way to do the following:
Currently the field in question has a popup functionality that is standard for the iView.
Instead of this popup we need to have our custom WebDynpro iView show up and integrate it to the calling main Item Details iView. In other words, we need to replace the standard popup for a field with our own custom popup.
Keep in mind that we are using MDM 5.5 SP05 where Item Details iView does not support custom eventing.
Thanks in advance,
BorisHi Jitesh,
Thank you for your answer. You are right, in order to have custom eventing with Item Details iView I need to have at least SP06 and this is one of the restrictions we are facing.
Although our servers for the project are SP05, I have a local trial copy of SP06 on my PC and I have to say that it still doesn't give me the flexibility that I need. The Item Details iView can trigger the event only upon Saving. In other words, there is no custom eventing on click of a popup or anything else. The purpose of this custom eventing is to only give the ability to do additional custom validations.
Thanks again,
Boris Todorov -
Hello,
I have downloaded a par file related to Personal Data(com.sap.pct.hcm.eeprofilepersonaldata.par) and chnaged the name to com.mycompany.pct.hcm.eeprofilepersonaldata.par imported to Developer Studio and commented some code. I created a par file from this code and deployed it to Portal using Developer Role. I used this par file to create an iview(com.mycompany.personaldata). When i used this iview it is giving the error below.
Portal Runtime Error
<b>An exception occurred while processing a request for :
iView : pcd:portal_content/com.comp.pct/com.comp.pct.mss.roles/com.sap.pct.hcm.manager/mystaff/nf_2/com.sap.pct.hcm.eereview/com.sap.pct.hcm.eeprofile/com.mycompany.personaldata
Component Name : null
Page could not create the iView.
See the details for the exception ID in the log file</b>
please help me with this....
thank you in advanceHi,
first of all thanks for quick reply. I changed the prefix to reflect to name space on changed par file. Is there anything else? When i go to Portal Tester under Developer role i see error....
>>#1.5#0002553A11CD005A0000043E000E0070000412698EB50639#1146144481935#com.sap.portal.portal#sap.com/irj#com.sap.portal.portal#SMANCHAL#6460##nadcp949_LPD_2755950#SMANCHAL#a14f3140d5f011da9c600002553a11cd#SAPEngine_Application_Thread[impl:3]_19##0#0#Error#1#/System/Server#Java###Exception ID:09:28_27/04/06_0002_2755950
[EXCEPTION]
#1#com.sapportals.portal.prt.component.PortalComponentException: Error in init method
Component : com.len.pct.hcm.eeprofilepersonaldata.default
at com.sapportals.portal.prt.component.PortalComponentContext.init(PortalComponentContext.java:251)
at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.refresh(PortalComponentContextItem.java:267)
at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.getContext(PortalComponentContextItem.java:312)
at com.sapportals.portal.prt.component.PortalComponentRequest.getComponentContext(PortalComponentRequest.java:385)
at com.sapportals.portal.prt.connection.PortalRequest.getRootContext(PortalRequest.java:435)
at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:607)
at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)
at java.security.AccessController.doPrivileged1(Native Method)
at java.security.AccessController.doPrivileged(AccessController.java(Compiled Code))
at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java(Compiled Code))
at java.security.AccessController.doPrivileged1(Native Method)
at java.security.AccessController.doPrivileged(AccessController.java(Compiled Code))
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java(Compiled Code))
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java(Compiled Code))
Caused by: com.sapportals.portal.prt.core.broker.PortalComponentInstantiationException: Could not instantiate implementation class com.len.pct.hcm.employeeprofile.personaldata.PersonalDataComponent of Portal Component com.len.pct.hcm.eeprofilepersonaldata.default because: Could not find implementation class
at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.getInstanceInternal(PortalComponentItemFacade.java(Compiled Code))
at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.getComponentInstance(PortalComponentItemFacade.java(Compiled Code))
at com.sapportals.portal.prt.core.broker.PortalComponentItem.getComponentInstance(PortalComponentItem.java(Compiled Code))
at com.sapportals.portal.prt.component.PortalComponentContext.getComponent(PortalComponentContext.java(Compiled Code))
at com.sapportals.portal.prt.component.PortalComponentContext.init(PortalComponentContext.java:242)
... 28 more
Caused by: java.lang.ClassNotFoundException: com.len.pct.hcm.employeeprofile.personaldata.PersonalDataComponent
Found in negative cache
Loader Info -
ClassLoader name: [com.sapportals.portal.prt.util.ApplicationClassLoader@26ff7519]
Parent loader name: [com.sapportals.portal.prt.util.ApplicationClassLoader@26bbb519]
References:
not registered!
No resources !
at com.sap.engine.frame.core.load.ReferencedLoader.loadClass(ReferencedLoader.java(Compiled Code))
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java(Compiled Code))
... 33 more
Any more ideas??
thanks in advance...
Maybe you are looking for
-
I have to force quit because my mac says "Firefox not responding" this happens on both my work network and home (cable) network.
-
Reader does not remember the last page! Disaster!
Critical bug detected on: Nokia Lumia 620 Adobe Reader v10.3 Description: Try open any PDF file, then move pages, exit from reader, then back again in reader. Reader must remember last page! Please fix this, because it's very important feature in any
-
Reg Soft error on SATA SSD with smartctl command
Hi, When we run smarcli on SSD disk , we are seeing the below message from dmesg (command :- ./smartctl -a -d sat /dev/rdsk/c0t500A0751093F1E6Fd0) SATA SSD disk is connected to system via SAS backplane dmesg ==================== Nov 18 06:52:41 mo
-
Regarding input output field of the screen painter
Hi Experts, I want to increase the height of the input output field in the screen painter. ie, multiline input output field.Is there any means? Or is there any alternative other than the input output field? Thanks & Regards, Soumya.
-
Select from a collection of collections SELECT - CAST - MULTISET - TABLE
Does someone have a suggestion for the SELECT statement which is performing a CAST? I am on Oracle 10.2.0.1.0. The goal is to take a collection of a nested table and order it by color, then descr, then grown_by, saving it into an ordered collection (