cancel
Showing results for 
Search instead for 
Did you mean: 

Need help in design scenario

Former Member
0 Kudos

Hi experts,

I have a scenario in which XI put an xml file in a destination server (very simple scenario, SAP>Proxy>File receiver CC).

The new request is: to make a call to SAP after having put file in destination.

In this call I have to write to SAP that file has been written successfully to destination.

My collegues told me to add a RFC call to SAP in my scenario, is it the correct way?

I'm not skilled about that.

Thanks

Fabio Boni

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member854360
Active Contributor
0 Kudos

Hi Fabio,

in this case definately you need to call a RFC function.

If you want design this scenario without BPM then you call follow the below steps.

1) create the file in folder A.

2) create a simple file to RFC scnerio which will poll folder A for files.

3) If file is available in Folder A then pick up the file via File adapter and archive it to Folder B.

and in receiver side make a RFC call with RFC adapter and tell that RFC that file is available in Folder B.

Thanks,

Debashish

Former Member
0 Kudos

Hi, Debashish,

thanks for reply.

Why I have to place file in folder B? I don't want to.

Fabio

former_member854360
Active Contributor
0 Kudos

Hi Fabio,

If you want to achive this scenarion without BPM then you need to create 2 diffrent scneraio,.

!) Your first scnario:

SAP -Proxy-File receiver( It will write the file in Folder A)

2) Second scenario:

File sender to RFC receiver

File sender will poll the folder A for files.If file is available in Folder A then this 2nd scenarion will trigger.

Create some constant mapping in the target RFC structure. and make a call to RFC using receiver RFC adapter.

So here If you pick the file from Folder A then you need to delete it or Archive it from the source folder.

Sender file adapter has both the options of delete or Archive.

If you archive the file to folder B in sender file adapter itself then your receiver RFC can find the File from Folder B.

former_member181962
Active Contributor
0 Kudos

Hi Fabio,

You might want to go for a BPM to achieve your scenario.

Your ccBPM steps should be like this

1) Receive step to receive the file from SAP.

2) Transformation step for mapping.

3) Send Step to send the file to target file system.

4) Step to call sap (Using ABAP proxy or RFC ). (step 4 would only happen if step 3 is succesful, by virtue of the serial nature of processing in BPM).

Best Regards,

Ravikanth Talagana

Former Member
0 Kudos

Hi Ravi,

thanks for reply.

I don't know anything about BPM, I prefer to go with RFC.

Fabio