cancel
Showing results for 
Search instead for 
Did you mean: 

2 files scenario design

former_member440449
Participant
0 Kudos

Hey guys,

I have a simple interface where I need to get 2 files from an FTP directory, and then post it in SAP. Once both files are posted, I need to do an RFC call but only once.

So the flow will be:

FILE1 AND FILE2 --> PI --> FILE1 AND FILE2 IN SAP --> RFC CALL

Is it possible to do this without using BPM? If so, how?

Thanks!

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

Build the interface in the order as required please check the checkbox maintain order at runtime in interface determination.

so after completion of first one second one will happen

Answers (3)

Answers (3)

former_member440449
Participant
0 Kudos

The files are different.

Finally, I decide to use BPM here.

I will open a new topic on this.

Thanks all!!!

Former Member
0 Kudos

We can do it without BPM.

Step 1: Use a sender file adapter to receive the files in PI.

Step 2: Store the file in the application server of PI.

Step 3: Have a second scenario to read the files using ABAP mapping.

Source would be a dummy interface.

Inside the ABAP Class we can use OPEN DATASET to read the files and store the data in separate internal tables.

Step 4: Use the Internal tables to map the RFC.

Step 5: Other configurations for Integration directory will be for the 2 different scenarios ( 1st file being received in PI and the 2nd would be for the dummy file interface to RFC ).

Regards,

Indranil

naveen_chichili
Active Contributor
0 Kudos

Hi,

Depends on your files you need to develop your scenario....is your File1 and File2 are similar or different ?

Need to build your scenario accordingly and use maintain order at runtime in Interface determination in ID.

Regards,

Naveen