Skip to Content

Query regarding explicit enhancement in Zprogram

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Posted on Jun 06, 2014 at 04: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.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 05, 2014 at 02:19 PM

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

    Neal

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 05, 2014 at 02: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.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.