cancel
Showing results for 
Search instead for 
Did you mean: 

Problem in Include file after migration to S/4 HANA

ashok_mohan
Participant
0 Kudos

I have done user exit in the include file "MV45AFZZ" before migrating to S/4 HANA. But after migration, when I try to open the include file, it is giving the error "Error in the source code analysis (SCAN) in include MV45AFZZ in row 0”. Also, the first line in the include file should be “INCLUDE<filename>”, but in this case it is commented.

Screenshot is attached.

Accepted Solutions (1)

Accepted Solutions (1)

Sandra_Rossi
Active Contributor

What you said is wrong ("Also, the first line in the include file should be “INCLUDE<filename>”,)

The first line of an include should not be INCLUDE !

Probably there's a SAP note which corrects the issue you're experiencing.

Jelena
Active Contributor

You're right. Actually I just searched in Google for the error message and it found similar question posted just a couple of weeks earlier (it's answered): https://answers.sap.com/questions/167646/getting-error-in-mv45afzz-include-while-implementi.html

@Ashok - kindly search in Google and in SAP Notes before posting questions on SCN.

Answers (1)

Answers (1)

Jelena
Active Contributor

Is this include actually still used in S/4HANA? Haven't SAP come up with better user exits?

I'm honestly not sure what kind of an answer you're expecting... Yes, the whole thing is commented out and obviously can't be used in this way. We don't have access to your system and can't know what transpired there exactly. Can't you see changes in the version control? Are there no consultants assisting with migration?

ashok_mohan
Participant
0 Kudos

The migration is already completed and there was assistance too during that time. W have already written code in that include before migrating to S/4 HANA. The problem which we are facing is that we cannot do any type of implicit enhancements in this include or edit the existing enhancement. For some reasons, if we don't need some code in this include file, we cannot remove that because it is showing the error which is mentioned above.