Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Query regarding explicit enhancement in Zprogram

former_member321825
Active Participant
0 Kudos

Current Zprogram fetches data from VBAK and  now requirement is to fetch records from database table VBAP.

Then in this scenario, why do we require explicit enhancement section in Zprogram . We can simply comment the existing code and replace with VBAP   logic.

Can anyone explain the use of explicit enhancement in this scenario.

Regards,

Rachel

3 REPLIES 3

Former Member
0 Kudos

Was it originally created on a different instance.  I've had to have the source instance changed to avoid this problem.

Neal

mayacp
Member
0 Kudos

You should be able to change the Z program without adding an enhancement. The only reason the editor would prompt an enhancement is when the source system of the program is other than the system you are currently editing in. Check the source system for the program in  table TADIR.

kiran_k8
Active Contributor
0 Kudos

Rachel,

Go to >> Object Directory Entry >>Original System  check the System ID.

If it is not same then you can change it to current system's ID using SE03>>Object Directory Entry>>Change Object Directory Entries.

Enhancement framework is mainly for Standard program where it lets us add the custom functionality without taking the SCCR key.For Z programs I don't see any need to use Enhancements.

K.Kiran.