Quantcast
Channel: SCN : All Content - SAP Enterprise Portal
Viewing all 3876 articles
Browse latest View live

cannot open XXX.xls because file format or extension is not valid

$
0
0

Hello All,

 

I have the below issues while using "Export to Excel" in BEx Web Analyzer. I get the below error

Untitled.png

The same file opens fine in Windows XP.

I am trying to download and open the file in

Windows 8

Excel 13

IE 11

SAP GUI 730 (Patch level 7)

According to the SAP note 1652769 favorable S/W combination is ( Windows 8, IE10, Excel 2010,2013)

Could you please let me know if there is any alternative solution for this or IE11 is not compatible.


Best Regards

Kiran


SAP GUI for HTML - Short dump for Office intehration

$
0
0

Hi Experts.

  I am using portal to view the transaction and it needs to open a document, while opening a document through it getting an error. when using

  SAPGUI for HTML. 

 

  But it is working fine for GUI for Windows. ( selected this option in iView). It also works fine when use the transaction SAP itself.

 

Getting an below error from portal.

 

A RAISE statement in program "C_OI_CONTAINER_CONTROL_CREATORCP" has rais

exception condition "JAVABEANNOTSUPPORTED".

Since the exception was not caught by a program higher up in the call

hierarchy, processing was terminated.

 

 

Thanks

Rag

Iview in portal PA to open BEx workbook in a different server

$
0
0

Hello gurus!

 

   It is my first post in this forum, so I hope I can be clear enough. I am facing a client request for which I have not found any documentation of how it could be possible. I will explain more or less the requirements. I have been searching through the forums and I could not find anything.

 

   We have 2 production servers PA and PB. The portal is working over the PA. Is it possible to create an Iview in the PA portal to link somehow and get a BEx workbook from the PB BW server opened? Do you know of any document or guide on how to do it?

 

   Thank you very much in advanced,

   Victor

Publish a BEx role in the portal

$
0
0

     Hello!

 

     I would like to know if any of you have ever encountered this situation. Is it possible to somehow publish in the portal a link to a BW role, so all the queries/workbooks stored inside can be opened from there? The thing is that the users generate in these folders their own queries from time to time according to business requirements, and they would like them to be available from the portal. If this approach is possible, then the maintenance required for the portal content administrator would be minimal when they create new content under these roles.

 

I have used KM content for BO folders, but I do not know if something like this is possible for BW roles. If possible, could you please provide some how to's?

 

   Thank you very much,

   Victor

SAP Portal upgrade from 7.0 to 7.4

$
0
0

Hi Portal experts,

 

Our Basis Team is about to upgrade from portal 7.0 to portal 7.4.Please let me know what are the pre and post upgrade steps ?

We have ESS and MSS applications in place.What we have to change @ ESS and MSS level and what we have to change in

Standard portal components.

 

 

 

 

 

Regards

Imran Khan

Need Userexit/Badi after save while creating invoice at VF01

$
0
0

Hi expert,

 

Can anyone tell me which BADI / USEREXIT i can use for update the custom table

after save while creting invoice at VF01.

 

Regards,

Manasi

SAP Gold Reflection Theme Missing

$
0
0

We are on 7.4 and SAP_UI 7.04.0009.  We've noticed that the SAP Gold Reflection theme is missing.  I knew they were removing SAP Corbu from the actual Theme Designer as of SAP_UI 7.04.0008 but it still shows in the portal content themes folder but Gold Reflection is missing.  Is there a way to get it back?

 

PQ3Themes.png

In EHP6 Jco configuration required or not?

$
0
0

Dear All,

 

We are in EHP6 SP24 and Portal 7.31.

 

We are implementing following applications.

 

Who's who

Change owndata

Claims

Leave Encashment

IT Declaration

 

I think so above applications are Java based.

 

Is Jco configuration required or not?

 

 

 

--

Regards

Anoku


SAP Portal UWL - inbox attachments not opening

$
0
0

In our SAP Portal UWL, when users select the workitem, there is a document under Attachment section.

Once user clicks on the attached document, another IE popup opens up but it doesnot show the document... it is empty.

 

Any hints how to resolve and which team can help

 

Thanks,

~Ali~

SAP Portal Log OFF functionality need to be called in jsp

$
0
0

Hi Experts,

 

 

I am working on SAP portal 7.31.

 

