44
1 WDEBU7 Workshop Chapter 06 Setting up BEx Web - Short Track Roland Kramer Rampup Coach nw2004s SAP Switzerland

06001 WDEBU7 Setting Up BEx Web Short Track

Embed Size (px)

Citation preview

Page 1: 06001 WDEBU7 Setting Up BEx Web Short Track

1

WDEBU7 WorkshopChapter 06

Setting up BEx Web -Short TrackRoland Kramer Rampup Coach nw2004s SAP Switzerland

Page 2: 06001 WDEBU7 Setting Up BEx Web Short Track

2

© SAP AG 2003, Setup BI 3.5, Roland Kramer / 2

Milestones Implementation SAP NW04s Java

Check the usage of the Abap HTTP/S

Run the Template Installer for BI-Java

Configure the local SLD

Patching Java with JSPM

Check the Result with the BI Diag. tool

Functional Checks in the Portal

Migration Web Objects to nw2004s

Installation of Java (Add-in, sep. Instance)

Adapt new Monitoring to nw2004s

(only with Upgrade)

(with the Installation)

Follow these Notes:• Installation AS-Java Add-In with Usage Types BI-Java and EP (EP-Core)

• Apply the latest Java Support Packages Stack• Check for Patches for the Java Support Package Stack

• Check for Roles in the Java User Management which have enough permission to run theTemplate Installer successfully

• Activation BEx Web (Note 917950, 919850)• Run the Template Installer from the NetWeaver Administrator (CTC), see Note 923359• Check the result with the BI Diagnostics and Support tool, see Note 937697• Check and apply security Notes 872043, 815904• Check the BEx Personalization Notes 573284, 944370

• Activating the Monitoring for NetWeaver 2004s SR1 Guides can be find under: http://service.sap.com/operationsnw2004s

• Note 964988 - BIPostInstallProcess not visible in template installer• Note 895736 - Configuration Template for BI-JAVA usage type• Note 983156 - BI configuration w. Template Installer• Note 945055 - Transporting Web templates in NetWeaver 2004s

Page 3: 06001 WDEBU7 Setting Up BEx Web Short Track

3

© SAP AG 2003, Setup BI 3.5, Roland Kramer / 3

Check for the latest Patches of the actual SPS

Page 4: 06001 WDEBU7 Setting Up BEx Web Short Track

4

© SAP AG 2003, Setup BI 3.5, Roland Kramer / 4

Both J2EE and ABAP Engine will be restarted …

Page 5: 06001 WDEBU7 Setting Up BEx Web Short Track

5

© SAP AG 2003, Setup BI 3.5, Roland Kramer / 5

Check for the right Permissions of the Java User

Note the :• if the User J2EE_ADMIN is used for various configuration steps and is used as the

default user for the JCo connection, please make sure that the user J2EE_ADMINhas at least the following Profile in Abap: S_BW_RFC (to admin RFC connections)

Page 6: 06001 WDEBU7 Setting Up BEx Web Short Track

6

© SAP AG 2003, Setup BI 3.5, Roland Kramer / 6

For Java Add-In Installations recreate the Portal ticket

Note:Details for this Step can also be found in the configuration guide for the PI based on NetWeaver 2004s.This is due to the fact that the existing Abap Installation will be enhanced with the Java Add-in Installation to a Doublestack Installation.You must recreate the Java Ticket with the EXACT Name SAPLogonTicketKeypairPlease always Note:Abap Tickets are using the RSA encryption and Java Tickets the DSA encryption. Unfortunate the default settings are vice versa when you create the tickets the first time, or when you recreate the ticket on the Java side.

Page 7: 06001 WDEBU7 Setting Up BEx Web Short Track

7

© SAP AG 2003, Setup BI 3.5, Roland Kramer / 7

J2EE <SID> must differ from Abap <SID>

e.g. in this Example Abap <SID>: N4S and J2EE <SID>: N40

N40

