Quantcast
Channel: SCN : Discussion List - SAP Enterprise Portal
Viewing all 3723 articles
Browse latest View live

Use SAPSSOEXT to integrate ASP application

$
0
0

I need to integrate an ASP application, and I tried the sample code in SAPSSOEXT.ZIP first.

 

1. Put SAPSSOEXT.DLL and SAPSECU.dll to WINNT/system32

2. regsvr32 SAPSSOEXT.DLL

3. Put ssosample.asp and verify.pse under IIS

 

I created a URL iView of this page, the ASP page can get the  ticket right, but can't verify it, here is the error:

 

"The following error occured:

Ticket verifying failed. Return codes error=1 and ssf error=0"

 

 

And the code of ASP page is:

 

<OBJECT RUNAT=SERVER ID=MyObj PROGID="SAPSSOEXT.SSO2Ticket"></OBJECT>

<!--

 

  • (C) Copyright 2000-2005 SAP AG Walldorf

*

 

  • Author:  SAP AG, Security Development

 

 

  • SAP AG DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,

 

  • INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO

 

  • EVENT SHALL SAP AG BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL

 

  • DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR

 

  • PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS

 

  • ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE

 

  • OF THIS SOFTWARE.

-->

<HTML>

<HEAD>

<TITLE>SAPSSOEXT COM sample</TITLE>

</HEAD>

<BODY>

 

<h1>SAPSSOEXT COM sample call:</h1>

<BR>

<%@ language="VBScript" %>

<% 

    Dim Cookie    'The cookie we retrieve from the request context

    Dim RetArray  'Returnarray from the validation function.

      

    ' constants for SAPSSOEXT certificate parser

     Const ISSUER_CERT_SUBJECT = 0

     Const ISSUER_CERT_ISSUER = 1

     Const ISSUER_CERT_SERIALNO = 2

    

     

    Cookie = request.cookies("MYSAPSSO2")

    

    if Cookie="" then

%>

   <h2>Error!</h2><br>

   No MYSAPSSO2 cookie found.

<%

     else

        On error resume next

%>

cookiestring = "<%=Cookie%>"

<%

          MyObj.CryptLib = "C:
