Skip to Content
avatar image
Former Member

how to upload XML file from Application server.

Hi,

How to upload XML file from Application server.Please tell me as early as possible.

Regards,

Sagar.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

4 Answers

  • avatar image
    Former Member
    Sep 02, 2008 at 09:12 AM

    hi

    refer to thess links..these will solve your problem.

    XML file upload from Application server

    Error in uploading file from Application server

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 02, 2008 at 09:12 AM

    Hi,

    I hope the below link will help you.

    XML file upload from Application server

    Thanks,

    Khushboo.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 02, 2008 at 09:13 AM

    hii

    u can use GUI_UPLOAD functon to do this.

    thanks & regards

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 02, 2008 at 09:36 AM

    Hi,

    parameters : p_file type ibipparms-path obligatory.

    ***DOWNLOAD---->SAP INTO EXCEL

    filename1 = p_file.

    call function 'GUI_DOWNLOAD'

    exporting

    • BIN_FILESIZE =

    filename = filename1

    filetype = 'ASC'

    • APPEND = ' '

    • WRITE_FIELD_SEPARATOR = 'X'

    • HEADER = '00'

    • TRUNC_TRAILING_BLANKS = ' '

    • WRITE_LF = 'X'

    • COL_SELECT = ' '

    • COL_SELECT_MASK = ' '

    • DAT_MODE = ' '

    • CONFIRM_OVERWRITE = ' '

    • NO_AUTH_CHECK = ' '

    • CODEPAGE = ' '

    • IGNORE_CERR = ABAP_TRUE

    • REPLACEMENT = '#'

    • WRITE_BOM = ' '

    • TRUNC_TRAILING_BLANKS_EOL = 'X'

    • WK1_N_FORMAT = ' '

    • WK1_N_SIZE = ' '

    • WK1_T_FORMAT = ' '

    • WK1_T_SIZE = ' '

    • IMPORTING

    • FILELENGTH =

    tables

    data_tab = it_stock

    • FIELDNAMES =

    exceptions

    file_write_error = 1

    no_batch = 2

    gui_refuse_filetransfer = 3

    invalid_type = 4

    no_authority = 5

    unknown_error = 6

    header_not_allowed = 7

    separator_not_allowed = 8

    filesize_not_allowed = 9

    header_too_long = 10

    dp_error_create = 11

    dp_error_send = 12

    dp_error_write = 13

    unknown_dp_error = 14

    access_denied = 15

    dp_out_of_memory = 16

    disk_full = 17

    dp_timeout = 18

    file_not_found = 19

    dataprovider_exception = 20

    control_flush_error = 21

    others = 22

    .

    if sy-subrc <> 0.

    • MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

    • WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

    endif.

    Regards,

    Deepthi.

    Add comment
    10|10000 characters needed characters exceeded