Skip to Content

This Blog gives everyone a step by step method of creating a system in a Enterprise Portal 7.1 .This system can then be used in Visual Composer 7.1 for getting the bapi’s.

System Requirements

This is for SAP NetWeaver CE 7.1 SR3.

Adobe SVGView and MSXML Parser on the Client side where Visual Composer is to be run.

Creating a Portal System for BAPI/RFC

First of all you have to decide which system you need. Do you need a “SAP system using dedicated application server” or “SAP system with load balancing”?

If you are not sure, which system do you need then ask your basis administrator. As a rough guide you can say that you use, “SAP system with load balancing” when you have more than one application servers. I think in most cases you have only one application server for your development so you usually use “SAP system using dedicated application server“. I explain the settings for Dedicated Application Server.

Creating a SAP system with dedicated application server for BAPI/RFC

Go to [http://<host>:<port>/nwa | http://<host>:<port>/nwa] Login as Administrator.

Go to the tab *Configuration Management *> Security >

Destinations

 

 

!https://weblogs.sdn.sap.com/weblogs/images/251875820/1.jpg|height=194|alt=|width=590|src=https://weblogs.sdn.sap.com/weblogs/images/251875820/1.jpg|border=0!        

 You can see all the systems on this page.

Click on create.

!https://weblogs.sdn.sap.com/weblogs/images/251875820/2.JPG|height=272|alt=|width=531|src=https://weblogs.sdn.sap.com/weblogs/images/251875820/2.JPG|border=0!            

Fill in the details as follows.

Destination name > It can be any name you want.

Destination type >Select RFC

Click next  

!https://weblogs.sdn.sap.com/weblogs/images/251875820/3.JPG|height=1|alt=|width=1|src=https://weblogs.sdn.sap.com/weblogs/images/251875820/3.JPG|border=0!

Select no for load balancing (As we are creating dedicated application server).

 The different properties on the page are explained below

Local System Connection

Don’t check this box if your server doesn’t reside on the same system.

SAP System ID (SID)

Here you have to enter your SAP System ID, e.g. for me it was ER1

Gateway Host

Here you have to enter the hostname of your gateway server, e.g. for the It is not compulsory to enter this.

Gateway Service</p></td><td><p>Here you have to enter the service name or the port number of the gateway server. This is by SAP default setting sapgw<SAP System ID> <br /><br />You can also have a look into your services file on your machine. If you have a windows machine then the file exists e.g. here C:\WINDOWS\system32\drivers\etc\services There must be an entry like sapgw<SAP System ID> <br /><br /><br />This entry is also not compulsory.</p></td></tr><tr><td><p>Target Host

Here you enter the ip of the system you want to create.You can get this from SAP LOGON for this system.

*SNC </p></td><td><p>Select the inactive option These are settings for the SAP Secure Network Communications. For our example this is not necessary. </p></td></tr></tbody></table><p> </p><p>Click on next. </p><p>!https://weblogs.sdn.sap.com/weblogs/images/251875820/41.JPG|height=364|alt=|width=288|src=https://weblogs.sdn.sap.com/weblogs/images/251875820/41.JPG|border=0!</p><p> </p><p>Fill in the logon data. </p><table border=”1″ cellpadding=”0″><tbody><tr><td><p>Authentication* 

 Technical user Select this kind of authentication as technical user doesn’t get locked

SAP Client

Here you have to enter your client of your system, e.g. for our system it’s 100.

User Name

Enter the username with which you want to connect to the system

Password

Password of the user

Language</p></td><td><p>Enter en for English</p></td></tr></tbody></table><p>!https://weblogs.sdn.sap.com/weblogs/images/251875820/21.JPG|height=304|alt=|width=382|src=https://weblogs.sdn.sap.com/weblogs/images/251875820/21.JPG|border=0!</p><p>!https://weblogs.sdn.sap.com/weblogs/images/251875820/41.JPG|height=1|alt=|width=1|src=https://weblogs.sdn.sap.com/weblogs/images/251875820/41.JPG|border=0!</p><p> </p><p>On the next page you don’t need to write anything.</p><p>Don’t select the option RFC Trace.</p><p>Click Finish.  </p><p>!https://weblogs.sdn.sap.com/weblogs/images/251875820/31.JPG|height=394|alt=|width=297|src=https://weblogs.sdn.sap.com/weblogs/images/251875820/31.JPG|border=0!</p><p> </p><p>Click on ping destination. <br />If the ping is successful then you can use this system to get the bapi’s in Visual Composer.   </p><p>!https://weblogs.sdn.sap.com/weblogs/images/251875820/4.JPG|height=372|alt=|width=519|src=https://weblogs.sdn.sap.com/weblogs/images/251875820/4.JPG|border=0!</p><p> </p><p>For using Visual Composer the user must have VCRole.</p><p>You can start Visual Composer by going to [http://<host>/VC/default.jsp | http://<host>/VC/default.jsp].   </p><p>!https://weblogs.sdn.sap.com/weblogs/images/251875820/51.JPG|height=396|alt=|width=413|src=https://weblogs.sdn.sap.com/weblogs/images/251875820/51.JPG|border=0!</body>

To report this post you need to login first.

4 Comments

You must be Logged on to comment or reply to a post.

  1. divya panyam
    Thanks for the blog.

    i have followed the steps you have mentioned i nthe web blog.I am able to drag and drop the required bapi onto the Visual screen. When i test the data service i am getting error message.
    But when itest the same thing in the sapGUi i am able to get the data (result ) back. Whilw creatin the RFC destination as you have mentioned, the user name and password i have given is the one which i ca nlog on to the SaP gui.
    the user name and password i use in visual composer is different.

    Can you please help me.

    (0) 
    1. Nikhil Pai Post author
      H Divya,
      Thanks for the comment.I think the id which you are using for login to VC may not be having the rights ,why dont you try with the same id with which you are connecting to the backend system.
      If still you are getting the error please reply back.

      Regards,
      Nikhil Pai

      (0) 
  2. Michael Nicholls
    Rather than hardcoding a username/password in the connection details, you might want to use Assertion tickets and setup SSO between the CE system and the backend.

    Cheers

    (0) 

Leave a Reply