Page 8: 06001 WDEBU7 Setting Up BEx Web Short Track

8

© SAP AG 2003, Setup BI 3.5, Roland Kramer / 8

Check the Logon Group (PUBLIC) with SMLG

Page 9: 06001 WDEBU7 Setting Up BEx Web Short Track

9

© SAP AG 2003, Setup BI 3.5, Roland Kramer / 9

Check that the Java Applications are started

• Check also the SLD Application via DEPLOY Application *SLD*

Page 10: 06001 WDEBU7 Setting Up BEx Web Short Track

10

© SAP AG 2003, Setup BI 3.5, Roland Kramer / 10

Start the NetWeaver Administrator

Page 11: 06001 WDEBU7 Setting Up BEx Web Short Track

11

© SAP AG 2003, Setup BI 3.5, Roland Kramer / 11

Go to “Deploy and Change”

•To set the required authorizations for the NWA, now choose the CIM Client GenerationSettings tab page, and activate the following entries in the list:

• sap.com/tc~lm~webadmin~mainframe~wd/webdynpro/public/lib/app.jar• sap.com/tc~lm~webadmin~sld~wd/webdynpro/public/lib/app.jar

• Ensure that the SLD connection data is entered on this tab page, and save your entries bychoosing Save

Page 12: 06001 WDEBU7 Setting Up BEx Web Short Track

12

© SAP AG 2003, Setup BI 3.5, Roland Kramer / 12

Scenario BI-Java: Complete BI Postinstallation

• Note 853505 - Release Restr.: Usage Type BI-Java of SAP NetWeaver 2004s• Note 923359 - Collective Note: Template Installer (CTC)• Note 895736 - Configuration Template for BI-JAVA usage type• Note 983156 - BI configuration w. Template Installer• Note 917950 - SAP NetWeaver 2004s: Setting Up BEx Web• Note 945055 - Transporting Web templates in NetWeaver 2004s

Page 13: 06001 WDEBU7 Setting Up BEx Web Short Track

13

© SAP AG 2003, Setup BI 3.5, Roland Kramer / 13

Choose: “Execute Template”

Note 983156 - BI configuration w. Template InstallerYou can start the Template Installer with the BI-Java Template at any time, if youdelete the following items before restarting:

delete the RFC connection for the EP in SM59 and Visual Administratordelete the exchanged tickets for EP in STRUSTSSO2 and for Abap in the

Visual Administratordelete the SAP_BW entry in the EP System Landscape configuration

This is to prevent errors when restarting the Template Installer again

Page 14: 06001 WDEBU7 Setting Up BEx Web Short Track

14

© SAP AG 2003, Setup BI 3.5, Roland Kramer / 14

Make sure that the users have enough rights …

Page 15: 06001 WDEBU7 Setting Up BEx Web Short Track

15

© SAP AG 2003, Setup BI 3.5, Roland Kramer / 15

Press: “Install”

Page 16: 06001 WDEBU7 Setting Up BEx Web Short Track

16

© SAP AG 2003, Setup BI 3.5, Roland Kramer / 16

Check the result with Transaction STRUSTSSO2

• for detailed check go to Environment SAP Logon Ticket and use forDestination the Value NONE. The correct SSO settings will be shown.

• Note 177895 - Refitting the mySAP.com Single Sign-On capability • Note 701205 - Single Sign-On using SAP Logon Tickets• Note 812047 - NW04: SSO to J2EE 6.40 fails• Note 991505 - Single Sign-On with assertion tickets fails on J2EE Engine• Note 1015179 - SSO ticket expired or connection timeouts• Note 1013230 - JC0.Client not connected/system received expired SSO ticket

Page 17: 06001 WDEBU7 Setting Up BEx Web Short Track

17

© SAP AG 2003, Setup BI 3.5, Roland Kramer / 17

And with the Diagnostics &Support Desktop Tool

• Note 937697 - Usage of SAP NetWeaver BI Diagnostics & Support Desk Tool

