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

MSDS output XML

Hello All,

Is it possible with standard SAP ín Report shipping to send an MSDS as an XML file?

I have seen that the output format can be set as XML, however is still get a PS file.

Any suggestions?


Regards

Peter

Add comment
10|10000 characters needed characters exceeded

3 Answers

  • Best Answer
    Posted on Aug 21, 2013 at 12:00 PM

    Hi Peter,

    yes basically you can.

    Just layout the WWI report template having all the XML tags in it.

    have the WWI Server save it as TXT.

    If you need UTF-8, you can use the PrintUserExit in WWI.INI and define XML as output type and use a macro that saves the file as UTF-8.

    Regards,

    Christian

    Add comment
    10|10000 characters needed characters exceeded

  • Posted on Apr 10, 2013 at 10:55 AM

    Hi Peter,

    The only medium of output is RTF, PCL,PS and PRN format.

    It is not possible to convert to an XML file.

    Set Up Save Format for Output Format ANY

    If you use the source document format ANY in Customizing activity specify commu-nication, you can define in the WWI.INI file the respective Microsoft Word file format in which you want the document saved as follows:

    [Format]

    DocTypeAny=n n corresponds to the internal value of the FileFormat parameter of the Word macro command ActiveDocument.SaveAs.:

    0 = wdFormatDocument

    4 = wdFormatDOSText

    5 = wdFormatDOSTextLineBreaks

    6 = wdFormatRTF

    1 = wdFormatTemplate

    2 = wdFormatText

    3 = wdFormatTextLineBreaks

    7 = wdFormatUnicodeText

    8 = wdFormatHTML (Word XP)

    9 = wdFormatWebArchive (Word XP)

    10 = wdFormatFilteredHTML (Word XP)

    In addition to these values, other unique numbers are possible that specify an external file conversion program. For more information, see the online help for Microsoft Word Visual Basic.

    Regards

    Dhinesh

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 09, 2013 at 03:20 PM

    HI Peter,

    I think, it's not possible. I never tried it.

    In Standard SAP database only dealt with the PS or PCL file.

    and for Inbound documents, only PDF files will be accepted.

    WWI reports templates opens in word file format (.doc). and the data can be transferred in .dat file format.

    There is no such special function to convert the final report into XML

    If I come across any of such things, will get back to you.

    find the link below -

    http://help.sap.com/saphelp_470/helpdata/EN/9a/a5fdc84e4911d3940a080009b98822/frameset.htm

    Regards

    kamal

    Add comment
    10|10000 characters needed characters exceeded