on 04-04-2008 10:12 AM
Hi,
I have used CONVERT_OTF_AND_FAX and SO_OBJECT_SEND FM's to send the smartform through fax.After executing SO_OBJECT_SEND function module,I am getting sy-subrc alue as 9(OBJECT_NOT_SEND).I am able to send the document through fax.But when I click on display in SOST transaction it is just printing the output of the smartform.It is not coming in PDF format.
The code looks fine.I think there is some problem with confuration settings.Is there any configuration to be done to send the smartform output through fax?
Please reply.
Regards,
Hema
Hi,
How is configure your message in transaction NACE because here you can define support FAX and so there is a standard solution for this .
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
When you define your message output in transaction NACE you define the output support for it . It can be Printer ( support 1 ) or EDI ( support 6 ) or Fax support 2 ) .
When you create your document in SAP , entries are added in the NAST Table according to your message definition and generation . If an entry is add with support type 2 , then when it's executed the system IN STANDARD retrieve the Fax number of the partner define for the message and process it ( Fax is send ).
Of course you have to define correctly the connexion between SAP and your Fax line ( you can see it in transaction SCOT ).
Hope this help you
Best regards
Hi,
In NACE set the layout to "SYSTEM STATUS" . you will see all possible nodes for exteral communication from SAP .
If under node FAX there's nothing so that means that the configuration is missing
If there is a node under it, double click on it . A popup window will appear with the fax configuration, check that the node is set to "Node in use" .
Regards
Hi,
Actually,my requirement is to send the smartform output through email with medium 'external send'.I have done some coding for that.it is working fine and I am able to send the smartform through email and open the attachment in PDF format.
But if the email id of the recipient is not present then the smartform output has to be sent through fax with the same medium 'external send'.
So I have done some coding to send the smartform through fax when the email id is not present.
I am able to send the output of smartform through fax.But when I clicked on display in SOST transaction,it is not coming in PDF format.It is coming in RAW format.
Is it possible to send the smartform output through fax with medium 'external send'?
Regards,
Hema
Try this
1. Get OTF output of the form .
When calling Smartform, pass to parameters
Exporting
control_params-getotf = 'X'.
IMPORTING
job_output_info = structoutput
OTF data is in structoutput-otfdata
Use this FM to the rest
CONVERT_OTF_AND_FAX
Reward if useful.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.