DATA: lv_content TYPE string, lv_pos TYPE i, lv_len TYPE i. lv_content = 'dummy string'. lv_pos = 1. WHILE lv_pos LE strlen( lv_content ). lv_len = 80. IF lv_pos + lv_len GT strlen( lv_content ). lv_len = strlen( lv_content ) - lv_pos. ENDIF. WRITE lv_content+lv_pos(lv_len). lv_pos = lv_pos + 80. ENDWHILE.
Installing SAP Netware ABAP 7.51 SP02 on CentOS 7 Minimal
You can find great documentation for installing SAP Netware ABAP 7.51 SP02 at Julie blog post. I didn’t use shared OS because of huge disk/ram usage.
Prerequest
Install your favorite text editor
Install nano, vim, etc with yum.
yum install nano
Enable ssh for root
You can open multiple terminal and make copy paste with ssh to your server.
nano /etc/ssh/sshd_config
Remove # for uncomment line “PermitRootLogin yes” or add it if missing.
service sshd restart
Disable firewall
You need to open a lot of port for SAP Netware in firewall. You can disable firewall instead of configuring it.
service firewalld stop systemctl disable firewalld
Install uuidd package
SAP Netware using uuidd library for generating GUID, install it.
yum install uuidd
Install vmware tools and shared folder
Install open-vm-tools.
yum install open-vm-tools
You can find vmware tools in VMWare Virtual Machine menu as Install VMware Tools. Then you can check /mnt folder for CD which including tools. Copy it to your temp.
cp VMwareTools-10.x.tar.gz /tmp tar -zxvf VMwareTools-10.x.tar.gz
Install python for tools installer.
yum install python
Change directory to extracted folder then run tools installer.
phyton install vmware-install.pl
Installation
Start installation script with below arguments.
./install.sh -g -s
WSDL geçerlilik kontrolü
SOAP Üzerinden RFC Fonksiyon Çağırmak
Web servis port’unu SOAMANAGER olmadan oluşturmak
SOAMANAGER’ı yetkisiz çalıştırmak
Exit bulmak
Raporlarda hata vererek seçim ekranına dönmek
İki tarih arasındaki gün sayısı
call function 'DAYS_BETWEEN_TWO_DATES' exporting i_datum_bis = s_date-high i_datum_von = s_date-low i_stgmeth = 2 importing e_tage = lv_i exceptions days_method_not_defined = 1 others = 2. " i_stgmeth parametresi ay/yıl içindeki gün sayısını belirtmektedir: " 1 360 gün üzerinden " 2 gerçek gün sayısı