cancel
Showing results for 
Search instead for 
Did you mean: 

Implicit Enhacement syntax error

ManojYadav
Explorer
0 Kudos

Hello All,

I have created an implicit enhacement in include MV45ATOP (main program SAPMV45A) for declaring a global variable (for ex. GV_VAR1) and used that variables inside include MV45AOZZ(PBO of screen 8309). SAPMV45A is activated without any issues.

Now, we have a custom program ZABC where SAPMV45A is included using statement INCLUDE SAPMV45A. Program ZABC is showing syntax error for variable GV_VAR1 in include MV45AOZZ. If i open include MV45ATOP with navigation ZABC-> SAPMV45A-> MV45ATOP, i cannot see the implicit enhacement. whereas, if i open then same include via SAPMV45A-> MV45ATOP i can see the enhacement. Why this behaviour? How can i resolve this syntax error issue?

FredericGirod
Active Contributor
0 Kudos

Could you provide the exact error text ?

ManojYadav
Explorer
0 Kudos

Error is - Field "GV_VAR1" is unknown in include MV45AOZZ.

Accepted Solutions (1)

Accepted Solutions (1)

raymond_giuseppi
Active Contributor
0 Kudos

Open SAPMV45A and then ZABC with SE80, for both main program

  • For both programs, below the include node, you should find the MV45ATOP include,
  • For SAPMV45A, below the Enhancement Implementation node, you should find your Enhancement
  • But for ZABC do you see your enhancement, do you guess why?

The enhancement implementations for implicit enhancement options can only ever be appended to a single framework program

ManojYadav
Explorer
0 Kudos

@Raymond Giuseppi, Yes you are right. The implicit enhancement are program specific. The issue has been resolved by deleting the implicit enhancement and inserting the data declaration in include MV45ATZZ(this include is open for changes).

Answers (0)