Quantcast
Channel: SCN : All Content - SAP NetWeaver Technology Platform
Viewing all 1967 articles
Browse latest View live

SAP webdispatcher not loading content

$
0
0

Hi All,

 

I have been observing issues on SAP web dispatcher.

 

As soon as I click on the "Active Connections" on the web admin page, the page goes unresponsive and keeps loading. Though no impact on the web dispatcher performance is observed, it is still a pain to have mistakenly clicked on the link and keep waiting for it to bring back information.

 

Please advise if someone has experienced this and resolved.

 

Thanks,

Ankit


How to check RFC's created by perticular user in sap.

$
0
0

Hi,

 

We have specific requirement to check the rfc's created by particular usr in ERP system. There are hundreds of RFC's connection are present in the system, it is time consuming to check in each RFC. Do have any method to check with perticular user.

 

regards

Manjappa

How can i get the data in a table from RFC?I wrote the Code for this but still i am not getting the data in my table.I have attached my code also whatever i have wrote for ,PFA.

Printing chinese characters in a zebra printer using SAP Interactive Forms

$
0
0

Hello,

 

We have created an Adobe Interactive Forms in SAP with transaction SFP. In this form we have used some words in English and another ones using Simplified Chinese characters . We have defined a Zebra printer in SPAD transaction using Device Type AZPL203.

 

We have defined an ABAP program to printout this form. When we print it in the zebra printer some of the chinese characters are printed and some of them no.

 

Has anyone faced the same problem?

 

Please if this is not the right forum, please could you adress me to the right one?

 

Thanks a lot

Miquel A. Vergara

JMS Authorization Enhancement: Your AS Java is not broken, fix your JMS application

$
0
0

Did you recently notice an exception in the default trace? Or in the JMS application logs? I mean this kind of exception:

 

#2.0#2015 05 25 12:20:51:590#+0300#Error#com.sap.jms.server.sc.UMESecurityProvider#

#BC-JAS-JMS#jms#C0000A37426704CE00000000000072BC#9677150000000004#sap.com/JMSTestProject#com.sap.jms.server.sc.UMESecurityProvider#Guest#0##4D6D5E5E006011E5CB4400000093A95E#4d6d5e5e006011e5cb4400000093a95e##0#Thread[HTTPWorker [@1110872576],5,Dedicated_Application_Thread]#Plain##

The username: Guest has not enough permissions. For more details see the exception.

[EXCEPTION]

javax.jms.JMSSecurityException: User: Guest has not permission: vpName: default, type: queue, action: produce, destination: MDBTestQUEUE

  at com.sap.jms.server.sc.UMESecurityProvider.checkPermission(UMESecurityProvider.java:218)

  at com.sap.jms.server.sc.UMESecurityProvider.checkDestinationProducePermission(UMESecurityProvider.java:113)

  at com.sap.jms.server.JMSVirtualProviderProcessor.producerCreate(JMSVirtualProviderProcessor.java:546)

  at com.sap.jms.client.session.JMSSession.createProducer(JMSSession.java:607)

  at com.sap.jms.client.session.JMSQueueSession.createSender(JMSQueueSession.java:56)

  at com.sap.jms.test.TestServlet.sendAndReceiveMessage(TestServlet.java:73)

  at com.sap.jms.test.TestServlet.doGet(TestServlet.java:47)

  at javax.servlet.http.HttpServlet.service(HttpServlet.java:734)

  at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)

  at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:152)

...

  at com.sap.engine.services.httpserver.server.rcm.RequestProcessorThread.run(RequestProcessorThread.java:56)

  at com.sap.engine.core.thread.execution.Executable.run(Executable.java:122)

  at com.sap.engine.core.thread.execution.Executable.run(Executable.java:101)

  at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:328)

 

If you have already found this exception, don’t worry. There is nothing wrong with your AS Java. Here is what happens, and what you can do about it.

Note:There is no problem during build time, the issues appears only runtime.


What has been changed?

The JMS authorization mechanism has been changed in SAP NetWeaver 7.5 in order to provide a better protection for the JMS destinations (JMS Queues and Topics).

More details on defining security in JMS: http://help.sap.com/saphelp_nw75/helpdata/en/05/54e14a42634e76a602584cc892a0c7/frameset.htm

 

