on 09-28-2010 6:47 AM
HI all,
how can i give parameter for matnr directly in smartform program line, it wont take gives a dump
i don wanna create a separate driver program for that.
Error in the ABAP Application Program
The current ABAP program "/1BCDWB/SF00000001============FT" had to be
terminated because it has
come across a statement that unfortunately cannot be executed.
The following syntax error occurred in program "/1BCDWB/SAPLSF00000001 " in
include "/1BCDWB/LSF00000001F01 " in
line 539:
"You can only use "PARAMETERS" for programs other than type 1 between B"
"EGIN/END OF SCREEN."
" "
" "
The include has been created and last changed by:
Created by: "SAPUSER "
Last changed by: "SAPUSER "
how can i solved this.
Kavinath B.
this is a mission impossible.
you need a driver program for your smartform anyway, otherwise you wont be able to trigger an output.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can not code
SELECTION-SCREEN BEGIN OF BLOCK.
SELECT-OPTIONS selcrit FOR (name).
SELECTION-SCREEN END OF BLOCK.
like this in smartform program line it wont allow
all you have to do is create a driver program
for smartform create a selection screen and call smartform by
n pass variables or internal tables.
call function 'SSF_FUNCTION_MODULE_NAME'
exporting
formname =
* VARIANT = ' '
* DIRECT_CALL = ' '
* IMPORTING
* FM_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.
I hope it will help u
Ketan.P
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Am afraid that you can use PArameters direclty in the smart form.
Other approach will be to use the Global settings->forms interface->generate the Fm for smartform and you will find the "PARAMETER" declared in the interface here.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
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.