cancel
Showing results for 
Search instead for 
Did you mean: 

datasource enhancement problem

Former Member
0 Kudos

hello guys

Im trying to enhance 2LIS_02_S013 Datasource on R3 side....I added BISMT ...then I went into CMOD...ZBW220(ENHANCEMENTS FOR bw)....trying to change code...but I donot know where to change and what to change

Can anyone please help me with code....Thanks

Regards,

S

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

The following is the procedure to enhance the datasource.

1. Go to RSA6.

2. Select the Data Source, which you want to enhance.

3. Select display Data Source

4. Double click on the Extract structure.

5. Click on the Append Structure.

6. Add the required fields starting with ZZ*.

7. Activate the Append Structure.

Then you have to fill those fields with some ABAP custom code. You can do that by CMOD, creating a project and using the enhancement: RSAP0001.

SAP provides enhancement RSAP0001 that can be used to populate the extract structure.

This enhancement has four components that are specific to each of the four types of R/3DataSources:

Transaction data - EXIT_SAPLRSAP_001

Master data attributes - EXIT_SAPLRSAP_002

Master data texts - EXIT_SAPLRSAP_003

Master data hierarchies - EXIT_SAPLRSAP_004

Go to enhancement of transaction datasources in CMOD. Add a case statement with datasource check and go for the below code.This user exit is called for every datasource so be sure to put a CASE statement on the datasource.

CASE i_datasource:

WHEN '2lis_02_s013'.

loop at c_t_data into <datasource structure>

select single BISMT

from <table>

into <datasource structure>-ZZBISMT.

modify c_t_data from <datasource structure>

endloop.

endcase.

Hope this helps

Regards,

Akhan

Answers (0)