Skip to content

Instantly share code, notes, and snippets.

View oarthursilva's full-sized avatar

Arthur Silva oarthursilva

  • SAP
  • Sao Paolo, Brazil
View GitHub Profile
@oarthursilva
oarthursilva / App.css
Created March 22, 2021 15:47
SCN Workilist > Part 1
.App {
text-align: center;
}
.App-logo {
height: 40vmin;
pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
version: '3'
services:
cf:
image: ppiper/cf-cli:latest
container_name: cf
command: /bin/bash
working_dir: /home/piper/app
stdin_open: true
tty: true
volumes:

Code Check-List

  • Code was deployed/tested on enablement test system
  • Code includes unit tests.
  • Code is tidy (indentation, line length, no commented-out code, no spelling mistakes, etc).
  • I have considered proper use of exceptions.
  • I have made an appropriate use of logging.
  • I have eliminated unused imports on Eclipse/Intellij.

Final Checks

  • It has indeed passed build tests before getting merged.
METHOD if_ex_me_process_po_cust~check.
DATA: lv_tdid TYPE tdid,
lv_texttype TYPE mmpur_texttypes,
lt_text_lines TYPE mmpur_t_textlines,
lt_text_format TYPE mmpur_bool,
lv_header TYPE mepoheader,
lv_lines TYPE i.
* Macro for messages
@oarthursilva
oarthursilva / ZCL_CORE_AUTHORITY_CHECK.abap
Created June 21, 2022 22:19
SAP ABAP Authority Check
CLASS zcl_core_authority_check DEFINITION
PUBLIC
CREATE PUBLIC .
PUBLIC SECTION.
INTERFACES zif_core_authority_check .
CONSTANTS:
BEGIN OF sc_activity_field,