Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

A program that faxes

Former Member
0 Kudos

Hi,

I want to write a program that faxes a document to a couple of fax numbers. How can I do this?

Thanks in advance

1 ACCEPTED SOLUTION

former_member194669
Active Contributor
0 Kudos

One way will be using function module


I_OPT-TDTELENUM = V_NUMBER. " Fax Number

I_OPT-TDTELELAND = V_COUNTRY. " Specify Country of recipient 
CALL FUNCTION 'PRINT_TEXT' 
EXPORTING 
APPLICATION = 'TX' 
DEVICE = 'TELEFAX'          "For fax 
DIALOG = 'X' 
HEADER = HEADER 
OPTIONS = I_OPT 
IMPORTING 
RESULT = RESULT 
TABLES 
LINES = I_CONTENT.

1 REPLY 1

former_member194669
Active Contributor
0 Kudos

One way will be using function module


I_OPT-TDTELENUM = V_NUMBER. " Fax Number

I_OPT-TDTELELAND = V_COUNTRY. " Specify Country of recipient 
CALL FUNCTION 'PRINT_TEXT' 
EXPORTING 
APPLICATION = 'TX' 
DEVICE = 'TELEFAX'          "For fax 
DIALOG = 'X' 
HEADER = HEADER 
OPTIONS = I_OPT 
IMPORTING 
RESULT = RESULT 
TABLES 
LINES = I_CONTENT.