Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

File Encryption

Former Member
0 Likes
477

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.

3 REPLIES 3
Read only

Former Member
0 Likes
434

Hi,

CALL FUNCTION 'SXPG_COMMAND_EXECUTE'.

http://www.sapfans.com/forums/viewtopic.php?t=28530

Thanks & regards.

Read only

Former Member
0 Likes
434

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

Read only

0 Likes
434

Hi krupaji, what command and parameters am i suppose to pass to FM?