cancel
Showing results for 
Search instead for 
Did you mean: 

file content conversion

Former Member
0 Kudos

Gurus,

Iam doing a Idoc to file(tab delmited txt) scenario.

Idoc Structure is TPSDLS01.

for header -> Record Type Order Number Warehouse ID .......

for details ->Record Type Order Number Warehouse ID Line Number.........

My txt file should look like:

Header1.......

Detail1............................

Detail2..............................

H2...........

Detail1......................

How to do the File content conversion in this case ?

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi ,

here i m giving some example to difine file conternt conversion.

take some vendor details.

that will be declaring like this

vendor_dt

vendorrecord

vendorstr

vno

vname

street

city

like this we have to define.

i hope u'll get my point.

moorthy
Active Contributor
0 Kudos

Hi,

Does your mapping output looks exactly similar what you expected ? i.e in SXMB_MONI after the mapping, if xml format looks exactly similar as you mentioned i.e

<i>Header1.......

Detail1............................

Detail2..............................

H2...........

Detail1......................</i>

so you need to just do the content conversion in normal way as described in the blogs mentioned in the earlier post.

If you are not getting this mapping output, make sure that you get this by using mapping rules/logic .

Hope this helps,

Rgds,

Moorthy

Former Member
0 Kudos

Hi ,

There are several threads dealing with similar issue

/people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1

/people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2

/people/venkat.donela/blog/2005/06/08/how-to-send-a-flat-file-with-various-field-lengths-and-variable-substructures-to-xi-30

/people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file

/people/shabarish.vijayakumar/blog/2005/08/17/nab-the-tab-file-adapter

/people/jeyakumar.muthu2/blog/2005/11/29/file-content-conversion-for-unequal-number-of-columns

/people/shabarish.vijayakumar/blog/2006/02/27/content-conversion-the-key-field-problem

/people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter

Besides you can use help as well

http://help.sap.com/saphelp_nw2004s/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/frameset.htm

Kindly check