on 2007 Oct 03 7:09 AM
Hi all
i created a smartform in the Z format.How can i compile it.It is not a standard smartform.Please tell me how to copile the smartform.If needed please give me the driver program to run a smartform
Vijay
get the smartform function module name and call the function module name in your program.
Example:
call function 'SSF_FUNCTION_MODULE_NAME'
exporting
formname = 'ZZZ_TEST1'
importing
fm_name = v_form_name
exceptions
no_form = 1
no_function_module = 2
others = 3.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
CALL FUNCTION v_form_name
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 4
OTHERS = 5.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Close the thread if your question is answered.
Regards,
SaiRam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
goto smartform Tcode, give your smartform name,
Display, from menu goto Environment--> function module name.
copy the name that is given in the pop-up...
goto SE38 create a new program, click on pattern and next to function module paste the above copied name... ok.. pass all parameter if any... execute....
or follow the above process... which is told above...
I guess your question is answered, close the thread if answered.
Regards,
SaiRam
User | Count |
---|---|
68 | |
8 | |
8 | |
7 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.