A historical reason

Before this enhancement, the security Role Everyone had by default permissions to execute JMS operations. This is what you could see in the Identity Management in the SAP NetWeaver Administrator:

 

jms_auth1.png

 

After this enhancement there are no JMS operations available for the role Everyone, and this is why you get the exception I already talked about.

 

What you can do to adjust your application to this enhancement?

There are a couple of things you can choose from:

  • Setting the necessary authorizations in the actions.xml file. You can do this by adding the following code Here is an example:

 

<BUSINESSSERVICE NAME="MyVirtualProvider">  <ACTION NAME="my_all_action">    <PERMISSION NAME="myVP.queue" VALUE="ALL:$:MyQueue"
CLASS="com.sap.jms.server.service.impl.JMSDestinationPermission"/>  </ACTION>  <ACTION NAME="my_produce_action">    <PERMISSION NAME="myVP.queue" VALUE="produce:$:MyQueue"
CLASS="com.sap.jms.server.service.impl.JMSDestinationPermission"/>  </ACTION>  <ROLE NAME="MyASJavaRole">    <ASSIGNEDACTION NAME="my_produce_action"/>  </ROLE></BUSINESSSERVICE>

 

Or you can manually assign Action to the Role in the SAP NetWeaver Administrator → Identity Management.

 

 

Anyway, make sure the relevant Role (for example, MyASJavaRole) is assigned to the Users who are accessing JMS.

 

  • Using the runAs mechanism. Here you have two options: using Subject.doAs() in the source code of the JMS application, or adding the necessary information in the Java EE deployment descriptors, such as web.xml, ejb-jar.xml.
    • Using Java EE deployment descriptors.
      1. If you use JMS in a Servlet, or a JSP you have to adjust the web.xml and the web-j2ee-engine.xml files.

web.xml

 

<web-app>  <servlet>    <servlet-name>...</servlet-name>    ...    <run-as>      <role-name>MyServletRole</role-name>    </run-as>  </servlet>  <security-role>    <role-name>MyServletRole</role-name>  </security-role></web-app>

web-j2ee-engine.xml

 

<web-j2ee-engine>    <security-role-map>        <role-name>MyServletRole</role-name>        <server-role-name>MyASJavaRole</server-role-name>    </security-role-map></web-j2ee-engine>

 

      1. If you use JMS in EJBs, you need to change the ejb-jar.xml and the ejb-j2ee-engine.xml files.

ejb-jar.xml

 

<ejb-jar>    <assembly-descriptor>        <security-role>            <role-name>MyEJBRole</role-name>        </security-role>    </assembly-descriptor></ejb-jar>

 

ejb-j2ee-engine.xml

 

<ejb-j2ee-engine>    <security-permission>        <security-role-map>            <role-name>MyEJBRole</role-name>            <server-role-name>MyASJavaRole</server-role-name>        </security-role-map>    </security-permission></ejb-j2ee-engine>

 

    • Using Subject.doAs() method. Here is an example:

PrivilegedExceptionAction codeToBeExecutedWithGivenUser = new PrivilegedExceptionAction() {

  public Object run() throws Exception {

    //code to be executed with given user

    return null;

  }

};

 

 

IUser doAsUser = UMFactory.getUserFactory().getUserByLogonID("RUN_AS_USER");

 

// create new Subject

final Subject runAsSubject = new Subject();

runAsSubject.getPrincipals().add(doAsUser);

try {

    Object result = Subject.doAs(runAsSubject, codeToBeExecutedWithGivenUser);

} catch (PrivilegedActionException pae) {

    ...

}

 

  • Using the JMSConnectionFactory.createConnection(user, password) method in the source code of your JMS application. Here is an example:

 

InitialContext context = new InitialContext();

Connection con = null;

