cancel
Showing results for 
Search instead for 
Did you mean: 

Parameter for sending a smartform by fax in a Z program.txt

former_member480606
Participant
0 Kudos

Hi all,

I have to send a smartform by a fax using the SCOT transaction that is already setted in a rigth way with an apposite node.

In my custom program (in order to test I copied the std pgm SF_EXAMPLE_01 in my Z program ) and I call the dynamic function "CALL FUNCTION FM_NAME" linked to my SMARTFORM. In this point, before the "CALL FUNCTION FM_NAME" I'm filling structure OTPUT_OPTIONS and CONTROL PARAMETER as follow:

OUTPUT_OPTIONS-TDTELELAND = 'IT'.

OUTPUT_OPTIONS-TDTELENUM = '0499289621'.

OUTPUT_OPTIONS-TDSCHEDULE = 'IMM'.

OUTPUT_OPTIONS-TDSENDDATE = SY-DATUM.

OUTPUT_OPTIONS-TDSENDTIME = SY-UZEIT.

OUTPUT_OPTIONS-TDDEST = 'FAX'.

CONTROL_PARAMETERS-DEVICE = 'TELEFAX'.

CONTROL_PARAMETERS-NO_DIALOG = ' '.

The name of my output dispositive is 'FAX'.

When I execute my Z program the systyem show me the FAX-POPUP but when I go in SCOT/SOST transaction I don't see any request. why?

Any help?

Gino

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member480606
Participant
0 Kudos

I solved it: I added the instruction COMMIT WORK after all