I am having a requirement where in when the portal sessions time out then the page should again get redirected to the SAP portal login page.

For this I have created a JSP in which I am redirecting to the SAP portal login page.

 

 

But the problem is-

Lets assume User A and User B.

User A has logged in to portal and his session is idle for some time. Then when User A again clicks  anywhere on the portal then the Session timeout takes place.Then our JSP is called which redirects back to the Portal Logon Page.

Now If we try to login into portal with User B credentials then logged in takes place successfully but still User B can see the User A data.

These data are coming from ECC.

Now if User A do the log off and then User B enters then all works perfectly fine.Here we are not calling any JSp. The user uses the Portal Log OFF.

 

 

Now my question is in my JSP can I call the same functionality of the Log OFF. If yes then how can I do that . Please guide me on this.

Any help will be really appreciated.

 

 

Regards,

Anand

Problem with Masthead i-View Creating in E.P 7.4...?

$
0
0

Dear Experts,

 

I was customized com.masthead.par of NW04s version PAR file into EAR using PAR Migration Tool.Then deployed in SAP portal 7.4 server.But  deploy is finished successfully, but I´m not able to see it at "Portal Applications" folder in "Content Admin -> Portal Content" to create the Iview to update the layout.I was checked in my studio level Repository Explorer Masthead EAR file displaying Same in Underplaying level and  NWA  admin -> java application level also.After  I perform the option "Update PCD Objects", I get this error:Child not found: com.masthead at com.sap.portal.system/gpal_hidden_content/gpar ,But i don't have any idea for this.

I was checked in this thread.

Problem with Masthead customization on SAP Portal 7.1 - EHP1 ,but no use, any other way..?


Please tell me the solution...

 

Thanks in advance.

Durga Rao.

Feedback on EP SAP Note 1593107

$
0
0

Hi,

 

I would like to provide feedback on SAP EP notes 1593107.

 

This note/KBA talks about collecting default traces for a portal error in order to send them to SAP using  LogWatch Tool.

 

SAP released a Logwatch Tool for collecting traces,Before the release of the tool,collecting default traces was an arduous task as access to the file system of portal is not given to portal developers.Hence it requires teaming with the basis team and synchronization. Even after all this, we may end up collecting too large a trace file that it is difficult to find out the issue in the haystack.Often we may end up repeating the affair for a couple of times.

 

With this new tool, portal developers can collect the traces on their own.

 

The documentation for this notes to use the tool is lucid.This tool extremely useful and quite user friendly so is the notes.

 


Regards

Veera

com.customer.afp.fromscratch modify ajax fwk l-shape api

$
0
0

Hello.

 

Following the how-to guide Apply Custom Branding Using the Ajax Framework L-Shape APIs I am having an issue.  Using the provided com.customer.afp.fromscratch, I was able to import into NWDS 7.3.  I have modified the images for the tiles and rebuilt probject with creation   Deployment was successful to portal 7.3.  Testing in portal was successful.

 

Further modification was attempted in the assignment of the mime image located in the provided fwk.js file.  Any modification to this file is ignored including simple change to "welcome" message.

 

The only observation that I can make is that the fwk.js code is not being called but this would seem very odd to me.

 

Any help would be appreciated.

 

Regards,

Patrick

SAP NW 7.4 logout and WD ABAP navigation issue.

$
0
0

Dear Portal Experts ,

 

We have recently upgraded to SAP NW 7.4 , SPS 07 and we are facing below issues or symptoms. Any help would be greatly appreciated.

 

 

1. Navigating to Web dynpro ABAP application in new window from portal is resulting in 404 error ( not found ) . Window title is "Logon Error Message" and it is stuck at "com.sap.portal.navigation.helperservice/html/child.html" .

 

2. Interesting Part : I do not got this error and it navigates successfully if I spend some time in client side debugging ( about 4-5 mins ) or if I open and GUI session from portal and then open WD ABAP application even then it works .

 

3. We are also facing logout issues where even though a user A is logged out completely , closed broswer and when logged in with new user B it displays user A's information . Not sure if this and above issues are connected.

 

 

 

For point 1 & 2 I believe there is some authentication issue where its not getting authenticated when hitting backend but when opening GUI session or in soending some time in debug it generates something in cookie which then later helps WD ABAP application to navigate further. To confirm this I deleted cookies and cache of browser after successful opening and it failed again.

 

