ABAP – Working with dynamicallly accessed data

SAPIn this article I’d like to present different possible approaches on accessing data and working with it dynamically. Continue reading

ABAP – Fill BAPI structures from SAP table structures dynamically

SAPDue to fact that BAPI structures uses different field names than standard SAP tables I used to apply a trick I’m going to present in this article – map BAPI fileds to SAP fields in a Z-table and fill BAPI structures dynamically during runtime Continue reading

ABAP OO – Access class attributes dynamically

SAPThe piece of code presented in this article is just a short demonstration of how you can access class attributes dynamically – when the attribute name is stored in a variable which value is determined during run time. Continue reading

Algorithms – puzzle called Knapsack

Knapsack PuzzleToday I’d like to share with you a puzzle I managed to solve in past few weeks using a technique called branch&bound – Knapsack.

Interested what is 0-1 Knapsack puzzle about?  Continue reading