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

Text files

Hi,

I have a code in abap which does create text files.

OPEN DATASET OUTFILE FOR OUTPUT IN TEXT MODE.

transfer outdata to outfile.

Since I dont have access to text file, i dont know how it looks.

Can PI be able to convert a normal XML files into text file?

Regards

Krish

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    Posted on Dec 14, 2011 at 05:42 PM

    >Can PI be able to convert a normal XML files into text file?

    Yes it is possible use. FIle receiver adapter and message protocol file content conversion. Search SDN forum for fcc receiver side.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 15, 2011 at 04:18 AM

    HI,

    transfer outdata to outfile.

    Since I dont have access to text file, i dont know how it looks.

    Can PI be able to convert a normal XML files into text file?

    --->yes that is possiable with receiver file communication channel,

    --->in this channel we have to provide bellow parameters:

    1.message protocol is FCC

    2.And also add the following columns in the Content Conversion Parameters. These columns are sufficient to do this conversion.

    please go through this link:

    http://www.riyaz.net/sap/xipi-file-content-conversion-for-simple-structure/75/

    thanks,

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 15, 2011 at 05:41 AM

    Hi Krish,

    A text file can be converted into XML by PI File adapter and vice versa.

    In the message protocol, you need to keep the option as File content conversion.

    And you need to provide the File content conversion parameters under the content conversion Tab.

    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.