简体   繁体   English

类alv和函数alv有什么区别

[英]What is the difference between class alv and function alv

我们使用的是类 alv 和函数 alv,这些选项有什么区别?

  • Some of the differences:一些差异:

    • You can create screens using function modules however classes have to call separate program to generate screens.您可以使用功能模块创建屏幕,但是类必须调用单独的程序来生成屏幕。
    • Classes are more secure than FMs.类比 FM 更安全。
    • Class type increases the performance.类类型提高了性能。
    • Class type is OO, it allows more flexibility.类类型是 OO,它允许更多的灵活性。 Can have multiple ALVs in one screen.在一个屏幕上可以有多个 ALV。
    • Classes will allow reusability better than FM because being Object Oriented.类将允许比 FM 更好的可重用性,因为它是面向对象的。
    • Classes are instantiable while function groups are not.类是可实例化的,而函数组则不是。
    • Objects are the instance of class but FMs are not instances of a Function Group.对象是类的实例,但 FM 不是功能组的实例。
    • Function modules can be executed asynchronously and can be called by other systems remotely also.功能模块可以异步执行,也可以被其他系统远程调用。
    • A program can work with instances of several function groups at the same time however it cannot work with several instances of a single function group.一个程序可以同时处理多个功能组的实例,但它不能处理单个功能组的多个实例。

*This referance could be helpful too. *这个全球化志愿服务青年可能也有帮助。

Hope it was helpful希望它有帮助

Talha塔利亚

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM