Skip to Content
author's profile photo Former Member
Former Member

Explicit Source Code Enhancements - INCLUDE BOUND & Implementation Order

Hello All,

I have two queries on explicit source code enhancements:

1) While defining an explicit enhancement option (ENHANCEMENT-POINT) in an Include program, how do I set up the INCLUDE BOUND addition? The pop-up only gives the STATIC addition.

2) I have an explicit enhancement option (ENHANCEMENT-POINT), for which I want to write an implementation. However, there is aleady an implementation for the ENHANCEMENT-POINT written by someone else.

When I create my own implementation, it is coming above the existing one. So my new implementation executes before the existing implementation. However, I want my new implementation to come below the existing one.

How can I change the order (sequence) of the implementations?

Thank you.

Amar

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Dec 16, 2010 at 11:40 AM

    Hi,

    Explicit enhancement points and sections that allow you to enhance or replace the DECLARATIONS are called STATIC.

    Source code enhance or replace are called DYNAMIC.

    I think we can't control the order of implementation if we have the multiple implementation.

    Thanks and Regards,

    Bharani

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 16, 2010 at 11:52 AM

    Hi Bharani,

    Thanks for your reply.

    I feel too, that we cannot control the implementation/exection sequence.

    About the first point (INCLUDE BOUND), my question was:

    How do we define an enhancement option (ENHANCEMENT-POINT) as INCLUDE BOUND?

    Thanks,

    Amar

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Create two main programs named ZMAIN1 ZMAIN2.

      Create one include program named ZINCLUDE1.

      Add one subroutine named 'abc' to ZINCLUDE1 (FORM abc).

      Add 'INCLUDE ZINCLUDE1.' to top of ZMAIN1 and ZMAIN2.

      Call subroutine(perform abc ..) from ZMAIN1 and ZMAIN2.

      Compile these two main programs.

      Start tcode se38 and change ZINCLUDE1. Try to add explicit enhancement option in subroutine abc.

      This enhancement option is now INCLUDE BOUNDED .

      You can create more enhancement options and all will be INCLUDE BOUNDED.

      Because se38 does not ask a main program to change ZINCLUDE1.

      Note: If you try to change ZINCLUDE1 by double-clicking it from ZMAIN1 (ZMAIN2)

      you can not create INCLUDE BOUNDED enhancement.Because editor knows that you are coming from ZMAIN1(ZMAIN2) and tries to create non-include bounded enhancement option that will be used only by ZMAIN1 (ZMAIN2).

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.