Customisation of mast head
Hi
I required to include top level navigation into mast head file.
If I include toplevelnavigation.jsp file in masthead.jsp it gives exception ---
<b>Portal Runtime Error
An exception occurred while processing a request for :
iView : pcd:portal_content/com.gems.gemscontent/com.gems.Devaram/com.newmast.newmast
Component Name : newedsmasthead.default
Error occurs during the rendering of jsp component.
Exception id: 02:13_17/08/06_0032_13329050
See the details for the exception ID in the log file</b>
Any one help me how to solve this problem.
Hi,
If you are inserting the toplevelnavigation.jsp file in the masthead then the jar file present in the toplevelnavigation par file must be added in the customised masthead. The component of toplevel navigation must be added in the portalapps.xml file also.
There must be some syntax error in the code of jsp so the error occurs during the rendering of jsp is shown.
Similar Messages
-
REG : Login Link in mast head
Hi Experts ,
We have customised standard logon par file (headeriview .jsp)
Now we have login link in mast head.teh link login is coming as follows
LOGIN_
Could you pelase let me know why this underscore is coming.
Regards,
AnuHi Anu,
every link, text or button has a key, which is used in the language property files.
It seems that the key was added or changed to LOGIN_ and so the correct text cannot be retrieved from the property files.
See more about this feature in my blog Portal Customizations Intro - Login Part 1
in the paragraph Changing Text
Regards,
Kai Unewisse -
How to enable the logo using master head par?
I want to change the logo on the portal page in Master Head
I have downloaded the par file of masterhead and changed required things like added .jar file, image required to show
Then i created the new par file and uploaded the same.
(with another name given for the uploaded par file)
how can i make this par file enabled to show the new logo? in PCD?You can also use other tools(non-eclipse) to change it.
Modifying Portal Initial logon pageThis procedure applies for EP 6.0 SP3 and higher.
The logon user interface (UI) of SAP Enterprise Portal is delivered in a liportal archive (PAR file) named com.sap.portal.runtime.logon.par which
contains all the logon UI's code and resources. In a deployed portal, the PAR file is located at
<J2EE_Engine_Instance>\j2ee\cluster\server<X>\apps\sap.com\irj\servlet_jsp\i
rj\root\WEBINF\deployment\pcd.
During initial portal deployment, it is renamed to
com.sap.portal.runtime.logon.par.bak.
To customize the logon UI, we recommend the following procedure:
Modify the PAR file containing the logon UIs
1. Make a copy of com.sap.portal.runtime.logon.par.bak and rename it. In
this example, it is renamed to my.new.logon.par.
2. Move my.new.logon.par to a location outside of the
<SAPJ2EEngine-deployment-dir>.
3. Extract the files from my.new.logon.par preserving the directory
structure.
4. Modify files in the extracted PAR file.
5. Put the modified files back into my.new.logon.par.
6. Copy my.new.logon.par back to
<J2EE_Engine_Instance>\j2ee\cluster\server<X>\apps\sap.com\irj\servlet_jsp\i
rj\root\WEBINF\deployment\pcd. -
Portal Mast head customization
Hi All,
I have created and deployed a customized portal mast head.
There are no issues with the portal at all.
But I am finding a lot of log traces in the default log trace file .
Can anyone suggest/guide me what can be the issue .
I am getting the following error :
Exception ID:09:50_03/08/07_0166_9940351
[EXCEPTION]
com.sapportals.portal.prt.runtime.PortalRuntimeException: iView not found: pcd:portal_content/com.adidas-group.comadidasgroup/com.adidas-group.Masthead/com.adidas-group.AdidasPortalDesktop/frameworkPages/frameworkpage/com.sap.portal.innerpag
at com.sapportals.portal.prt.deployment.DeploymentManager.getPropertyContentProvider(DeploymentManager.java:1937)
at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.refresh(PortalComponentContextItem.java:234)
at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.getContext(PortalComponentContextItem.java:316)
at com.sapportals.portal.prt.component.PortalComponentRequest.getComponentContext(PortalComponentRequest.java:387)
at com.sapportals.portal.prt.connection.PortalRequest.getRootContext(PortalRequest.java:488)
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.doPrivileged(Native Method)
Best Regards
SidHai Kuthbudeen
The jar files are not included in the modified par file. You can unzip the default par file and then copy the "com.sap.portal.navigation.masthead_core.jar" jar file from this. Paste the jar file in to your project folder "PORTAL-INF\private\lib" . Then deploy the par file
Regards
Geogi -
Personalize link not visible in mast head
Hi ,
The personalize link is not visible in mast head.
Can anyone guide me on this .
Best Regards
SidHi
Go to Content administration -> Portal content-> Content provided by sap -> End user content->Standard portal users -> Worksets-> Portal personalization to the role of the user
You can also assign eu_role role to that user to enable the personalize link in masthead but this brings iviews too in the content area.
Regards,
Ganesh N -
Include link to a workset/page on mast header similar to Personalize Link
Hello,
is it possible to include a link in the mast header like the personalization link to open a workset/page in a pop-up. I looked at the HeaderiView.jsp and for Personlization an Event is raised, but I couldn't find how the Personalize Workset recognizes/subcribes this event.
Cheers,
ErikIt is true... NavigationTarget opens an entirely new portal framework. I am trying to dynamically change the portal top level nav, 2nd level nav, and detailed nav based on a link I click from the content area.
For example, this link would be in content area:
http://prh459.pr.us.pri.wyeth.com:50200/irj/servlet/prt/portal/prtroot/com.sap.portal.navigation.portallauncher.default?navigationtarget=roles://portal_content/roles/page/iview..
however...this link opens an entirely new portal framework within the content area...
how do I use this: EPCM.doNavigate "ROLES://portal_content/...
as you state earlier in the post? I would like to not open an entirely new framework within the content pane, but rather open a new iview within the content pane. I would like to also change the 2nd level nav and detailed nav based on the actual iview that is now displayed in the content pane. Since I can physically navigate to the iview, can I dynamically change the portal nav to represent this and place the correct iview in the content pane? ... is this possible? I can do it with NavigationTarget=ROLES://portal_content/ but again, it opens an entirely new portal framwork within the content pane... -
We have a requirement where we need to change the images for the mast head. So I downloaded com.sap.portal.navigation.masthead.par and modified the HeaderiView.jsp. I didn't change much, I just appended "Hello" to firstName and deployed and keep get following error:
Exception ID:04:22_05/04/06_0002_5925350
[EXCEPTION]
com.sapportals.portal.prt.component.PortalComponentException: Error in init method
Component : com.sap.portal.navigation.masthead.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.doPrivileged(Native Method)
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:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:95)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:159)
Caused by: com.sapportals.portal.prt.core.broker.PortalComponentInstantiationException: Could not instantiate implementation class com.sapportals.portal.navigation.HeaderiView of Portal Component com.sap.portal.navigation.masthead.default because: Could not find implementation class
at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.getInstanceInternal(PortalComponentItemFacade.java:242)
at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.getComponentInstance(PortalComponentItemFacade.java:160)
at com.sapportals.portal.prt.core.broker.PortalComponentItem.getComponentInstance(PortalComponentItem.java:732)
at com.sapportals.portal.prt.component.PortalComponentContext.getComponent(PortalComponentContext.java:103)
at com.sapportals.portal.prt.component.PortalComponentContext.init(PortalComponentContext.java:242)
... 26 more
Caused by: java.lang.ClassNotFoundException: com.sapportals.portal.navigation.HeaderiView
Found in negative cache
Loader Info -
ClassLoader name: [com.sapportals.portal.prt.util.ApplicationClassLoader@c5ecc]
Parent loader name: [sap.com/com.sap.portal.navigation.masthead]
References:
not registered!
Resources:
D:\usr\sap\SMX\JC00\j2ee\cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\portal\portalapps\com.sap.portal.navigation.masthead\private\classes
at com.sap.engine.frame.core.load.ReferencedLoader.loadClass(ReferencedLoader.java:348)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:219)
at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.getInstanceInternal(PortalComponentItemFacade.java:228)
... 30 more
It looks like there is a dependent classes that I need to deploy along with this par file.
Which par file should I be modifying?
Any suggestions would be greatly appreciated.
Thanks,
PraveenGuys:
Thanks for your quick response. Defiantly very helpful answers
I basically downloaded a corrupted par file and I was getting all these error message. I downloaded par file from a different server and it seems to work great.
I don't know how to reward points to all of you.
Once again guys, thanks for your answers.
Thanks,
Praveen. -
After Merging the search tool Area and Mast head ivew its giving error
Hi Porat Gurus,
I have merged the Mast head Ivew with the top level tool area and added all the components that is required for tool area search in mast head Ivew in the lightheader page and deploying its giving error
Portal Runtime Error
An exception occurred while processing your request
Exception id: 11:50_14/10/08_0008_7205750
See the details for the exception ID in the log file.
plz tell where do i search for this exception
i could nt find anything in default trace
thanks in advance
johnyHi,
Steps need to for Merging the search tool Area and Mast head iview,
1. copy the search area properties from the tool area and paste the properties in masthead property file.
2. copy the tool area jar in the lib folder of the tool area par and paste that in to lib folder of masthead par.
3. copy the search area variables and methods from the tool area jsp and paste variables and methods in masthead HeaderiView.jsp file.
4. copy the search area properties from the tool area portalapp xml and paste the properties in masthead portalapp xml file.
Check these steps are done.i hope this will help u.
Regards,
Kathiresan R -
Hi ,
Can anyone guide me how to hide the User mapping tab from the user profile page of personalize link available in the mast head.
When the user cliscks on the link personalize in the mast head , he can see the user profile page . I want to hide the user mapping tab from this page .
Best Regards
SidHi Siddhart,
The Personalize option is a workset and linked to the Standard User Role.
So just open the standard user role and select the User Profile page which is linked to the Personalize workset.
The "User Profile" object is a Web Dynpro Application. So to customize it you can just press the preview button and in the preview page hold the "Control" key and right click on top of the "User Mapping" tab. You will find the option to hide the tab.
To do this you need to have administrative access.
Since you are changing SAP delivered role, I would recommend copying the role and making the changes to the copied (as delta link) role. You can then assign this role to the end users.
This method is applicable to EP 7.0 and NW 2004s.
Regards,
Abhishek -
Chnaging the Logo in the Master head?
Hi Friends,
How to add the Custom logo in the Master head instead of SAP Logo.
I copied the standard theme Saved as customtheme.
In the customtheme
In the Portal Master head in the "URL to Logo " property uploaded custom logo and saved.
Added the Custom theme to the own desktop and set the custom theme as defult.
But still it is showing the SAP Logo only.
Guide me how to solve this problem.
How to solve the problem using Masthead.par file.
Thanks
Srikanth.Hi,
I did not see any other chance of error in this process.
the problem might occure if
1) the new desktop in not saved properly when you modify the existing theme. did you change the standard name and then saved it with your custom desktop name? if yes go back again and check the preview of it, save it again.
2) mistake in adding the desktop to the user / role /group in main_rule (master rule collection). try creating a new user and assign this new desktop to that user.
3) very less chance with browser cache clearance. i think you already did it.
check the above 1 and 2 points once again.\
PradeeP -
How to create iView for customized master head war ?
Hi,
I deployed customized masterhead war file. But i cant see deployed war in portal application location.
Anyone help me for customizing and masterhead page and how to create iView for customized master head...Hi,
1. You can see the deployed application under the "Portal Applications"
2. If you want to create an iView out of it. right click on the application -> copy. than press right click in the folder you want the iView will be created and paste ad pcd object.
Hope I helped you.
Ronny. -
Error while updating any SAP / Customised AddOn Master Data Form in SAP B1
Hello Experts,
I am facing a unique Problem in my addon .I have created two Master Tables Forms and entered the data in that two forms and the entry is done alright.
But while updating that Master data system is throwing an error "Conversion Failed when converting the nvarchar value 'A001'
to datatype int (CINF) "
Here i have saved the Data as 'A001' in code field of MAster Data Table.
This error is showing even in SAP Item MAster or any MAster Type Forms.
This problem persist in all Master type Forms not the Document Type Forms.
Please suggest a solution for this error to rectify.
Thanks
Amit
Edited by: AmitSharma_061985 on May 30, 2011 8:51 AMHi Amit,
Do you have any customisations in your Transaction Notification proc on the company database? You'll get this error if you have an old version of this procedure and you are doing any validation with the object_type parameter (which used to be data type int but is now nvarchar).
See SAP Note 1298609
Kind Regards,
Owen -
Vendor master Head office Concept tax value problem
Hi,
I have created two Vendor master and assigned one vendor as Head office in other,I have tax code for the plant vendor material combinatio for which one vendor 5% VAT is maintained and other vendor I have maintained 2% cst now while creating A MIRO for the PO raised for the vendor of other vendor system is bringing the other party as invoicing party but the tax becomes 5% vat and 2% cst what may be wrong
Regards
vijikanthaDear friends
I am facing a unique problem. Problem is related to Head Office &
Branch relationship. When i post a document through FB70 (FI manual
Sales Booking) system is updating Head office and post the document
which is correct. We can view the particular transaction though FBL5N
report for Head office customer.
Now if i book sales through Sales Order ie SD Module, System is not
Updating Head office customer in the Accounting Document.We can view
Accounting Document in Branch Customer only using FBL5N report. when we
run FBL5N for Head Office Customer, it is not showing billing document.
We have maintained Head Office field in Branch Customer master data.
We have maitained Branch as SP / BP / PY / SH under partner function
under Sales Area Tab of Branch Customer Master data.
Waiting for your reply
Thanks & Regards
Brijendra H Shakdwipee -
Anchors, Scrolling & Master Header in Foreground
When using the new feature for having content scroll under a header in foreground - when I use anchors to scroll from a position on the page, my anchors do not scroll properly to the intended position on the page. Not sure why - I've followed the new tutorial on this.
Perhaps I'm missing something. I'm not aware of any way in which this works differently on a master versus a normal page.
The header is an area on the page. When you scroll down that area is no longer in view in the browser. The header is not a collection of objects that might be pinned or might not. I don't see a way for Muse to infer the intent of your design without being wrong in more cases than it would be right.
Imagine a design with a triangular "SALE" graphic pinned in the top right corner. Should all anchors now be scrolled to the bottom of that graphic? Or should the be scrolled to the top of the browser. If you answer the former, then how does the individual with a design that calls for content to be scrolled to the top of the browser (to the left of the "SALE" graphic) achieve that? Note that they have a header on the web page, it's just not pinned. Their design calls for it to scroll out of view. To achieve the design they're looking for, they'd have to offset the anchor position by the height of the triangle graphic or the height of the header, depending on which you think Muse should use to infer an incorrect anchor scroll position.
Many sites follow a pattern of having icons with links to social media pinned to the right or left edge of the browser window. If one or more of these happens to intersect the header area for the page, should that alter the scroll behavior of all anchors?
I think whether or not you consider this a compensation you're making or not is a matter of perspective. From your perspective Muse should recognize you've pinned what is logically a complete header for your page and assume anchors should thus scroll to an offset equal to the header height (even though the header portion of the page will have scrolled out of view and its height need not have any logical relationship to the objects that were pinned). From my perspective the anchor always scrolls to the top of the browser window (a very predictable and constant location) and enables you to create whatever design you want (perhaps with a full pinned header, perhaps with only a "Top" button or home logo pinned at the top or with nothing pinned at all). -
Creating additional customised tabscreen under header data for me21n
hi all.
i have a requirement for adding extra tabscreen (subscreen) undr headr data of me21n purchase requisitions .
and other thing is i want to know how we can raise an eror message if the user has filled all data in me21n except in customised tab screen that i am going to create.
waiting for great answwr.
bye.
sita ram,Hi,
you can find tons of general info BADIs on this forum. So basically go to transaction SE18 and enter name of your BADI - ME_GUI_PO_CUST. Please read carefully documentation. There is button for documentation. In documentation you can find following statement:
The Business Add-In (BADI) ME_GUI_PO_CUST enables you to integrate your own subscreens into the Enjoy purchase order at both eader and item levels.
So it looks like what you need. You have description for each method of BADI in documentation as well.Definitely you will have to implement method SUBSCRIBE. You will define your own screen in this method. Then you have to implement PBO and PAI logic (check methods TRANSPORT_TO_DYNP and TRANSPORT_FROM_DYNP). SAP provides examples for each BADI. You can read the example of BADIs implementation in Goto->Sample Code->Display. These examples are very well commented. I am pasting just example of SUBSCRIBE implementation
DATA: ls_subscriber LIKE LINE OF re_subscribers.
* we want to add a customer subscreen on the item detail tab
CHECK im_application = 'PO'.
CHECK im_element = 'ITEM'.
* each line in re_subscribers generates a subscreen. We add one subscreen in this example
CLEAR re_subscribers[].
* the name is a unique identifier for the subscreen and defined in this class definition
ls_subscriber-name = subscreen1.
* the dynpro number to use
ls_subscriber-dynpro = '0001'.
* the program where the dynpro can be found
ls_subscriber-program = 'SAPLMEPOBADIEX'.
* each subscreen needs his own DDIC-Structure
ls_subscriber-struct_name = 'MEPO_BADI_STRUCT'.
* a label can be defined
ls_subscriber-label = text-001.
* the position within the tabstrib can be defined
ls_subscriber-position = 5.
* the height of the screen can be defined here. Currently we suport two screen sizes:
* value <= 7 a sevel line subscreen
* value > 7 a 16 line subscreen
ls_subscriber-height = 7.
APPEND ls_subscriber TO re_subscribers.
So basically you will define your new sub screen in this method. Do not forget that the BADI ME_PROCESS_PO_CUST is compulsatory for BADI ME_GUI_PO_CUST.
Cheers
Maybe you are looking for
-
How do a make a clickable image redirect you to a different page in iBooks?
I know that I can make an image clickable, and insert a url where it will go once clicked. But I want to make a widget to use in iBooks Author, that can take the reader to a certain page of the books depending on what they click. Is this possible?
-
Digitizing **** - FCP 4.0 and a DVCPRO 50 deck/external FW 800 drive
In digitizing ****. Working on documentary project shot 720x480p @24fps. DVCPRO 50, coming in through the deck's firewire. Then to external 500gig drive, firewire 800. Everything worked fine, digitzed 10 tapes. Then someone added another firewire dri
-
New iMac mini DisplayPort to Panasonic Viera HDMI overrides Viera Link Soundbar
I've just bought a new iMac 27 inch. I've connected it to my Panasonic Viera TV via a Belkin Mini DisplayPort and Belkin HDMI 5m cable into the tv's HDMI port. The Viera Link Soundbar is connected via the ARC HDMI2 port. When the imac HDMI is connect
-
Where is delete button on mail notifications in Mavericks?
I've upgraded my late 2008 Macbook to Mavericks. I was excited to be able to delete emails directly from the pop up notifications. Instead the notifications are worse. Before I could open the email or close the notification. Now the two choices a
-
Signing a trusted jar for use with forms
I have not found sufficient documentation on how to sign a new jar for use in conjunction with forms. I have read the descriptions in the getCLientInfo bean. This doesn't cover the whole subject. What must be done in Jinitiator? for instance. Can som