‎2011 Nov 14 7:09 AM
Hi,
I'm sending a pdf file through email and have coded the same in ABAP. i want to encrypt the file before sending it.Is it possible to do encryption in ABAP?
Nidhi.
‎2011 Nov 14 7:36 AM
Hi,
CALL FUNCTION 'SXPG_COMMAND_EXECUTE'.
http://www.sapfans.com/forums/viewtopic.php?t=28530
Thanks & regards.
‎2011 Nov 14 12:07 PM
you can use following FM
c_extcom = is your external command
c_oper = is your operating system
v_dir_input = command_list-opcommand.
CALL FUNCTION 'SXPG_COMMAND_EXECUTE'
EXPORTING
commandname = c_extcom
additional_parameters = v_dir_input
operatingsystem = c_oper
TABLES
exec_protocol = t_result
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
wrong_asynchronous_parameters = 12
cant_enq_tbtco_entry = 13
jobcount_generation_error = 14
OTHERS = 15.
Edited by: Krupaji on Nov 14, 2011 1:07 PM
‎2011 Nov 14 12:29 PM
Hi krupaji, what command and parameters am i suppose to pass to FM?