Tuesday, February 7, 2012


Change SAP web dynpro logon screen

The following steps will take you through the steps needed to change the look and feel of your ABAP web dynpro SAP logon screen. It is a fairly simple process which requires the creatation of a new class which is a subclass of CL_ICF_SYSTEM_LOGIN. This is then added to your service details screen within SIFC. 
 

Step 1 - Create the new logon class 
Im going to cheat a bit here and use CL_ICF_EXAMPLE01_LOGIN which is an example class already created by SAP. 

Step 2 - Find service in transaction SICF 
Within transaction SIFC find your web dynpro service and enter the Create/Change Screen. Now select the 'Error Pages' tab 
 

Step 3 - Configure your logon screen 
Press the Configuration button and on the next screen select 'User-Specific' and enter CL_ICF_EXAMPLE01_LOGIN or a class you have created into the class input field. 
 

Step 4 - Save and execute 
Now changes made using SICF and execute your application. The logon screen should now look like this 
Adding text to the SAP logon/login screen
Writing text to the Frontend SAP logon screen. This is very handy for identifying which SAP system the user is about to log onto, especially non production boxes. You can also warn them here of pending changes, updates or outages. Because it is up while they are typing in their user id and password, users can't claim they missed the system message. 
SAP icons like the stop sign and warning signs can also be displayed.
Details can be found in OSS note #205487. 
Here are the details :-
Go to Transaction SE61 and select the document 'General text' (selection via F4 help), and create a text with the name ZLOGIN_SCREEN_INFO in the language defined with profile parameter zcsa/system_language.  Parameter zcsa/system_language usually have been done in (tcode - rz10 - instance profile - extended maintenance) by the basis administrator during SAP installation.
If the text does not exist in the system language, no output is made.
Note that there is space for 16 lines with 45 fixed-font characters each or for approximately 60 proportional space font characters on the logon screen.
Title lines (can be recognized by means of format keys starting with a 'U') are highlighted in the display.
You may also output icons at the beginning of lines by using an icon code (for example, @1D@ for the STOP icon). You can get a list of icon codes from ReportRSTXICON. Pay attention to the codes with two '@' symbols displayed by the report. You cannot include text symbols. The 'include indicator' cannot be used for this function. SUBHINT here.
These can be used on system messages as well.

Monday, January 16, 2012

SAP Network Blog: Using SAP Crystal Reports 2011 To Protect Your Report Designs - Update #2

SAP Network Blog: Passing Values Between Reports (Crystal Reports – 2008)

SAP Network Blog: Crystal Reports 2011 - Calculate number of Wednesdays (or any other day) in a date range

SAP Network Blog: Crystal Reports 2011 - Calculate number of Wednesdays (or any other day) in a date range

Publishing Configuration Part 3

BusinessObjects and SAP - Publishing of Crystal Reports Part 3 of 3
Ingo Hilgefort SAP Employee
Business Card
Company: SAP BusinessObjects
Posted on Jan. 16, 2012 12:16 AM in Analytics, Enterprise Data Warehousing/Business Warehouse, Business Intelligence (BusinessObjects), Community Day, Emerging Technologies,SAP Developer Network, SAP NetWeaver Platform, SAP TechEd


In the first two parts of the publishing configuration we did configure the publishing service, the RFC destination, the BusinessObjects server definition in the transaction /CRYSTAL/RPTADMIN and the source parameters.

This time we finish the configuration and as last step we will configure the necessary security rights on the BusinessObjects server.

BusinessObjects security configuration for publishing

To be able to publish a report from SAP BI to BusinessObjects Edge the users need to have the necessary rights in the BusinessObjects system.

The following is a suggested differentiation:

  • BusinessObjects Enterprise administrators
    Enterprise administrators configure the BusinessObjects Enterprise system for publishing content from SAP. They import the appropriate roles, create necessary folders, and assign rights to those roles and folders in BusinessObjects Enterprise.

  • Content publishers
    Content publishers are those users who have rights to publish content into roles. The purpose of this category of user is to separate regular role members from those users with rights to publish reports.

  • Role members
    Role members are users who belong to content roles. They have rights to view and schedule content that has been published to the roles they are members of.
    However, regular role members cannot publish new content, nor can they publish updated versions of content.

The following are recommendations for the previously described BusinessObjects user groups:

Role Members

BusinessObjects Edge imports a group for each role that is added to the entitlement system as defined in the CMC. To ensure that suitable default rights are granted to all members of a content bearing role, grant the following rights in the Content Administration Workbench for each entitlement system that is defined in BusinessObjects Enterprise:

  • Default Security policy for reports = View
  • Default security policy for role folders = View on Demand

