Advertising:

Classes: Difference between revisions

From SAP Knowledge Base
 
(19 intermediate revisions by the same user not shown)
Line 1: Line 1:
= Released for cloud development =
{{Template:MetaDesc|A list of SAP classes for classic and cloud development differentiated for general across-the-board use and specific to different business processes e.g. MM.}}
Released for cloud development means the released state for cloud dev in eclipse of the class.<br />
Classic means all other classes that can be used if they are SAP standard classes.


== Overall ==
== Released for cloud development ==


== Application Log ==
=== Overall ===
{| class="wikitable"
{| class="wikitable"
|'''Name'''
|'''Name'''
|''Purpose''
|'''Purpose'''
|-
|-
|[[CL_BALI_LOG]]
|CL_ABAP_CONTEXT_INFO
|Some sy-fields returned with methods e.g. langu
|}
 
==== Application Log ====
{| class="wikitable"
|'''Name'''
|'''Purpose'''
|-
|CL_BALI_LOG
|Creation object cl_bali_log=>create( )
|Creation object cl_bali_log=>create( )
|-
|-
|[[CL_BALI_HEADER_SETTER]]
|CL_BALI_HEADER_SETTER
|Create Header with object from created object cl_bali_log=>create( ) the header is set (set_header)
|Create Header with object from created object cl_bali_log=>create( ) the header is set (set_header)
|-
|-
|[[CL_BALI_MESSAGE_SETTER]]
|CL_BALI_MESSAGE_SETTER
|Save message object and message is added (add_item) with created object cl_bali_log=>create( )
|Save message object and message is added (add_item) with created object cl_bali_log=>create( )
|-
|-
|[[CL_BALI_FREE_TEXT_SETTER]]
|CL_BALI_FREE_TEXT_SETTER
|Save message object and message is added (add_item) with created object cl_bali_log=>create( )
|Save message object and message is added (add_item) with created object cl_bali_log=>create( )
|-
|-
|[[CL_BALI_EXCEPTION_SETTER]]
|CL_BALI_EXCEPTION_SETTER
|Save message object and message is added (add_item) with created object cl_bali_log=>create( )
|Save message object and message is added (add_item) with created object cl_bali_log=>create( )
|-
|-
|[[CL_BALI_LOG_DB]]
|CL_BALI_LOG_DB
|Log is saved with get_instance and save_log. Load_log and get_all_items are used to load messages
|Log is saved with get_instance and save_log. Load_log and get_all_items are used to load messages
|- style="text-align:center;"
|- style="text-align:center;"
Line 29: Line 40:
|}
|}


= Classic =
==== E-Mail ====
{| class="wikitable"
|'''Name'''
|'''Purpose'''
|-
|CL_BCS_MAIL_MESSAGE
|create and send mails via SMTP
|-
|CL_BCS_MAIL_TEXTPART
|textual email body and attachments e.g. xml
|-
|CL_BCS_MAIL_BINARYPART
|binary email attachment e.g. pdf
|- style="text-align:center;"
|colspan="2" | 🔧 how to article: [[Create_and_send_e-mail_with_released_class_for_cloud_development]]
|}
 
== Classic ==
=== Overall ===
==== E-Mail ====
 
{| class="wikitable"
|'''Name'''
|'''Purpose'''
|-
|CL_BCS
|Business Communication Service
|-
|CL_DOCUMENT_BCS
|Wrapper Class for Office Documents
|-
|CL_BCS_CONVERT
|BCS: Utilities for Document Content
|-
|CL_SAPUSER_BCS
|BCS: Represents an SAP User
|-
|CL_BCS_CONVERT
|BCS: Utilities for Document Content
|-
|CL_DISTRIBUTIONLIST_BCS
|BCS: Represents a Distribution List
|- style="text-align:center;"
|colspan="2" | 🔧 how to article: [[Create_e-mail_with_classic_classes_and_methods]]
|}
 
 
 
==== Texts and Notes ====
 
{| class="wikitable"
|'''Name'''
|'''Purpose'''
|-
|CL_MM_PUR_TEXT_FACTORY
|Read texts and notes
|- style="text-align:center;"
|colspan="2" | 🔧 how to article: [[Read_texts_and_notes_with_classic_class_CL_MM_PUR_TEXT_FACTORY]]
|}

Latest revision as of 18:32, 8 January 2025

Released for cloud development means the released state for cloud dev in eclipse of the class.
Classic means all other classes that can be used if they are SAP standard classes.

Released for cloud development

Overall

Name Purpose
CL_ABAP_CONTEXT_INFO Some sy-fields returned with methods e.g. langu

Application Log

Name Purpose
CL_BALI_LOG Creation object cl_bali_log=>create( )
CL_BALI_HEADER_SETTER Create Header with object from created object cl_bali_log=>create( ) the header is set (set_header)
CL_BALI_MESSAGE_SETTER Save message object and message is added (add_item) with created object cl_bali_log=>create( )
CL_BALI_FREE_TEXT_SETTER Save message object and message is added (add_item) with created object cl_bali_log=>create( )
CL_BALI_EXCEPTION_SETTER Save message object and message is added (add_item) with created object cl_bali_log=>create( )
CL_BALI_LOG_DB Log is saved with get_instance and save_log. Load_log and get_all_items are used to load messages
🔧 how to article: Create_application_log_in_cloud_development

E-Mail

Name Purpose
CL_BCS_MAIL_MESSAGE create and send mails via SMTP
CL_BCS_MAIL_TEXTPART textual email body and attachments e.g. xml
CL_BCS_MAIL_BINARYPART binary email attachment e.g. pdf
🔧 how to article: Create_and_send_e-mail_with_released_class_for_cloud_development

Classic

Overall

E-Mail

Name Purpose
CL_BCS Business Communication Service
CL_DOCUMENT_BCS Wrapper Class for Office Documents
CL_BCS_CONVERT BCS: Utilities for Document Content
CL_SAPUSER_BCS BCS: Represents an SAP User
CL_BCS_CONVERT BCS: Utilities for Document Content
CL_DISTRIBUTIONLIST_BCS BCS: Represents a Distribution List
🔧 how to article: Create_e-mail_with_classic_classes_and_methods


Texts and Notes

Name Purpose
CL_MM_PUR_TEXT_FACTORY Read texts and notes
🔧 how to article: Read_texts_and_notes_with_classic_class_CL_MM_PUR_TEXT_FACTORY

This is a wiki created in the spare time of a private person working in the SAP ERP area. The aim is to collect knowledge for the own use. The wiki is maintained to the best of knowledge and belief.
All products shown, including in form of screenshots, belong to SAP SE. Their trademarks are, among others: SAP®,ABAP®,SAP Fiori®,SAP HANA®,SAP NetWeaver®,SAP® R/3®,SAP S/4HANA®,SAP S/4HANA® Cloud