on 01-03-2007 6:48 PM
I have developed a smartform with my own zprogram for transportation. Its giving me CALL_FUNCTION_PARM_MISSING problem and does not tell where i am missing the parameter. Can anyone help me on this ?
You have to be sure that in your print program that you are passing all the parameters that are defined in the Interface of your Smartform.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for replying me
My Smartform has these parameters and i am passing the same in my print program, but still its giving me an error.
ARCHIVE_INDEX = TOA_DARA
ARCHIVE_PARAMETERS = ARC_PARAMS
CONTROL_PARAMETERS = LS_CONTROL_PARAM
MAIL_RECIPIENT = LS_RECIPIENT
MAIL_SENDER = LS_SENDER
OUTPUT_OPTIONS = LS_COMPOSER_PARAM
USER_SETTINGS = ' '
VTTK = VTTK
KNVK = KNVK
VBAK = VBAK
Hi,
Are you passing following as a exporting/exporting parmeters or you are passing as tables:
VTTK = VTTK
KNVK = KNVK
VBAK = VBAK
If you are passing as tables then you need to add like this:ARCHIVE_INDEX =
EXPORTING
ARCHIVE_INDEX = TOA_DARA
ARCHIVE_PARAMETERS = ARC_PARAMS
CONTROL_PARAMETERS = LS_CONTROL_PARAM
MAIL_RECIPIENT = LS_RECIPIENT
MAIL_SENDER = LS_SENDER
OUTPUT_OPTIONS = LS_COMPOSER_PARAM
USER_SETTINGS = ' '
TABLES
VTTK = VTTK
KNVK = KNVK
VBAK = VBAK .
Ashvender
Are VTTK, KNVK, and VBAK defined as tables in the Form Interface?
If so then you need to do this:
CALL FUNCTION V_FM_NAME
EXPORTING
ARCHIVE_INDEX = TOA_DARA
ARCHIVE_PARAMETERS = ARC_PARAMS
CONTROL_PARAMETERS = LS_CONTROL_PARAM
MAIL_RECIPIENT = LS_RECIPIENT
MAIL_SENDER = LS_SENDER
OUTPUT_OPTIONS = LS_COMPOSER_PARAM
USER_SETTINGS = ' '
TABLES
VTTK = VTTK
KNVK = KNVK
VBAK = VBAK .
Hi,
Are you passing following as a exporting/exporting parmeters or you are passing as tables:
VTTK = VTTK
KNVK = KNVK
VBAK = VBAK
If you are passing as tables then you need to add like this:
EXPORTING
ARCHIVE_INDEX = TOA_DARA
ARCHIVE_PARAMETERS = ARC_PARAMS
CONTROL_PARAMETERS = LS_CONTROL_PARAM
MAIL_RECIPIENT = LS_RECIPIENT
MAIL_SENDER = LS_SENDER
OUTPUT_OPTIONS = LS_COMPOSER_PARAM
USER_SETTINGS = ' '
TABLES
VTTK = VTTK
KNVK = KNVK
VBAK = VBAK .
Ashvender
actually this is how i am passing
EXPORTING
ARCHIVE_INDEX = TOA_DARA
ARCHIVE_PARAMETERS = ARC_PARAMS
CONTROL_PARAMETERS = LS_CONTROL_PARAM
MAIL_RECIPIENT = LS_RECIPIENT
MAIL_SENDER = LS_SENDER
OUTPUT_OPTIONS = LS_COMPOSER_PARAM
USER_SETTINGS = ' '
VTTK = VTTK
KNVK = KNVK
VBAK = VBAK
TABLES
G_LIPS = G_LIPS
G_LIKP = G_LIKP
G_ADRC = G_ADRC
G_VBAK = G_VBAK
G_VEKP = G_VEKP
G_T001W = G_T001W.
To be sure that you are calling the Smart Form correctly you can do this:
1) go to your Smart Form. Go to Environment->Function Module name
2) Copy this FM name
3) Go to your print program and hit the Pattern button and insert the FM name
4) Compare this FM call to the way you are currently calling the form
I have no doubt that the function names are correct.
Do you compare the parameters from the above steps to the parameters that you are currently using?
Are you calling other FM's in your print program?
I would put a breakpoint on the Call to the Smartform and debug. If it makes it to your breakpoint successfully but then bombs out during the call to the form, then you know that you are missing a parameter in the call to the form.
I am trying to print values in my smartform and they are not printing can some one help me on this
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
i am getting the values, now as i was writing my select statements wrong.
But some of the values are not populating
like field values of lips-charg,
my select statement looks like
SELECT SINGLE ARKTX
/CWM/PIKMG
/CWM/PIKME
CHARG
FROM LIPS
INTO (LIPS-ARKTX, LIPS-/CWM/PIKMG, LIPS-/CWM/PIKME, LIPS-CHARG).
is there something wrong in it.
also how to count no of rows in a table?
Hi
This error comes up usually if your output is unable to fit into the window / page you have defined. Make sure your output is with in the limits.
check each node separately and check whether you had given line types in Output options of text element correctly.
whether your table(both table) is having data.
write break-point before the code and observe whether the internal table have data.
Otherwise increase the up to rows (say up to 60 rows ) like that in the code(program lines).
Regards
Naresh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.