Structure of a Function Group

For example: Function Group ABCD

SAPLABCD                                              Program name

  -> LABCDTOP                                        Global data

  -> LABCDUXX                                        All function modules

      -> LABCDU01                                     Function module #01

      -> LABCDU02                                     Function module #02

  ->LABCDF01                                          Subroutines

 

To understand how an X function group works, you need to understand how a normal function group works:

    A function group consists of includes. The system assigns unique names to the includes for different objects. Some of the include names are simply proposals and some cann't be changed.

    Global data is stored in the TOP include. This inlcude is generated automatically when a function group is created.

    Function modules are stored in includes with sequential numbering, and they in turn are all stored in an include ending with UXX.

   While you can freely choose the names of the includes for all other objects ( subroutines, modules, events, and so on), we advise you to accept the proposed names.

 

 

Structure of an Exit Function Group

SAPLXAAA                                            Program name

  -> LXAAATOP                                      Global data

      ->LXAAATAP                                   Global SAP data

      ->ZXAAATOP                                   Global customer data

  -> LXAAAUXX                                       All function modules

      ->LXAAAU01                                    Function module #01

          ->ZXAAAU01                                Customer source code

      ->LXAAAU02                                    Function module #02

          ->ZXAAAU02                                Customer source code

  -> LXAAAF00                                        SAP source text proposal

 

Exit function groups created by SAP application programmers for enhancement exits contain include programs that begin with either LX or ZX. You can only edit includes beginning with a Z, since they are stored in the customer namespace.

No further function modules may be added to the function group.

The include program ZxaaaUnn contains the source code for the function modules of a function module exit.

 

 

Page 99

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
Group-wise cross-validation is a type of cross-validation that is used when the data has a group structure. It is a more appropriate approach when the samples are collected from different subjects, experiments, or measurement devices. In group-wise cross-validation, the data is divided into groups, and the validation process is performed on each group separately. This ensures that the model is evaluated on data from different groups, which helps to assess its generalization performance in real-world scenarios. Here is an example of how group-wise cross-validation can be implemented using the K-fold cross-validation technique: ```python from sklearn.model_selection import GroupKFold from sklearn.linear_model import LogisticRegression # Assuming we have features X, labels y, and groups g X = ... y = ... groups = ... # Create a group-wise cross-validation iterator gkf = GroupKFold(n_splits=5) # Initialize a model model = LogisticRegression() # Perform group-wise cross-validation for train_index, test_index in gkf.split(X, y, groups): X_train, X_test = X[train_index], X[test_index] y_train, y_test = y[train_index], y[test_index] # Fit the model on the training data model.fit(X_train, y_train) # Evaluate the model on the test data score = model.score(X_test, y_test) # Print the evaluation score print("Validation score: ", score) ``` In this example, the data is divided into 5 groups using the GroupKFold function. The model is then trained and evaluated on each group separately. The evaluation score for each fold is printed to assess the model's performance.
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值