Any inputs or thoughts please share.

 

Thanks

Sudarshan

Development of Custom Top Level Navigation -- Horizontal Drop-Down Menu

$
0
0

Top Level Navigation - Horizontal Drop-Down Menu

June, 2014

 

 

Prerequisites: 

 

§  Basic knowledge of SAP NetWeaver 7.3

§  Basic knowledge of SAP NWDS 7.3

§  Basic knowledge of HTML, Java Script, CSS

§  Basic knowledge of SAP NetWeaver Portal Adminstration

§  Basic knowledge of LSAPI's

 

II  Introduction:


This article will tell you how to develop a cutom top level naviagation using Navigation Tag Library and LSAPI's -- Horizontal Drop Down Menu which behaves like a SAP delivered TLN.  It works pefectly in IE 9 (Internet Explorer only).

fig_overview.jpg

 

Process for creation of TLN:   

Create a war file in NWDS studio.  Create a two jsp files namely header.jsp and header_style.jsp  with the code as shown below

Include the header_style.jsp file in header.jsp file.  The header_style.jsp file contains only the CSS. 

 

Download the com.sap.portal.navigation.afp.tln war file and import the war file into the NWDS studio or create a new war/ear file. Include the header.jsp and header_style.jsp file in jsp folder under dist folder.  Also make changes to the portalapp.xml file as mentioned below.

 

Using the cascading style sheet the top level navigation is displayed with different colors.

Using the Javascript the drop down menu will be visible for a hovered role if the role has child elements like roles/iviews.

 

fig_1.jpg

header.jsp

 

<%@tagliburi="NavigationTagLibrary"prefix="nav"%>

<%@tagliburi="FrameworkTagLibrary"prefix="frm"%>


<%-- an include clause for css file --%>

 

<%@includefile="header_style.jsp"%>



<scripttype="text/javascript">


var clicked = false;

var currEl = 0;


function(navigationDiv) {


if (!document.all) return; // continue only for IE


var liEls = document.getElementById(navigationDiv).getElementsByTagName("LI");

var id21;

var countLevels1 = 0;

var brandingWidth = 0;


for (var i=0; i<liEls.length; i++) {

 

     liEls[i].setAttribute("idValue");

     liEls[i].idValue = i;

                   

     if(liEls[i].className == "current" || liEls[i].className == "Level1"){


     id21 = i; liEls[i].setAttribute("id2Value"); liEls[i].id2Value = id21;


     var contentAEl = document.getElementById("navigation").getElementsByTagName("A")[i].innerHTML;

 

// To set the width of the TLN we need to get the continue only for IE

     brandingWidth = brandingWidth + (contentAEl.length)*7 ;

     countLevels1++;

     }

 

The below figure is taken from the developer tools of IE 9.

fig_3.jpg

 

/*

In the above figure it has four roles indicated as "Level1" and "current" class.  The class name assigned is “Level1” .

 

When the user clicks on the role for eg. “User Administration” the class name of that parent node / parent role is set to “current” and the current element’s parent node / parent role calss name is set to “currenthref”.  The font color of parent node / parent role is set to the shade of red ("#C51733").

 

If the roles do not have child elements, the idvalue will be same as of id2Value.

 

But for User Administration role  there are four child elements and so their idvalues will be different from id2Value. The class  name assigned is “Level2” for these child elements. These id2Values are same as of their parent node as shown in below figure.  This will help to distinguish the node of the parent from the child elements to set the color and background color when the child element is selected.

*/

// as shown in the above fiugre I have mainly added the above code to find out  the level one with level two node.

 

     if(liEls[i].className == "Level2"){

          liEls[i].setAttribute"id2Value");

          liEls[i].id2Value = id21;

     }

 

 

     liEls[i].onmouseover = function() {

          this.className += " hover";

          var aEl = document.getElementById(navigationDiv).getElementsByTagName("A");

          this.id2Value].style.color="#C51733";

          };


     liEls[i].onmouseout = function() {

          this.className = this.className.replace(new RegExp(" hover\\b"), "");

          var lEl = document.getElementById(navigationDiv).getElementsByTagName("LI");

          var aEl = document.getElementById(navigationDiv).getElementsByTagName("A");


          if(clicked)

          { 

            //  The if condition is used for used for work protect mode

               if(currEl != this.id2Value)

               {

                    this.id2Value].className = "Level1";

                    this.id2Value].className = "";

                    this.id2Value].style.color="#FFFFFF";


                    lEl[currEl].className = "current";

                    aEl[currEl].className = "currenthref";

                    aEl[currEl].style.color = "#C51733";

               }
          }
          else

          {

               this.id2Value].style.color="#FFFFFF";

              

               if(lEl[this.id2Value].className == "current")

                    this.id2Value].style.color="#C51733";

          }

     clicked = false;

     };


     liEls[i].onclick = function() {

 

          //

          //  one can uncomment the below code and can try also.  This was mainly used for work protect mode

 

             /*   var lEl = document.getElementById(navigationDiv).getElementsByTagName("LI");

             var aEl = document.getElementById(navigationDiv).getElementsByTagName("A");

 

             for(var j=0; j<lEl.length; j++)

             {

              if(lEl[j].className == "current") {

               lEl[j].className = "Level1"; aEl[j].className = "";

               aEl[j].style.color="#FFFFFF";

                break;

              }

 

        }

        lEl[this.id2Value].className = "current";//05/06/2014

        aEl[this.id2Value].className = "currenthref"; //05/06/2014

        aEl[this.id2Value].style.color="#C51733";

        //document.getElementById("level2").style.visibility="hidden";

 

        clicked = true;

        */

  };

 

}

 

