06-05-2014 3:07 PM
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
06-05-2014 3:19 PM
Was it originally created on a different instance. I've had to have the source instance changed to avoid this problem.
Neal
06-05-2014 3:38 PM
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.
06-06-2014 5:31 AM
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.