ABAP – SD Document flow monitoring

SAPAll documents created in SAP SD module goes sooner or later through VBFA table where all transitions are stored. Continue reading

ABAP – Return to Selection screen after error in START-OF-SELECTION

SAPSometimes you need to do some data processing and in case of error you’d like to return user back to selection screen and display the error message. Continue reading

LINUX – Move MySQL data directory

LinuxIn newer versions of Linux it’s not easily possible to just move the MySQL data directory to another location and modify my.cnf or create a symbolic link. There is a secutity/protection “daemon” running in background checking which locations is some process trying to access. If it’s allowed, then access is granted, otherwise the process is unable to read/write the required data. This guardian is called “APPARMOR” Continue reading

ABAP – Problems with combo box in ALV

SAPIn this article I’ll show you how to implement a “combo box” with key-value structure as one of ALV columns. Continue reading

ABAP – ComboBox on Selection-Screen

SAPIn this article I’ll show you how to create a combo box as one of selection-screen parameters Continue reading

Java – JList items with icon

JavaIn this article I’ll present a code snippet how to implement a JList in Java where items will be displayed like [icon] [item text] . Continue reading

GIT – Change author or committer

If you want to change author’s and/or committer’s name and/or email in given GIT revisions, you can use the following script:

git filter-branch -f --commit-filter '
  if [ "$GIT_AUTHOR_NAME" = "Old Author" ];
  then
    export GIT_AUTHOR_NAME    = "New Author";
    export GIT_AUTHOR_EMAIL   = "[email protected]";
    export GIT_COMMITTER_NAME  = "New Author";
    export GIT_COMMITTER_EMAIL = "[email protected]";
  fi;
  git commit-tree "$@"'

Now update the remote (bare) repository

git push --force --tags origin 'refs/heads/*'

JAVA – Parsing given string to be used by java.awt.robot

JavaJava Robot can be very usefull tool emulating e.g. pressing a key on your keyboard. Sometimes this can be difficult especially for non-standard characters like ‘asterisk’. Therefore I developed following piece of code which translates given string into separated chars, converts them to ASCII and Java Robot types them using ALT+ASCII_KEY Continue reading

SAP Authorizations Basic Overview

SAPThis article contains the very basic info about implementing security in SAP / ABAP using Authorizations Continue reading

VLC – Desktop capturing with mouse pointer

This article is about capturing your desktop using VLC Media Player. We would like to capture what’s happening on the screen but also we would like to see the mouse pointer, which is not visible by default. Continue reading