cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic Archiving in File-Proxy Interface

markbernabe
Active Participant
0 Kudos

Hi Experts,

My scenario is File -> Proxy which updates certain data in the target SAP system. The logic in the receiver side is that, if the update fails, then the input file must be placed in Folder A. Else if the update is successful, then the file must be archived to Folder B.

Has anyone done this before? I know File interface is asynchronous so I'm not sure how to handle such kind of requirement.

Appreciate any inputs. Thanks!

Mark

Accepted Solutions (1)

Accepted Solutions (1)

gagandeep_batra
Active Contributor
0 Kudos

Hi Mark,

I think you can use approach like below if your data is not big:

File to two files

in mapping use rfc lookup which sends your data to ECC and give you status and based on status create the files

Regards

GB

Answers (3)

Answers (3)

markbernabe
Active Participant
0 Kudos

Hi Inaki, Gagandeep, We've changed the requirement and now there's no need to move the files around. But I appreciate all the inputs, they are very helpful. It's good to know that it's possible to use RFC lookup for scenarios like this. Thank you!

gagandeep_batra
Active Contributor
0 Kudos

Hi Mark,

Can you please make this thread as Answered .

Regard

Gb

vishal1889
Active Participant
0 Kudos

Hi Mark

I belive you should use BPM to cater your requirement, where depending on your response from proxy you can move your file.

Regards

VJ

markbernabe
Active Participant
0 Kudos

Hi Vishal, Thanks as well. I also thought this can be completed with BPM but we're trying to avoid it due to its complexity.

iaki_vila
Active Contributor
0 Kudos

Hi Mark,

If  i was you i would use a Async/Sync bridge, in other words a File - Proxy - File scenario (without ccBPM). Check a similar scenario here File-RFC-File(Without BPM) - Process Integration - SCN Wiki

Im not so sure if the proxy interface supports this bridge, also you can do two scenarios, File - Proxy and Proxy - File, then inside the ECC  the ABAPers should call the second scenario after the update-

Regards.

Message was edited by: Iñaki Vila

markbernabe
Active Participant
0 Kudos

Hi Iñaki, Thank you again. So I guess it's not possible for PI to manipulate the files based on the results on the ABAP side. Cause what we want to achieve is to archive the processed file to different folders based on the result of the update. Regards, Mark

iaki_vila
Active Contributor
0 Kudos

Hi Mark,

Ask to your ABAP team to use the RFC adapter instead of ABAP proxy, with the RFC your requirement can be achieved.

Regards.