Feeds:
Posts
Comments

Archive for October, 2009

Dear All,

Get back again on post the blogs … Now, How to run SAP GUI at Linux in Virtualizing Mode ?

Short ways :

1. Download the latest (at this blogs wroted) PlatinGUI at : ftp://ftp.sap.com/pub/sapgui/java/710r10
What is PlatinGUI ? SAP GUI that run on Platform Independent … so … this application is Java Version.
2. Download the latest (at this blogs wroted) JRE at : http://www.java.com/en/download/index.jsp
3. Extract / Install this latest of JRE ( if not installed yet ), how to check that Java has been install or not ?
simply, type at the shell of linux : java -version

terminalon this screen-shots that the Java has been installed.

Don’t forget to set the JAVA_HOME at /etc/bash.bashrc files, (for ubuntu example)
rachman@manz-ubuntu:~$ sudo gedit /etc/bash.bashrc

type :
JAVA_HOME=”Path_Java_Installation”
export JAVA_HOME

save and exit.

4. Install PlatinGUI :
rachman@manz-ubuntu:~$ java -jar PlatinGUI-Linux-710r10.jar
then, click Install and follow the instructions

5. After finish the installation, set the configuration setting with running the SAPGUI logon at :
rachman@manz-ubuntu:~$ /opt/SAPClients/SAPGUI/bin/guilogon

Screenshot-SAPGUI for JavaIn that screen-shot, has a one entry of SAP Production server … how to be set like that ?

Click New Button, and will be show the new dialog box :

Screenshot-Add New Connection

First, type your description of your server, and leave the connection type with R/3, and then goto Advanced Tab, don’t forget to click the Expert Mode … wow … some Expert play in here .. :mrgreen:

Type :

conn=/H/<<your SAP Application Server Address>>/S/<<type your SID / System Identifier>>

/H means : host server to connect, you can bind your IP or FQDN

for example: 192.168.1.1 ( IP Based ), manz-ubuntu.virtualize.com ( FQDN / Fully Qualified Domain Name )

/S means : SID ( System Identifier ), for this example we use 00 for SID, but why become 3200 ?

based on information that i’m get, the SAP use some port to access their application server, here we are the ports :

sapdp##  32##/tcp # SAP Dispatcher.       3200 + System-Number
sapgw##  33##/tcp # SAP Gateway.          3300 + System-Number
sapsp##  34##/tcp #                       3400 + System-Number
sapms##  36##/tcp # SAP Message Server.   3600 + System-Number
sapdp##s 47##/tcp # SAP Secure Dispatcher 4700 + System-number
sapgw##s 48##/tcp # SAP Secure Gateway    4800 + System-Number

sapgw97  3397/tcp # SAP Oss
sapgw98  3398/tcp # SAPcomm
sapgw99  3399/tcp # SAP EPS
sapdp99  3299/tcp # SAProuter

this ports will be mapped into VirtualBox extradata settings.

After that, click save to saving your connection.

Now, before you can run…

Goto hosts OS first and then set the extradata on hosts OS like this :

VBoxManage setextradata Ubuntu “VBoxInternal/Devices/pcnet/0/LUN#0/Config/sapdp/HostPort” 3200
VBoxManage setextradata Ubuntu “VBoxInternal/Devices/pcnet/0/LUN#0/Config/sapdp/GuestPort” 3200
VBoxManage setextradata Ubuntu “VBoxInternal/Devices/pcnet/0/LUN#0/Config/sapdp/Protocol” TCP

 

VBoxManage setextradata Ubuntu “VBoxInternal/Devices/pcnet/0/LUN#0/Config/sapgw/HostPort” 3300
VBoxManage setextradata Ubuntu “VBoxInternal/Devices/pcnet/0/LUN#0/Config/sapgw/GuestPort” 3300
VBoxManage setextradata Ubuntu “VBoxInternal/Devices/pcnet/0/LUN#0/Config/sapgw/Protocol” TCP

VBoxManage setextradata Ubuntu “VBoxInternal/Devices/pcnet/0/LUN#0/Config/sapsp/HostPort” 3400
VBoxManage setextradata Ubuntu “VBoxInternal/Devices/pcnet/0/LUN#0/Config/sapsp/GuestPort” 3400
VBoxManage setextradata Ubuntu “VBoxInternal/Devices/pcnet/0/LUN#0/Config/sapsp/Protocol” TCP

VBoxManage setextradata Ubuntu “VBoxInternal/Devices/pcnet/0/LUN#0/Config/sapms/HostPort” 3600
VBoxManage setextradata Ubuntu “VBoxInternal/Devices/pcnet/0/LUN#0/Config/sapms/GuestPort” 3600
VBoxManage setextradata Ubuntu “VBoxInternal/Devices/pcnet/0/LUN#0/Config/sapms/Protocol” TCP

