ABAP – ALV custom toolbar button + Import data from clip board

SAPIn this code example I’ll show how to add custom button to your ALV toolbar. This custom button will import data from clipboard into the ALV grid. This can solve issue with classic Ctrl+C and Ctrl+V where there’s a problem that new rows are NOT created in the ALV grid automatically – this will be solved by the extra toolbar button Continue reading

ABAP – ALV Context menu + keep row selection after a filter is applied

SAPStandard functionality of an ALV grid offers row selection by clicking on the row headers. You can also use Ctrl or Shift keys to do mutliple row selection. Drawback of this is when you need to select some rows and apply some filters at the same time. Setting or deleting filter (or any operation which does grid refresh) clears the row selection. If you need to keep the row selection together with functionality of filter (and others), you can follow my little suggestion Continue reading

ABAP – List of all available icons

SAPTo display all available icons in SAP ABAP just enter TCode SE38 and execute either program SHOWICON or RSTXICON. In the output report you can see their image representation together with corresponding code interpretation Continue reading

Java – JSON serialization

JavaIn this article I’d like to present:

  • Example of Object serialization into JSON string
  • Deserialization of JSON string to the Object

Continue reading

Linux – mounting network share

How to add samba share to your file system? And how to make this change persistent so the share is mounted automatically at boot time? Continue reading

Java – How to store Array of pairs

In this article you can see a sample code I use to store simple Key-Value pairs in another objects, i.e. List or ArrayList Continue reading

Create self signed certificate using OpenSSL

You can create your own, self signed certificate for testing purposes using OpenSSL and two simple commands Continue reading

SAP – Create new material status

SAPX-Plant material status means that the material can be procured or blocked or not blocked, etc. After you create the status in customizing you can go into its configuration details and setup the the response for everything the material can be related to (Purchasing, BOM’s, Routing/recipe, etc.) using message type either error (type B) or warning (type A). Continue reading