cancel
Showing results for 
Search instead for 
Did you mean: 

Process Integration File adapter

Former Member
0 Kudos

file adaptor in PI was able to accumulate several messages into one file?

In other words, every 30 minutes or so, we will connect to any system to collect the documents. If I get there and find a list with 50 document, can I change the adaptor between ECC and PI to send the information as file instead of iDOC? Can this file have all 50 documents together instead of one file per PO, as the iDOC interface was going to do?

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

1) use collect Idoc and send as a batch.

2) Are you saying you want to change adapter (from idoc to file )at runtime ?? , No...

former_member200962
Active Contributor
0 Kudos

If the FILE which is to be picked up has an indication that it has 50 (or more files) , then using Conditional receiver Determination the target system (and hence the adapter/ protocol) can be selected.....will it work?

Regards,

Abhishek.

Former Member
0 Kudos

Let me clarify the question first. Please, correct me if anything doesn't make sense.

Every 30 minutes or so, our PI system will receive a burst of SOAP messages (xCBL format) from the provider transfering data to out ERP. The adapter between our PI and our ERP is an iDoc adapter. It means that, if in the 30 minutes interval I have 50 individual messages to receive, ( not one message with 50 documents ), PI will then create 50 iDocs in ERP (calling the iDoc import 50 times). This would be very resource consuming in our system (of course I am not talking only 50 and not for only one type of document).

The question is if we can change the iDoc adapter to ERP to a FILE adapter (custom format), and have this file adapter collect all messages into ONE unique file, describing 50 documents. This way, we can run a customized import program to process all 50 documens (or more) at once.

So, I don't want to convert the iDocs but to exchange it to batch file.

Clear as mud?

Former Member
0 Kudos

Are you looking for an opportunity to switch between adapters (IDOC & FILE) at run time based on number of files present in source directory?

If your ans to above question is YES then it is not possible.

But if you have decided to replace your IDOC adapter with FILE adapter then you can do that and you can use BPM collectPattern to collect all files into one and then send to your ERP system.

It's Clear as water.