Exploding structured articles

[]

Symptom

Data records are deleted from the data package in the start routines of InfoSources 2LIS_02_SCL, 2LIS_03_BX and 2LIS_03_BF.
Other terms

2lIS_02_SCL;2LIS_03_BF;2LIS_03_BX
Reason and Prerequisites

The start routines were implemented to explode structured articles in mySAP ERP 2005.
Solution

The start routines prevent the extracted transaction data in SAP BW from being updated several times, which would lead to incorrect values.
The explosion of structured articles in mySAP ERP 2005 is possible for InfoSources 2LIS_02_SCL, 2LIS_03_BF and 2LIS_03_BX. For this, the WRF_BWEXT_STRUKTART implementation of the RS05_SAPI_BADI Business Add-In must be activated. This implementation explodes a document record into the individual components of a structured article.
To ensure that the data is correct in the connected data targets also after the Business Add-In has been activated, the InfoSources specified above contain a start routine that separates the “exploded” and the “unexploded” data records. This separation occurs in the RSBCT_RFASH_MATERIAL_EXPLO function module that is called. The E_T_DATA_NOR parameter contains the unexploded structured article records and the E_T_DATA_EXP parameter contains the exploded structured article records. You can use the SPLIT parameter to control if the system returns the exploded records at all. If you set this parameter, the system also returns the exploded records while they are deleted in the standard call.
The following scenarios are possible:
Case 1: You want to analyze only the unexploded structured article records in SAP BW.
Solution: You can use the delivered Content without any further adjustments because the function module mentioned above ensures that the records are separated.
Case 2: You want to analyze both the unexploded structured article records and the exploded structured article records in SAP BW.
Solution: In this case, you should create separate data targets for the unexploded and the exploded structured article records. You can then implement the same source code in the start routine of the update of the relevant data target as is delivered in the start routine of the transfer rule in the Business Content. The E_T_DATA_EXP parameter is updated in the data target update of the exploded structured article records and the E_T_DATA_NOR parameter is updated in the data target update of the unexploded structured article records.
As the last step, you can then delete the start routine from the transfer rules.
Important: If you delete the start routine from the transfer rules, the data must be separated in all connected data targets because otherwise incorrect data may be created.

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]

Leave a Comment