WINNT
system32
sapsecu.dll"                    

          RetArray = MyObj.EvalLogonTicket (Cookie, "C:
ASPSSO
verify.pse", vbNull)

           

'          RetArray(0) is the user name

'            RetArray(1) is the client of the issuing system

'            RetArray(2) is the id of the issuing system

'            RetArray(3) is the X.509 certificate of the issuing system

'            RetArray(4) is the portal user name (if there is one in the ticket)

'            RetArray(5) is the authentication schema (if defined)

'            RetArray(6) is the validity of the ticket in seconds

%>

          <%if err <> 0 then %>

          The following error occured:<br>

          <%= err.Description %><br><br>

          <% else %>

          The authenticated user is <b><%=RetArray(0)%>.</b><br>

          Additional data:

          <table>

          <tr><td>Sysid</td><td>=</td><td><%= RetArray(1)%></td></tr>

          <tr><td>Client</td><td>=</td><td><%= RetArray(2)%></td></tr>

          <tr><td>Portal ID</td><td>=</td><td><%= RetArray(4)%></td></tr>

          <tr><td>Suject</td><td>=</td><td><%= MyObj.ParseCertificate(RetArray(3),ISSUER_CERT_SUBJECT)%></td></tr>

          <tr><td>Issuer</td><td>=</td><td><%= MyObj.ParseCertificate(RetArray(3),ISSUER_CERT_ISSUER)%></td></tr>

          <tr><td>Certificate</td><td>=</td><td><%= RetArray(3)%></td></tr>

          <% end if %>

</table>

<% end if %>

 

</BODY>

</HTML>

Anybody can help me out?

 

Thanks a lot!

 

 

Message was edited by: wayne lou


Major Difference B/W Sap Portal7.0 and CE portal 7.1 &7.2 and Portal 7.3

$
0
0

Hi Experts,

 

Could you please explain major difference between Sap portal 7.0 and CE portal 7.1 & 7.2 and Portal 7.3....

 

i have few PDF documents. i am not getting full understand exactly what is difference B/W majorly ?

 

kindly share your ideas full....

 

 

Regards,

Reddy

This content cannot be displayed in a frame

$
0
0

Good day,

 

We have just upgraded to Portal 7.10 SP18 CE and Portal 7.4 (Federated Portals). Since doing so we are having an issue accessing our CE content via a URL iView.  We get a page saying "This content cannot be displayed in a frame".  There is a link to open the item in a new window and when we click this the CE content comes up.

 

The problem with this is it results in a complete change to how our end users are used to using the system and will result in a lot of confusion.

 

Has anyone else experienced this and possible found a solution to it?

System alias SAP_LocalSystem

$
0
0

Hi,

 

the predefined built-in system alias SAP_LocalSystem is used by the portal, e.g. to launch UWL and POWL.

Can anyone tell which information (profile parameter, definitions ....) is used by the portal to 'define' the target url of the Alias ?

In one of our systems the URL for e.g. the UWL iview is generated for a different server name and we can not find the place with the wrong definition.

Thanks Andrea

SAP POrtal application calling different r/3 system.

$
0
0

Hi Experts,

 

We  are using the Webdynpro abap applications in the Portal system. While accessing the application one pop-up window is displaying and asking for the user name and password and system showing xxx200 client instead of calling xxx400 client .

 

We have checked the System objects and SSO certificate also .

 

Still system connecting to Different R/3 system .Any body please help me why system still pointing to 200 client instead of 400 client.

 

SSO and System objects are connected 400 client only . 

 

 

Thanks & Regards

V.Punna.

After change the password of AD user ldap unable to access portal

$
0
0

Hi Experts ,

 

We are facing the issue after reset the password of AD user SAPLDAP, our users are not able to access portal .

 

kindly assist to resolve the issue.

 

 

Thanks

Devendra

Page not found. Refresh the page or try again later. If the problem persists, contact your Portal administrator for assistance

$
0
0

Hi Experts,

 

We are upgrading the Portal system from 7.0 to 7.4 . and we are using the ESS/MSS .

 

we are trying to accessing the any application like ( leave request ... etc) we are getting the below error "

 

Page not found. Refresh the page or try again later. If the problem persists, contact your Portal administrator for assistance".


any body please help me how to resolve this issue .


one observation i have found . we are unable to see the below business package into portal system ." 

BP_ERP5COM1.61 SP5"


This is the issue related with Business package or any other . Please help me .


Thanks & Regards

V.Punna.

BOL object name not found error in Roadmap Form

$
0
0

I am creating a roadmap form  . whenever i am adding infotype IT0001, it is showing a error while executing the form. The Error message is "BOL Object Name Not Found". However if i remove the infotype IT0001 it is working fine with other infotypes. Can anyone provide a solution for this issue.


Using a JRA in a Portal application - class loader issue

$
0
0

Hi all,

 

I have deployed a JRA (Java resource adapter) via an EAR file - this includes the relevant JAR files.

 

From my portal application, I am using a JNDI lookup to successfully get a connection from the connection factory created by doing the above.

 

Within my portal application, I am trying to use the relevant implementation classes - these are the same classes that live in the JRA.

 

I receive the following issue:

 

java.lang.ClassCastException: Cannot cast class com.attunity.adapter.AttuInteractionSpec to class com.attunity.adapter.core.CoreInteractionSpec (found matching super class com.attunity.adapter.core.CoreInteractionSpec loaded by bp.com/<dc-name>@com.sap.engine.boot.loader.ResourceMultiParentClassLoader@36ece5f3@alive, but needed loader JavaEE/<different-dc-name>@com.sap.engine.boot.loader.ResourceMultiParentClassLoader@12478ec1@alive

 

I am able to navigate this error by forcing the same classLoader.

 

ClassLoader classLoader = interaction.getClass().getClassLoader();

Class<?> clazz = classLoader.loadClass("com.attunity.adapter.AttuInteractionSpec");

Constructor constructor = clazz.getConstructor(String.class);

Object interactionSpec = constructor.newInstance("functionname");

 

This is obviously not ideal, and results in the same issue, in reverse, when I try and deal with the returned data (using Attunity classes). I can again navigate this issue using reflection - but this gets messy.

 

I have tried using a PrivateSharingReference to 'com.attunity.adapter' - which stops the application from starting up, as it expects the classes to live under SAPPORTAL/com.attunity.adapter. I've also tried creating a PrivateSharingReference to the container EAR file of the JRA (<propertyname="PrivateSharingReference"value="SAPJ2EE::bp.com/<application-name>"/> )- this doesn't throw any errors but also results in the same class loader issue.

 

Am I missing something?

 

Any suggestions would be much appreciated!

Need Document For Config NWDS 7.3 In my Landscape

$
0
0

Dear Experts ,

 

Please Share Document For Configuring NWDS 7.3 to add My Development Portal  In my Landscape

 

 

 

 

 

Regards ,

Prashant Ashtekar

Workset Map Iview as Overivew for end user

$
0
0

Hi Experts,

 

Sap portal Version: 7.4

We have two standard roles (ESS, MSS) and two custom roles (Rol1 and Rol2), in our portal. Our requirement is, we need to create a workset Map ivew in HOME role, which should navigate to these 4 roles. Thus, the user will have two option to navigate to any role.

Either he can direclty select ESS role or he can open HOME role, there he will see all the top level navigation roles (ESS, MSS, rol1 and rol2) and then can select ESS role.

 

I know, I need to set "relative workset location" property in workset iview, but I am not getting the exact values.

Will appreciate any help.

 

Regards,

Khushboo

 

 


Manager Self Service WDA Role Issue.

$
0
0

Dear Experts.

 

 

 

We have upgrade the portal 7.0 to 7.40.8.0.20140828212300

 

We are facing the issue with Manager Self Service Navigation.

 

Manager Self Service role - WDA add-on 1.0.

 

Issue:

 

When one click on the Manager Self Service Role then it opens the MSS Overview and the menu on the 3rd Level Navigation.

The issue starts when one clicks on  WorkOverView , Team,Recruiting and Talent Management etc.

 

 

The system redirects the user to Employee Self Service, but the 3rd Level Navigation still have the MSS functionality populated.

 

If one remove the ESS role, then the system redirects to the first entry point on MSS which is the Overview.

 

This happens with the custom MSS Role and the SAP Standard MSS Role (PCD:portal_content/com.sap.pct/line_manager/com.sap.pct.addon.mss.PACKAGEMSS/com.sap.pct.addon.mss.Rolesmss/com.sap.pct.addon.mss.Manager_Self-Service).

 

I have tried in IE8 Browser, Chrome, Mozilla.

 

Has anyone had this issue before.Please advice

 

Regards

 

Punna.

ESS Launchpad menu_new tab

$
0
0


Hi All,

 

We implemented ESS Launchpad menu. But we had an issue with opening the URL's in new tab instead of new window. Please suggest us

the approach to achieve the functionality.

Content Area events capturing in portal 7.4 ideal timer?

$
0
0

Hi experts,


We are developing an ideal timer in sap portal 7.4.


but we are not able to capture content  area events in AFP using java-script.


Every time it  triggers a logout from the portal while user is active in content area.


There is any way to capture content area events ?


We are using SAP Portal 7.4 sp09.

 

Thanks in advance,

Regards,

Amith.

Portal SSO Issue with WD

$
0
0

Hello,

 

We have SRM setup with SLC & SUS.

The SLC Sell Side + SUS lie on the same client say 777.

Portal UME is the local Java DB.

 

Inside Portal, when we maintain system objects with local hostnames everything works Ok.

 

When we change these to WD names:ports, all pages work fine, except one: the Data Maintenance page which belongs to Sell Side SLC.

This is a standard iView...

This page prompts for credentials...however, even after entering the creds, it does not allow us to proceed.


There is no error in HTTPWatch, Portal logs give the regular SSO failed error...

 

However, since other pages which belong to the same backend client work Ok over the WD, I'm not sure why this one page has SSO issues...

 

Please help advise an SSO troubled soul

 

Thanks a lot !!!

saba.


Portal Fiori Framework Page - IDLE Time Out - WDA Event

$
0
0

Hi gurus,

 

I have implemented the idle Time Out Portal following the following blog:

Portal User Idle time out - NW Portal 7.4:


In my case I use the Fiori Framework page and I need to set the Time out only in one page that contain a WDA.

After one minute the logout alert is showed correctly and the user is logged out from portal.


The problem is that the javascript don't receipt the event from WDA application.

Like open a try or click a button, and application show always the timeout alert.

 


There is a way to capture the wda event?

 

This is my code

 

 

Thanks in advances,

 

Massimo

Hanging sessions after logout/logoff in SAP Enterprise Portal

$
0
0

Hello experts!

 

There seems to be problems with hanging sessions in our SAP Enterprise Portal when logging off.

In my NWDS I have created a project named tc~sec~ume~logon~ui

which is the SAP portal 7.4 logon. I see the logoffPage.jsp there.

I also read the Troy Cronins blog "EP: Sessions Part 2".

I edited the logoffPage.jsp and added his javascript code to the logoffPage.jsp but where should

the html code correctly be inserted?

 

These are my references:

EP: Sessions Part 2 (RFC, GUI, HTTP Plugin) Common Ground & Issues

Appendix: JavaScript Code for Session Termination - Portal - SAP Library

 

Best regards,

Elias

Index not working showing error type as Crawler

$
0
0

HI Team,

 

We are not able to find and search the document in Search engine because of error type Crawler. Even after re-indexing all documents are going into error mode and none of the document is indexed.

Our Enterprise Portal Version is SAP EP 7.02 SP16

Please find the attached screen shot for your reference.

 

 

Looking forward to hear from you.

 

Thanks & Regards,

Rohit

SAP Java Portal - Installation & System Number

$
0
0

Hello Basis Expert,

 

Could you please help/guide me on how to add/update Installation Number and System Number for Java System. Below is the screen shot.

 

The system is on Java version 7.40 and Database is on 11.2

 

Java ver 7.4 Portal.png

Prompt reply would be appreciated.

 

Thank you.

Problem accessing its iview because of http access to css

$
0
0

Hello everyone,

 

I allready placed this question in the ITS forum, but it was suggested that i moved it here.

 

I have an iview in sap portal that calls ITS ZTEST. In the first calling of the ITS, it takes several seconds to run, sometimes even timeout.

The login in portal is made via https.

But using HttpWatch, i can see that when calling this iview, there is an error calling a css file that has http url, that is supposed to not even be supported in this mode. This way, it takes several seconds until it launches a time out. Only then the calling of the its app continues.

 

My question is: where can i "force configure" that css from an iview or page is https ?

 

Thank you in advance to all

 

This is what i get in Http Watch:

 

+ 7.525 0.095 1433 3568 GET 200 application/x-javascript https://test.com/irj/portalapps/com.sap.portal.appintegrator.sap/scripts/swf2epcf.js?6020.0.6

 

+ 7.686 0.036 1596 1010 GET 200 text/html; charset=UTF-8 https://test.com/irj/servlet/prt/portal/prtroot/com.sap.portal.appintegrator.loading?1921195231

 

+ 7.793 20.984 0 0 GET ERROR_INTERNET_CANNOT_CONNECT * http://test.com/irj/portalapps/com.sap.portal.design.urdesigndata/themes/portal/agtrenovacaotmv/ur/ur_pop_ie6.css?7.0.17.0.1

 

+ 28.841 1.713 1436 265 GET 200 image/gif https://test.com/irj/portalapps/com.sap.portal.design.urdesigndata/themes/portal/agtrenovacaotmv/common/focus/focus.gif?7.0.17.1.1

 

+ 28.842 1.652 1436 265 GET 200 image/gif https://test.com/irj/portalapps/com.sap.portal.design.urdesigndata/themes/portal/agtrenovacaotmv/common/focus/focus.gif?7.0.17.1.1

 

As you can see, i have an ERROR when calling a URL that was supposed to be https, but it's the only one http.

 

                                           Thank you in advance for any help,

 

                                                            Santi

Viewing all 3723 articles
Browse latest View live


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