Quantcast
Channel: SCN : All Content - SAP NetWeaver Application Server
Viewing all 2997 articles
Browse latest View live

Generate logon cookie with ICF service

$
0
0

Hello,

 

Does somebody know of a way to generate a logon cookie (MYSAPSSO2), while calling an ICF service in the browser ?

 

I need the cookie to be generated while the username and password are filled in the ICF service.

 

If I do not specify a username and password in the ICF service and I enter the credentials in the prompt that is issued when I call the service, the logon cookie is generated.

 

I tried different logon procedure methods within the ICF service, but with no success so far.

 

Thank you,
Catalin


Securing a web application has no effect

$
0
0

Hello everybody,

 

I'm trying to secure the default root web application for Netweaver Java AS 7.31, so I try to edit the web.xml and web-j2ee-engine.xml files which are located here: j2ee/cluster/apps/sap.com/com.sap.engine.docs.examples/servlet_jsp/_default/root/WEB-INF

 

Anyway after editing the files in text editor and restarting the "com.sap.engine.docs.examples" application via NWA, nothing happens. Is there something wrong with the code? Why there is no security form when I try to open the application in browser?

 

web.xml:

 

 

<?xml version="1.0" encoding="UTF-8"?><web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"                  xsi:schemaLocation="http://java.sun.com/xml/ns/javaee                              http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"                  version="2.5"                  xmlns="http://java.sun.com/xml/ns/javaee">   <display-name>Default</display-name>  <!-- ============================================================== -->  <!-- SAPUI5 resource servlet used to handle application resources  -->  <!-- ============================================================== -->      <servlet>    <servlet-name>startPage</servlet-name>    <jsp-file>/startPage.jsp</jsp-file>  </servlet>    <!-- ============================================================== -->  <!-- Welcome file list                                              -->  <!-- ============================================================== -->  <welcome-file-list>    <welcome-file>index.jsp</welcome-file>  </welcome-file-list>      <!-- ============================================================== -->  <!-- Security settings                                              -->  <!-- ============================================================== -->  <security-constraint>      <display-name>Authentication of Users</display-name>      <web-resource-collection>        <web-resource-name>Default</web-resource-name>        <url-pattern>*</url-pattern>        <http-method>GET</http-method>        <http-method>POST</http-method>      </web-resource-collection>      <auth-constraint>       <role-name>SAPUI5</role-name>      <role-name>Admin</role-name>    </auth-constraint>    </security-constraint>    <login-config>      <auth-method>FORM</auth-method>    </login-config>    <security-role>      <role-name>SAPUI5</role-name>    <role-name>Admin</role-name>  </security-role>    </web-app>

 

web-j2ee-engine.xml:

<?xml version="1.0" encoding="UTF-8"?><web-j2ee-engine xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="web-j2ee-engine.xsd">  <spec-version>2.4</spec-version>  <security-role-map>  <role-name>SAPUI5</role-name>                <role-name>Admin</role-name>  </security-role-map>  <login-module-configuration>  <login-module-stack>  <login-module>  <login-module-name>EvaluateTicketLoginModule</login-module-name>  <flag>SUFFICIENT</flag>  </login-module>  <login-module>  <login-module-name>BasicPasswordLoginModule</login-module-name>  <flag>REQUISITE</flag>  </login-module>  <login-module>  <login-module-name>CreateTicketLoginModule</login-module-name>  <flag>OPTIONAL</flag>  </login-module>  </login-module-stack>  </login-module-configuration></web-j2ee-engine>

SAP JCO 3.x destination not registered on SAP Netweaver 7.3

$
0
0

HI All,

 

We are migrating our code base from SAP JCO 2.1 to SAP JCO 3.x , though we have followed standard guides and API documentation for migration, we are facing  critical issues and become bottleneck for our migration project.

 

Basically , our requirement is to build destinations without properties file . For which , we have written Custom DestinationDataProvider to register the destination .

 

