cancel
Showing results for 
Search instead for 
Did you mean: 

Problem: Smartform not sent as Fax

Former Member
0 Kudos

I am trying to send a fax but it is not going. I am encountering no error.

Please help, its urgent. Thank you.

Below is the code i am using .

CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'

EXPORTING

FORMNAME = c_formname

IMPORTING

FM_NAME = v_fmname

EXCEPTIONS

NO_FORM = 1

NO_FUNCTION_MODULE = 2

OTHERS = 3.

IF SY-SUBRC <> 0.

MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

ENDIF.

wa_ctrlop-NO_DIALOG = 'X'.

wa_ctrlop-DEVICE = 'TELEFAX'.

wa_ctrlop-PREVIEW = 'X'.

wa_ctrlop-GETOTF = 'X'.

*---SET OUTPUT PARAMETERS FOR FAX

wa_compop-TDTELELAND = 'MU'.

wa_compop-TDTELENUM = '2304021800'.

wa_compop-TDSCHEDULE = 'IMM'.

wa_compop-TDSENDDATE = SY-DATUM.

wa_compop-TDSENDTIME = SY-TIMLO.

*---NOW CALL THE GENERATED FUNCTION MODULE

CALL FUNCTION v_fmname

EXPORTING

V_FLAGI = v_flagi

V_FLAGP = v_flagp

V_BUKRS = v_bukrs

WA_HEADER_DETAILS = wa_header_details

  • ARCHIVE_INDEX =

  • ARCHIVE_PARAMETERS =

CONTROL_PARAMETERS = wa_ctrlop

  • MAIL_APPL_OBJ =

  • MAIL_RECIPIENT =

  • MAIL_SENDER =

OUTPUT_OPTIONS = wa_compop

  • USER_SETTINGS = WA_USER_SETTING

IMPORTING

  • DOCUMENT_OUTPUT_INFO =

JOB_OUTPUT_INFO = wa_return

TABLES

*-- passing internal tables

I_ITEMS = i_lips

I_PALLETS = i_pallets

*-- passing internal tables

EXCEPTIONS

FORMATTING_ERROR = 1

INTERNAL_ERROR = 2

SEND_ERROR = 3

USER_CANCELED = 4

OTHERS = 5.

COMMIT WORK.

IF sy-subrc EQ 0.

MESSAGE i001.

ENDIF.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

THREAD CLOSED BUT NOT RESOLVED.

Former Member
0 Kudos

Have you configured transaction SCOT? Do you have fax server? If you have these in place you need to check the transmission in SCOT and look at the log, if these are fine check your fax server for their transmission logs.

Regards,

Nick

Former Member
0 Kudos

Hello,

every thing configured but the fax is not logged in trransaction SCOT.

Thanks

Former Member
0 Kudos

Looking at your code I think it's the parameter;

wa_ctrlop-GETOTF = 'X'.

This field is described as "Return of OTF table. No printing, display, or faxing", so by setting this flag the smartform will only return the output in OTF format to the calling program. I don't think this is what you want to happen.

Regards,

Nick

Former Member
0 Kudos

Surely..

I removed teh parameter, i got the print preview, i clicked on send fax.

The spool request for fax was created as indicated by the status message.

Unfortunately, neither in SP01 nor in SCOT such a request was found.

Please help.

Thank you

Former Member
0 Kudos

The last time I encountered this problem I found in order to send a fax the user generating it needed a fax number against their user master. This was a few releases ago, so things may have changed since then.

Regards,

Nick

Former Member
0 Kudos

I tried checking in SOST, the request was created but with the following message

'Still no entry in queue'.

Any suggestion please?

Thank you.

Is there any other methods to send smartform as fax?

Former Member
0 Kudos

If you have an entry in SOST then you have moved on to a different problem. You will need to check the set up of SCOT and the detail of the send request in SOST.

There's not much more I can contribute.

Regards,

Nick

Former Member
0 Kudos

Loads of thanks for your time and help Nick.

Regards,

Lina

Former Member
0 Kudos

Former Member
0 Kudos

Hello experts,

I badly need a solution, please help..

Thank you.

Former Member
0 Kudos

Hi Lina,

I did nit see in the code you passing the output device. Can you please specify the output device.

Regards,

KK

Former Member
0 Kudos

Hello KK,

I am new to smartform, can you please be a little more specific with the help of an example?

Thank you,

Regards,

lina

Former Member
0 Kudos

Hi,

I was speaking about the following line of code:

output_options-tddest = <Name of output dest>

Regards,

KK

Former Member
0 Kudos

Hi,

Ok , i tried it, and in SCOT the fax was in status "error".

Can you please let me know how can i know the name of the output device?

Thank you.

Regards,

Lina

Former Member
0 Kudos

Hello,

Please help, its urgent.

I am getting trouble sending smartform as fax,

succeeded in sending as pdf attachment via mail,

but not as fax.

When am checking in SOST it is marked as error.

"Parameters cannot be converted".

i badly need help.

regards,

Lina

Former Member
0 Kudos

Hello,

Now, I am getting the following error message in SOST.

Status for Recipient MU 4021800:

Cannot process message in node, parameters cannot be converted

Can someone please provide me with a solution, it's really urgent.

Thank you.

Former Member
0 Kudos

I am getting at the first place message 672 in SOST with waiting status.

"waiting for communications service".

If i send it from SOST then message 821 comes up with error status.

"Cannot process message in node, parameters cannot be converted".

Can anyone please help?

Thank you,

Regards,

Lina