SAP Note 1306368 - Upload images in SAP Promotions 7.0 application

Component : Promotions - Foundation Component

Solution : https://service.sap.com/sap/support/notes/1306368 (SAP Service marketplace login required)

Key words :
call method cl_gui_frontend_services=>gui_upload            exporting              filename                = gv_filename              filetype                = gv_filetype              read_by_line            = c_bool_true            importing              filelength              = gv_filelength            changing              data_tab                = gt_files            exceptions              file_open_error        = 1              file_read_error        = 2              no_batch                = 3              gui_refuse_filetransfer = 4              invalid_type            = 5              no_authority            = 6              unknown_error          = 7              bad_data_format        = 8              header_not_allowed      = 9              separator_not_allowed   = 10              header_too_long        = 11              unknown_dp_error        = 12              access_denied          = 13              dp_out_of_memory        = 14              disk_full              = 15              dp_timeout              = 16              not_supported_by_gui    = 17              error_no_gui            = 18, call method cl_gui_frontend_services=>directory_list_files          exporting            directory                  = gv_directory            directories_only            = c_bool_true          changing            file_table                  = gt_dir_table2            count                      = gv_count          exceptions            cntl_error                  = 1            directory_list_files_failed = 2            wrong_parameter            = 3            error_no_gui                = 4            not_supported_by_gui        = 5, call method cl_gui_frontend_services=>directory_list_files        exporting          directory                  = gv_directory          files_only                  = c_bool_true        changing          file_table                  = gt_file_table2          count                      = gv_count        exceptions          cntl_error                  = 1          directory_list_files_failed = 2          wrong_parameter            = 3          error_no_gui                = 4          not_supported_by_gui        = 5, call method cl_gui_frontend_services=>directory_list_files        exporting          directory                  = gv_rootdir          directories_only            = c_bool_true        changing          file_table                  = gt_dir_table          count                      = gv_count        exceptions          cntl_error                  = 1          directory_list_files_failed = 2          wrong_parameter            = 3          error_no_gui                = 4          not_supported_by_gui        = 5, call method cl_gui_frontend_services=>directory_browse    exporting      window_title        = gv_title      initial_folder      = c_path    changing      selected_folder      = gv_rootdir    exceptions      cntl_error          = 1      error_no_gui        = 2      not_supported_by_gui = 3, call function 'scms_binary_to_text'          exporting            input_length  = gv_inputlen          importing            output_length = gv_outputlen          tables            binary_tab    = gt_data_bin            text_tab      = gt_data_txt          exceptions            failed        = 1, user selection screen                  call function 'trint_split_file_and_path'                    exporting                      full_name    = gv_fieldvalue                    importing                      stripped_name = gv_act_file                      file_path    = gv_file_path                    exceptions                      x_error      = 1, exporting                  i_url              = gv_url                importing                  e_is_folder        = gv_folder                  e_content          = gv_current                  e_loio            = gv_loio                exceptions                  parameter_missing  = 1                  error_occured      = 2                  not_found          = 3                  permission_failure = 4, call function 'scms_upload'          exporting            filename = gv_filename1            frontend = 'x'          importing            filesize = gv_size          tables            data    = gt_data          exceptions            error    = 1, call method gr_api->put              exporting                i_url                    = gv_url                i_content                = gv_conte

Related Notes :

1335913Release Information Note for SAP PMR 7.0 SP01
1319965Image Import: Performance issue when processing image data
1306285Release Information Note (RIN) SAP Promotions Management 7.0
1282601Installing SAP Promotions 7.0 based on RTLDMF 1.1