Content Publisher

Assign the following rights to a publisher role in the Central Management Console:

  • Add objects to the folder.
  • View objects.
  • Edit objects.
  • Modify the rights users have to objects.
  • Delete objects.
  • Delete instances.
  • Copy objects to another folder.

To set those recommended rights I logon to the SAP Server and start the transaction /CRYSTAL/RPTADMIN.

I double-click on my system entry and navigate to the tab "Layout".

Now I can set the default security based on the recommendations.

After I configured the rights on the SAP side I now log onto the Central Management Console.

And select the item Folders.

I navigate down to the folder for my SAP System ID.

I select the folder and go to the menu Manage > Security > User Security.

I can now Click Add Principals....

...and by clicking Groups I can select the roles from the SAP system.

I can click Add and Assign Security ...

... and navigate to the Advanced tab. And click Add/Remove rights.

Now I can configure the rights for this role.

At this point you :

  • Did configure the SAP Authentication and imported roles (previous blog)
  • Did configure the publishing service
  • Did create a RFC Destination in transaction SM59
  • Did create a BusinessObjects Server definition in transaction /CRYSTAL/RPTADMIN
  • Did assign the necessary rights to the SAP roles in BusinessObjects Edge

And as a result you should be able to publish a report from Crystal Reports Designer.

You can create a new report in the Crystal Reports Design using the SAP specific menus and when saving the report to BW you will be asked if you also want to publish the report from the BW system to the BusinessObjects system - which based on te configuration we did should result in a successfully published report and a report on the BusinessObjects Edge server.

In the next blogs I will explain the SAP specific features in InfoView and the Content Administration Workbench

For those that missed the installation parts, here are the links to the blogs:

Installation and Configuration Part 1

Installation and Configuration Part 2

Installation and Configuration Part 3

Installation and Configuration Part 4

Configuration of the SAP Authentication

Publishing Configuration Part 1

Publishing Configuration Part 2

Publishing Configuration Part 2

BusinessObjects and SAP - Publishing of Crystal Reports Part 2 of 3
Ingo Hilgefort SAP Employee
Business Card
Company: SAP BusinessObjects
Posted on Jan. 16, 2012 12:03 AM in Analytics, Enterprise Data Warehousing/Business Warehouse, Business Intelligence (BusinessObjects), Community Day, SAP NetWeaver Platform,SAP TechEd


This is the second part of three where I explain how you can configure the BusinessObjects system and the SAP BI system to leverage the publishing workflow with Crystal Reports.

In case you followed the first part you should now have the publishing service running, a RFC Destination in transaction SM59 configured and a configured BusinessObjects server definition in transaction /CRYSTAL/RPTADMIN.

Now we continue with the configuration steps.

Configure the SAP source parameters

In addition to the definition of the BusinessObjects server you also need to configure the SAP Server settings that should get used for the reports in the BusinessObjects server. You could - as an example - design a report against an application server but then when publishing it switching to a message server with a logon group.

I start the transaction /CRYSTAL/RPTADMIN (Content Administration Workbench)....

And navigate to the SAP System settings in the Publish reports area.

I select the item Set BW source parameter.

... and click on the button New Entries.

I can now enter either a combination of application server and system number or a combination of application / message server and logon group. These settings will then be used and configured in the actual Crystal Report object when the report is being pushed from the BI system to the BusinessObjects server.

Configuring the SAP HTTP request handler

To enable viewing of reports in BW via the role menu (for example, opening a Crystal Report from the SAP GUI), you need to configure BW to use the HTTP request handler that is included as part of the Crystal Content Administration Workbench transport. Then, when a BW user opens a Crystal report from within the SAP GUI, BW is able to route the viewing request over the web appropriately to BusinessObjects Enterprise.

I start transaction SICF (Maintain services)...

...and navigate to the the folder default_host / SAP / BW

I double-click on the service ce_url.

... and select the tab "Handler List" .

I then change the list to ensure the entry /CRYSTAL/CL_BW_HTTP_HANDLER is the top entry.

This specific handler is part of the ABAP Transports (see the Installation and Configuration for details).

This configuration allows the user to also start a report from inside the SAP GUI (for example: from the role menu) and thenecessary server details are then resolved dynamically based on the configuration we made earlier in the transaction /CRYSTAL/RPTADMIN.

In Part 3 I will explain the necessary steps in regards to security on the BusinessObjects server.

For those that missed the installation parts, here are the links to the blogs:

Installation and Configuration Part 1

Installation and Configuration Part 2

Installation and Configuration Part 3

Installation and Configuration Part 4

Configuration of the SAP Authentication

Publishing Configuration Part 1