Creating Email Content Using SO10 Objects and Text Symbols



Similar documents
Step by Step Guide for Language Translation Tool

How to Assign Transport Request for Language Translation?

How to Modify, Create and Delete Table Entries from SE16

Restricting Search Operators in any Search View

Reverse Transport Mechanism in SAP BI

Step by Step Guide How to Copy Flat File from Other Application Server to BI and Load through Info Package

Release Strategy Enhancement in Purchase Order

Step by Step Procedure to Block and Debug a CIF Queue Flowing from R/3 to APO System

Deleting the User Personalization done on Enterprise Portal

ALE Settings, for Communication between a BW System and an SAP System

SAP CRM System 6.0/7.0. For more information, visit the Customer Relationship Management homepage

Guidelines for Effective Data Migration

SPDD & SPAU Adjustments Handbook

SAP FI - Automatic Payment Program (Configuration and Run)

ABAP Debugging Tips and Tricks

Creating New Unit of Measure in SAP BW

Standard SAP Configuration of SMS through HTTP with Third Party SMS Gateway

Exposing RFC as Web Service and Consuming Web Service in Interactive Forms in ABAP

Web Dynpro ABAP: ALV and Table in Popup Window

Creating Web Service from Function Modules/BAPIs & Integrating with SAP Interactive Forms

Process Controlled Workflow SRM 7.0 (Using BRF)

ABAP How To on SQL Trace Analysis

Compounding in Infoobject and Analyzing the Infoobject in a Query

Quick Viewer: SAP Report Generating Tool

Vendor Consignment. Applies to: Summary. Author Bio. SAP ECC 6.0. For more information, visit the Supply Chain Management homepage.

Multi Level Purchase Order Release Strategy

Embedding Crystal Reports inside ECC ALV Reports

SAP CRM Campaign Automation

SAP CRM 7.0 E2C Setup: CRM via Toolset

ABAP Proxy Interfacing

Creating Transaction and Screen Variants

LSMW: Upload Master Data using Batch Input Recording

Web Dynpro: Multiple ALV Grids and Layouts in ALV

How to Generate Stack Xml for Ehp4 and Above Upgrade

Multi Provider Creation Based on Sales and Planning Info Cubes

Currency Conversion using Variables in SAP BI -Reporting

SAP Workflow in Plain English

SAP BW - Excel Pivot Chart and Pivot Table report (Excel)

How to Get Work Items from Workflow in your Outlook Inbox

Organizational Management- Organizational Structure Creation

Step by Step Guide to Extract Batch Master Data via Generic and Classification Datasource to BW

Display Options in Transaction SE16

Understanding BW Non Cumulative Concept as Applicable in Inventory Management Data Model

Table of Contents. Passing Data across Components through Component Controller between Two Value Nodes

Workflow Troubleshooting and Monitoring in SAP ECC 6.0

Data Flow from LBWQ/SMQ1 to RSA7 in ECC and Delta Extraction in BI

Configuration of Enterprise Services using SICF and SOA Manager

How to Integrate CRM 2007 WebClient UI with SAP NetWeaver Portal

SDN Community Contribution

Scenario... 3 Step-by-Step Solution Virtual Infocube... 4 Function Module (Virtual InfoCube)... 5 Infocube Data Display... 7

Creation and Configuration of Business Partners in SAP CRM

Invoice Collaboration: Self Billing Invoice

SAP NetWeaver Developer Studio 7.30 Installation Guide

Configuring HTTPs Connection in SAP PI 7.10

Extractor in R/3 and Delta Queue

SAP CRM 7.0 for Newbies: (Part 1) Simple BOL Object Creation for CRM Webclient UI

Deleting the Requests from the PSA and Change Log Tables in Business Intelligence

BW Performance Monitoring

Working with SAP BI 7.0 Data Transfer Process (DTP)

Salesforce.com Integration Using SAP PI: A Case Study

SAP MM: Purchase Requisition with Classification and Workflow Approval

Forgot or Lock "Administrator or J2EE_ADMIN" Password

Salesforce Integration Using PI: How to Perform Query and Other DML Operations Using the Enterprise WSDL

Merge PDF files in ABAP

SAP BW - Generic Datasource Function Module (Multiple Delta Fields)

First step to Understand a Payroll Schema

Using PI to Exchange PGP Encrypted Files in a B2B Scenario

Order Split Usage in Production Orders

Step by Step guide of Report-to- Report Interface in BW Reporting

Splitting the Custom Container & Display more than one ALV

Step by Step Procedure to Create Broadcasters, to Schedule and to Enhance of SAP- BI Queries from Query Designer