Code base is working fine in Tomcat server , where as the same code base is causing issues on SAP Netweaver 7.3 environment with following issue:

 

DestinationDataProvider already registered [com.sap.security.core.server.destinations.provider.DestinationsProviderFrame]

 

Though we handled the exception by validating whether Destination is registered or not,  but we couldn't register our own destination.

 

Some of the forum says , these are security issues by JCO 3 and make use of ticket login module  but that doesn't help much.

 

I searched entire SCN database , wonder why these issues are not resolved by SAP ? (or) nobody tried working on SAP Netweaver 7.3 with JCO 3.x.

Issues logged on SCN not answered till now , I believe these are SAP Netweaver Platform 7.3 issues.

 

Here are some of references , I pulled :

https://scn.sap.com/thread/3485795

http://scn.sap.com/thread/1873994

https://scn.sap.com/thread/1830619

 

I couldn't find any SAP Note correction from SAP either from JCO 3.x or Netweaver 7.3  category. As this requirement is important , Can somebody throw light on the issue or issue fix ?

 

Regards,

Ravi.

Addicted to RKS (Rolling Kernel Switch)

$
0
0

From time to time it is necessary to update the kernel. But what about finding a maintenance schedule to stop and start the system with the new kernel? Tricky... That's why I became addicted to RKS. This article tells about my experience using it.

 

Getting started!

 

The first time I read about RKS I thought it was a complicated thing. I couldn't be right. Then I found the correct steps: the SAP Help page brings all the information to setup the use of the Rolling Kernel Switch.


It is very important to consider the recommendations for using RKS, even more in a system with a lot of application servers, logon groups, batch processing and spool settings.

 

My experience

 

After following the recommendations, the adoption of RKS was smooth.

 

Now it is only a matter of download a new kernel patch level, put in the central executable directory, and use SAPMMC interface:

 

Prerequisites:


RKS 001.jpg

Good to go:

RKS 002.jpg

 

Executing:


RKS 003.jpg

 

Timeout settings:

RKS 004.jpg

 

Checking:

 

RKS 005.jpg

 

Success:

 

RKS 006.jpg

 

 

Additional reading:

 

 

953653 - Rolling Kernel Switch

 

1104735 - Upgrade to the new Instance-Specific Directory on UNIX

 

2077934 - Rolling kernel switch in HA environments

 

IMPORTANT: CST Wiki!!!

Prerequisites EP 7.31 to EP 7.4

$
0
0

Dear SDNers,

 

Please let me know the prerequisites to upgrade my portal from NW 7.3 to NW 7.4 . Do we need to upgrade any components at at backend?

 

Currently I am using ESS/MSS with 1.41. I would like to upgrade it to 1.51.

 

Please guide me the points which i need to consider before i start upgrading it from portal perspective.

 

Thanks in advance.

Use HTTP connection over SAPROUTER?

$
0
0

hallo

 

i have 2 saprouters connected so i can access sap with sapgui by using saprouter string

/H/212.xx.xx.xxx/S/sapdp99/H/212.yy.yy.yyy/S/sapdp99/H/

 

so far no problem

 

i added entries in saprouttab for port 8000 as well (same es for oss service required)

 

how can i now access to bsp application by using this saprouter-tunnel?

 

i find a lot of documentation how to setup the saprouttab for http connection but not how to use it

 

regards

 

joerg

NWBC 5.0: When starts, showed error: ".NET framework 4.5 is not installed"

$
0
0

Hi NWBC 5.0 experts,

 

I downloaded SAP GUI 7.40 and NWBC 5.0. The SAP GUI 7.40 works fine, but when I start NWBC 5.0 client, it pops out an error, see below. I checked my PC where there are .NET 4.5, 4.5.1, 4.6 installed.

 

Does anyone have an idea where it went wrong?

 

Thanks a lot!

 

Dong Zhu

How to install SAP NetWeaver AS Java 7.0 EHP 3

$
0
0

Dear Experts,

 