In order to use the tool, follow these steps:8. Close all open web browsers.9. Logon to your Portal using <http|https>://<j2ee_server>:<j2ee_port>/irj with a user belonging to the "Administrators" group. Usually, this is "Administrator" or "j2ee_admin".10.Change the URL in your browserto<http|https>://<j2ee_server>:<j2ee_port>/irj/servlet/prt/portal/prtroot/com.sap.ip.bi.supportdesk.default11. In case a red traffic light is shown on the initial tool screen indicating a configuration issue, click the link to get more details on the configuration issues found for your system. Go through the list of checks marked with a red traffic light and see the instructions provided for each check in order to correct the configuration.12. In case of changes to the configuration, click the "Reload configuration" button to re-run the configuration checks and update the check results.13. If all traffic lights turn green and the issue is resolved, continue with the steps described below for undeploying the tool. If you can't correct the configuration on your own or all traffic lights are green and the issue persists, continue with the next bullet point.14. If you have a specific error situation which for example occurs during a navigation step in a BEx Web Application Java, click on the "Start reproducing error" button. If you have issues with the overall configuration, go to the next step.15. Click the "Download support info" button. When prompted, store the downloaded file "supportdesk.zip" to your local harddisk.16. Ifyou have clicked the "Start reproducing error" before, it is important to click the "Stop reproducing error" button now. This will restore all log levels to their original values and helps to prevent performance degradation due to too many messages written to the log files.17. Attachthe file "supportdesk.zip" to your OSS message or send the file via e-mail to [email protected] stating the OSS message number and title in the e-mail title.

Page 18: 06001 WDEBU7 Setting Up BEx Web Short Track

18

© SAP AG 2003, Setup BI 3.5, Roland Kramer / 18

Advanced Diagnostic Tool (Note 982127, 957666)

How to start and use the Diagtool:• go.bat conf\authentication.conf D:\usr\sap\N4S\DVEBMGS01\j2ee\configtool• go.bat conf\sso2.conf D:\usr\sap\N4S\DVEBMGS01\j2ee\configtoolreproduce the error and check the output file

Page 19: 06001 WDEBU7 Setting Up BEx Web Short Track

19

© SAP AG 2003, Setup BI 3.5, Roland Kramer / 19

Activate necessary Business Content (Note 925351)

Additional Notes:Please Note also that you have to activate the Web templates according your applied Support Stack. You might also have to apply some correction notes.

Note 883815 - Changes to standard Web templates for NW2004s SPS5 Note 903381 - Changes to standard Web templates for NW2004s SPS6Note 925351 - Changes to standard Web templates for NW2004s SPS7Note 918565 - Required incompatible metadata changes in NW 2004s BINote 926802 - Cross references for Web templates are not savedNote 953685 - NW04s BI(SP08): Error in Page.saveBookmark()Note 950738 - NW2004s: Web Analyzer - Comments not saved correctlyNote 970221 - Changes to standard Web templates for NW2004s SPS9Note 990321 - Changes to standard Web templates for NW2004s SPS10

Page 20: 06001 WDEBU7 Setting Up BEx Web Short Track

20

© SAP AG 2003, Setup BI 3.5, Roland Kramer / 20

Activation of Client Side Logging and Receipts

Activation of Client Side Logging and Receipts (Note 596698):

1) Start the DSM logger component as portal administrator.Choose "System Administration -> Support ->Support Desk"Choose "SAP Application".Test and configure the "Dsm Logger" tools.

2) Activate the logger and receipts by using all "Attach" buttons; The traffic lights must turn green.

3) Open a new portal window (with either "CTRL-N" or "File -> New" in the browser menu).

4) Start your application again (i.e. an application based on IAC, MiniApp or R/3 transaction in SAPGUI for HTML). If you as the administrator do not yet have access to such iViews or pages, first assign the corresponding role to the admin user.

