Technical Articles
Zchat – ABAP based instant messaging
As an external developer I’m involved in many projects. We usually connect to the client system using various combinations of Remote Desktop. For security reasons, the clipboard between Remote Desktop and the work computer is disabled. Also, we usually don’t have any Instant Messaging or even mail.
Lack of communication turns ordinary actions (copy, past, send) into a whole quest – you need to call, dictate the program name, line number, etc. This greatly slows down development and disturbs concentration.
I wrote a Web Service that works like a chat. The data is stored in the SAP system, the client part is stored in the web browser.
A public and private key is generated based on the login and password. The public key is stored in the database (so that other interlocutors can encrypt messages to you), the private key (with which you decrypt your messages) does not leave the browser.
Here are the chat features:
- Enter – send message
- Shift + Enter – new line
- If you forgot password – you lose your history
- History – icon above
- Escape history – exit icon
- Set avatar – avatar icon
- You can past small images in chat
Installation via abapgit, source: https://github.com/AntonSikidin/elitechat
All may be fine or not. I’m only worried about the Web Service.
Launch transaction sicf.
F8.
Navigate zchat.
If it does not exist. Create new.
Activate service.
To find chat link do this.
Default browser open Web Service. Enter sap_login, sap_password. Create user and you can communicate with your teammate.
As а bonus, you can communicate with yourself.
Any one has success in installation this solution? Only for statistic.
Hi Anton,
this seems me a great stuff. Creativity should be never blocked :).
I tried to install on 1909 ABAP System, but got some errors.
First pull
Second pull
It seems the DATUM_TAB is not existing in 1909, what U use in ZHAT_ST_HITORY as component type.
Could you please create a Z TTYP and TABL for compatibilty and push, or tell how they look like, then I can create 1909 branch for that.
I can't wait to see it in actiion 🙂
Thanks, Attila
Thank you for testing, i have no clean free system to test installation, i define this element in package and update repo. I think it will be fine now.
dates is table of datum.
Hi Anton,
installation successful on ABAP 1909 stack.
Clean and fun solution. I really like it!
Thanks, Attila