2007 Aug 29 2:54 PM
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
2007 Aug 30 8:11 AM
Hi,
I guess you can not enhance the text elements of the std program using Enhancement Frame work.
Thanks
Raghavendra.
2007 Sep 07 2:02 PM
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
2007 Sep 07 6:37 PM
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
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |