‎2006 Aug 11 12:11 PM
hi to all,
In sap script i have to do mailing and fax to the vendor of the payment advice with the payment method of "Bank Transfer". but i am not getting where to configure the mail and fax, because the payment remittance advice is not in the NACE output. so where i have to configure.
‎2006 Aug 11 12:27 PM
hi
good
go through this report which ll give you the idea how to send the mail from sap script which you can incorporate in your requirement.
The script builds a temporary file and pipes the file to the sendmail command to achieve the mission.
This script can be invoked from SAP to send the mail to the intended recipient. Store this small script on the unix server. (Assume script name is sndmail )
To do this we should define a link in the SAP system between a customized command and this unix script.
The FM to define a customized command in SAP system has the following pattern.
call function 'SXPG_CALL_SYSTEM'
exporting
commandname =
PARAMETERS = ' '
importing
status =
tables
exec_protocol =
exceptions
no_permission = 1
command_not_found = 2
parameters_too_long = 3
security_risk = 4
wrong_check_call_interface = 5
program_start_error = 6
program_termination_error = 7
x_error = 8
parameter_expected = 9
too_many_parameters = 10
illegal_command = 11
others = 12.
thanks
mrutyun