cancel
Showing results for 
Search instead for 
Did you mean: 

Message Mapping from flat XML to a Record structure

Former Member
0 Kudos

Hi All,

We have a scenario in which the input message is a PDF document. we are following below the blog to convert PDF to XML format which uses <b>PDF box utitlity</b>.

/people/sap.user72/blog/2005/07/31/xi-read-data-from-pdf-file-in-sender-adapter

We are able to convert the PDF doc to a flat XML file.

Now we have the following queries...

what are the different ways to map the flat XML to our record structure?

Do we have any utitlity in PDF box to do that?

Regards,

Rakesh.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi!

Why do you not use the Graphical Mapping Tool of XI?

Regards,

Volker

Answers (3)

Answers (3)

former_member91687
Active Contributor
0 Kudos

Hi Udo,

I do agree on the points mentioned by you, it depends on how you want to model your scenario and how best you can do it and how comfortable you are doing it.

Regards,

Chandra

former_member91687
Active Contributor
0 Kudos

Hi Rakesh,

You have Graphical mapping, Java mapping, ABAP mapping and XSLT mapping. The choice depends on the scenario and what target result you require.

<b>Message mapping using graphical mapping editor:</b>

http://help.sap.com/saphelp_nw04/helpdata/en/49/1ebc6111ea2f45a9946c702b685299/frameset.htm

<b>XSLT mapping:</b>

http://help.sap.com/saphelp_nw04/helpdata/en/73/f61eea1741453eb8f794e150067930/frameset.htm

<b>Java Mapping:</b>

http://help.sap.com/saphelp_nw04/helpdata/en/e2/e13fcd80fe47768df001a558ed10b6/frameset.htm

<b>ABAP mapping:</b>

http://help.sap.com/saphelp_nw04/helpdata/en/ba/e18b1a0fc14f1faf884ae50cece51b/frameset.htm

As said earlier, graphical mapping is the simplest and quite a few built in options are available with it, explore it and see which is suitable for your scenario.

Regards,

Chandra

udo_martens
Active Contributor
0 Kudos

Hi Chandravadhana,

aeh, sorry, i dont agreee. Every mapping has its special field of application.

It depends, what do you want to do.

And who is doing that.

And who is changing that later.

And how important thing like performance or time to develope.

And some more...

Regards,

Udo

Former Member
0 Kudos

Hi,

Depends on complexity, use any mapping. Best and simplest is Graphical Message Mapping.

Thanks,

Prateek