/* The below code help to set the branding width of the TLN. The top level width is set depending upon the number of roles.  The style set for the top level navigation are font family is Verdana with size of 12.  Each the role text length is taken and multipled by 7(on an average)  and then added to the brandingwidth.  The gap between the roles also need to be conisdered.  The gap between the roles is taken as 22 pixels and this gap is multipled by the number of roles and then added to the branding width. */

 

brandingWidth = brandingWidth + countLevels1*22;

document.geElementById("navigation").style.width = brandingWidth;


</script>


<%-- this is the main navigation section --%>


<tablewidth="100%"cellpadding="0"cellspacing="0"border="0">


<tr>


<td  nowrap="nowrap">

 

<divid="branding">

<divid="navigation">


<%-- start the unordered list --%>


<ul>

<%-- go through all the level 1 navigation nodes --%>

<nav:iterateInitialNavNodes>

     <liclass='Level1'style="font-size: 12px;"><nav:navNodeAnchornavigationMethod="byEPCM"/>

     <%-- check to see if there are level 2 nodes, if so start another <ul> and assign a CSS class --%>

     <nav:ifNavNodeHasChildren>

          <ul>

          <%-- again go through all the nodes in level 2 --%>

               <nav:iterateNavNodeChildren>

               <%-- id l1 is written for second level hover and to set its css properties --%>

                    <liclass='Level2'id='l1'><nav:navNodeAnchornavigationMethod="byEPCM"/></li>

               </nav:iterateNavNodeChildren>

          </ul>

     </nav:ifNavNodeHasChildren>

     </li>

</nav:iterateInitialNavNodes>

</ul>

</div>

</div>

</td>

</tr>

</table> 

 

<script>

  

TLNHover("navigation");

 

var nodeNameFromNaviagation;

 

/*

 

 

Whenever the navigation changes, the raiseEvent is fired with the current selected/clicked Node name. We can get the path of the current selected/clicked Node by using the LSAPI's. The first element in the pathArray will be have the node name of the "Level one/Parent Node" of the "Top Level Navigation".

 

 

This event is subscribed using the function as mentioned below in the header.jsp in top level navigation war file

 

*/

 

EPCM.subscribeEvent("urn:com.node.test", "currentNode", onCurrentNode );

 

function onCurrentNode( eventObj ) {

     var aEls = document.getElementById("navigation").getElementsByTagName("A");

     var lEls = document.getElementById("navigation").getElementsByTagName("LI");

 

 

     nodeNameFromNaviagation = eventObj.sourceId;

     aEls[currEl].style.color="#FFFFFF";


     for(var n1=0;n1<aEls.length;n1++)

     {
          if(lEls[n1].className == "current") {

               lEls[n1].className = "Level1"; aEls[n1].className = "";

               //aEls[n1].style.color="#FFFFFF";

               }
     }

     for(var n=0;n<aEls.length;n++)

     {
          if(aEls[n].innerHTML == eventObj.sourceId){

               aEls[n].className = "currenthref";

               lEls[n].className = "current";

               aEls[n].style.color = "#C51733";

               currEl = n;

               clicked =true;

               break;

               }

       }  

}
</script>



