Thursday, January 24, 2008

Working with PCD Objects in EP7.0

Creating a Folder

1) Log on to Portal
2) Go to Content Administration
3) Go to Portal Content
4) Under Browse, Choose Portal Content
5) Create a new folder in the Portal Catalog, which will become the base folder
for all content objects created by you.i.e. right click and you will observe a panel choose Folder in that.
6) Create a new folder below the SAPEP folder using the following settings:
Folder Name Group: samplefolder
Folder ID group: samplefolder, each Id of each object must be Unique.
Folder ID Prefix com.sap.sample

A Folder is Created.

Creating Iviews

1) Select the Folder you have created.
2) Right Click the Folder and in the Panel, choose Iview.
3) Here let's suppose we are creating Iview for Web-based application.
4) Choose Iview template, choose next
5) choose URL IView, since we are going for web-based application, choose next
6) Give IView name, IView ID, choose next.
7) Give the target URL for example http://sdn.sap.com, choose next.
8) Choose Finish and Preview it.

Creating Pages

1) Select the Folder you have created.
2) Right Click the Folder and in the Panel, choose Page.
3) You create a portal page using the following settings:
Name Page Group : samplepage
Page ID page: samplepage
Page ID Prefix com.sap.sample, choose next.
4) choose Default page Template, choose next.
5) Choose the layout in which the iviews has to be displayed and add them to your selected layout's and choose next.
6) Open the Iview, which has been created and then right click and add it to the page.

Creating Roles
1) Select the Folder you have created.
2) Right Click the Folder and in the Panel, choose Role.
3) Open the Page or the Iview whichever you want to assign to Role.
4) Right Click the page or Iview and then assign it to the Role Created.

Creating Worksets

1) Creating worksets is similar to that of creating Role.
2) Select the Folder you have created.
3) Right Click the Folder and in the Panel, choose Workset.
4) Open the Page or the Iview whichever you want to assign to Workset.
5) Right Click the page or Iview and then assign it to the Workset Created.

SAP-Port Pros and Cons of the PCD Filter

Have you ever been burdened by the huge amount of roles your portal implementation has? Are KM ACLs becoming a huge headache for you? Well, I have gone through the same and I know how troublesome it can be. With the growth in the need for very finely needed content segmentation, it has become necessary not to let the no. of roles get out of hand. Although , you can use the Standard Out of the box functionality in smaller organisations / requirements, but using the same can be hell for much larger organisations.

If you can think what it is like to manage about 50 roles, and then one day they grow to about 150! and then on and..on...and.on. SAP provides us the use of filter factories to minimise the number of roles needed in your implementation. These are custom code application filters that actually filter the content of a role for different users. You can actually have the same role seen differently by many users. Thus managment of roles and authorisations is reduced.

There are a few downsides.
The first is that there are some custom components required that are used to implement the functionality.
The second is that each folder, iView and page etc that is required to be seen based on the filter needs to have an extra attribute that will be interpreted at run time.
The last, and most important, downside is that unless the roles are well documented, it will not be clear why the role as seen by the administrator doesn't match what the end user sees.

SAP Portal Creation of Different Types of iViews in EP 7.0

Shows how to make some standard iViews, based on SAP supplied templates

Different types of iviews in EP 7.0

==================================
To create different types of iview you need Content administration role. Go

to the portal content in Portal Content Directory and create a folder .The

Steps are:
Let's create a folder and then create all iviews in it, to create a Folder
1) Log on to Portal

2) Go to Content Administration

3) Go to Portal Content

4) Under Browse, Choose Portal Content

5) Create a new folder in the Portal Catalog, which will become the base folder

for all content objects created by you.i.e. Right click and you will observe a panel choose Folder in that.

6) Create a new folder below the SAPEP folder using the following settings:

Folder Name Group: sample folder

Folder ID group: sample folder, each Id of each object must be Unique.

Folder ID Prefix com.sap.sample
A Folder is created.

Creating URL iviews

1) Select the Folder you have created.

2) Right Click the Folder and in the Panel, choose Iview template.

3) Here let's suppose we are creating Iview for Web-based application.

4) Choose Iview template, choose next

5) Choose URL iview, since we are going for web-based application, choose next

6) Give iview name, iview ID, choose next. As mentioned earlier iviewid should be Unique.

7) Give the target URL for example http://sdn.sap.com, choose next.

8) Choose Finish and Preview it.

Creating SAP Transaction Iview

Before creating SAP Transaction iview you will need to create System Object for that, to create a System Object, please follow the below link.

https://wiki.sdn.sap.com/wiki/x/8z4 

Now after creating System object, to create iview for the same.

1) Select the Folder you have created.

2) Right Click the Folder and in the Panel, choose Iview template.

3) Choose SAP Transaction Iview.

4) Give Iview Name and Iview Id, choose next.

5) Choose SAP GUI for Windows.

6) In order to create a Transaction you first need to create a System Object and then System Alias

7) Select the System from the List displayed and give the Transaction Code. Choose next.

8) Save the changes and test the iview by clicking Preview Button

Creating WebDynpro iview

1) Select the Folder you have created.

2) Right Click the Folder and in the Panel, choose iview.

3) In the displayed iview Wizard, choose webdynpro java Application and click next

4) In the next step choose either create a single full-page iview for each webdynpro application or individual iviews for different applications

Note:

You can create a single full-page iview for each Web Dynpro application variant or individual iviews from application views.

In the first option, the views in each Web Dynpro application variant are integrated in the iview and cannot be reused on other portal pages

