Page 9 of 9

Re: The benefits of open source. (Serious fun for April 1st).

Posted: Mon Sep 29, 2014 10:03 am
by q4u
We're ready to rock and roll!

CL_UG_MD_CHAR

Code: Select all

000448 *********************************************************************
000449 * Now we are ready to rock and roll
000450 *********************************************************************
000451   CREATE DATA lo_s_all LIKE LINE OF <fs_t_all>.

Re: The benefits of open source. (Serious fun for April 1st).

Posted: Wed Feb 25, 2015 5:29 am
by q4u
Gotham city needs you!

Name of a function module: BATMAN_FILL_TABLE

Re: The benefits of open source. (Serious fun for April 1st).

Posted: Tue Jan 05, 2016 12:39 pm
by q4u
Ah, well that clears things up...

Image

Re: The benefits of open source. (Serious fun for April 1st).

Posted: Fri Jun 29, 2018 2:21 pm
by sapmanie
Reading between the lines of the syntax error message, I think...I THINK, that I'm only allow to read the table...
Image

Re: The benefits of open source. (Serious fun for April 1st).

Posted: Mon Aug 20, 2018 8:40 am
by sapmanie
I don't think I'd want to work here...

Function module CRAP_WORKCENTER_CREATE

Re: The benefits of open source. (Serious fun for April 1st).

Posted: Wed Oct 03, 2018 10:38 am
by Snowy
*&--------------------------------------------------------------------*
*& Object METH CL_UJO_QUERY_UTIL
*& GET_MDX_STRING
*& Object Header CLAS CL_UJO_QUERY_UTIL
*&--------------------------------------------------------------------*

* "begin of haz170718
if df_enable_hana_mdx eq abap_false.
replace all occurrences of crlf in e_mdx with space.
endif.
* "End of haz170718

"bye bye, ugly MDX

Re: The benefits of open source. (Serious fun for April 1st).

Posted: Mon Feb 11, 2019 10:42 am
by sapmanie
CL_FDT_DATE_TIME=>IS_VALID

[code]
* // Thu, 04. October 1582 is followed by Fri, 15. October 1582
* // -> days between 05.Oct.1582 and 14.Oct.1582 do not exist

if is_timepoint-date between '15821005' and '15821014'.
rv_is_valid = abap_false.
return.
endif.

[/code]

Well, top marks for SAP testing every possible input, I suppose.

Re: The benefits of open source. (Serious fun for April 1st).

Posted: Tue Jun 09, 2020 12:36 pm
by sapmanie
It's a trap!!

Function TB_PARTNER_CHECK

[code]**** TEST TRAP ***
* break-point.
** Hi colleagues! This is a trap for all of you who call
** this function without ZGP-Parameter or with ZGP=SPACE!
**
** Since the conversion TR-GP to SAP GP took place several releases
** ago, I'm very interested to know why you have to call without
** ZGP = 'X'.
**
** Please tell my why:
** --> D019389
**
* endif.
**** TEST TRAP ***
[/code]