header_style.jsp

 

<style>

 

navigation,#navigation ul {

background-color: #414141;

font: 11px  verdana;

padding-top: 4px;

padding-bottom: 4px;

margin: 0;

list-style: none;

height: 22px;   
}

#navigation a {

padding-left: 10px;

padding-right: 10px;

padding-top: 4px;

padding-bottom: 4px;

text-decoration: none;

background-color: #414141;

color: #FFFFFF;

display: block;

width: auto;

}

#navigation a.currenthref {

padding-left: 10px;

padding-right: 10px;

padding-top: 4px;

padding-bottom: 4px;

text-decoration: none;

background-color: #FFFFFF;

color: #C51733;

display: block;

width: auto;

}

#navigation a:hover {

background-color: #F4F4F4;

color: #C51733;

display: block;

border-color: #FFFFFF;

font-weight: normal;

}

#navigation li {

bacground-color: #616F9E;

float: left;

}


#navigation li ul {

position: absolute;

width: 17em;

white-space: nowrap;

padding-top: 0px;

padding-bottom: 0px;

color: #ffff00;

left: -999em;

}


#navigation li:hover ul {

left: auto;

width: auto;

display: block;

position: relative;

}

#navigation li:hover ul,

#navigation li.hover ul{

left: auto;

display: block;

border: 1px solid #CBDBEA;

}

#navigation li.hover ul  a:hover{

left: auto;

display: block;

border: 0px solid #CBDBEA;

background-color: #F4F4F4;

color: #414141;

}

.current {

font: 0.4em  verdana;

font-size: 11 px;

border: 0px solid #000000;

font-weight: light;

background-color: #FFFFFF;

color: #C51733;

}

.Level1 {

font: 0.4em  verdana;

font-size: 11 px;

border: 0px solid #000000;

font-weight: light;

background-color: #FFFFFF;

color: #C51733;

}

.Level2 {

font: 11px  verdana;

border: 0px solid #000000;

font-size: 11px;

display: block;  

width: 17em;

white-space: nowrap;

background-color: #F4F4F4;

color: #414141;

}

.clicklink{

background-color: #FFFF00;

color: #0000FF;

}


#navigation ul li.hover a{

left: auto;

display: block;

border: 0px solid #CBDBEA;

background-color: #F4F4F4;

font-weight: normal;

color: #414141;

}


#navigation ul li.hover .Level2{

left: auto;

display: block;

border: 0px solid #CBDBEA;

background-color: #F4F4F4;

font-weight: normal;

color: #414141;

}

#navigation ul li.hover a:hover{

left: auto;

display: block;

border: 0px solid #CBDBEA;

background-color: #F4F4F4;

color: #C51733;

}

.Level2 a{

left: auto;

display: block;

border: 0px solid #CBDBEA;

background-color: #F4F4F4;

color: #FFFF00;

}

#l1 a {

width: auto;

border: 0px solid #000000;

background-color: #F4F4F4;

color: #414141;

}

#l1 a:hover {

width: auto;

border: 0px solid #000000;

background-color: #F4F4F4;

color: #414141;

}

</style>


portalapp.xml

 

<?xml version="1.0" encoding="utf-8" standalone="no"?>

 

<application name ="com.sap.portal.navigation.afp.tln">

<application-config>

     <propertyname="PrivateSharingReference"value="com.sap.portal.useragent,com.sap.portal.navigation.navigationtaglibrary, com.sap.portal.themes.lafservice,com.sap.portal.runtime.system.connection,com.sap.portal.pagebuilder, SAPJ2EE::library:com.sap.portal.common,SAPJ2EE::library:tc~cmi,com.sap.portal.common.commonservices, SAPJ2EE::library:com.sapportals.htmlb,com.sap.portal.navigation.api_service,com.sap.portal.navigation.helperservice, com.sap.portal.navigation.service,com.sap.portal.productivity.resolverservice,com.sap.portal.navigation.afp.helperservice, com.sap.portal.runtime.system.favorites,SAPJ2EE::service:engine.security.facade, SAPJ2EE::library:com.sap.base.technology.facade,S APJ2EE::library:engine.j2ee14.facade,com.sap.portal.search.provider_api,com.sap.portal.search.service,com.sap.portal.contenttaggingservice,S APJ2EE::library:tc~epbc~pcd~gl~api,com.sap.portal.themes.lafservice,com.sap.portal.runtime.system.connection,com.sap.portal.pagebuilder"/>

  <propertyname="SharingReference"value="com.sap.portal.themes.lafservice,com.sap.portal.navigation.navigationtaglibrary,com.sap.portal.runtime.application.jcoclient, com.sap.portal.ivs.connectorservice,com.sap.portal.htmlb"/>

