on 04-04-2007 12:45 PM
Hi,
I am trying to use smartform instead of SAP Script in Sales Order confirmation. I have created a 'zsmartform' and defined in NACE for BA00 with copy of Std print program ie ZRVADOR01, including some specific changes for user data. Now in Open form for std program, i m using to print smartform. It is showing print preview and also printing the output for Print Output. but when i am trying it with 'External Send', it is not shooting any mail.
Can anyone help in this regard. ( I am working on 4.6C version)
Regards,
Ashwani
you have to use driver program for smart form as mention below
Order Confirmation /SMB40/RVADOR01 /SMB40/SDORC_XX
if u use this above said above driver program , it will trigger smart form
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
Can you tell me how you did this samrtform,I am also doing the same and i am calling the smartform in the open form statement but i could not even seet the print output alsoand how you are passing the values in that function module iv_fname and lv_po_print ,where you are getting the values.Hope you can answer this and solve my issue.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
FORMNAME = lv_sfname
IMPORTING
FM_NAME = lv_fname
EXCEPTIONS
NO_FORM = 1
NO_FUNCTION_MODULE = 2
OTHERS = 3.
ENDIF.
CALL FUNCTION lv_fname
EXPORTING
CONTROL_PARAMETERS = lv_control_para
OUTPUT_OPTIONS = lv_output_options
SF_DOC = lv_po_print
SF_NAST = NAST
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 4
OTHERS = 5.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE 'S' NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
EXIT.
ENDIF.
ENDIF.
Thanks,
With Regards,
Deesanth
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thanks for agile reply....!!
I have seen SCOT, there no msg is coming yet....!! Here it is important to mention that SCOT settings are OK coz they are working fine for other programs.
Regards,
Ashwani
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
first check u got any pending request in tcode SCOT ?
then u have to debug the FM of that SF.
check SY_SUBRC of that FM
Regards
Prabhu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
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.