on 01-12-2007 7:24 PM
Hi All,
I configured the Smart Form at the Respective Transaction on entry_new.
I am getting Open_Form Error. what should I change, do I need to change any parameters????.
Thanks in Advance.
Regards,
Praveen
Hi
Please check are you using following two function modlules ,
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME' EXPORTING FORMNAME = LF_FORMNAME
variant = ' '
direct_call = ' '
IMPORTING FM_NAME = LF_FM_NAME
EXCEPTIONS NO_FORM = 1
NO_FUNCTION_MODULE = 2
OTHERS = 3.
IF SY-SUBRC <> 0.
then
CALL FUNCTION LF_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 = SPACE
IS_BIL_INVOICE = LS_BIL_INVOICE
IMPORTING
JOB_OUTPUT_INFO = LS_JOB_INFO
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 4
OTHERS = 5.
IF SY-SUBRC <> 0.
and Debugging mode please check wheather the function module / form name is same which ur are using , is ur form active , if it is execute it throught SMARTFORMS TCODE ITSELF and check the function module name.
then compare through driver program , by putting break point in test invinorment .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Praveen,
Is the smartform and print program custom one?
Did you make a copy to the smartform and changed it? If you had done this, then the smartform FM would have changed. So, modify the print program to open this smartform FM.
Smartform is not client dependent. In whichever client you develop the form, it is available in all the clients, only SAPscript needs to be transported to all the clients using SCC1.
Regards
Subramanian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Subramaniam,
What you said is right.I made a copy of the already existing smartform and customized it.
I customized the smart form in /smb40/ module. There is a default print program but the system is not allowing me to change any thing.
so do I need to made a copy to that print program and change it or ....
I greatly appreciate your help.
Thanks so much.
Praveen
In the print program.. r u calling the smartfom usinf
<b> CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'</b> EXPORTING FORMNAME = LF_FORMNAME
variant = ' '
direct_call = ' '
IMPORTING FM_NAME = LF_FM_NAME
EXCEPTIONS NO_FORM = 1
NO_FUNCTION_MODULE = 2
OTHERS = 3.
IF SY-SUBRC <> 0.
then
<b> CALL FUNCTION LF_FM_NAME</b> 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 = SPACE
IS_BIL_INVOICE = LS_BIL_INVOICE
IMPORTING
JOB_OUTPUT_INFO = LS_JOB_INFO
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 4
OTHERS = 5.
IF SY-SUBRC <> 0.
or u r calling the samrt form in any other way..
Note: if you are tesitnd same system but in different client then <b>u no need client copy</b>. because smartform is clined indipendent
Hi tell me the exact error ....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Rob,
Yes I did the spell name correctly, tried it again.
Is it neccessary to have the smart form at the testing client???. I did it in development client and by using the SCC1, I transfered the client specific data to the test client.
I havent changed any thing to the print program, and the print program is there itself in its folder at /smb40/, and its active.
What else do I need to do.
Please help me out. I need to finish it out soon.
Thanks,
Praveen
What is the value of sy-subrc?
Rob
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.