cancel
Showing results for 
Search instead for 
Did you mean: 

Question about StrictXml2PlainBean?

ng82si
Participant
0 Kudos

Hi Gurus,

I have a scenario in PI 7.31: proxy --> PI --> SFTP and convert XML File to ASCII File by using of StrictXml2PlainBean.

The XML files has 3 types rows as follows:

H, xxxx, xxxxxx, xx, xxx, xxx....

S, xxxxxx, xxxxx,x,x,...

M, x,x,xxx,xxxxxxxx,xxxx,x,x...

S,....

S,....

M,...

S,....

Could you tell me how to tell the row type H, S and M? whether the parameter KeyFieldValue works also with StrictXml2PlainBean.?

Anyone can give an example?

Hopefully you can understand what I say.

Thanks and regards

Christine

Accepted Solutions (0)

Answers (2)

Answers (2)

engswee
Active Contributor
0 Kudos

Hi Christine

You can use the following in your module configuration


recordTypes=H,M,S

H.fieldSeparator = ,

M.fieldSeparator = ,

S.fieldSeparator = ,

Following is the SAP library reference

Adding StrictXml2PlainBean (XML to Text) in the Module Processor - Adding Modules to the Module Proc...

Rgds

Eng Swee

nikhil_bose
Active Contributor
0 Kudos