Curious which is the best way to tackle the need to convert a EDI SAC code into one of 4 classification codes like frt or tax in an object. This could be used 1 times to 2000 times per instantiation with the high occurring during peak load periods.
I know Read Data with DATA lines is relatively "Old fashioned" but given the Standards in play and limited maintenance usage of the object it makes a lot of sense where as a maintenance file with FMs does not.
So considering DATA lines on instantiation writing to a memory file for a method, or a method with a switch case with @ 60 cases. Which is better, or are there better ways?
PS: Since the switch only has 4 outputs, I have a version that has only 4 cases.