The reports includes standart datasources developments like a append structure for LO Data Extraction. An example is implemented belowed for 2LIS_02_ITM datasource.
Business Requirement
Some fields does not exist in datasource so a lot of reason like a items data , header data etc. But projects customers demand to report the fields. To get solution developer has to append structure.
Process and Prerequisites
Firstly , check standart extraction structure. -> LBWE tcode.
For instance ; ERNAM is appended to 2LIS_02_ITM
To add field to structure , we have to find extraction structure for this go to RSO2 tcode. For this example ; MC02M_0ITM related with us.
Solution
To add field to extraction structure following belowed paths.
a) Append structure
b) Enhancement of datasource
--> SE11 tcode for a part.
Append structure creation ;
ZZAPPEND_MC02M_0ITM is defined and component ZZERNAM is added with types.
*Please be carefull if you add a quantity/currency so currency/quantity fields definition.
Enhancement of data source
RSAP0001 enhancement is used for this aim. Create a project with CMOD tcode like a ZBI to follow related projects.
Function exit --> EXIT_SAPLRSAP_001
INCLUDE ZXRSAU01.
Project can be coded like a belowed.
******************************************************************************************************************************************
Finally, you can get this field in your datasource.
Simulation with RSA3 tcode.
In this way , you can utilize requirements like a Created by (ZZERNAM) column is added and filled.