APD to Update Marketing Attributes from SAP BI to SAP CRM

Step by Step Procedures to Load Master Data (Attribute and Text) from FlatFile in BI 7.0

SAP BW Configuration Basic System Settings

Understanding OLAP Processor and RSRT

Create Automatic Mail Notification/ Alert for Process Chain Monitoring

Automating Invoice Processing in SAP Accounts Payable

XSLT Mapping in SAP PI 7.1

Transfer of GL Master from Source SAP System to a Target SAP System through IDOCS

Table of Content. SAP Query creation and transport Procedure in ECC6

Consuming Services in SOA Manager

Step By Step Procedure to Create Logical File Path and Logical File Name

Implementing TinyMCE JavaScript HTML Editor for Web Page Composer (WPC) within the SAP Portal

Inventory Management (0IC_C03) Part - 3

Data Extraction and Retraction in BPC-BI

How to Develop Programs for SAP Mobile RF

Understanding BEx Query Designer: Part-2 Structures, Selections and Formulas

SAP CRM-BW Adapter an Overview

Case Study of a Segregation of Duties Project

Integrated Testing Solution Using SAP Solution Manager, HP-QC/QTP and SAP TAO

Make to Order in SAP ERP

Deploying Crystal Reports on Top of a SAP BI Query

Converting and Exporting Data in XML Format

Creating and Scheduling Publications for Dynamic Recipients on SAP Business Objects Enterprise

How to Load Data from Flat Files into BW PSA

Sales Commission Calculation & Settlement Handling through Order Processing

Different Types of Alerts for Process Chains. Table of Content

Tutorial - Creating Pop Up Window Using New Features in WebDynpro Java CE 7.1 Ehp1

Integration of SAP R/3 with BO Universe Using Data Federator Connector

Business Scenario Using GP/Web Dynpro with Back and Forth 3 Level Process and Dynamic Approvers in a Loop

Transcription:

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. 2009 SAP AG 1

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 2009 SAP AG 2

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. 2009 SAP AG 3

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 For example: 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. Dear Supplier English Sehr geehrter Lieferant German 2009 SAP AG 4

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 2009 SAP AG 5

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. 2009 SAP AG 6

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. 2009 SAP AG 7

2009 SAP AG 8

Advantages of SO10 objects SO10 is a preferred option as compared to text symbols Large amount of text can be stored in SO10 objects. The SO10 objects can be maintained in required languages easily. SO10 objects are easy to maintain. Since they can be separately modified using the SO10 transactions. Text elements may disturb the formatting of email text when language changes. When Language is Chinese the spacing between words must be maintained properly. Incase we use text symbols and try to concatenate two words separating single space. The same when converted to Chinese is difficult to read. For example, When the language is English Dear Sir, The Purchase Order is created in the system. Please take necessary action Thanks and Regards, Supplier Portal When the language is Chinese 亲 爱 的 主 席 先 生, 采 购 订 单 是 在 系 统 中 创 建 请 采 取 必 要 行 动 谢 意 和 慰 问, 供 应 商 门 户 2009 SAP AG 9

Transport Requests of SO10 objects When you save the SO10 objects, no transport request is created. We have to create a Transport request for it separately. This method is is described below Go to SE10, Click on create Create Workbench request Give Short description 2009 SAP AG 10

A Transport request number is generated- Main Request and it contains a sub task. Click on sub task, and then go to Request/Task in Menu-> Change type Select Development/Correction 2009 SAP AG 11

Now, double click on Main Request, Add the entry as given below. Summary Thus, we have understood the SO10 transaction. The benefits of using the SO10 objects and also the process of creating transport requests for it. 2009 SAP AG 12

Related Content https://wiki.sdn.sap.com/wiki/display/abap/long+texts http://help.sap.com/saphelp_nw04/helpdata/en/e3/9609f6eb0711d194d100a0c94260a5/frameset.htm For more information, visit the ABAP homepage. 2009 SAP AG 13

Disclaimer and Liability Notice This document may discuss sample coding or other information that does not include SAP official interfaces and therefore is not supported by SAP. Changes made based on this information are not supported and can be overwritten during an upgrade. SAP will not be held liable for any damages caused by using or misusing the information, code or methods suggested in this document, and anyone using these methods does so at his/her own risk. SAP offers no guarantees and assumes no responsibility or liability of any type with respect to the content of this technical article or code sample, including any liability resulting from incompatibility between the content within this document and the materials and services offered by SAP. You agree that you will not hold, or seek to hold, SAP responsible or liable with respect to the content of this document. 2009 SAP AG 14