I have noticed, that SAP has released EHP 3 for NetWeaver AS Java 7.0:

 

 

I wanted to make a test installation of it, but unfortunately no SWPM supports it! In the normal SWPM

it is not listed at all and in the 70SWPM... there is an option to install an ABAP system ONLY:

 

 

And this is the LATEST SWPM available on the marketplace...

Please kindly advise what is the trick in order to get this installed :-) Thanks a lot in advance!


Error: Cannot get request dispatcher for path $DYNAMIC

$
0
0

Hi All,

 

We recently upgraded our SAP Netweaver eservices portal (icss_b2b) from NW 701 to NW 7.4 SP9.
we deployed our custom icss_b2b component on NW 7.4

After upgrade we are facing below attached error when we click on paginator to navigate between different pages.

500 Internal Server Error

Error: Cannot get request dispatcher for path $DYNAMIC

 

As I am new to portal development please suggest what might be the reason for this error, or some xml file I need to adjust ??.

 

Let me know if I have to provide some more information.

 

Regards,

Hari

ERROR "A required privilege is not held by the client "

$
0
0

Hi experts,

 

I am installing SAP ECC 6.0 for MaxDB in the windows 2003 sp2 OS.

But I am getting one error in the import ABAP step.

 

ERROR 2008-08-04 12:42:21

FSL-06002  Error 1314 (A required privilege is not held by the client.

) in execution of a 'CreateProcess' function, line (310), with parameter (C:\j2sdk1.4.2_12\bin\java.exe ...).

 

I checked the SAP Note 731977 -  for error Message 1314( A required privilege is not held by the client)

 

I have checked the credentials for the SAPuser. It has the administrators credentilas.

But not able to resolve this.

 

 

Did anybody come across such type of error?

 

Any help will be appreciated.

 

Manisha Das

SAP NW "Cannot redirect to the requested application, the redirect attribute is invalid."

$
0
0

Hi everyone,

 

I have been trying to setup a new local SLD, but when I tried to set the user and password in SAP NW logon page, I got the next message "Cannot redirect to the requested application, the redirect attribute is invalid."

 

SAP NW.JPG

I have tried these next threads without success:

Cannot redirect to the requested application, of VIRSA URL

Cannot redirect to the requested application - NW70 (EHP1) Java

 

Do you know how to check that redirect attribute or how can I get fix this issue?,

 

Thanks in advance,

Carlos Sanchez.

SAP Netweaver Trial ABAP Developer vs. non Developer Trial Version??

EHP7 upgrade - Error in START_SHDI_SHD2: RFC_LOGON_FAILURE

$
0
0

Dear friends,

 

I am upgrading an ERP 6.0 system to EHP7 and currently facing an issue in the START_SHDI_SHD2 phase. The shadow system is up and running, and I am able to login. But the RFC login to it fails with a short dump in SAPMSSY1 which mentions, "DYNPRO_NOT_FOUND".

 

When I checked in st22, the error is "You are trying to use screen 3004 in program "SAPMSSY1". This screen does not exist."


The current kernel is 742, I tried changing the kernels patch levels , and also tried downgrading it to 741 and 740. Unfortunately, didn't help.

 

Could you please advise, how to correct this error ?

 

Thanks and regards,

Sudarsan.

How to Communicate web server Using ABAP?

$
0
0

Hi Expects,

 

I have requirement in web service.

 

My Requirement is below,

 

My customer have web portal.

 

In that portal they updating hours wise plan.

 

Every 1 hr once i am opening the portal and downloading the plan and uploading into SAP.

 

Daily 2 man powers working for this process entire day

 

Now they asking to automate the process.

 

How can i do?

 

Please suggest me the process.

 

Thanks & Regards

  Karthikeyan K

SAP JCO 3.x destination not registered on SAP Netweaver 7.3

$
0
0

HI All,

 

We are migrating our code base from SAP JCO 2.1 to SAP JCO 3.x , though we have followed standard guides and API documentation for migration, we are facing  critical issues and become bottleneck for our migration project.

 

