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

wrong package in enhancement implementation

jrgen_junginger
Discoverer
0 Likes
4,823

Hello,

our SAP-Consultants/Developers in the SAP-introduction-project had in the beginning activate the Enhancement Implementation "WF08_START_V2" (transaction SE19) with own coding. Unfortunately there is an error in the coding from this time and we'd like to repair it. But if we want to get into the coding, the following error message appears:

"Message no. TO142

Diagnosis

Object ENHO WF08_START_V2 is in the name range reserved for SAP. The object cannot be assigned to package ZWF, since it belongs to a different name range or namespace.

System Response

Editing is terminated.

Procedure

Assign the object to an SAP package whose name begins with A-S or U-X.

If you want to create the object as a test object, you can also assign it to a local package (1st character = $) or a test package (1st character = T)."

We don't know, how they get the customer package to the SAP standard Enhancement Implementation !?

All our tries to change the coding (or the package) are all failed.

1. SE19 Button u201CChangeu201D ->Message no. TO142: see above.

2. SE80: With the Button u201CEnhanceu201D in Include LFMF2F02 (->where the Enhancement Implementation is) -> Message no. TO142: see above.

3. SE80: Modification in Include LFMF2F02 (->where the Enhancement Implementation is) -> Message no. ED296: Components of enhancements and sections cannot be modified.

4. SE03: Change the package ZWF in standard->Message no. TO142: see above.

Have anyone a idea ?

Best Regards

Jürgen

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
2,726

Hi,

Why are you trying to changes the package of the implementation ,why dont you make the changes to the code and save it in the same package which it is already in, The system would not allow standard objects to be assigned to customer name space.

Regards,

Himanshu

5 REPLIES 5
Read only

Former Member
0 Likes
2,727

Hi,

Why are you trying to changes the package of the implementation ,why dont you make the changes to the code and save it in the same package which it is already in, The system would not allow standard objects to be assigned to customer name space.

Regards,

Himanshu

Read only

0 Likes
2,726

If i would have the chance i would have do this.

But I don't know why and how the SAP-Consultant/Developers had made the standard objects assigned to customer name space.

And I had not made the inconsistently situation, but i have now the problem.

The question is how can we bring back the "normal" conditions ?

The situation for me in the moment is this:

Transaction SE19.

Radiobutton "New BadI"

Field "Enhancement Implementation": WF08_START_V2

Button "Change" than comes the message:

"SAP object ENHO WF08_START_V2 cannot be assigned to

package ZWF

Choose 'Display object' or 'Cancel'."

(Message no. TO142)

Read only

0 Likes
2,726

hai , if u r having the problem with implementation attached in the z package just undo the implementation and then remove the package, for undoing the implementation just right click on the enhancement point and from context menu udno the implementation and then once it si restored jsut remove the package

m.a

Read only

0 Likes
2,726

Thank you this advice had brought me on the right way.

For someone which is interested, in the details:

1. Copy the Enhancement Implementation "WF08_START_V2" to "ZWF08_START_V2".

2. "ZWF08_START_V2" (package "ZWF") change the coding, as you need.

3. Get in the database table TADIR an change the field DEVCLASS from "ZWF" to "FMMD" with "WF08_START_V2".

4. Delete "WF08_START_V2".

5. Aktivate the new Enhancement Implementation "ZWF08_START_V2".

Read only

0 Likes
2,726

hai , good that u got solution and more important that u posted the solution whcih u have applied and it will be helpful people in future for the same sort of problem

m.a