5) When your application is displayed, you should get a browser popup with the Receipt on Session info. This popup is the confirmation that the Session Release Agent knows about the session on the server side and will handle this session later.

6) When you close the application window or navigate away, a new window called "DSM Terminator" is opened with a transmission protocol.

Page 21: 06001 WDEBU7 Setting Up BEx Web Short Track

21

© SAP AG 2003, Setup BI 3.5, Roland Kramer / 21

Note 872043 - Portal Security Settings

Note:• The user SAPJSF is dedicated to synchronize the Users between Abap and Java (UME) withthe Role SAP_BC_JSF_COMMUNICATION_RO.To assign the “stronger” Role SAP_BC_JSF_COMMUNICATION you should first generatethis Role with Transaction SUPC before you can add them in SU01 to the user SAPJSF. See Note 748195 and 891162 for more Details.You must restart the J2EE Engine after you change the role assignment.

• Please change all Users created by the Java Add-in Installation from user type “Dialog” to“Service” to prevent unmeant Password changes. These are affected users:

ADSUSER for the Adobe Document ServiceADS_AGENT J2EE_ADMIN for the Java AdministrationJ2EE_GUEST NWDI_ADM If DI is installedNWDI_CMSADM NWDI_DEV SAPJSF for the Java Communication with AbapSLDAPIUSER for the SLD Administration/CommunicationSLDDSUSER

Page 22: 06001 WDEBU7 Setting Up BEx Web Short Track

22

© SAP AG 2003, Setup BI 3.5, Roland Kramer / 22

Note 815904 – Check Security Zones

Additional Remarks for the user DDIC:

Page 23: 06001 WDEBU7 Setting Up BEx Web Short Track

23

© SAP AG 2003, Setup BI 3.5, Roland Kramer / 23

Check the Entry SAP_BW (Note 986641)

Additional Remarks for the Entry SAP_BW (<SID>CLNT<MANTNR>):• Check also the System Aliases and create an additional System alias, e.g. thelogical System name like <SID>CLNT<MANTNR> (example: N4SCLNT001)

• replace the HTTP message server Port with the HTTP Port in the setting “Web AS HostName. Then you will have no error in the Connection Tests.

• check the Permission Settings (add the Group “everyone” with read access to the entrySAP_BW

• Check the following ITS Settings:• ITS Path wap.ITS.path = /sap/bc/gui/sap/its/webgui

• Note 808347 - ITS 6.40 - preclarification and basic problem analysis

Page 24: 06001 WDEBU7 Setting Up BEx Web Short Track

24

© SAP AG 2003, Setup BI 3.5, Roland Kramer / 24

Check the UME Configuration in the Portal

Additional Remarks for the Entry SAP_BW (<SID>CLNT<MANTNR>):

Page 25: 06001 WDEBU7 Setting Up BEx Web Short Track

25

© SAP AG 2003, Setup BI 3.5, Roland Kramer / 25

Check the Security Provider with Visual Admin

Please Note:• ticket Properties is for the Ticket Security• evaluate_assertion_ticket is for secured RFC connection (Transportation ofWebtemplates, see Note 945055 for details)

• Go to the Visual Administrator Security Provider Ticket and add the followingsettings manually for client 000 in the evaluate_assertion_ticket module (Note 721815):

• trustedsys2 <SID>, 000• trustediss2 CN=<SID>• trusteddn2 CN=<SID>

• Note 812047 - NW04: SSO to J2EE 6.40 fails• Note 888687 - BEx Web Java: Analysis of communication/logon problems• Note 945055 - Transporting Web templates in NetWeaver 2004s

Page 26: 06001 WDEBU7 Setting Up BEx Web Short Track

26

© SAP AG 2003, Setup BI 3.5, Roland Kramer / 26

BI Document Repository still uses SAP_BW, CHECK!

Page 27: 06001 WDEBU7 Setting Up BEx Web Short Track

27

© SAP AG 2003, Setup BI 3.5, Roland Kramer / 27

Check the KMC URL generator settings

Page 28: 06001 WDEBU7 Setting Up BEx Web Short Track

28

© SAP AG 2003, Setup BI 3.5, Roland Kramer / 28

Check the Result again with the Support Tool

/irj/servlet/prt/portal/prtroot/com.sap.ip.bi.supportdesk.default

• Note 937697 - Usage of SAP NetWeaver BI Diagnostics & Support Desk Tool• Note 983683 - Report-report interface: Access denied• Note 988484 - RC=12 in After Import Methode for Objects BTMP and BITM• Note 945055 - Transporting Web templates in NetWeaver 2004s• Note 721815 - New configuration needed for systems using SAP Logon Ticket• Note 989525 - BI 2004s: Checking Java Connections Web Application Designer

Page 29: 06001 WDEBU7 Setting Up BEx Web Short Track

29

© SAP AG 2003, Setup BI 3.5, Roland Kramer / 29

Check the JCo Destinations (edit/test) Note 919850

Page 30: 06001 WDEBU7 Setting Up BEx Web Short Track

30

© SAP AG 2003, Setup BI 3.5, Roland Kramer / 30

Change logon data for METADATA JCo’s

Page 31: 06001 WDEBU7 Setting Up BEx Web Short Track

31

© SAP AG 2003, Setup BI 3.5, Roland Kramer / 31

Change from Ticket to User/Password

• Note 919850 - Problems with the planning modeler and the planning wizard• The system issues the error message "Password missing".• BI_METADATA and BI_MODELDATA, WD_ALV_METADATA_DEST and WD_ALV_MODELDATA_DEST

To do this, use the test function in the Web Dynpro Content Administrator for JCo connections. The following settings are required for the two JCo connections BI_METADATA and WD_ALV_METADATA_DEST: • The data type must be set to Dictionary MetaData.• The connection type must use load balancing.• Authentication must be set using a user/password.• The user defined in the authentication must have authorization for the adaptive RFC(see Note 677732 for further information).

• The following settings are required for the two JCo connections BI_MODELDATA and WD_ALV_MODELDATA_DEST:

• The data type must be set to Dictionary MetaData.• Delete any incorrect JCo connections that may exist and create them again.

Page 32: 06001 WDEBU7 Setting Up BEx Web Short Track

32

© SAP AG 2003, Setup BI 3.5, Roland Kramer / 32

Check the Security Settings for MODELDATA JCo’s

• Note 895736 - Configuration Template for BI-JAVA usage type• Note 983156 - BI configuration w. Template Installer

Page 33: 06001 WDEBU7 Setting Up BEx Web Short Track

33

© SAP AG 2003, Setup BI 3.5, Roland Kramer / 33

Test the Portal Application – BEx Web Analyzer

More Notes to consider/check:Note 925351: Necessary incompatible metadata changes in NW 2004s BI Note 938134: Pre-SPS7: Chart Item editing in BEx WAD with Pre-FEP7 Note 924312: Chart item parameter changes with parameter LEGEND_VISIBLE

Page 34: 06001 WDEBU7 Setting Up BEx Web Short Track

34

© SAP AG 2003, Setup BI 3.5, Roland Kramer / 34

Test the Portal Application – BEx Web Analyzer

Please Note:For the Port use the Abap HTTP, and not the Java HTTP Port.• Note 989525 - BI 2004s: Checking Java Connections Web Application Designer

• http://server.domain.ext:<port>/sap/bw/bex? sap-language=DE&template_id=0analyzer• http://pwdf2142.wdf.sap.corp:8001/sap/bw/bex?&sap-language=EN&template_id=0analyzer

Page 35: 06001 WDEBU7 Setting Up BEx Web Short Track

35

© SAP AG 2003, Setup BI 3.5, Roland Kramer / 35

Test the Portal Application - Planning Modeler

Page 36: 06001 WDEBU7 Setting Up BEx Web Short Track

36

© SAP AG 2003, Setup BI 3.5, Roland Kramer / 36

Test the Portal Application - Planning Modeler

Please Note:The Help can be now displayed from the WebDynpro and from R/3 system.As result, the transaction SR13 has now 2 entries:• dynpro NONE IWBHELP help.sap.com saphelp_nw04s/helpdata DE• saphelp WN32 IWBHELP help.sap.com saphelp_nw04s\helpdata DE

Please consider for future customization of Application Help in other systems, that all WebDynpro / BSP applications require the entry with the platform 'NONE' and '/' as separator (note 901385) R/3 system itself (menu: Help -> Application Help / SAP Library) requires the entry for platform 'WN32', if a frontend, where user is working, has Windows OS.

The area depends on the help links used by Application. In your case it is a 'Documentation' area (IWBHELP).

Page 37: 06001 WDEBU7 Setting Up BEx Web Short Track

37

© SAP AG 2003, Setup BI 3.5, Roland Kramer / 37

Test the Portal Application - Planning Wizard

Page 38: 06001 WDEBU7 Setting Up BEx Web Short Track

38

© SAP AG 2003, Setup BI 3.5, Roland Kramer / 38

Test the Portal call from Transaction RSPLAN

Note 969503 - RSPLAN: Start of Planning Modeler with SSO does not workNote 973587 - Transaction authorization check in DWB modeling BI7.0 SP10

Page 39: 06001 WDEBU7 Setting Up BEx Web Short Track

39

© SAP AG 2003, Setup BI 3.5, Roland Kramer / 39

Activate the AdobeDocumentServices (Note 934276)

• http://pwdf2142.wdf.sap.corp:50100/AdobeDocumentServices/Config

Page 40: 06001 WDEBU7 Setting Up BEx Web Short Track

40

© SAP AG 2003, Setup BI 3.5, Roland Kramer / 40

Activate the AdobeDocumentServices

ADSUSER

• Note 783185 - Adobe document service is not started• Note 867502 - Read Timeout using AdobeDocumentService in Web Dynpro• Note 952796 - Generating the issue unit summary as a PDF• Note 934276 - Print preview in SAP NetWeaver 2004s BI does not work• Note 811342 - Time Out exception when rendering to Adobe document service• Note 934275 - Timeout settings NW 2004s BI PDF

• Please Note: switch the user ADSUSER from “Dialog” to “Service” in the Abap UME

Page 41: 06001 WDEBU7 Setting Up BEx Web Short Track

41

© SAP AG 2003, Setup BI 3.5, Roland Kramer / 41

Create an external alias with WSCONFIG

Page 42: 06001 WDEBU7 Setting Up BEx Web Short Track

42

© SAP AG 2003, Setup BI 3.5, Roland Kramer / 42

Test your Web Service (VC related) with WSADMIN

Page 43: 06001 WDEBU7 Setting Up BEx Web Short Track

43

© SAP AG 2003, Setup BI 3.5, Roland Kramer / 43

Switch to HTTPS with Abap and Java if needed

- TableRSPOR_T_PORTAL

- RSCUSTV15- SICF Service

/sap/bw/bex

Page 44: 06001 WDEBU7 Setting Up BEx Web Short Track

44

© SAP AG 2003, Setup BI 3.5, Roland Kramer / 44

Fine tuning the EP for nw2004s and additional Notes

Note 823906 - Oracle database parameters tuning - EP in NWNote 934808 - Further configuration of Oracle10g for SAP Enterprise Portal

connect SAP<SID>DB/<password>ALTER TABLE "EP_PRT_CACHE" MODIFY LOB ("CONTENT") (CACHE);

Note 763789 - Improve Portal Performance by Changing Log LevelsNote 945055 - Transporting Web templates in NetWeaver 2004sAdditional Portal (EP) Content provided by SDN:

https://www.sdn.sap.com/irj/sdn/developerareas/contentportfolio