cancel
Showing results for 
Search instead for 
Did you mean: 

How send a sapscript by Fax from an abap program

Former Member
0 Kudos

Hello!

We are using the PP module to edit some forms.

With standard SAP I didn't find how to send this form by FAx.

Now I'm searching to send it from the print program.

Is there a function modul or other way to send the form by Fax ?

Thanks for your help.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hello,

I found the solution.

You have just to use function module OPEN_FORM with the parameter device = 'TELEFAX'.

But if you want to see the fax in SOST you need to put COMMIT WORK at the end of your program.

Thanks for your help.

Former Member
0 Kudos

HI,

1. IF form is triggering through O/P type ,You need to use NAST-NACHA = 5(External medium) in your print program for FAX sending.

2. You can send form as pdf attachment either as a email of fax.

3.Get OTF data from form and then use FM 'SO_NEW_DOCUMENT_ATT_SEND_API1' for external send. Otherwise you can use SAPCONNECT by passing sender and receiver information to form. SCOT setting should have pdf option for form.Basis people has to configure this part.

4.Ask functional person to configure o/p type for external send and ask to maintain condition records accordingly.

Thanks.

Pankaj

Former Member
0 Kudos

hi,

Refer the following links:

[http://help.sap.com/saphelp_nw70/helpdata/en/a5/28d3b9d26211d4b646006094192fe3/content.htm]

[http://arthur_ong.tripod.com/xbc020.htm]

[;

[http://www.sap-img.com/abap/sending-fax-from-abap.htm]

Hope this will help you.

Regards,

Renuka S.

Former Member
0 Kudos

Thanks.

I tested with your last link by using function modul PRINT_TEXT.

When I print the form I have a message who inform me that the fax is well generate.

But when I launch SOST I don't see the form.

We already use Fax for SD documents, the SOST is ok.

Have you ideas ?

Former Member
0 Kudos

HI

Try transfer TELEFAX to DEVICE parameter of fm OPEN_FORM

Max