Skip to Content
author's profile photo Former Member
Former Member

conversion of idoc into xml without XI

Hi everyone

i am working on EDI i want to know procedure to convert our idoc into XML without using XI. is it possible, if yes then plz reply me with procedure.

Thanks & Regards

Vimarsh

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 05, 2008 at 05:23 PM

    hi,

    try to change the parameter FILETYPE from ASC to BIN

    bye

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 05, 2008 at 03:03 PM

    hi,

    yes it's possible.

    in transaction we21 you can define 2 different type of port who generate an xml from a IDoc.

    The exchange of IDocs using XML files at the operating system level. The names of XML tags refer to the IDoc record types or IDoc segments

    check this link and go to xml - e commerce

    [http://help.sap.com/saphelp_nw2004s/helpdata/EN/dc/6b7f5643d711d1893e0000e8323c4f/frameset.htm]

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Nicolai

      Thanks for ur suggestion, i have one more doubt regarding this, i got this program to convert my records in XML but whatever output i m getting that comes in form of excell sheet, i am sending you that program which not working,

      report zexternalfile .

      tables : zzpublisher,

      sscrfields.

      data: it_publisher like standard table of zzpublisher,

      wa_publisher like zzpublisher.

      select * from zzpublisher into table it_publisher.

      call function 'GUI_DOWNLOAD'

      exporting

      BIN_FILESIZE =

      filename = 'C:\externalfiles\kamal.XLS'

      FILETYPE = 'ASC'

      APPEND = ' '

      write_field_separator = 'X'

      HEADER = '00'

      TRUNC_TRAILING_BLANKS = ' '

      WRITE_LF = 'X'

      COL_SELECT = ' '

      COL_SELECT_MASK = ' '

      DAT_MODE = ' '

      IMPORTING

      FILELENGTH =

      tables

      data_tab = it_publisher

      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.

      IF YOU HAVE ANY OTHER OPTION THEN PLEASE SEND ME, I WILL BE VERY THANKFUL FOR YOU.

      PLEASE SEND ME WHOLE PROCEDURE IF YOU CAN.

      THANKS & REGARDS

      VIMARSH

  • author's profile photo Former Member
    Former Member
    Posted on Jan 06, 2008 at 04:48 AM
    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.