Released Abap Classes logo

Released Abap Classes

Community
likweitan
released-abap-classes

Find released ABAP classes (clean core Level A) for ABAP Cloud Development. Use when user asks about ABAP classes for specific functionality like email, UUID generation, time/date handling, JSON/XML processing, RAP, string processing, random numbers, regex, Base64, HTTP calls, unit testing, PDF rendering, parallel processing, application logs, released API alternatives, Level A replacements, or any other ABAP Cloud class lookup.

Overview

Publisherlikweitan
Repositoryabap-skills
Skill namereleased-abap-classes
Stars
64
Forks
15
Bundled files
1
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by likweitan on GitHub. Read the source before you install it.

Installation

Install the Released Abap Classes AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/likweitan/abap-skills.git /tmp/abap-skills
mkdir -p .claude/skills
cp -r /tmp/abap-skills/skills/released-abap-classes .claude/skills/released-abap-classes
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Released Abap Classes in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Released Abap Classes on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Released Abap Classes is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Released ABAP Classes

Reference for released ABAP classes available in ABAP for Cloud Development (SAP BTP ABAP Environment and SAP Cloud ERP Private).

All classes listed here are released APIs governed by a stability contract — using them keeps an extension at clean core Level A. If a class you need is not released, see the abap-cloud skill for the wrapper pattern and level classification.

Quick Reference by Category

CategoryKey Classes
Console OutputIF_OO_ADT_CLASSRUN, CL_DEMO_CLASSRUN, CL_XCO_CP_ADT_SIMPLE_CLASSRUN
UUIDCL_SYSTEM_UUID, XCO_CP, XCO_CP_UUID
Time & DateCL_ABAP_CONTEXT_INFO, XCO_CP_TIME, CL_ABAP_TSTMP, CL_ABAP_UTCLONG, CL_ABAP_DATFM, CL_ABAP_TIMEFM
CalendarCL_FHC_CALENDAR_RUNTIME, CL_SCAL_UTILS
String ProcessingCL_ABAP_CHAR_UTILITIES, CL_ABAP_STRING_UTILITIES, XCO_CP
Numbers/MathCL_ABAP_MATH, CL_ABAP_DECFLOAT, CL_ABAP_BIGINT, CL_ABAP_RATIONAL
Random NumbersCL_ABAP_RANDOM_* (INT, INT8, FLOAT, PACKED, DECFLOAT16/34), CL_ABAP_PROB_DISTRIBUTION
Regular ExpressionsCL_ABAP_REGEX, CL_ABAP_MATCHER
Codepage/BinaryCL_ABAP_CONV_CODEPAGE, CL_ABAP_GZIP*, CL_WEB_HTTP_UTILITY
JSON/XMLXCO_CP_JSON, /UI2/CL_JSON, CL_SXML_*, CL_IXML_*
EmailCL_BCS_MAIL_MESSAGE
HTTP CallsCL_WEB_HTTP_CLIENT_MANAGER, CL_HTTP_DESTINATION_PROVIDER
RAPCL_ABAP_BEHV_AUX, CL_ABAP_BEHAVIOR_HANDLER, CL_ABAP_BEHAVIOR_SAVER
RTTSCL_ABAP_TYPEDESCR and hierarchy
Dynamic ProgrammingCL_ABAP_DYN_PRG, CL_ABAP_CORRESPONDING
User InfoCL_ABAP_CONTEXT_INFO, XCO_CP=>sy->user()
Unit TestingCL_ABAP_UNIT_ASSERT, CL_OSQL_TEST_ENVIRONMENT, CL_CDS_TEST_ENVIRONMENT
Parallel ProcessingCL_ABAP_PARALLEL
Application LogCL_BALI_LOG
Background JobsCL_BGMC_PROCESS_FACTORY
LockingCL_ABAP_LOCK_OBJECT_FACTORY
XLSXXCO_CP_XLSX
Zip FilesCL_ABAP_ZIP
PDF RenderingCL_FP_ADS_UTIL

Common Use Cases

Get Current Date/Time in UTC

abap
"Using CL_ABAP_CONTEXT_INFO
DATA(sys_date) = cl_abap_context_info=>get_system_date( ).  "e.g. 20240101
DATA(sys_time) = cl_abap_context_info=>get_system_time( ).  "e.g. 152450

"Using XCO (various formats)
DATA(date_utc) = xco_cp=>sy->date( xco_cp_time=>time_zone->utc )->as( xco_cp_time=>format->abap )->value.
DATA(time_utc) = xco_cp=>sy->time( xco_cp_time=>time_zone->utc )->as( xco_cp_time=>format->iso_8601_extended )->value.
DATA(moment_utc) = xco_cp=>sy->moment( xco_cp_time=>time_zone->utc )->as( xco_cp_time=>format->iso_8601_extended )->value.

Send Email

abap
TRY.
    DATA(mail) = cl_bcs_mail_message=>create_instance( ).
    mail->set_sender( 'sender@example.com' ).
    mail->add_recipient( 'recipient@example.com' ).
    mail->set_subject( 'Subject' ).
    mail->set_main( cl_bcs_mail_textpart=>create_instance(
      iv_content      = '<h1>Hello</h1><p>Message body.</p>'
      iv_content_type = 'text/html' ) ).
    mail->send( IMPORTING et_status = DATA(status) ).
  CATCH cx_bcs_mail INTO DATA(error).
ENDTRY.

Generate UUID

abap
"CL_SYSTEM_UUID
DATA(uuid_x16) = cl_system_uuid=>create_uuid_x16_static( ).
DATA(uuid_c36) = cl_system_uuid=>create_uuid_c36_static( ).