5) Choose available Applications from the table displayed. choose next.

6) IView name & Iview id are taken by default. choose next.

Note: When we are creating Webdynpro iview, a Page is creation will be done also.

7) Choose webdynpro proxy page, choose next.

8) Give Page Name & Page Id, choose next.

9) Choose some Layout for the Iview which you are displaying add them to your layout and choose next.

10) Click Finish and then Preview the Iview.

Creating KM Iview:

1) Select the Folder you have created.

2) Right Click the Folder and in the Panel, choose Iview.

3) In the displayed iview wizard, choose iview template (This is the Source Type in the RoadMap)

4) Click next, in the template selection wizard choose KM Document iview and click next

5) In the general properties provide iview name, id and description and click Next button

6) In the next step click Open Object for Editing and click ok button

7) In the properties view Edit path to Document property

For Example there is a document with some name in the Folder created by you which is under Documents folder. Give the path of this document.

Eg: /documents//

8) Save the changes and Select preview for testing then the iview displays your file contents.

Creating an iview based on the deployed portal application

This iview is basically displays the developed portal content from the deployable portal archive file

i.e (.par).Basically there are two technologies to developed portal content one is webdynpro java and other is by Portal development kit. The Portal application consists of some portal components like Abstract portal component,

Dynpage, JSpDynPage and some sort portal services with a deployment descriptor file portalapp.xml.It also consists of some JSp files means WebPages. All these files are bundled into a par file.

To create an iview based on this .par file first we need to upload the par file in to the EP Server.
Uploading the par file into EP Server

----------------------------------------

a) Login to the portal with your user name and password

b) Navigate to System Administration-> Support ->click portal runtime link

--->Go to Administrative Console

c) Where you can find the browse button to select your par file, so choose .par file, Click Upload button
Result: The PAR file is uploaded in to your EP server.

The following steps are to create an iview

1) Select the Folder you have created.

2) Right Click the Folder and in the Panel, choose Iview.

3) In the displayed iview wizard, Choose Portal Component (This is the Source Type in the RoadMap) then click Next button

4) A iview wizard is displayed for selection of portal archive file; here select the Archive file name and Click Next button

5) In this step you will get a wizard called selection of Portal Component, Select the component you created. Click next.

6) In this step a iview wizard is displayed for providing general properties, Give name of the iview, id and Description (optional)

Click next button

7) Click Finish button, in the next wizard Choose open the object for editing and click Ok button

8) You will get Property Editor, Select Preview for Test purpose.

SAP Portal Advanced iViews in Enterprise Portal 7.0

Shows how to make some advanced iViews

BSP Application iview
Before Creating BSP Application iview ensure that there is a BSP Application in R/3 system.

1) Select the Folder you have created.

2) Right Click the Folder and in the Panel, choose iview template. Click next

3) Select BSP Definition Type, template. Click next.

4) Give iview Name and iview Id. Click next.

5) Select the System (since it's a BSP is R/3 application, create a R/3 System for it).

To create a System Object for R/3, please follow the below link

https://wiki.sdn.sap.com/wiki/x/8z4

6) Give Customer Namespace, Application Namespace and BSP Application Name.

7) Since there are couples of Pages in BSP application give the Stating page name in

Start Page. Click Next

8) Click Finish and Preview the Page.

KM Quick Poll iview

Before Creating Quick Poll Iview ensure that a Poll is created. To create Quick Poll please follow the below link

https://wiki.sdn.sap.com/wiki/x/iU

1) Select the Folder you have created.

2) Right Click the Folder and in the Panel, choose Iview template. Click next

3) Select KM Quick Poll iView, template. Click next.

4) Give iview Name and Iview Id. Click next.

5) Click Finish

6) Open the iview and then in the Property Category, select Show All.

7) In the Campaign to be used mention the Campaign which has been created.

PAR (Portal Archive) iviews
Log Iview

1) Select the Folder you have created.

2) Right Click the Folder and in the Panel, choose Iview template. Click next

3) Since we are creating PAR Iview, select Portal Component. Click next.

4) Sometimes if there is any error in the Application ( Dyn Pages or JSP Dyn Pages) and to see what the error we can create a iview and then check the error in it.

5) Select com.sap.portal.runtime.admin.logviewer, from list of templates available. Click next

6) Give iview Name and Iview Id. Click next.

7) Open iview and Preview it.

8) Enter the Error id and view the Error.

KM Discussion Iview:

A Discussion has to be created before Iview is being created.

To create a discussion you need to have eu_role, assign that role, you will observer a new Workset i.e. Home tab.

Under Home tab, on the Detailed navigation Window you will find Discussions, Click it.

You will observe New Discussion link, Click it.

Give the name of the discussion and create a discussion.

Now to create KM Discussion iview
1) Select the Folder you have created.

2) Right Click the Folder and in the Panel, choose Iview template. Click next

3) There are 2 types of iview that can be created for KM Discussion Iview

a) KM Discussion Group Admin Iviewà Template for creating discussion group iViews for discussion group administrators.

b) KM Discussion Group Contributors iviewà Template for creating discussion group iViews for discussion participants.

4) Depending upon the requirement choose the respective iview. Click next.

5) Give iview Name and Iview Id. Click next.

6) Open the iview in the Property Category, select Show All option.

7) In the property of "Path to Root Folder for Navigation' give the path of the discussion you have created. Ex: /discussiongroups//.

Tuesday, October 30, 2007

sapep training

sap ep training


contact:sapeptraining@gmail.com