<!-- <property name="PrivateSharingReference" value="com.sap.portal.useragent,com.sap.portal.navigation.afp.helperservice,com.sap.portal.navigation.helperservice, SAPJ2EE::library:tc~epbc~pcd~gl~api"/> -->

<propertyname="Vendor"value="sap.com"/>

<propertyname="SecurityArea"value="NetWeaver.Portal"/>

<propertyname="fail-over-enable"value="disable"/>

<propertyname="ClassLoadingPolicy"value="transitive"/>

</application-config>

 

<components>

<componentname="TopLevel">

<component-config>

<propertyname="ClassName"value="com.sap.portal.navigation.afp.Tln"/>

<propertyname="ResourceBundleName"value="TopLevel_nls"/>

<propertyname="SafetyLevel"value="no_safety"/>

</component-config>

<component-profile>

<propertyname="resourceBundleToClient"value="true"/>

<propertyname="com.sap.portal.navigation.afp.numberOfLevels"value="2">

<propertyname="validvalues"value="1/11/2"/>

<propertyname="plainDescription"value="Number of Display Levels"/>

<propertyname="longDescription"value="Specifies the number of levels displayed in the top-level navigation. Levels following this number are continued in the detailed navigation area"/>

<propertyname="category"value="Navigation"/>

</property>

<propertyname="com.sap.portal.navigation.afp.removableTabs"value="false">

<propertyname="plainDescription"value="Enable Removable Tabs"/>

<propertyname="longDescription"value="Enable portal users to remove tabs from top-level navigation"/>

<propertyname="category"value="Navigation"/>

<propertyname="administration"value="NON-DIALOG"/>

</property>

<propertyname="com.sap.portal.navigation.afp.dragableTabs"value="true">

<propertyname="validvalues"value="4/true5/false"/>

<propertyname="plainDescription"value="Enable Dragging of Tabs"/>

<propertyname="longDescription"value="Enables portal users to rearrange the order of top-level navigation tabs"/>

<propertyname="category"value="Personalization"/>

<propertyname="configattribute"value="baseLevel"/>        

</property>

<propertyname="com.sap.portal.navigation.afp.numberOfFixedTabs"value="0">

<propertyname="validvalues"value="1/01/1"/>

<propertyname="plainDescription"value="Number of Fixed Entries"/>

<propertyname="longDescription"value="Defines the number of entries that will be fixed in top-level navigation. All other entries can be scrolled."/>

<propertyname="category"value="Personalization"/>

<propertyname="configattribute"value="baseLevel"/>

<propertyname="mandatory"value="true"/>

</property>

<propertyname="com.sap.portal.navigation.afp.displayMode"value="Default">

<propertyname="validvalues"value="7/Default9/No Images"/>

<propertyname="plainDescription"value="Display Mode"/>

<propertyname="longDescription"value="Specify the display mode for top-level navigation. Choose 'No Images' to display top-level navigation with smaller tabs and without tab images."/>

<propertyname="category"value="Top-Level Navigation"/>

<propertyname="configattribute"value="fullLevel"/>

<propertyname="mandatory"value="true"/>

</property>

<propertyname="com.sap.portal.navigation.afp.notifyOnFinishedLoading"value="true"/>

<propertyname="AuthScheme"value="anonymous"/>

<propertyname="com.sap.portal.prt.xhtml.compliant"value="true"/>

</component-profile>

</component>


<!-- Header -->


<componentname="HoverTLN">

 

<component-config> 

<propertyname="JSP"value="jsp/header.jsp"/> 

<propertyname="ComponentType"value="jspnative"/>

<propertyname="AuthScheme"value="anonymous"/> 

</component-config>

 

<component-profile>

