You want to create your own BAdI implementations in the service API.
Prerequisites:
---------------
- As of SAP_BASIS 6.20 and as of PI_BASIS 2004_1/BASIS的版本要求为6.2,自PI_BASIS_2004_1/BASIS
- Existence of the BAdI definition RSU5_SAPI_BADI (SE18) /SE18中RSU5_SAPI_BADI存在
- Interfaces of the BAdI methods in the include LRSAPF06/BADI方法的借口存在于INCLUDE LRSAPF06
In the standard system, the BAdI (RSU5_SAPI_BADI) is active and is defined as "Multiple Use"; therefore, the "filter-dependent" option is not permitted.
All of the active implementations are called and executed. Therefore, you deactivate the active implementations that you do not want to execute.
The following BAdI methods of data are available: BADI的方法有:
- DATA_TRANSFORM for the transaction data and master data 用于事务数据和主数据
- HIER_TRANSFORM for the hierarchies (not for flexible hierarchies) 用于层级(非灵活性的层级)
Proceed according to the following instructions to implement your own BAdI methods:请按如下的步骤实施BADI的方法
-
1. Use transaction SE19 to create your own implementation names.用SE19创建自定义的实现名称
-
2. Use the definition name RSU5_SAPI_BADI as a template.以
RSU5_SAPI_BADI为模板
-
3. Save and activate this implementation name in your package.保存,并激活,保存在PACKAGE 中
-
4. Select one of the methods to perform the implementation.选择一个方法执行你的实现。
-
a) Implementing the DATA_TRANSFORM method: 实施DATA_TRANSFORM的方法
This method enables you to fill your own fields that you have attached as an append structure to the extract structure of transaction data and master data of the SAP BW. Do not use this method to change the contents of key fields; instead, you should change them in the SAP BW. The following passed parameters are available:
这个方法允许你填充已经增强过的,用来提取事务和主数据的提取结构,此方法不可以用来修改关键字段的内容,请在BW 中修改,一下的传递参数的用处:
I_DATASOURCE - name of the DataSource for transaction data and master data. 数据源名称
I_UPDMODE - transfer mode (full, delta).更新模式(完全,增量)
I_T_SELECT - requested selection criteria.(选择条件)
I_T_FIELDS - requested fields.(选择字段)
C_T_DATA - table of extracted data.(被提取数据的表)
C_T_MESSAGES - error log.(错误信息)
-
b) Implementing the HIER_TRANSFORM method: Hier Transform 的方法
This method enables you to change the contents of transfer tables that are created for a hierarchy request. This can be useful in the case of your own hierarchy classes. Do not use this method to change the contents of key fields; instead, you should change them in the SAP BW. The following passed parameters are available:
此方法允许你改变用于改变层级请求的传输表中的内容,如果你要自定义的层级类,此方法很有帮助。请勿使用此方法改变关键字段的内容,请在BW中修改,传递参数如下
I_DATASOURCE - name of the DataSource for hierarchies. 层级数据源的名称
I_S_HIEFLAG - hierarchy control indicator for reference characteristics. 层级控制的参考特性指示标记
I_S_HIER_SEL - selected hierarchy. 选择的层级
I_T_LANGU - table of requested languages.语言表
C_T_HIETEXT - name of the hierarchy (language-dependent). 层级的名称(语言相关)
C_T_HIENODE - directory of the hierarchy elements.(层级元素的目录)
C_T_FOLDERT - name of the nodes that cannot be posted to.(不可赋值的层级节点名称)
C_T_HIEINTV - table of hierarchy intervals.(非连续层级表)
C_T_MESSAGES - error log from the customer exit function.(错误信息)
一下为版本等信息,不做翻译。
| | Released On | | Release Status | | Component | | Other Components |
| Priority | | Category | |
Validity
|
PI_BASIS
|
2003_1_620
|
2003_1_620
|
|
2004_1_620
|
2004_1_640
|
| |
Support Packages & Patches
|