cancel
Showing results for 
Search instead for 
Did you mean: 

Process files PI in same sequence created in FTP

Former Member
0 Kudos

Hi,

These are examples of files going from PPR(non sap system) to SAP R/3 via FTP.

Filename format is DOCNUM_DOCSEQ_IDOCtype.XML

PPR system is designed to have the files processed in DOC_NUM order.

Items with the same DOC_NUM need to be processed in the same DOC_SEQ order.

These two items are used to keep things in the proper order. The IDOCtype is informational only.

Below are some file format:

003461672_11_zrepman_gr

003461672_23_zclass

003461672_34_zorder_chg

0003463284_01_sdpiid01

0003463284_99_tpssht01

003484949_001_mbgmcr

003484962_01_zrepman_gi

Lets take the example of below files:

003461672_11_zrepman_gr

003461672_23_zclass

003461672_34_zorder_chg

My requirement : PI has to pick and process the file in same sequence that is created in source application.

Suppose application system created above 3 files in sequence ( like 11,23,34) and place this into FTP so

PI has to pick and process the file from FTP in sequence based on DOCNUM (003461672) if DOCNUM is same then

PI has to pick the file based on DOCSEQ (11 then 23 ,34...).

If IDOC's are processed out of order, they fail and require reprocessing.

Can anyone please guide me to resolve this issue?

Thanks & Regards,

Subbu

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Similar problem has been discussed at below link.

Processing Sequence can be configures easily for NFS as below:

Processing Sequence (for transport protocol File System (NFS))

If you used placeholders when specifying the file name, define the processing sequence of the files:

○ By Name: Files are processed alphabetically by file name.

○ By Date: Files are processed according to their time stamp in the file system, starting with the oldest file.

Regards,

Shweta.

former_member200962
Active Contributor
0 Kudos

We do not have these options for FTP (as it is required in this question).

Applying EOIO is one of the solution that I can think of.

Regards,

Abhishek.