This file contains 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 ztest_abapgit_hash. | |
PARAMETERS url TYPE string LOWER CASE. | |
DATA(raw) = zcl_abapgit_convert=>string_to_xstring_utf8( url ). | |
DATA(hash) = zcl_abapgit_hash=>sha1_raw( raw ). | |
WRITE: | |
/ url, |
This file contains 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 zsysinfo. | |
TYPES: | |
BEGIN OF ys_info, | |
attname TYPE string, | |
attvalue TYPE string, | |
END OF ys_info, | |
yt_info TYPE STANDARD TABLE OF ys_info. | |
START-OF-SELECTION. |
This file contains 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 ZREPAIR_OO_SHORTTEXTS | |
*&---------------------------------------------------------------------* | |
*& Check and repair program to address inconsistencies caused by | |
*& abapGit deserializing of classes and interfaces | |
*& | |
*& See https://github.com/abapGit/abapGit/issues/6442 | |
*&---------------------------------------------------------------------* | |
REPORT zrepair_oo_shorttexts. |
This file contains 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 zabapgit_background_mode. | |
DATA lv_repo TYPE c LENGTH 60. | |
SELECT-OPTIONS so_repo FOR lv_repo OBLIGATORY. | |
INITIALIZATION. | |
%_so_repo_%_app_%-text = 'abapGit Repositories'. | |
FORM run. |
This file contains 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_ALL_ABAP | |
*&---------------------------------------------------------------------* | |
*& All ABAP statements from | |
*& https://github.com/abaplint/abaplint/tree/main/packages/core/test/abap/statements | |
*&---------------------------------------------------------------------* | |
REPORT z_all_abap. | |
ADD 2 TO lv_foo. |
This file contains 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 ZABAPGIT_ADJUST_CODE | |
*&---------------------------------------------------------------------* | |
*& Adjust method implementations for abapGit serializer classes | |
*&---------------------------------------------------------------------* | |
REPORT zabapgit_adjust_code. | |
PARAMETERS p_test AS CHECKBOX DEFAULT 'X'. | |
CLASS lcl_code DEFINITION. |
This file contains 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_syntax_po DEFINITION | |
PUBLIC | |
INHERITING FROM zcl_abapgit_syntax_highlighter | |
CREATE PUBLIC. | |
PUBLIC SECTION. | |
CONSTANTS: | |
BEGIN OF c_css, | |
keyword TYPE string VALUE 'keyword', |
This file contains 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
*----------------------------------------------------------------------* | |
* Test of the ABAP Virus Scan Interface * | |
*----------------------------------------------------------------------* | |
REPORT zvsi_test. | |
TYPE-POOLS: | |
abap. | |
DATA: | |
gf_rc TYPE i, |
This file contains 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 zabapgit_repo_labels. | |
******************************************************************************** | |
* The MIT License (MIT) | |
* | |
* Copyright (c) 2022 abapGit Contributors | |
* | |
* Permission is hereby granted, free of charge, to any person obtaining a copy | |
* of this software and associated documentation files (the "Software"), to deal | |
* in the Software without restriction, including without limitation the rights |
This file contains 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 ztest_round. | |
DATA p TYPE p LENGTH 10 DECIMALS 2. | |
DATA r TYPE p LENGTH 10 DECIMALS 2. | |
DATA i TYPE i. | |
DO 6 TIMES. | |
CASE sy-index. | |
WHEN 1. | |
p = '123.49'. | |
WHEN 2. |
NewerOlder