提升ABAP高级编程技巧:灵活处理与动态类型

需积分: 12 1 下载量 13 浏览量 更新于2024-07-26 收藏 1.36MB PDF 举报
ABAP351(高级编程)是一本针对有一定ABAP基础知识的学习者编写的高级进阶教材,由Gerd Kluger和Björn Mielenhausen两位专家来自SAP AG编写,版权归属于SAPAG,出版于2004年。本书旨在帮助读者深入理解如何使ABAP程序更具灵活性,通过创建通用服务来处理不同类型的数据结构,并区分不同类型的通用性。 学习内容包括以下几个关键点: 1. **灵活编程**:理解如何编写更加灵活的程序,使其能适应各种情况,增强代码的可扩展性和适应性。 2. **通用服务**:学会如何编写能够处理任意结构数据的通用服务,这在处理复杂业务场景时至关重要。 3. **不同层次的通用性**:掌握不同类型通用性的概念,如简单的基于参数的通用性、动态令牌指定的通用性和完全通用程序的区别。 4. **ABAP类型系统与RTTS**:了解ABAP中的类型系统以及运行时类型系统(Runtime Type System, RTTS),这对于动态类型创建至关重要。 5. **运行时类型创建**:学会如何在运行时动态创建ABAP类型,增加程序的灵活性和安全性。 6. **字段符号(Field Symbols)**:介绍字段符号的概念,它们是代表字段的动态别名,可以在程序执行过程中根据需要动态绑定到数据。字段符号的特点包括: - 与字段动态关联,不涉及数据复制。 - 不是实际的指针,它们的作用更像临时变量,用于程序流程中的数据传递。 7. **字段符号的转换(Casting)**:讨论如何使用MY_TYPE类型的定义,演示如何在不同的数据类型间进行转换,确保数据的正确处理。 通过ABAP351的学习,读者将提升在实际开发中处理复杂逻辑和灵活数据结构的能力,从而写出更高效、可维护的ABAP程序。这是一项必备的技能,对于希望在企业应用开发领域深入发展的专业人士来说,无疑是一大进步。
2008-06-03 上传
Advanced ABAP Programming for SAP (SAP R/3) (Paperback)
by Gareth M. De Bruyn (Author), Robert Lyfareff (Author), Ken Kroes (Author)

Editorial Reviews

Advanced ABAP Programming for SAP covers the more difficult aspects of ABAP, the customization and reporting language built into SAP R/3. This book assumes a basic familiarity with the ABAP language (formerly known as ABAP/4) and builds upon it, exposing the reader to ABAP's considerable customization and transaction-handling power along the way.
Here you'll find lots of prose to back up the code. Typically, the authors (three SAP consultants) introduce a subject with an explanation and then present a short program that illustrates the concept in its simplest case. From there, they provide the reader with code and prose that address variations on the standard case.

The authors also emphasize procedures where appropriate. In their coverage of creating a domain in the Data Dictionary, for example, they provide a step-by-step procedure with screen shots from the SAP environment. The result: Advanced ABAP represents a good tutorial for those wanting to expand their ABAP skills beyond the essentials. Back it up with a reference and you'll be ready to tackle complex assignments. --David Wall

Topics covered: Graphical user interface (GUI) elements, Function Modules, Business APIs (BAPIs), data, tables, views, transactions, and transaction processing (includes information on the Screen Painter, the Menu Painter, screen loops, and locking strategies).

Book Description
With Advanced ABAP/4 Programming for SAP, the thousands of new ABAP/4 programmers will learn the latest techniques for developing custom applications using SAP's R/3 system and the Internet. Real-world examples, source code, and professional advice from the experienced authors enhance and support each topic. Advanced ABAP/4 Programming for SAP also includes step-by-step instructions for developing applications with ABAP/4 Modular programming and everything you need to know for developing Internet applications with SAP's Internet Transaction Server. This direct and easy-to-read book is the follow up to the authors' successful Introduction to ABAP/4 Programming for SAP.

Product Details

Paperback: 402 pages
Publisher: Prima Tech; 1st edition (July 15, 1999)
Language: English
ISBN-10: 0761517987
ISBN-13: 978-0761517986