I was exploring the new system class CL_ABAP_DIFF which detects differences between internal tables. According to the documentation, its return value is a diff table, to be understood as a sequence of instructions that have to be applied to the sourc...
Over the night, all the links to ABAP syntax docu topics that we had in our team wiki are obsolete, yielding a HTTP 404 on click. For some day, even the Google search results for certain topics pointed into Nirwana.
The simple reason was that the ...
To do reflection in ABAP, we have the class family CL_ABAP_...DESCR. For example, we can get the informations about a class by creating a description object:
data lo_obj type ref to cl_abap_objectdescr.
call method cl_abap_objectdescr=>create_by_na...
The following ABAP report calls p_times times a function module which does nothing ('RFC_PING'), while being supervised by the coverage API (see subroutine measure_a_nop at the bottom of the report).
The expected result would be that it reports `1...
From its description and its inline code comments, the function module SBUF_OBJ_RESET_OBJECT appears to be the right guy to delete shared buffer import/export areas. (I know, there is a built-in statement "delete from shared buffer", but I need an RF...
Thanks for your informations, Horst. Indeed, the XSLT transformation only fixes the ABAP data part, and the modified method doesn't work correctly now for mixed sections in the output object. I am looking forward to your final solution.
But, as the ...
Hi Horst,
in our system (SAP_BASIS 756.0001), I already have a version with PCREs, but I still got the CX_SY_REGEX_TOO_COMPLEX - and it crashed precisely at the place where PCRE where used (in method FORMAT_NESTED). So this doesn't solve the problem...
Hi Horst,
I was running in CX_SY_REGEX_TOO_COMPLEX in method FORMAT_NESTED when using the output for some large data objects.
As it is generally not the best choice to operate on an XML document on string level, I wrote an XSLT transformation which...
Ten years later, MIGROS has placed the site bsp.mits.ch to "internal use". This means that the links pointing to the full source code of the example application will not work any more.
But this doesn't matter, since the intent of this blog post was ...
Hi Thales, thanks for the really helpful answer. Indeed, using the "docu" request handler could be an option. On the other hand, this will tie the docu link to a specific system in our landscape. In any case, we will have to replace or adapt all outd...