如何学习“ABAP之道"? [英] How to learn ”the way of ABAP"?

查看:22
本文介绍了如何学习“ABAP之道"?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我从未使用过 SAP 解决方案.我对业务有合理的了解,但没有会计背景.如何在示例中学习 ABAP,同时启发我SAP 之道"?

I never worked with SAP solutions. I have a reasonable understanding of business, but no accounting background. How to learn ABAP on examples that will simultaneously enlighten me with the "way of SAP"?

它不一定是深入的知识,对于那些在 Python 和 C# 世界中但需要了解 SAP 世界如何运作的人来说,它只是一个开始.

It doesn't have to be a deep knowledge, just something to start for somebody who was in the world of Python and C# but needs understand how SAP world works.

(这不是 学习 SAP-ABAP")

推荐答案

如果您了解其他编程语言,学习 ABAP 并不是特别困难.

Learning ABAP is not particularly difficult if you know other programming languages.

我们先来区分ABAP和ABAP OO.ABAP 是旧的过程语言,而 ABAP OO 是它对类的扩展.

Let's first distinguish between ABAP and ABAP OO. ABAP is the old, procedural language and ABAP OO is its extension with classes.

ABAP 具有通常的控制结构,如 if-then-else 或循环.它的语法需要一点时间来适应(我发现在括号前放置或不放置空格的部分特别烦人),但绝对可行.有些结构在 C++ 和 C# 中找不到,例如函数组中的函数分组,它们有自己的局部变量,因此如果调用不同函数组中的某些内容,事情可能会变得混乱.但一般来说,如果您了解作用域和名称空间,那应该不是问题.

ABAP has the usual control structures, like if-then-else or loops. Its syntax takes a bit of getting used to (I found especially annoying the part about putting or not putting spaces before parentheses), but is definitely doable. There are some structures you don't find in C++ and C#, for example the grouping of functions in function groups, which have their own local variables, so if you call something that is in a different function group, things can get messy. But generally, if you understand scope and namespaces, it shouldn't be a problem.

与 ABAP 相比,我发现 ABAP OO 非常简单,因为它基本上只添加了我之前从 C++/C# 中知道的类/包.

I found ABAP OO pretty straightforward compared to ABAP, because it basically only added the classes / packages that I knew from C++ / C# before.

如何学习它们,我会为刚接触 ABAP 并希望深入了解 ABAP 的人提出以下建议(稍后参阅更多功能方面):
- 给自己买一本合适的 ABAP 书,例如来自 SAP Press 的一些东西
-不要读它
- 从网络课程或简单的书开始,沿着24 小时内学习 ABAP"的路线
-开始编码
- 在编码时,您不可避免地会问自己:这个和那个是如何工作的?PERFORM 是使用按引用传递还是按值传递来传递参数?"在合适的 ABAP 书中查找这些问题
- 可能几个月后,你就会足够熟悉这本书的语言,你可以在不睡着的情况下通读这本书

How to learn them, I would propose the following for someone who is new to ABAP and wants a DEEP knowledge of it (see later the more functional aspects):
-buy yourself a proper ABAP book, e.g. something from SAP Press
-don't read it just yet
-start with a web course or a simple book, along the lines of "learn ABAP in 24 hours"
-start coding
-as you are coding, you will inevitably ask yourself: "how does this and that work? is the PERFORM using pass-by-reference or pass-by-value for passing the arguments?" Look those questions up in your proper ABAP book
-probably after a few months, you will be familiar enough with the language that you can read through the book without falling asleep

只是一个警告:了解 ABAP 编程是一项有用的技能,但即使您不考虑 SAP 包含的其他技术(如工作流或 PDF 表单,与 ABAP 没有任何关系),仍然有很多框架在逻辑上有所不同.因此,就像即使您了解 C++,了解 Win32 框架并不意味着您可以开始编写在 UNIX 下运行的代码,了解 ABAP 并不意味着您可以立即在特定模块中高效地工作.不幸的是,SAP 模块倾向于使用不同的框架,其中一些框架比其他框架更容易重用.

Just a caveat: It IS a useful skill to know ABAP programming, but even if you don't consider the other technologies SAP consists of (like workflow or PDF Forms, that don't have anything to do with ABAP), there are still a lot of frameworks that differ in their logic. So just like even though you know C++, knowing the Win32 framework does not mean you can start banging out code that runs under UNIX, knowing ABAP does not mean that you can work productively in a specific module right away. Unfortunately, SAP modules tend to use different frameworks, some of them more reused than others.

如果您不想深入了解 ABAP,而是想从功能上了解 SAP 模块,那么除了编程和学习功能方面之外,您还应该考虑使用产品本身.

If you do not want a deep knowledge of ABAP, but want to understand the SAP modules functionally, you should consider using the products themselves in addition to programming and learning about the functional aspects.

恐怕真的没有快速的方法来了解SAP World"的运作方式;为此,您需要具备一些技术、功能和架构知识,并且由于模块与所有这些方面的差异很大,因此您需要花费大量时间才能对所有内容有一个全面的了解.但即使掌握了技术和一些功能知识,您也会顺利进行;正如他们所说,在 SAP 中,没有人希望您无所不知".

I'm afraid there is really no quick way to learn how the "SAP World" functions; you need to have a bit of technical, functional and also architectural knowledge for that and since the modules are so vastly different from all those aspects, it takes a lot of time until you can have a vast overview of everything. But even with technical and some functional knowledge you would be well on your way; as they say, "in SAP, nobody expects you to know everything".

这篇关于如何学习“ABAP之道"?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