Page 8 of 9

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

PostPosted: Wed Jan 25, 2012 12:03 pm
by sapmanie
program RSPPFPROCESS
Take a deep breath...

Code: Select all
*   take a deep breath to avoid double processing       "note 1111286
    wait up to 1 seconds.

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

PostPosted: Thu May 03, 2012 2:56 am
by sapmanie
RM06BB10
Code: Select all

IF 0 LT 1.                                                "4.0C
    CALL FUNCTION 'MM_GROUP_REQUISITIONS'                   "4.0C

This function module always gets called :-P

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

PostPosted: Wed May 30, 2012 11:35 am
by sapmanie
Function module RFC_GET_UNICODE_STRUCTURE

Code: Select all
  "check if hassle------------------------------------------------------

Check if ABAP is getting hassled.

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

PostPosted: Mon Jun 25, 2012 8:24 am
by sapmanie
A sorrowful programmer...

LKKCAU02
Code: Select all
* Sorrowly I have to read in the row again, because someone may have
* changed the state between reading it and getting the lock
    SELECT SINGLE * FROM CATDO WHERE COBJ_ID = COBJ_ID.
      ENDIF.
    ENDIF.
* Sorrowly someone could also have changed meanwhile the lock key
* by using CATT_OBJECT_UPDATE
    IF L_ABLNR <> CATDO-ABLNR OR L_CYCLE <> CATDO-CYCLE

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

PostPosted: Mon Aug 06, 2012 11:33 am
by Sharpshooter
FM warranty_check_equipment_list

Code: Select all
* as this function module has been identified as obsolete,
* the following short dump is intended.
* please have a look at note 552326 for details.
  COMPUTE SY-SUBRC = 1 / 0.

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

PostPosted: Wed Aug 22, 2012 3:18 am
by sapmanie
Vendor master table LFA1 has field SPERM :lol:

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

PostPosted: Tue Sep 04, 2012 11:37 am
by sapmanie
Evil hack...

CL_WDR_CLIENT_ABSTRACT_HTTP===CM01A

[code] cl_wdr_client_ssr=>todo_cleanup( 'Evil hack because of missing support in RR_APPLICATION' )."#EC NOTEXT

[/code]

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

PostPosted: Mon Oct 15, 2012 5:33 am
by egbert37
SAP must be painful:

Program FP50PE11:
Code: Select all
* This class does external performs in order to provide a clean
* interface to the outside world. We have no good way to avoid them.
* DON'T TRY THIS AT HOME KIDS. THIS WILL HURT!                     "XYV
*---------------------------------------------------------------------*


Have fun,
Egbert

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

PostPosted: Mon Nov 19, 2012 9:16 am
by sapmanie
Short text for function module FIELD_EXIT_BUPLA_0: sdfasdfdf
Short text for function module FIELD_EXIT_BUPLA_1: dfjdkfd

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

PostPosted: Fri Mar 15, 2013 3:45 am
by q4u
Title attribute of include RVCOMFZ1: x

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

PostPosted: Sun Mar 24, 2013 1:59 pm
by q4u
Don't panic!

MLHELP_AVR_PARA_MONITOR:
GET PARAMETER ID 'DONTPANIC' FIELD gd_dontpanic.

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

PostPosted: Thu Apr 18, 2013 4:53 pm
by sapmanie
Some things in the world of SAP are nice, some things are bad...

* if this field is set, the ALV grid control color-codes the column
* (nice) as a key field and fixed this column during horizontal
* scrolling (bad)

Class CL_BUBAS_APPL_LOG
Method GET_FIELDCATALOG

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

PostPosted: Fri May 24, 2013 12:37 pm
by Sharpshooter
Much more elegant and sophisticated than a simple "message type X" :
Code: Select all
FUNCTION IQS1_GENERATE_DUMP.
*"----------------------------------------------------------------------
*"*"Lokale Schnittstelle:
*"       EXCEPTIONS
*"              GENERATE_DUMP
*"----------------------------------------------------------------------
*--- creates a dump, in case the data in the segments are not missing

  RAISE GENERATE_DUMP.

ENDFUNCTION.

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

PostPosted: Wed Jun 26, 2013 9:40 am
by Gothmog
Looking at the LSMW standard upload program for work centers, I found what is the application log object name for it: CRAP.
But the best application log object name is for Real Estate Management: FIRE
Seems oddly appropriate - for a given value of 'management'. :mrgreen:

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

PostPosted: Mon Sep 30, 2013 7:05 am
by Sharpshooter
Code: Select all
***INCLUDE MV45AF0S_SLL_DOCUMENT_TRANSFER .

*----------------------------------------------------------------------*
*   Form SLL_DOCUMENT_ACTIVATE                                         *
*----------------------------------------------------------------------*
*  Aktivierung Beleg in Legal & Logistics Services                     *
*----------------------------------------------------------------------*
FORM sll_document_activate.                                 "#EC CALLED

  CHECK 1 = 1.



ENDFORM.                    "SLL_DOCUMENT_ACTIVATE