cancel
Showing results for 
Search instead for 
Did you mean: 

How does SAP PI picks the file when MDM is syndicating the files?

Former Member
0 Kudos

HI All,

Can any one let me know about writing a file when MDM syndicate the files.. Scenario is as below:

MDM is syndicating the files and SAP PI is polling in to the Outbound ready folder... so my question is do MDM places the file when it completes or it will place the file and write it... I dont want SAP PI to pick it up when it is writing or incomplete file..

Please throw some light on this.

Thanks

Rajeev

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Rajeev

MDM places the file as part of Write operation. If write is unsuccesful the file will not be placed in the outbound folder.

By using PI adapter now there is no need for continuous polling of the MDM folders, instead the adapter uses APIs to read if any files are placed in folders. Please read more on this in below link-

http://help.sap.com/saphelp_nwmdm71/helpdata/en/48/956cd09521062de10000000a42189d/frameset.htm

Thanks-Ravi

Former Member
0 Kudos

Hi All,

So can any one confirm that there will not be a situation where PI will pick half written file from MDM Outbound ready folder??

MDM will place the XML file only when it is completly written???

Regards,

Rajeev

Former Member
0 Kudos

Hi Rajeev,

Yes there will not be such scenario.

MDM imposes read/write locks on records,only after that operation is complete MDM releases that record.

MDS----Syndication Maps-->MDSS>Ready folder--->PI

So following this sequence PI can not by design bypass the steps before.

Thanks,

Ravi

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Rajeev,

SAP MDM has multiple read locks but only 1 write lock at a instant of time.

That ensures data consistency.

Now when you talk about complete files syndication,this only happens when the configuration that you have put your syndication map generates a file.This file is syndicated out from MDM system using MDSS.Only completed files are sent through MDSS as these changes/configurations are base on which file is generated.

Please refer to this very informative thread for PI related configuration for outbound scenario from MDM:

Also you can go through Pi adapter configutations here:

http://help.sap.com/saphelp_nwmdm71/helpdata/en/48/956cd09521062de10000000a42189d/frameset.htm

Thanks,

Ravi