try {

    Queue queue = (Queue) context.lookup("jmsqueues/default/myQueue");

    QueueConnectionFactory queueConnectionFactory = (QueueConnectionFactory)context.lookup("jmsfactory/default/QueueConnectionFactory");

    con= queueConnectionFactory.createConnection(“User”, “Password”);

    Session session = con.createSession(false, Session.AUTO_ACKNOWLEDGE);

    QueueSender sender = (QueueSender) session.createProducer(queue);

    …

 

JMS destinations created manually in SAP NetWeaver Administrator (JMS Server Configuration plug-in)

If until now you have created JMS destinations, such as JMS queues and JMS topics, in the SAP NetWeaver Administrator, probably you have expected that everyone should be able to work with these destinations. From now on, this is not the case anymore. When you create a new JMS destination, UME actions are also created.

 

jms_auth2.png

If you want particular Users to be able to work with this JMS destination, you have to assign this action to a particular Role (which is assigned to the target Users):

 

jms_auth3.png

jms_auth4.png

In the end

This JMS Security enhancement should help you provide a better protection to the JMS Queues and Topics and therefore to your JMS application. If you still have any concerns, list them below in the comments section.

can we re-run job from sm37

$
0
0

Hi Friends,

 

Is there a possibility to re-run a job if it has failed from transaction sm37, without changing its original schedule start time and date.

 

If I click on the job and then go to job, repeat scheduling, immediate start and save it does that change the jobs original schedule start time and date.

 

I know we can do it from se38 by inputting the program name and run it in the background but wanted to know if we can do through sme37.

 

Thanks

SAP NetWeaver Application Server ABAP 7.4 on SAP HANA - Developer Edition

$
0
0

hi all

 

more than two weeks and Iam looking for direct link to download

SAP NetWeaver Application Server ABAP 7.4 on SAP HANA - Developer Edition

to work with it in oracle virtual machine -but no link working

will you please provide for me working link to download it

SAP NetWeaver RFC SDK -- RFC Server Programs

$
0
0

In 2007 as part of SAP NetWeaver 7.10, SAP has introduced a new software development kit (SDK) for remote function call (RFC) communications:
SAP NetWeaver RFC SDK. It is the successor to the well-known "classic" RFC SDK for SAP R/3, and you can use it in C/C++-based applications to communicate with SAP back-end systems ranging from SAP R/3 4.0B to the latest SAP NetWeaver systems. The following article has originally been published in 2008 by SAP Professional Journal and appears here with permission of the publisher, Wellesley Information Services. It takes a deeper look at the design of SAP NetWeaver RFC SDK and explains the ideas behind it.

 

The second part describes how

  • C/C++ programs can receive and process RFC requests from an ABAP back-end system
  • C/C++ programs can return normal responses or various exceptions to the ABAP back-end system

 

Article in PDF format: NW RFC SDK Part 2: RFC Server Programs

 

Note: the old links to the sample programs given in the article no longer work. Instead the sample programs can now be downloaded here:

samples.zip

 

Remaining parts of this series:

Part 1 -- RFC Client Programs

Part 3 -- Advanced Topics


SAP NetWeaver RFC SDK -- RFC Client Programs

$
0
0

In 2007 as part of SAP NetWeaver 7.10, SAP has introduced a new software development kit (SDK) for remote function call (RFC) communications:
SAP NetWeaver RFC SDK. It is the successor to the well-known "classic" RFC SDK for SAP R/3, and you can use it in C/C++-based applications to communicate with SAP back-end systems ranging from SAP R/3 4.0B to the latest SAP NetWeaver systems. The following article has originally been published in 2007 by SAP Professional Journal and appears here with permission of the publisher, Wellesley Information Services. It takes a deeper look at the design of SAP NetWeaver RFC SDK and explains the ideas behind it.

 

The first part describes how

  • metadata (data types, structure definitions, descriptions of function module signatures) is handled by the NW RFC SDK
  • data (fields, structures, tables) is handled by the NW RFC SDK
  • C/C++ programs can send RFC requests into the ABAP back-end system
  • C/C++ programs can process the response or various exceptions returned by the ABAP back-end system

 

Article in PDF format: NW RFC SDK Part 1: RFC Client Programs

 

Note: the old links to the sample programs given in the article no longer work. Instead the sample programs can now be downloaded here:

samples.zip

 


Remaining parts of this series:

Part 2 -- RFC Server Programs

Part 3 -- Advanced Topics

SAP NetWeaver RFC SDK -- Advanced Topics

$
0
0

In 2007 as part of SAP NetWeaver 7.10, SAP has introduced a new software development kit (SDK) for remote function call (RFC) communications:
SAP NetWeaver RFC SDK. It is the successor to the well-known "classic" RFC SDK for SAP R/3, and you can use it in C/C++-based applications to communicate with SAP back-end systems ranging from SAP R/3 4.0B to the latest SAP NetWeaver systems. The following article has originally been published in 2008 by SAP Professional Journal and appears here with permission of the publisher, Wellesley Information Services. It takes a deeper look at the design of SAP NetWeaver RFC SDK and explains the ideas behind it.

 

The third part describes how

  • transactional, queued and background RFC can be used
  • metadata can be hard-coded, instead of using metadata dynamically retrieved from the back-end DDIC
  • RFC Callback works in client as well as server programs
  • SSO and SNC can be used

 

Article in PDF format: NW RFC SDK Part 3: Advanced Topics

 

Note: the old links to the sample programs given in the article no longer work. Instead the sample programs can now be downloaded here:

samples.zip

callback.zip

 

Remaining parts of this series:

Part 1 -- RFC Client Programs

Part 2 -- RFC Server Programs

SAP printing problem with Linux-Mint-17.2 version..

$
0
0

Hello,

 

 

In my scenario problem is :  Users are not able to print (SAP-ALV & SAP-Customized report) from Linux on USB local printer.

 

SOLUTION :- Here is the solution for SAP printing in Linux on local USB printer :-

 

STEPS :-

 

1.   Run T-Code-SPAD

2.  Create New Printer--> Add Printer name-eg.: HPLJ

3.  Got to Utilities >> For Device Type >>Import

     Select  Device Type Radio button

4.  Import--(Download & Add new.PRI file for your Printer--like for HP-M40--printer:HPM401.PRI(Config File for HP-printing).

5.  Select Local package

6. Select Device Type: POST2   : PS lv.2 ISO Latin R4.54A+ONLY!

7. Access Method : G:Front end printing with Control Tech.

8. Fill the Host printer column with :-  __DEFAULT

9.  New printer is configured.

 

For assigning printer to the user in Linux :-

 

STEPS :-

 

1.T-Code SU01

2. Select user: Open in Edit Mode.

3. Go to "Default" tab: Select New printer(which you add for Linux..)

4. Save the User

5. Print the document.

 

RESULT :  SAP-Linux users with having local USB printers as well as Network Shared printers are able to print the report(SAP-ALV and SAP-Customized report) with proper format.

 

 

 

Thanks & Regards,

JUNAID AHMAD

NWBC Integration

$
0
0

Hi,

 

We are using NWBC. But now we are planning to integrate it to a finance function.

 

What would be the best method for integrating and/or replacing technologies we currently use such as SAPGui, Fiori Launchpad, NW Portal, Personas? Ideally we would like(if possible) a single frontend solution with the best user experience.

 

Please share examples and recommendations or documents for the same.

 

Regards.

Jstart.exe not starting

$
0
0

hi guys,

 

 

During ACC711 installation win2008/sql2008, In Start JAVA instance phase getting below error in sapinst.

 

jstart.exe is not starting at MMC.

 

 

10.08.2009 19:10:37
GetProcessList
OK
name, description, dispstatus, textstatus, starttime, elapsedtime, pid
jstart.EXE, J2EE Server, YELLOW, Synchronizing binaries, 2009 08 10 19:10:19, 0:00:18, 4024
igswd.EXE, IGS Watchdog, GREEN, Running, 2009 08 10 19:10:19, 0:00:18, 3720

INFO 2009-08-10 19:10:47.599
Connect to message server (administrator2/3901) succeeded.

INFO 2009-08-10 19:10:47.599
Disconnect from message server (administrator2/3901) succeeded.

INFO 2009-08-10 19:10:47.603
State of instance AC7/J00 changed from Java: BOOTSTRAP to Java: UNKNOWN.

WARNING[E] 2009-08-10 19:10:47.605
CJS-30105  Instance AC7/J00 reached state UNKNOWN after having state BOOTSTRAP. Giving up.

ERROR 2009-08-10 19:10:47.757
FCO-00011  The step startJava with step key |NW_Java_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CI_Instance|ind|ind|ind|ind|11|0|NW_CI_Instance_StartJava|ind|ind|ind|ind|8|0|startJava was executed with status ERROR .

WARNING 2009-08-10 19:10:47.829
Could not get property IDs of the JavaScript object.

ERROR 2009-08-10 19:10:47.829
FJS-00010  Could not get value for property .

INFO 2009-08-10 19:14:29.200
An error occured and the user decided to stop.\n Current step "|NW_Java_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CI_Instance|ind|ind|ind|ind|11|0|NW_CI_Instance_StartJava|ind|ind|ind|ind|8|0|startJava".

INFO 2009-08-10 19:14:34.434
Working directory changed to C:/Program Files/sapinst_instdir/NW71/INSTALL/SYSTEM/MSS/STD.

 

SM66: Memory Usage Overview in NW740 SP8

$
0
0

Hi All,

 

We are used to check system Memory Usage Overview by using transaction code SM66. However after we upgraded the system to NW740 SPS 8, we are not able to find the Memory Usage Overview anymore. Any idea? Please advise, thanks.

SAP Best Practices Baseline Package V1.607

$
0
0

Hi

I need install SAP Best Practices Baseline Package  V1.607, for ERP on HANA.

I have problem with version of SAP ERP EHP7 on HANA.

The add-ons BP-soldbld require SAP_APPL,604 but My system have SAP_APPL,617

what can I do?


SAP PLM

$
0
0

Hi

I am new to this field . i have prior idea about the PLM . I don't know about SAP PLM . Will you give brief introduction about SAP Plm . How to proceed further for starting the study of SAP PLM.

Netweaver 7.4 Install Stop Error - SCS01 will not start (err code: FCO-00011)

$
0
0

Hi All,

 

I have been installing Netweaver 7.4, using MAX DB, the install runs happily up to the step where it tries to start the SCS01 instance, however it fails after trying to start for 5 minutes.

 

Looking through the error logs on the log analyser the error I have found is:

 

An error occurred at step:
ERROR 2013-12-17 14:23:33.545 [sixxcstepexecute.cpp:901]

FCO-00011 The step startSCSInstance with step key NW_CI_Instance -> startSCSInstance was executed with status ERROR

 

Logfile location: C:\Program Files\sapinst_instdir\NW740\ADA\INSTALL\ADA\STANDALONE\STD\PICP\sapinst.log

 

ERROR 2013-12-17 14:23:33.545 [sixxcstepexecute.cpp:901]
FCO-00011 The step startSCSInstance with step key NW_Java_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|onehost|0|NW_CI_Instance|ind|ind|ind|ind|ci|0|startSCSInstance was executed with status ERROR ( Last error reported by the step: Instance J21/SCS02 [PARTIAL] did not start after 5:10 minutes. Giving up.).

 

Logfile location: C:\Program Files\sapinst_instdir\NW740\ADA\INSTALL\ADA\STANDALONE\STD\PICP\sapinst_dev.log



I have tried all the usual things like restarting the install, trying a completely fresh install, starting the instance manually but it will always fail at this point.

 

Has anyone else encountered this error, or can suggest further logs to inspect?

 

Many thanks in advance!

 

Jon



Can i monitor Web Dispatcher using Solution Manger

$
0
0

Hi ,

 

Can I monitor Web dispatcher system using GRMG,CCMSPING,CCM4X or CCMSR agent like normal ABAP or JAVA systems?

 

I just want to monitor the web dispatcher system is up and running or not .

 

If so please provide some documentation.

 

Thanks in advance......

 

 

 

Regards,

Srini

validation of email addresses in sap standard

$
0
0

Hello,

 

email addresses (like in contact data of user or business partner) are validated using function module SX_INTERNET_ADDRESS_TO_NORMAL. With parameter SX_SMTP_ADDRESS_CHECK and value NEW in table SXPARAMS an new functionality is used (Class CL_BCS_EMAIL_ADDRESS).

--> see sap note 1789073.

It is stated that the validation is based on RFC 5322.

 

My requirement is that I need to enter email-addresses with special character (german umlauts).

 

According to RFC 5322 special character are not allowed. With RFC 6531 (from 2012) many unicode characters are allowed including german umlauts.

 

How do I get SAP to use the "new" validation rules, allowing german umlauts?

 

Thank

Elko

PM Module

$
0
0

Is there an example PM module DB to install into the trial version... MaxDB does not have it....?

Shane

Viewing all 1967 articles
Browse latest View live


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