Hi guys,
Please look at the code below.
begin_method display changing container.
DATA: return_code LIKE sy-subrc.
CALL FUNCTION 'SWU_OBJECT_PUBLISH'
EXPORTING
objtype = 'FORMABSENC'
objkey = object-key.
CALL FUNCTION 'SWX_FORMABS_DISPLAY'
EXPORTING
formnumber = object-key-number
EXCEPTIONS
form_not_found = 01
aborted = 02.
return_code = sy-subrc. " save the return code for later re-use
CALL FUNCTION 'SWU_OBJECT_RESTORE'
EXPORTING
objtype = 'FORMABSENC'
objkey = object-key.
This is the kind of code written in the BOR for a BO when it needs to be enhansed if am not wronge..
I just copied the code from one of the BOs.
Could someone give me a link or PPT's on these kind of codes so that I can learn the commands and enhance my BO.
Thanks in advance,
Abhi.