cancel
Showing results for 
Search instead for 
Did you mean: 

Datasource enhancements?

Former Member
0 Kudos

what is the Best practice Datasource enhancements? orther than writing in Cmod for all the datasource enhancement ?

please let me know the process to get mentioned benfit i.e *No more locking of CMOD code by 1 developer stopping others to enhance other extractors.*

Accepted Solutions (0)

Answers (2)

Answers (2)

srikanthbwbw
Active Participant
0 Kudos

Hi

We did following way to avoid the locking of CMOD.

1. Created program with following naming convenctions.

Ex: ZBW_datasource name.

And then calling this program in the CMOD. This is flexible way to handle enhancents

Sampple

In cmod include program call the other progrmas

data: l_prog_name like trdir-name.

concatenate 'ZBW_' i_datasource into l_prog_name.

perform execute_user_exit in program (l_prog_name)

tables i_t_select

i_t_fields

c_t_data

c_t_messages

if found.

Write program in se38 with the name ZBW_2LIS_11_VAITM.

hope it helps

Thanks

Srikanth

MartinMaruskin
Active Contributor
0 Kudos

You can split your User exit INCLUDE program to several other sub-INCLUDES included in main one.

By this you do not need to touch parent one anymore. You just modify sub-INCLUDES.