on 11-10-2008 5:34 PM
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 :
`TD()`
`BBPVSpace()`
`BBPButtonBegin()`
`if (Z_SAVE.exists)`
`if (Z_SAVE.disabled)`
`BBPDisabledButton(Z_SAVE.label)`
`BBPButtonSpace()`
`else`
`BBPButton(Z_SAVE.OKCODE,Z_SAVE.label)`
<!`BBP_EXCHANGE_HTML_BUTTON_JS(bbpformname,Z_SAVE.OKCODE," "))`>
`BBPButtonSpace()`
`end`
`end`
`if (Z_CANCEL.exists)`
`if (Z_CANCEL.disabled)`
`BBPDisabledButton(Z_CANCEL.label)`
`else`
`BBPButton(Z_CANCEL.OKCODE,Z_CANCEL.label)`
`end`
`end`
`BBPButtonEnd()`
</td>
Thank you in advance if you have idea and give me some clues about it.
Best regards.
Hi ,
Please check in your template all the form content is with in `SAP_FormBegin()`.... `SAP_FormEnd()`
Regards
Satya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.