Surprises in ABAP
Long ago, we found some interesting text in an ABAP:
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgF81Njds7vI_Psr3aIgR65cpP6crofd6EEzHhaHs3nJ2hWeALNKIJNBgimnIDZPdkSBV9XP7Hym-ao-rWSPDdNwYk2v5glDstOcZffLqTHQM6Qq1c72Lq5fp6E1yX4B38paXVDVw/s320/abap_devils_small.jpg)
A nice way of saying: "Don't touch my code" ;-)
Thanks to Evert-Jan for finding the correct ABAP name in his archive.
And a few weeks ago, Paul found this one:
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfg9quQTRRlBBwEFfVRYTXqQocze-Dx7-ncBczNz4qwI0EnvCqXmQVDVdr9erm1e_IANvln75iAFE3OovqY8o7YxmCS53GwovqkKvPAaNYLAulV6PMeo5-nfE7fmk6X0CL03bwRA/s320/crm_event_small.jpg)
So, any other examples? Do you know some nice easter eggs within ABAP, please let me know. I know it is a kind of 'nerdy', but it is good fun ;-)
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgF81Njds7vI_Psr3aIgR65cpP6crofd6EEzHhaHs3nJ2hWeALNKIJNBgimnIDZPdkSBV9XP7Hym-ao-rWSPDdNwYk2v5glDstOcZffLqTHQM6Qq1c72Lq5fp6E1yX4B38paXVDVw/s320/abap_devils_small.jpg)
A nice way of saying: "Don't touch my code" ;-)
Thanks to Evert-Jan for finding the correct ABAP name in his archive.
And a few weeks ago, Paul found this one:
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfg9quQTRRlBBwEFfVRYTXqQocze-Dx7-ncBczNz4qwI0EnvCqXmQVDVdr9erm1e_IANvln75iAFE3OovqY8o7YxmCS53GwovqkKvPAaNYLAulV6PMeo5-nfE7fmk6X0CL03bwRA/s320/crm_event_small.jpg)
So, any other examples? Do you know some nice easter eggs within ABAP, please let me know. I know it is a kind of 'nerdy', but it is good fun ;-)
Comments
*"----------------------------------------------------------------------
*"*"Lokale Schnittstelle:
*" IMPORTING
*" REFERENCE(IP_SOLIXTAB) TYPE SOLIX_TAB
*" EXPORTING
*" REFERENCE(EP_SOLITAB) TYPE SOLI_TAB
*"----------------------------------------------------------------------
data: ls_soli type soli,
ls_solix type solix.
......
* sr221004: in my opinion, the below coding would have been
* the better solution...
* data ls_soli type soli.
* data ls_solix type solix.
* data charsize type i.
* data skip type i.
* data tabix type sytabix.
* data add_read type i.
* data off type i.
* data xlen type i.
....
That was hilarious.
:) Nooru
Method PROCESS_CREATE_CONDITION
* build konp
* PB00 has to be always on the first position in ERP!!
* from SRM PBOO is not always on the first pos
* what a s..., but therefore must be renumbered
* all kopos in konp, konm and konw...
read table it_konp into ls_konp with key id_konh = ls_konh-id_konh
kschl = lv_kschl. "PB00 or ZZ..
if sy-subrc eq 0 and
sy-tabix ne 1.
* Renumbering is needed.
lv_renumber = 'X'.
endif.