Skip to Content
Former Member
Nov 10, 2008 at 05:34 PM

BHTML implementation button


Hi experts,

I implement a screen 9000 linked to the service BBPSC01, I build two buttons called ok and cancel with respective funtion code 'ZSAVE' and 'ZCANC' within the template I create SAPLBBP_SC_UI_ITS_9000 , unfortunately when I execute an action on this button, I receive the following message :

'return' statement outside of function.

Here after is the sample code concerning the build of these both buttons :




`if (Z_SAVE.exists)`

`if (Z_SAVE.disabled)`









`if (Z_CANCEL.exists)`

`if (Z_CANCEL.disabled)`








Thank you in advance if you have idea and give me some clues about it.

Best regards.