Application Development 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: 

Rebuild broken standard class

former_member293950
Participant
0 Kudos

We are in the process of doing a conversion, and had a standard SAP class (CL_OO_SECTION_SOURCE) which was missing a required method. We installed an OSS note to try and fix it, but the note did not install correctly and the class is now broken and dumps whenever we try and save. Can anyone think of a way to restore the class so it can be rebuilt? So far we've tried:

  • Restoring previous version
  • Deleting/recreating the missing method
  • Commenting out code that calls that method
  • Importing object from another system

We do have an OSS ticket opened and are waiting for a response, but I figured I would see if the community has ever faced this issue.

10 REPLIES 10

FredericGirod
Active Contributor
0 Kudos

The good old method is to import full object from other system, maybe the full package (depending of the size).

why do you indicate the importing failed ? RC=0 but still have problem ?

former_member293950
Participant
0 Kudos

When we try and import a transport from another system we get the short dump with syntax error stating the method doesn't exist.

FredericGirod
Active Contributor
0 Kudos

Could you post the dump log ?

Did you create the Transport Request using transactin SE03 --> Include object in a transport request

Add the full package

You could also try to import manually . tp addtobuffer tp import (if the class impact the STMS transaction)

Sandra_Rossi
Active Contributor

You're in a difficult situation, better ask SAP support, in high priority, your system is blocked for development, transport, patch and so on!

former_member293950
Participant
0 Kudos

dump1.txt

Uploading dump info

joltdx
Active Contributor

The dump you provided said "Implementation missing for method "GET_TYPE_SOURCE".". You mentioned a few things you tried, and I assume that you also tried creating an empty method implementation for GET_TYPE_SOURCE... Just wanted to mention that option as well if not, even though your other tries should probably have worked as well...

But my main thing: Do you have a backup? Restore is always an option 🙂

former_member293950
Participant
0 Kudos

So we tried importing a transport from the old system with the entire package per the recommendation above. Unfortunately because the system is mid-upgrade we can't import any transports. We are reluctant to do a restore because we'd lose a lot of time (system upgrade is something like 81% complete). It's on the table still as a last resort.

matt
Active Contributor

You've a ticket outstanding. Do nothing. If a note breaks your system, it's SAP's responsibilty to fix it. You'll only make things worse.

FredericGirod
Active Contributor

Has matthew.billingham said, if you have an open ticket, wait for SAP support.

And has jorgen_lindqvist41 said, it is just a method implementation missing, nothing difficult to solve.

joltdx
Active Contributor
0 Kudos

Hey, tim.oneill2, how did it go? Did you manage to sort this out with SAP Support or did you fix it in another way? (Just curious)