Basically , our requirement is to build destinations without properties file . For which , we have written Custom DestinationDataProvider to register the destination .

 

Code base is working fine in Tomcat server , where as the same code base is causing issues on SAP Netweaver 7.3 environment with following issue:

 

DestinationDataProvider already registered [com.sap.security.core.server.destinations.provider.DestinationsProviderFrame]

 

Though we handled the exception by validating whether Destination is registered or not,  but we couldn't register our own destination.

 

Some of the forum says , these are security issues by JCO 3 and make use of ticket login module  but that doesn't help much.

 

I searched entire SCN database , wonder why these issues are not resolved by SAP ? (or) nobody tried working on SAP Netweaver 7.3 with JCO 3.x.

Issues logged on SCN not answered till now , I believe these are SAP Netweaver Platform 7.3 issues.

 

Here are some of references , I pulled :

https://scn.sap.com/thread/3485795

http://scn.sap.com/thread/1873994

https://scn.sap.com/thread/1830619

 

I couldn't find any SAP Note correction from SAP either from JCO 3.x or Netweaver 7.3  category. As this requirement is important , Can somebody throw light on the issue or issue fix ?

 

Regards,

Ravi.


Create Business Partner with External Number Assignment

$
0
0

I am trying to create a business partner in SAP GUI transaction BP with external grouping / external number range / external number assignment. There are three external groupings in the system defined in customizing. One of the gorupings is marked as default. They are not set to hidden. There is no internal grouping and we don't want or need one, we want to manually enter the number.

 

When I click the (Create) Person, Group or Organization button in transaction BP I get the error "No internal standard grouping exists" "Message no. R11117" (117(R11)).

 

I also tried entering the ID first (the ID field is empty and editable) and clicking the Person/Group/Organization button second. This produced the same error message.

 

How can I tell transaction BP to use external number assignment / which grouping I want to use?

 

Some materials I found mention that I should select the grouping first. But there is nothing to select it. The only field is the ID field, there is no drop-down for the grouping or even for internal or external number assignment. Maybe this choice menu should appear after pressing the Person/Group/Org button, but then I only get the error message (at the bottom of the screen) and no additional fields appear.

 

What am I missing?

 

Monika

Processing routine & in program & does not exist

$
0
0

Hi ,

 

I am created a driver program for calling smartform for PO from.

 

Program name :ZSUPF_PUR_ORD

Form routine :ENTRY_NEU.

And also in nace configuration , we had done the correct setting .

 

 

Print output    ZSUPF_PUR_ORD    ENTRY_NEU              ZSUP_PUR_ORDER_FORM    SmartForm
Fax                 ZSUPF_PUR_ORD    ENTRY_NEU              ZSUP_PUR_ORDER_FORM    SmartForm
External send    ZSUPF_PUR_ORD    ENTRY_NEU              ZSUP_PUR_ORDER_FORM    SmartForm

 

We are getting output also in print preview and email is also triggering.But after everything thing .

The below error is coming:-

Processing routine & in program & does not exist

 

Thanks.

How to provide value of parameter DIR_TEMP to /tmp

$
0
0

Hi All,

 

i do not belong to Basis team, nor do i have Basis team in my organization. So, could you let me know, how do i make value of parameter DIR_TEMP to /tmp.

presently the same is .

 

Regards

Plaban

rc = -11113 points for fast help

$
0
0

4 servers exist, server0 fails, other servers working good, fails with rc -11113 after starting framework,

dev_jcontrol:

[Thr 8808] JControlICheckProcessList: process server0 started (PID:8484)

 

[Thr 8808] Thu Aug 09 10:37:21 2007

[Thr 8808] JControlICheckProcessList: process server0 (pid:8484) died (RUN-FLAG)

[Thr 8808] JControlIResetProcess: reset process server0

[Thr 8808] JControlIResetProcess: [server0] not running -> increase error count (5)

[Thr 8808] JControlICheckProcessList: running flight recorder:

     C:\j2sdk1.4.2_15\bin\java -classpath ../j2ee/cluster/bootstrap/sap.comtcbloffline_launcherimpl.jar com.sap.engine.offline.OfflineToolStart com.sap.engine.flightrecorder.core.Collector ../j2ee/cluster/bootstrap -node ID6521850 1186645026 -bz C:\usr\sap\EP7\SYS\global

-


dev_server0

 

Thu Aug 09 10:37:12 2007

5.477: [GC 5.477: [ParNew: 87685K->10327K(122880K), 0.0240184 secs] 87685K->10327K(1007616K), 0.0241124 secs]

6.280: [GC 6.280: [ParNew: 92247K->11168K(122880K), 0.0182784 secs] 92247K->11168K(1007616K), 0.0183602 secs]

 

Thu Aug 09 10:37:13 2007

7.043: [GC 7.043: [ParNew: 93074K->13941K(122880K), 0.0213479 secs] 93074K->13941K(1007616K), 0.0214304 secs]

 

Thu Aug 09 10:37:14 2007

7.573: [GC 7.573: [ParNew: 95861K->15421K(122880K), 0.0209439 secs] 95861K->15421K(1007616K), 0.0210301 secs]

 

Thu Aug 09 10:37:16 2007

10.233: [GC 10.233: [ParNew: 97341K->19700K(122880K), 0.0258604 secs] 97341K->19700K(1007616K), 0.0259538 secs]

 

[Thr 5040] Thu Aug 09 10:37:17 2007

[Thr 5040] JLaunchIExitJava: exit hook is called (rc = -11113)

[Thr 5040] **********************************************************************

      • ERROR => The Java VM terminated with a non-zero exit code.

      • Please see SAP Note 943602 , section 'J2EE Engine exit codes'

      • for additional information and trouble shooting.

**********************************************************************

[Thr 5040] JLaunchCloseProgram: good bye (exitcode = -11113)

-


std_server0_out

C:\usr\sap\EP7\JC00\j2ee\cluster\server0\bin\ext\webservices_lib\saaj-api.jar

Loading model: {parent,local,references}

-


The error occurred while trying to load "com.sap.security.core.persistence.datasource.PersistenceException".

     at com.sap.engine.frame.core.load.ReferencedLoader.loadClass(ReferencedLoader.java:401)

     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.sap.engine.core.service630.container.ServiceRunner.run(ServiceRunner.java:136)

     at com.sap.engine.frame.core.thread.Task.run(Task.java:64)

     at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:79)

     at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:150)

[Framework -> criticalShutdown] Core service com.sap.security.core.ume.service failed. J2EE Engine cannot be started.

Aug 9, 2007 10:37:16 AM             com.sap.engine.core.Framework [SAPEngine_System_Thread[impl:5]_65] Fatal: Critical shutdown was invoked. Reason is: Core service com.sap.security.core.ume.service failed. J2EE Engine cannot be started.

  Service cafeugpmailcf started. (47 ms).

Finding size used by custom Z table?

$
0
0

Hi,

 

We have a ECC 6.0 system running on Oracle 11.2.0.4.

 

One thing we need to do lately is to work out how much disk space is being utilised by a few custom Z* tables in the database. However we can't seem to find out exactly how much space is being used.

 

What we have tried is to use DB02, and then check under Segments -> Detailed Analysis.

 

3.png

 

However the result we get from the result is too small. Only 5MB.

 

The database table has a column that actually holds the file contents of attached documents, so it couldn't possibly be so small.

 

We've also tried the other option "Detailed Analysis (Aggregated)", and that returns a more sensible 6.9GB. However we don't know for sure what the "Aggregated" option does, and past discussions on SCN about how to find database disk space usage never mentioned the "Aggregated" option too.

 

Does anyone know which is the correct option?

 

Thank you!

Viewing all 2997 articles
Browse latest View live


Latest Images