Quantcast
Channel: SCN : Document List - Business Content and Extractors
Viewing all articles
Browse latest Browse all 52

Append structure to datasource

$
0
0

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

 

lbwe.JPG

 

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.

 

rso2.JPG

 

Solution

 

To add field to extraction structure following belowed paths.

 

a) Append structure

b) Enhancement of datasource

 

--> SE11 tcode for a part.

 

se11.JPG

 

Append structure creation ;

 

se12.JPG

 

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.

 

zza.JPG


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.

 

cmod.JPG

 

Project can be coded like a belowed.

 

******************************************************************************************************************************************

 

CODE.JPG

 

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.

 

RSA3.JPG


Viewing all articles
Browse latest Browse all 52

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>