Creating Email Content Using SO10 Objects and Text Symbols
[Pages:14]Creating Email Content Using SO10 Objects and Text Symbols
Applies to:
SAP ECC 6.0. For more information, visit the ABAP homepage.
Summary
The article describes the benefits of SO10 objects in comparison to text symbols. Author: Bijal Parmar Company: Larsen & Toubro Infotech Limited Created on: 9 September 2009
Author Bio
Bijal Parmar is a Software Consultant in Larsen & Toubro Infotech Limited. She has three years of SAP experience. She has worked extensively in ABAP, APO, Workflow and Visual Composer.
SAP COMMUNITY NETWORK ? 2009 SAP AG
SDN - sdn. | BPX - bpx. | BOC - boc. 1
Creating Email Content Using SO10 Objects and Text Symbols
Table of Contents
Overview....................................................................................................................................................... 3 Text Symbols ................................................................................................................................................3 SO10 ............................................................................................................................................................4
Create the SO10 Object.............................................................................................................................5 Reading the SO10 Object ..........................................................................................................................7 Advantages of SO10 objects .........................................................................................................................9 Transport Requests of SO10 objects...........................................................................................................10 Summary ................................................................................................................................................. 12 Related Content ..........................................................................................................................................13 Copyright ....................................................................................................................................................13
SAP COMMUNITY NETWORK ? 2009 SAP AG
SDN - sdn. | BPX - bpx. | BOC - boc. 2
Creating Email Content Using SO10 Objects and Text Symbols
Overview
The article describes the benefits of using the SO10 objects. Mostly, we tend to use text symbols for the following Business Scenarios:
1. Display Messages to user 2. Send Emails from the program. The text of message or email content is stored in text symbols. The body of the email is coded using the text symbols or SO10 objects. Advantage is: It prevents hard coding of text in the code. Maintain text at a central location Programs can be made language independent Translations can be maintained for the target languages
Text Symbols
Text Symbols can be created in all programs. A text symbol is a named data object that is generated when you start the program from the texts in
the text pool of the ABAP program. It always has the data type C. Its field length is that of the text in the text pool. Text symbols, along with the program title, list headings, and selection texts, belong to the text elements of a program. Text elements allow you to create language-independent programs. Any text that the program sends to the screen can be stored as a text element in a text pool. Different text pools can be created for different languages. When a text element is changed or translated, there is no need to change the actual program code. Text elements in an ABAP program are stored in the ABAP Editor
The text symbol can be created as below.
SAP COMMUNITY NETWORK ? 2009 SAP AG
SDN - sdn. | BPX - bpx. | BOC - boc. 3
Creating Email Content Using SO10 Objects and Text Symbols
Note: The maximum length can be set to 132 characters only. For creating the email content, we concatenate the text symbols and fill the internal table to email
sending function module.
SO10
Using transaction SO10, we can create objects to maintain texts. Unlike text symbols, SO10 objects do not have a maximum length defined. Hence it is possible to
maintain text in form of paragraphs too. When sending emails programmatically, there is a need to create the email content. The email
content must be language independent. Hence it is recommended to avoid using hard coding in the code. Based on the login language the email must be sent in the same language.
For example:
Dear Supplier ? English
Sehr geehrter Lieferant ? German
SAP COMMUNITY NETWORK ? 2009 SAP AG
SDN - sdn. | BPX - bpx. | BOC - boc. 4
Creating Email Content Using SO10 Objects and Text Symbols
Create the SO10 Object Go to transaction SO10. Enter text name and language. Maintain Text in English.
Enter Email Text and Save it
Go to transaction SO10. Enter text name and language. Maintain Text in German
SAP COMMUNITY NETWORK ? 2009 SAP AG
SDN - sdn. | BPX - bpx. | BOC - boc. 5
Creating Email Content Using SO10 Objects and Text Symbols
. Enter Email Text and Save it
Thus we have created the SO10 objects. Thus the entire email content can be maintained here. Note: When you save it, no transport request is created. We have to create a Transport request for it
separately. This method is covered in later sections.
SAP COMMUNITY NETWORK ? 2009 SAP AG
SDN - sdn. | BPX - bpx. | BOC - boc. 6
Creating Email Content Using SO10 Objects and Text Symbols
Reading the SO10 Object Once you have created the SO10 object, we can call it in the program using the function module "READ_TEXT". Input is: ID: ST -> Standard text LANGUAGE: User login language NAME: SO10 object name OBJECT: TEXT
Output: The lines table is populated with text. Pass this text to the internal table of Email sending function module.
SAP COMMUNITY NETWORK ? 2009 SAP AG
SDN - sdn. | BPX - bpx. | BOC - boc. 7
Creating Email Content Using SO10 Objects and Text Symbols
SAP COMMUNITY NETWORK ? 2009 SAP AG
SDN - sdn. | BPX - bpx. | BOC - boc. 8
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- republic of the philippines sandiganbayan
- creating email content using so10 objects and text symbols
- step by step process of preparing e mail with html body
- the abcs of the http procedure sas
- how to create an e mail merge using microsoft outlook
- application for the social security card
- using webmail spectrum inc
- california covid 19 rent relief program
- instructions for submitting a request for examination of
- how to set up e consent in redcap
Related searches
- email content marketing
- 1 4 nouns as objects and object complements
- salesforce objects and fields
- text meanings text symbols translate
- aesthetic text symbols amino
- indirect objects and direct objects
- text symbols list and meanings
- java objects and classes
- java classes objects and methods
- objects and classes java
- javascript objects and classes
- kawaii text symbols copy paste