This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
REPORT z_test_pretty_printer. | |
CLASS builder DEFINITION. | |
PUBLIC SECTION. | |
METHODS: | |
foo IMPORTING par_a TYPE i | |
par_b TYPE abap_bool | |
RETURNING VALUE(result) TYPE REF TO builder, | |
bar IMPORTING par_a TYPE string | |
par_b TYPE char1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Conditions: | |
" - Longtext support when using MESSAGE lx_ex TYPE 'S' DISPLAY LIKE 'E' | |
" - Where-used-list support where possible for messages in message classes | |
" 1. You have a message and want to raise an exception | |
MESSAGE e053(sv) INTO DATA(lv_dummy) ##NEEDED. | |
RAISE EXCEPTION TYPE /abc/cx_bc_no_authority | |
EXPORTING | |
is_msg = /abc/cl_bc_exc_tools=>get_msg_from_sy( ). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CLASS zcl_abapgit_user_exit DEFINITION | |
PUBLIC | |
FINAL | |
CREATE PUBLIC. | |
PUBLIC SECTION. | |
INTERFACES: | |
zif_abapgit_exit. | |
PROTECTED SECTION. | |
PRIVATE SECTION. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
REPORT z_fl_atc_mail_test. | |
PARAMETERS: p_did TYPE satc_d_id. | |
CLASS lcl_main DEFINITION. | |
PUBLIC SECTION. | |
METHODS: | |
run. | |
PROTECTED SECTION. | |
PRIVATE SECTION. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8" standalone="no"?><templates><template autoinsert="true" context="ABAP" deleted="false" description="Exception class" enabled="true" name="exc">"! ${descr} | |
CLASS ${enclosing_object} DEFINITION | |
PUBLIC | |
INHERITING FROM ${base} | |
FINAL | |
CREATE PUBLIC. | |
PUBLIC SECTION. | |
CONSTANTS: | |
BEGIN OF gc_no_arguments, |