Quantcast
Channel: SCN : All Content - ABAP Development
Viewing all articles
Browse latest Browse all 8332

Payslip PDF file encripted or password protected while sending mail

$
0
0


I created commend line in SM69 but my problem is how to pass  Parameters for operating system command in below function module. t_result came

 

55 Can't exec external program (No such file or directory)
44 External program terminated with exit code 1

 

these error how to over come this

kindly do need full ABAPER

 

 

  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.


Viewing all articles
Browse latest Browse all 8332

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>