VBoxManage setextradata Ubuntu “VBoxInternal/Devices/pcnet/0/LUN#0/Config/sapdp#s/HostPort” 4700
VBoxManage setextradata Ubuntu “VBoxInternal/Devices/pcnet/0/LUN#0/Config/sapdp#s/GuestPort” 4700
VBoxManage setextradata Ubuntu “VBoxInternal/Devices/pcnet/0/LUN#0/Config/sapdp#s/Protocol” TCP

VBoxManage setextradata Ubuntu “VBoxInternal/Devices/pcnet/0/LUN#0/Config/sapgw#s/HostPort” 4800
VBoxManage setextradata Ubuntu “VBoxInternal/Devices/pcnet/0/LUN#0/Config/sapgw#s/GuestPort” 4800
VBoxManage setextradata Ubuntu “VBoxInternal/Devices/pcnet/0/LUN#0/Config/sapgw#s/Protocol” TCP

VBoxManage setextradata Ubuntu “VBoxInternal/Devices/pcnet/0/LUN#0/Config/sapgw97/HostPort” 3397
VBoxManage setextradata Ubuntu “VBoxInternal/Devices/pcnet/0/LUN#0/Config/sapgw97/GuestPort” 3397
VBoxManage setextradata Ubuntu “VBoxInternal/Devices/pcnet/0/LUN#0/Config/sapgw97/Protocol” TCP

VBoxManage setextradata Ubuntu “VBoxInternal/Devices/pcnet/0/LUN#0/Config/sapgw98/HostPort” 3398
VBoxManage setextradata Ubuntu “VBoxInternal/Devices/pcnet/0/LUN#0/Config/sapgw98/GuestPort” 3398
VBoxManage setextradata Ubuntu “VBoxInternal/Devices/pcnet/0/LUN#0/Config/sapgw98/Protocol” TCP

VBoxManage setextradata Ubuntu “VBoxInternal/Devices/pcnet/0/LUN#0/Config/sapgw99/HostPort” 3399
VBoxManage setextradata Ubuntu “VBoxInternal/Devices/pcnet/0/LUN#0/Config/sapgw99/GuestPort” 3399
VBoxManage setextradata Ubuntu “VBoxInternal/Devices/pcnet/0/LUN#0/Config/sapgw99/Protocol” TCP

VBoxManage setextradata Ubuntu “VBoxInternal/Devices/pcnet/0/LUN#0/Config/sapdp99/HostPort” 3299
VBoxManage setextradata Ubuntu “VBoxInternal/Devices/pcnet/0/LUN#0/Config/sapdp99/GuestPort” 3299
VBoxManage setextradata Ubuntu “VBoxInternal/Devices/pcnet/0/LUN#0/Config/sapdp99/Protocol” TCP

And then, run your Ubuntu guests OS…

Devices:

pcnet, this name used for PCNET-PCI or PCNET-fast
e1000, this name used for Intel PRO/1000

Ubuntu name is your virtualbox guests identifications

After all successful steps, we can see the SAP run on Virtualizations …

SAP_Virtualizing

Ok that’s all folks … just do it :mrgreen:

SAP run on Virtualization Ubuntu OS’es with PlatinGUI … so … no matter you will working on Linux …

Cheers,
😎
Man’z

Advertisements

Read Full Post »

Dear All …

You may create an application for GUI without MDI Form related due to has an animation when creating or resizing like maximize or minimize on it … but :mrgreen: we have another tricky to reduce the animation on MDI Form … another posts … :mrgreen:

Now, we talk about Frame …

Frame is inheritance from TForm class, you may use as usual, but this TFrame doesn’t have event onShow and onHide, so we can tricked it when it created.

Frame is different with Form, when from call using myForm.show event, but how about Frame ??? you never find it when type Frame. (dot) ..

Here … create the frame is :

var
  F: TFrame;
begin
  F := TFrame.Create(Self);
  F.Parent := Panel1;
end;

Now, for example, how about you have one label to make it move into right of Frame when your frame is resized ???

When you trigger the frame when it created, you may never get you want, the label will move into right position when it frame is created, but when you showing it, the label never moving into correct position…

But, don’t be panic if you cannot get what you want… you may get trick at your frame using messages.

Put at private sections :

procedure CMShowingChanged(var M: TMessage); message CM_SHOWINGCHANGED;

then , complete the procedure like this :

procedure TFrame1.CMShowingChanged(var M: TMessage);
begin
  inherited;
  if Showing then
  begin
    // ... put your onShow code here
  end
  else
  begin
    // ... put your onHide code here
  end;
end;

That’s all falks … next posts will how to avoid the animation on MDIChild form

Have a nice coding,
😎
Man’z

Read Full Post »