cancel
Showing results for 
Search instead for 
Did you mean: 

Generation for Function 'abc' failed: Incorrect nesting

Former Member
0 Kudos

Hi colleagues,

I am facing the following situation:

I have created a Function with its respective Ruleset. All the objects have been activated and the simulation of the Function is working properly, even if I use the Create Code Template button and then call that code from ABAP the result given is the expected.

However when I try to use the Code Generation tab for this Function, I get the message: 'Generation for Function 'abc' failed: Incorrect nesting: For the statement "ENDCASE"'

Have you face similar situations?

Regards,

Cristobal

Accepted Solutions (0)

Answers (1)

Answers (1)

christianlechne
Active Contributor
0 Kudos

Hi Cristobal,

this is definitly an error in the BRF+ code generator templates of the code composer. Did you check for a note in SAP marketplace that might solve the issue? If you are not succesful (which I often am, even if a note exists )  open an OSS message to SAP.

Best regards

Christian