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

Small Problem with Enhancement Implementation

Dear Experts,

I have created an Enhancement Implementation in include LMEREPI02, inside it i have declared an internal table and fetched values to it.

the same internal table is accessed after the implementation is closed.

Though the Enh. Implementation is activated, I cannot activate the include as i get error msg saying my internal table not declared.

Would appreciate your thoughts on this problem.

Thanks

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

6 Answers

  • Best Answer
    Posted on Jan 06, 2014 at 10:31 AM

    Anushka,

    May be you have to do the declarations part in TOP INCLUDE where are all the other declarations related to this program are declared.ie keep the internal table declarations global.If required you can create one more enhancement in the INCLUDE meant for global declarations.

    K.Kiran.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 06, 2014 at 10:32 AM

    Hello,

    I've had a similar issue where one enhancement in an include declares data and another enhancement uses the data.

    I found that activating the program that uses the include activated everything required.

    Maybe you can try that?

    Good luck!

    Stuart.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 06, 2014 at 10:48 AM

    I tried but nothing worked yet. I am still confused

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 06, 2014 at 10:54 AM

    Hi Anushka,

    Do as suggested by Kiran, that's the best practice which we follow.

    Eg: While modifying the SAPMV45A generally we create a Z include for all the global data to be used in any enhancements in this program in the top include MV45ATOP.

    See below screen shots to make it clear to you for my example -

    Please ask if issue persists.

    BR.


    c34.png (17.4 kB)
    c35.png (16.6 kB)
    c36.png (26.1 kB)
    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 06, 2014 at 11:19 AM

    Hi,

    Your internal table declaration put in a 'include'. Then where you want implement your code their use the include.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 06, 2014 at 11:20 AM

    Thank you so much for all the ideas they helped me so much.

    I just did the declaration at the start of the method in which all these codes were and it worked.

    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.