cancel
Showing results for 
Search instead for 
Did you mean: 

How to Create Portal IView for SICF External Aliases

Former Member
0 Kudos

Hi,

I need to know what IView Type needs to be used to create an IView for External aliases Created in SICF  ,any IView type other than IViewURL.

I Have my Webdynpro Component with path /default_host/sap/bc/webdynpro/sap/zsnc   i created an Alias like /Supplier .Now i need to Create an IView Based on this Alias.

I need to Know how to Create a Tcode Based on this Alias  .

Thanks,

sree

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

It depends on the application type. Since the alias points to a Web Dynpro ABAP application, you should use the iView template for Web Dynpro ABAP.

Former Member
0 Kudos

Can you please be more Specific about the attributes i need to set for the Wevdynpro ivew template to use External alias instead of Webdynpro application

Former Member
0 Kudos

Just like with a non alias one. As far as I remember only the system, application (alias) and namespace (sap) are required attributes. Optionally you may specify a configuration and application parameters.

Former Member
0 Kudos

Hi,

My Current iView The settings were System :QAS

                                                     application name : ZSNC_S

                                                     namespace  : Sap

For the Application ZSNC_S i have created the External alias supplier

I changed the Application name paramter to "Supplier"

When i do an iview preview i am getting a shortdump

The URL call http://abc.sap.com:/sap/bc/webdynpro/sap/supplier was terminated because of an error.

Note

  • The following error occurred in system QAS : Web Dynpro application SUPPLIER does not exist

The issue is if we see the url instead of calling the url  http://abc.sap.com/supplier it is calling the

http://abc.sap.com/sap/bc/webdynpro/sap/supplier

Thanks,

sree

junwu
Active Contributor
0 Kudos

i think  you have to change the iview property accordingly.

Former Member
0 Kudos

Can you please be more specific about the IView Properties .

Thanks,

sree

Former Member
0 Kudos

I just realized that the Web Dynpro ABAP iView template generates the URL based on the parameters, meaning /sap/bc/webdynpro is assumed. Apart from creating a custom Web Dynpro ABAP iView template (or having a custom ICF handler), you could test your alias with the BSP iView template where you can specify the entire URI. See the attached link for details.

http://help.sap.com/saphelp_nw73ehp1/helpdata/en/8c/780741375cf16fe10000000a1550b0/frameset.htm

Former Member
0 Kudos

But when you create it as a BSP iview, you are required to enter the start page along with the application name. How do we do this for a WD applicaiton for which there isn't a start page?

Is this the right way to do?

Former Member
0 Kudos

Good point, I guess creating an iView using the Portal Application com.sap.portal.appintegrator.sap is the way to go then.

Former Member
0 Kudos

Instructions:

Copy Portal Applications -> com.sap.portal.appintegrator.sap -> Generic and Paste as PCD Object.

For the new iView define the following properties:

System: eg. SAP_ECC_HumanResources

URL Template: eg. <System.Access.WAS.protocol>://<System.Access.WAS.hostname>/nwbc

With the suggested properties NWBC for HTML will be started. The used System Object needs to have Web Application Server (Web AS) properties defined.

Former Member
0 Kudos

I published the instructions as an document.

Former Member
0 Kudos

Works like a Gem!. Thank you Mr.Samuli.

Wish I could provide more points for sharing the elaborated documentation on this.

Former Member
0 Kudos

How do I award points to the post which wasn't created by me in the first instance?

Former Member
0 Kudos

You don't, don't worry about it.

Former Member
0 Kudos

Hi Samuli,

Sorry I had another question about this configuration. As of now we are giving the exact URL of the SICF path in the URL template something like this: http://sapxsa20.company.com:8020/XXX/XXX

Here "sapxsa20" is directing to the app server a20. But if we want the load balancing to happen, is there a way that we can give the abstract url in the URL template of the configuration? I am hoping to have something like this:

http://<Parameter>/XXX/XXX

Any thoughts? I was wondering if I can refer the Web AS (Web AS Hostname) parameters here in the  URL template? If yes, can you tell me how I can refer it here in the iview properties?

Thanks for looking into this.

Shyam

Former Member
0 Kudos

Either use the HTTP message server for load balancing or install SAP Web Dispatcher. I recommend the latter.

Former Member
0 Kudos

Thank you Samuli. I think we have the Web Dispatcher set-up to handle this.

However, I would recommend to use the below system parameters to determine the URL at run-time.

<System.wap.WAS.protocol>://<System.wap.WAS.hostname>/XXX/XXX

this will help in the instances where we have DEV,TEST and PROD so the developer do not have to modify the i-view property in each instance.