cancel
Showing results for 
Search instead for 
Did you mean: 

IDOC-->PI-->flat xml file

Former Member
0 Kudos

Hi ,

we are working on a HR IDOC>PI>flat xml file scenario.

Idoc name is HRMD_A07.

we have consolidated some 10 interfaces together.

Plan is to,

1)(master interface) get the idoc data into a flat xml file, where flat xml consists of unique fields of all 10 interfaces.

2)Later, use flat xml as input to 10 interfaces, which are FILE>PI>FILE.

we are facing problem in master interface. The data is not coming properly in flat xml.

Can you guys suggest the proper way to do this.

should we use,

1)abap mapping, with standard functionality to convert idoc to flat file?

2)write a udf to get the proper data?

pls suggest the best approach.

san.

Accepted Solutions (0)

Answers (2)

Answers (2)

udo_martens
Active Contributor
0 Kudos

Hi San,

you gave us nearly no details, so it is hard to give you any recommandation.

PI provides 4 general possibilities for mappings:

Graphical: Standard and for simple cases the best solution

XSL: Webstandard, in some cases much less development time compare to graphical (if the message structure changes)

ABAP: For special cases (access to ABAP tables, operations before parsing)

Java: For special cases

Regards,

Udo

VijayKonam
Active Contributor
0 Kudos

I did work for with HRMD IDoc and it is quite complicated. You would need proper node contexts and UDF to move the data in to proper records. I do not think ABAP mapping or Java mapping is needed. Graphical Mapping with UDFs should be more than sufficient.

VJ

Former Member
0 Kudos

hi vijay,

Thanks for your response.

can you provide some more insight into it & provide further details like udf psuedo code etc.....

san