<propertyname="NavigationTagLibrary"value="/SERVICE/com.sap.portal.navigation.navigationtaglibrary/taglib/TagLibrary.tld"/>

<propertyname="FrameworkTagLibrary"value="/SERVICE/com.sap.portal.pagebuilder/taglib/framework.tld"/>

<propertyname="EPCFLevel"value="0"/><propertyname="com.sap.portal.iview.ShowTray"value="false"/>

<propertyname="com.sap.portal.reserved.iview.IsolationMode"value="EMBEDDED"/>

</component-profile>


</component>


</components>


<services/>

</application>

 


Create another war/ear file where we use the LSAPI.  Create a JSPDyn page

fig_2.jpg

 

nav.jsp

 

<%@pageimport = "com.sapportals.portal.prt.component.IPortalComponentRequest"%>

<%@pageimport = "com.sapportals.portal.prt.component.IPortalComponentContext"%>


<scripttype="text/javascript">


function updateNavigationMenu(currentNode){

     EPCM.getSAPTop().LSAPI.AFPPlugin.model.getNavigationSubTree(null,drawTree,null);

     }

function drawTree(nodes, container)

{
     var pathArray = EPCM.getSAPTop().LSAPI.AFPPlugin.model.getCurrentSelectedPath();

 

     //alert(pathArray[0].getTitle());

     EPCM.raiseEvent( "urn:com.node.test", "currentNode", "Current Node", pathArray[0].getTitle());

}

</script>


Whenever the navigation changes the raiseEvent is fired which with the current selected/clicked Node name.  We can get the path of the current selected/clicked Node by using the LSAPI's.  The first element in the pathArray will be have the node name of the "Level one" of the "top level naviagation".

 

portalapp.xml

 

<?xml version="1.0" encoding="utf-8"?>

<application>

<application-config>

<propertyname="SecurityArea"value="NetWeaver.Portal"/>

<propertyname="fail-over-enable"value="disable"/>

<propertyname="ClassLoadingPolicy"value="transitive"/>

<propertyname="PrivateSharingReference"value="com.sap.portal.navigation.navigationtaglibrary,com.sap.portal.themes.lafservice,com.sap.portal.runtime.system.connection,com.sap.portal.pagebuilder,SAPJ2EE::library:com.sap.portal.common,SAPJ2EE::library:tc~cmi,com.sap.portal.common.commonservices,SAPJ2EE::library:com.sapportals.htmlb,com.sap.portal.navigation.api_service,com.sap.portal.navigation.helperservice,com.sap.portal.navigation.service,com.sap.portal.productivity.resolverservice,com.sap.portal.navigation.afp.helperservice,com.sap.portal.runtime.system.favorites,SAPJ2EE::service:engine.security.facade,SAPJ2EE::library:com.sap.base.technology.facade,SAPJ2EE::library:engine.j2ee14.facade,com.sap.portal.search.provider_api,com.sap.portal.search.service,com.sap.portal.contenttaggingservice,SAPJ2EE::library:tc~epbc~pcd~gl~api,com.sap.portal.themes.lafservice,com.sap.portal.runtime.system.connection,com.sap.portal.pagebuilder"/>

<propertyname="SharingReference"value="com.sap.portal.themes.lafservice,com.sap.portal.navigation.navigationtaglibrary,com.sap.portal.runtime.application.jcoclient,com.sap.portal.ivs.connectorservice,com.sap.portal.htmlb"/>

</application-config>

<components>

<componentname="TlnNode">

<component-config>

<propertyname="ClassName"value="com.test.TlnNode"/>

</component-config>

<component-profile/>

</component>

</components>

<services/>

</application>

 

Deploy this war/ear file in the server and create a iview for this component with isloation property as "Embedded". Set the height property as 0.

fig_5.jpg

 

Create an page and copy the iview mentioned above as delta link into the page with isloation property as "URL". Set the height property of the page as 0 fo the page.

fig_7.jpgfig_6.jpg

Add the above created page to your framework page as delta link and check the checkbox of visible for this page.

 

fig_8.jpg

In the framework page i have selected the container for HoverTLN and TlnNodePage in Page Tool Bar Container because when I add it in the Top Level Navigation Container I am not able to see the drop down menu.

fig_9.jpg

As shown in the above figure the TLN works fine.  When the user moves the mouse over other nodes  the second level of navigatin will come as drop down menu as shown in above figure with the background color in the shade of light yellow.  The current selected node will is identified with background color white and font color as red shade.

 

