on 12-14-2006 12:02 PM
Hai All,
I have a requirement where in i have to use TCODE F.27 to create the spool req.It should be able to send to external email ; Also be able to fax;.
Can any body help me in this.I need to have a smartform to support this.
1.Do we have any standard customer statements?
2.Do we have any standard forms?
Plz mark this is urgent,send in any comments.
Regards,
Arun.
hi
good
go through this link , which ll give you detail idea about the F.27.
http://web.mit.edu/CAO/www/SB2002/AR/F-27.htm
thanks
mrutyun^
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yaa i understand ,but what i am asking is dont we have a standard form like that of medruck
1.do i have to create new form according to client requirement or is there a standard form like medruck for customer statements.
2.Can you explain me right from the scrap how i could go to solve these.
Regards,
arun
hi
good
go through this link , which ll give you detail idea about the F.27.
thanks
mrutyun^
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
for this req.
u should configure the nace output types values 1,2,5
1 - printout
2 - FAX
3 - eMAIL.
option is already coming for rest
use following code
&----
*& Form nacha_5
&----
Send the Form as an Email
----
-->P_FOUND Flag 'X' if sub routine is found
----
FORM nacha_5 USING write_out TYPE xfeld
CHANGING p_found TYPE xfeld.
DATA : lv_mail_id TYPE so_name,
lv_mail_tp TYPE so_escape VALUE 'U',
l_subrc TYPE sy-subrc.
p_found = 'X'.
Get the Mail ID from the Control Table
lv_mail_id = t_ctrl_app-recipient.
Create The Recipient Object
CALL FUNCTION 'CREATE_RECIPIENT_OBJ_PPF'
EXPORTING
ip_mailaddr = lv_mail_id
ip_type_id = lv_mail_tp
IMPORTING
ep_recipient_id = w_recipient
EXCEPTIONS
invalid_recipient = 1
OTHERS = 2.
IF sy-subrc NE 0.
IF write_out = 'X'.
FORMAT COLOR 6.
WRITE AT /5 text-001.
ENDIF.
RAISE other.
ENDIF.
Create The Sender Object
CALL FUNCTION 'CREATE_SENDER_OBJECT_PPF'
EXPORTING
ip_sender = sy-uname
IMPORTING
ep_sender_id = w_sender
EXCEPTIONS
invalid_sender = 1
OTHERS = 2.
IF sy-subrc NE 0.
IF write_out = 'X'.
FORMAT COLOR 6.
WRITE AT /5 text-002.
ENDIF.
RAISE other.
ENDIF.
Populate the Control Data & Title
w_sf_control-device = 'MAIL'.
w_sf_control-no_dialog = 'X'.
w_sf_control-langu = t_ctrl_app-spras.
***************************************************
Nacha = 2
Populate the Fax Number and the country.
Data : lv_fax_tp TYPE so_escape VALUE 'F',
lv_fax = t_ctrl_app-recipient.
lv_land1 = t_ctrl_app-country.
Create the Recipient Object
CALL FUNCTION 'CREATE_RECIPIENT_OBJ_PPF'
EXPORTING
ip_country = lv_land1
ip_faxno = lv_fax
ip_type_id = lv_fax_tp
IMPORTING
ep_recipient_id = w_recipient
EXCEPTIONS
invalid_recipient = 1
OTHERS = 2.
IF sy-subrc NE 0.
IF write_out = 'X'.
FORMAT COLOR 6.
WRITE AT /5 text-004.
ENDIF.
RAISE other.
ENDIF.
Create The Sender Object
CALL FUNCTION 'CREATE_SENDER_OBJECT_PPF'
EXPORTING
ip_sender = sy-uname
IMPORTING
ep_sender_id = w_sender
EXCEPTIONS
invalid_sender = 1
OTHERS = 2.
IF sy-subrc NE 0.
IF write_out = 'X'.
FORMAT COLOR 6.
WRITE AT /5 text-003.
ENDIF.
RAISE other.
ENDIF.
Populate the Control Data
w_sf_control-device = 'TELEFAX'.
w_sf_control-no_dialog = 'X'.
w_sf_control-langu = t_ctrl_app-spras.
Populate the Output Options.
w_output_options-tdteleland = lv_land1.
w_output_options-tdtelenum = lv_fax.
w_output_options-faxformat = 'PS'.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
But i am supposed to show my client a standard layout first and then ask them if this solves our requirement and then go ahead.This is my actual requirement first and then the coding starts.I need to have the following things
1.The layout if there is any standard layout.
2.The form name,if there is any for send customer statements.
3.If you have done this object ,can u send in the copy of the form layout.
User | Count |
---|---|
87 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
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.