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: 

"CONTEXT" addition is not permitted for BAdI "CLS_CHARACTERIZATION"

Former Member
0 Kudos

hi,

Applying patch SAP_ABA and SAP_BASIS 16 during XPRA_EXECUTION phase Patch application stopping with error stop message. in this error in st22.

"CONTEXT" addition is not permitted for BAdI "CLS_CHARACTERIZATION"

I went in the class "CL_CLS_BADI_CHARACTERIZATION" the method "CONSTRUCTOR" having this error can you please tell me how to slove this.

Regards,

Dhina..

1 REPLY 1

Clemenss
Active Contributor
0 Kudos

H Dhina,

please refer to Note 822379 - Known problems with Support Packages in SAP NW 7.0x AS ABAP

SAPKB70017
Symptom: When importing a queue that contains the Support Package SAPKB70017, errors may occur in phase XPRA_EXECUTION during the after-import-method execution for other Support Packages also in the queue. The relevant AIM logs contain a note regarding the termination of the batch job and the job log for that batch job contains a SYNTAX_ERROR as cause for the termination. The corresponding "SYNTAX_ERROR" contains
  "CONTEXT" addition is not permitted for BAdI
  "CLS_CHARACTERIZATION"
as cause for the error, which can be traced back to an inactive change in the BAdI CLS_CHARACTERIZATION.

Solution: Continue the import. During the first run of XPRA_EXECUTION, the BAdI CLS_CHARACTERIZATION was activated, so that the syntax error no longer occurs during a repeat run.
To prevent this error from the start, import Support Package SAPKB70017 together with Support Package SAPKB70018 in one queue.

Regards

Clemens