Skip to Content
author's profile photo Former Member
Former Member

Fax not working..

Hi,

I referred lots of posts in SDN and implemented the following code but no fax output is seen in SOST. what could be wrong ? I am not able to debug even after putting break-point in the print program. Any way I can debug this ? This print program is triggered when a PO is saved.

Also even if the fax number is not correct, still I will be able to see an entry in SOST, right ? After that faxing might fail, but still I should be able to see a line in SOST ??

I go to PO in ME22N and then repeat output on NEU ..But the medium is external send... bcos if i set it as fax it is popping a dialog asking the fax num. I basically want to pull the fax num from adr3 based on my logic and to all numbers as found in t_vendor_faxnums, I want to send the PO smartform output.

Please advise...

If t_vendor_faxnums is not initial.

w_faxoptions-tdotftype = 'ASC'.

w_faxoptions-faxformat = 'ASC'.

w_faxoptions-tddevice = 'TELEFAX'.

w_faxoptions-tdteleland = 'IT'.

w_faxoptions-tdsenddate = sy-datum.

w_faxoptions-tdsendtime = sy-uzeit.

w_faxoptions-tdtitle = 'Purchase Order'.

loop at t_vendor_faxnums into w_faxnum.

w_faxoptions-tdtelenum = w_faxnum.

CALL FUNCTION 'CONVERT_OTF_AND_FAX'

EXPORTING

faxoptions = w_faxoptions

user = sy-uname

TABLES

otf = i_otf.

COMMIT WORK.

submit RSCONN01 with MODE = 'FAX' and return.

endloop.

endif.

thanks

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Aug 26, 2010 at 06:59 PM

    To debug, you need to get into update debugging. Once in the debugger mode, go to system->update debugging and it will stop in the print program.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.