Application Development and Automation 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: 
Read only

Enhancement Framework limitations

Former Member
0 Likes
719

Hi

I am enhancing an SAP program (RIAUFK20) and I want to declare global variables in the top include. When I went to add an enhancement to the end of the top include ( MIOLXTOP ), the code seems to disappear when I leave and reenter the top include. Then if I attempt to use any of the data declarations SAP throws a error message saying the variable is not declared.

Another issue I am having is that I enhance the selection screen of the program yet I cannot enhance the text elements to go along with it. Does anyone know how I can go about adding the text to the selection screen fields?

Also has anyone complied a list of the limitations on using the enhancement framework? Seems that it is a great tool but when trying to implement actual changes it is just one snag after another.

Thanks

John

Hi

I am enhancing an SAP program (RIAUFK20) and I want to declare global variables in the top include. When I went to add an enhancement to the end of the top include ( MIOLXTOP ), the code seems to disappear when I leave and reenter the top include. Then if I attempt to use any of the data declarations SAP throws a error message saying the variable is not declared.

Another issue I am having is that I enhance the selection screen of the program yet I cannot enhance the text elements to go along with it. Does anyone know how I can go about adding the text to the selection screen fields?

Also has anyone complied a list of the limitations on using the enhancement framework? Seems that it is a great tool but when trying to implement actual changes it is just one snag after another.

Thanks

John

3 REPLIES 3
Read only

Former Member
0 Likes
624

Hi,

I guess you can not enhance the text elements of the std program using Enhancement Frame work.

Thanks

Raghavendra.

Read only

Former Member
0 Likes
624

Hi John,

The idea is after creating an Implementation activate it and come out to the root node and let the implementation get updated in the program and database.

Once again go to se38 and open the top include and now go to Enhancement mode and change the Implementation to add your code.

Hope this helps.

See how i added to my top include.

"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""$"$\SE:(1 ) Include LC1C1TOP, End S

$$-Start: (1 )----


$$

ENHANCEMENT 1 ZTEST_LC1C1TOP. "active version

Data : ctest type c,

dtest type c.

ENDENHANCEMENT.

$$-End: (1 )----


$$

regards,

Vikas

Read only

0 Likes
624

Hi

I understand how to implement them, it just seems that a few times when I have activated enhancments in common includes the code disappears. I have found that you can normally see the code in debug just not when you are in SE80.

Thank you

John