Skip to content

Instantly share code, notes, and snippets.

@antelio
antelio / itab_to_json.abap
Last active August 29, 2015 14:11 — forked from RiverSongFox/itab_to_json.abap
ITAB_TO_JSON
*&---------------------------------------------------------------------*
*& Form ITAB_TO_JSON
*&---------------------------------------------------------------------*
* Get JSON representation of any plain internal table
*----------------------------------------------------------------------*
FORM itab_to_json USING it_abap TYPE STANDARD TABLE
CHANGING et_json TYPE string.
DATA : lo_object_info TYPE REF TO cl_abap_structdescr
, lw_attribute_info TYPE abap_compdescr.
@antelio
antelio / SCAN ABAP SOURCE
Last active March 19, 2018 13:42 — forked from furlan/SCAN ABAP SOURCE
SCAN ABAP SOURCE
form fetch_source_code.
data:
lc_table(10) type c, " table name
lc_program(30) type c, " program name
ln_statement(05) type n, " statement counter
lc_field(10) type c, " field name
li_discard type i, " discard analysis
li_sourcestart type i, " source statement start line
li_sourceend type i, " source statement end line
@antelio
antelio / shBrushAbap.js
Last active August 29, 2015 14:11 — forked from christianjianelli/shBrushAbap.js
ABAP Sintax Higlighter
/**
* SyntaxHighlighter
* http://alexgorbatchev.com/SyntaxHighlighter
*e
* SyntaxHighlighter is donationware. If you are using it, please donate.
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
*
* @version
* 3.0.83 (July 02 2010)
*
@antelio
antelio / ZABAPSRC_SOLR_INDEX.abap
Last active August 29, 2015 14:11 — forked from mydoghasworms/ZABAPSRC_SOLR_INDEX.abap
ZABAPSRC_SOLR_INDEX
e*&---------------------------------------------------------------------*
*& Report ZABAPSRC_SOLR_INDEX
*&
*&---------------------------------------------------------------------*
*&
*&
*&---------------------------------------------------------------------*
REPORT ZABAPSRC_SOLR_INDEX.