cancel
Showing results for 
Search instead for 
Did you mean: 

Port sequence and file processing in SAP MDM

Former Member
0 Kudos

Hi All,

Can any one let me know how port sequence mechanism works in MDM 7.1? As per my understanding in SAP MDM no one files from different ports are processed simultaniously...Suppose if you have three different ports A,B,C and the scenairo is as below:

SAP PI sends 2 files to A port and then sends 2 more files to B port and then sends 1 file to C port....All these files are not send simultaniously.

Thanks

Rajeev

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Rajeev,

Strictlly speaking you cannot control order of processing files in MDM.

However you can delay the files coming to MDM at interface level itself.

If you are using PI to push data to MDM you can set a time lag in Pi itself.

This can be done either in Message Mapping or set appropriate Polling interval of sender Adapter.

Thanks,

Ravi

Former Member
0 Kudos

Hi Ravi,

So you mean to say MDM doesnt have any order of processing files based on ports?? as per my scenario it can pick up any file from the port at any time?

Regards,

Rajeev

Former Member
0 Kudos

In MDM Console, you can define the order or sequence of ports.

But as mentioned in my previous message, MDIS processes all files in a port in FIFO manner and then scans next port in sequence.

If you want, MDM to process First file from port A and then Second file from Port B and then Third file from Port A again.

You need to create a new port C for the third file. IF you want all three to be generated at the same time.

Thanks,

Shambhu.

Former Member
0 Kudos

Hi Verma,

Thanks for your inputs but Ravi's comments says its not possible to control the process of sequence...

So if all port files comes one after another then is it possible to contorl???

My concern is that every day at certain time SAP PI will send the file.. but at that time dont know MDIS is pointing to which port may be Port2 and we have 15 ports..... SAP PI will send files one port files then second port files and so on... In the above case if SAP MDM polling in Port2 it means it miss Port1 and start processing Port3 and so on.. Does this happens???

Thanks

Rajeev

Former Member
0 Kudos

Hi Rajeev,

I completely agree with Shambhu on this but my point is what if there is a exception any of the folder?

The whole sequence will have an impact.

However,if you can have separate polling interval for ports then this can be handled.

Thanks,

Ravi

Former Member
0 Kudos

Hi Rajeev,

Assume your PI generates all files at 1015 AM in a time frame of 1 minute.

Setup Interval parameter in MDIS.ini = 1800 (i.e. 30 minutes). MDIS will start port scan every 30 minutes. Restart your MDIS server once at 0900 AM, so the next run will be at 0930, 1000, 1030 .... and so on.

So after PI generates the file, MDIS will import all the files in Port Sequence FIFO.

For timing and interval setup, try a test run and set it as required.

Thanks,

Shambhu.

Answers (1)

Answers (1)

Former Member
0 Kudos

http://help.sap.com/saphelp_mdm550/helpdata/en/43/120367f94c3e92e10000000a1553f6/frameset.htm

Once started, MDIS scans inbound ports in the order set by the Sequence column in the Ports pane of the MDM Console. When it finds a port containing an import file, it uses the portu2019s associated import map to process the file.

The sequence in which MDIS processes ports is not affected by a portu2019s remote system.

MDIS processes all files in a portu2019s Ready folder before scanning the next port in the sequence.

When more than one import file is present in the folder, MDIS processes the files in a FIFO (first in, first out) order, meaning the oldest file in the port is processed first, then the next oldest, and so on.

Under certain circumstances, MDIS will skip over a port and not process any import files it may contain. These circumstances include the following:

· Port is set up for manual processing instead of automatic.

· Port is blocked due to a structural exception.

· Port is connected to an Import Manager or other MDIS.

Once all ports on the MDM Server have been scanned, MDIS waits the number of seconds specified in the Interval property of the mdis.ini file before restarting the sequence (for more information, see MDIS Configuration).

Thanks,

Shambhu.