By using Java Script I have hidden the blue arrow which appears on the left side of the browser to display the detailed navigation.

 

 

Till here the code work fine.

 

 

For the above code I am trying to restrict the width to 900 px and trying to put the horizontal scroll using buttons but could not proceed further.  So If anyone has the solution please add your comments which is the only thing I am missing for this code.

 

fig_4.jpg

For the above shown figure I tried it using html file and it worked fine for the horizontal scroll using the buton but the horizontal scroll  did work  but the dorp down menu in not visisble outside when I  included in the framework page. This is because it is div tags are inside the table cells. I tired with "<divid="branding"style="border:1px; solid #414141; width:300px; overflow-x:hidden;">".  If I remove the style overlfow-x:hidden, the drop down menu is visible on hover but the scroll does not work as the full width of the navigation will be visible.

 

Any suggestions welcome.

 

 


Portal error for Leave Encashment

$
0
0

Dear All,

 

We are in EHP6 and 7.31

 

We are getting error for Leave Encashment.

 

 

Leave Encashment.png

 

 

 

 

--

Regards

Anoku

Who's who error in portal

$
0
0

Dear All,

 

We are in EHP6 and portal 7.31

 

We are getting this below error for who's who and change own data.

 

 

Who's who error.png

 

 

--

Regards

Somu

Unable to open GP task from email

$
0
0

Hi,

 

We have migrated GP7.0 application into GP7.3 and we are using sy.workitemurl to send the current workitem url through email, but it(sy.workitemurl) generating wrong url due to which we are unable to open the GP wotkitem from email link, getting workitem can not be processed error.

 

Below is the link generated by sy.workitemurl

 

http://host:port/irj/portal?NavigationTarget=ROLES://portal_content/com.sap.pct/platform_add_ons/com.sap.caf.eu.gp.folders.gp/com.sap.caf.eu.gp.roles.runtime/com.sap.caf.eu.gp.worksets.runtime/com.sap.caf.eu.gp.pages.procinstance2&DynamicParameter=processId=26a227&taskId=

 

Can any one help me out on this.

 

Thanks,

Suresh

UWL inbox items missing after change of system object

$
0
0

Dear Experts,

 

I have modified a system object which is one of the systems that are connected to the UWL. For this

purpose the cache had been cleared, the (modified) system re-registered and the item types registered for all systems. The connections have been maintained just equally and the alias is also the same. But the UWL items do not show up anymore.

 

I have run the connection test of the system object and the connector is working fine (using SAP Logon Tickets). When checking the UWL log I have found the following messages:

 

"Problem in calling BWF API to retrieve inbox items in system

SAP_R3_HumanResources"

 

"com.sap.portal.connectivity.ConnectivityRuntimeException: User is

missing credentials for connecting to alias SAP_R3_HumanResources"

 

The system object (SAP_R3_HumanResources), where the items should be coming from, is setup with user mapping "admin,user" and it is using SAP Logon Tickets. I have tried multiple times to re-register and clear cache (which worked w/o errors). Also I have run the following reports on the HR backend: RSWNUWLSEL (full mode) followed by SWN_SELSEN

 

But still the items are not coming up again.

 

Can you please adivse if I am missing any steps to reproduce/trigger

the UWL items?

 

Help would greatly be appreciated.

 

Thanks a lot,

Jan

JCO trace continues generating and /usr/sap file system getting full even after setting the trace parameter to no trace

$
0
0

Dear,

We had an issue with the Jco connection between ep portal and other ABAP system. As per the sap message they asked us to take a switch on the JCO trace as per the note 628962 and then take the trace on diagtool as per the note 1045019 and forward to them.

 

we have taken the required trace after switching on the JCO trace and setting the trace level to the highest as per their recommendation.

 

After taking the trace we reverted back the JCO trace setting in visual admin and restarted the system.

 

Now the issue is the dev_jco trace is continuing on generating in /usr/sap/SID even after switching off the trace in visual admin and restarting the system, repeatedly this file system is going to 100%.so we had to shut down the EP portal to avoid /usr/sap/SID getting to 100%.

 

 

Please provide your suggestion on the above issue on how to solve it.

 

Thanks & Regards,

Rajdeep

Viewing all 3876 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>