"XCO
DATA(uuid) = xco_cp=>uuid( )->value.
DATA(uuid_c36_xco) = xco_cp=>uuid( )->as( xco_cp_uuid=>format->c36 )->value.

JSON Processing

abap
"ABAP -> JSON
DATA(json) = xco_cp_json=>data->from_abap( some_structure )->to_string( ).

"JSON -> ABAP
xco_cp_json=>data->from_string( json_string )->write_to( REF #( target_structure ) ).

"Using /UI2/CL_JSON
DATA(json2) = /ui2/cl_json=>serialize( data = some_data ).
/ui2/cl_json=>deserialize( EXPORTING json = json2 CHANGING data = target ).

HTTP Client Call

abap
TRY.
    DATA(dest) = cl_http_destination_provider=>create_by_url( 'https://api.example.com' ).
    DATA(client) = cl_web_http_client_manager=>create_by_http_destination( dest ).
    DATA(request) = client->get_http_request( ).
    DATA(response) = client->execute( if_web_http_client=>get ).
    DATA(status) = response->get_status( ).
    DATA(body) = response->get_text( ).
  CATCH cx_web_http_client_error cx_http_dest_provider_error INTO DATA(error).
ENDTRY.

Get Current User

abap
"Using CL_ABAP_CONTEXT_INFO
DATA(user_alias) = cl_abap_context_info=>get_user_alias( ).
DATA(user_name) = cl_abap_context_info=>get_user_formatted_name( ).

"Using XCO
DATA(user) = xco_cp=>sy->user( )->name.

Verifying Release State (Level A)

abap
"Check if an object is released for ABAP Cloud
SELECT SINGLE *
  FROM i_apistateofrepositoryobject
  WHERE ObjectType   = 'CLAS'
    AND ObjectName   = 'CL_NUMBERRANGE_RUNTIME'
    AND ReleaseState = 'RELEASED'
  INTO @DATA(ls_state).

Other discovery options:

MethodUse
ADT Released Object SearchSearch with api: prefix (e.g., api:cl_*)
Project ExplorerReleased Objects → Source Code Library folder
Released Objects Fiori appF5865 — search by classic name, view successor information
SAP Business Accelerator Hubhttps://api.sap.com/ — released remote and local APIs
Cloudification Repositoryhttps://sap.github.io/abap-atc-cr-cv-s4hc/ — level classification

If no released class exists

SituationClean core levelAction
A nominated classic API existsBUse it in classic ABAP; wrap for ABAP Cloud
Only an internal SAP object existsCWrap it, create one ATC exemption, monitor changelog
The object is classified noAPIDDo not use — find a released or classic alternative

Detailed Reference

For comprehensive code examples and all available classes, read:

Reference File Structure

The reference file is organized into these sections (use grep patterns to search):

SectionSearch Pattern
Console OutputRunning a Class and Displaying Output
UUIDCreating and Transforming UUIDs
SY ComponentsXCO Representations of SY Components
RAP## RAP
Transactional ConsistencyTransactional Consistency
Numbers/CalculationsNumbers and Calculations
String ProcessingString Processing
Codepages/BinaryHandling Codepages and Binary
Regular ExpressionsRegular Expressions
Time and DateTime and Date
CalendarCalendar-Related Information
RTTSRuntime Type Services
Assignments## Assignments
Structure ComponentsNon-Initial Structure Components
Table ComparisonComparing Content of Compatible
Dynamic ProgrammingDynamic Programming
Current UserGetting the Current User Name
XML/JSONXML/JSON
Repository ObjectsABAP Repository Object Information
Generating ObjectsGenerating ABAP Repository Objects
Call StackCall Stack
EmailSending Emails
Tenant InfoTenant Information
ExceptionsException Classes
Parallel ProcessingParallel Processing
Application LogApplication Log
Background JobsRunning Code in the Background
Locking## Locking
HTTP CallsCalling Services
XLSXReading and Writing XLSX Content
Zip FilesZip Files
Unit TestingABAP Unit
Units of MeasurementUnits of Measurement
ATCProgrammatic ABAP Test Cockpit
Number RangesHandling Number Ranges
Releasing APIsReleasing APIs
Application JobsApplication Jobs
Generative AIGenerative AI
Transport RequestsProgrammatically Creating and Releasing Transport
HTML/XML CleanupRepairing and Cleaning up HTML
IDE ActionsCreating and Using IDE Actions
PDF RenderingOutput Management
CSV ExportWriting Internal Table Content to CSV
Garbage CollectionTriggering Garbage Collection

Related Skills

  • abap-cloud: Use for clean core level definitions and the wrapper pattern when no released class exists
  • abap-cloud-migration: Use for replacing non-released APIs during level remediation
  • atc-cloudification: Use for checking object classification and release state via ATC
  • rap: Use for RAP-specific released classes (CL_ABAP_BEHAVIOR_HANDLER, CL_ABAP_BEHAVIOR_SAVER)

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Released Abap Classes AI skill do?

Find released ABAP classes (clean core Level A) for ABAP Cloud Development. Use when user asks about ABAP classes for specific functionality like email, UUID generation, time/date handling, JSON/XML processing, RAP, string processing, random numbers, regex, Base64, HTTP calls, unit testing, PDF rendering, parallel processing, application logs, released API alternatives, Level A replacements, or any other ABAP Cloud class lookup.

Why use Released Abap Classes on TypingMind?

Because you install it once and use it with any model. Released Abap Classes is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Released Abap Classes in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/likweitan/abap-skills/tree/main/skills/released-abap-classes. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Released Abap Classes?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Released Abap Classes?

As many as you like. As long as a model supports skills, you can use Released Abap Classes with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Released Abap Classes AI skill free?

Yes. It is published on GitHub by likweitan under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