cancel
Showing results for 
Search instead for 
Did you mean: 

how to block and unblock an operation when an error ocurrs

Former Member
0 Kudos

hi guys,

I am designing an interface with XI and I have some doubts.

The scenario is the next:

File (System A) --> XI --> R3

File (System A) <-- XI <-- R3

From System A a file is sent to XI via File/FTP Adapter, then there is a RFC Synchonous adadpter with R3, this RFC will respond with an error message or with an ok.

If ok, then The file will be archived in an 'OK' folder in system A, if an error occur, the file will be archived in an 'ERROR' folder in System A.

The question is, if an error occurs, I must block next operations until the problem is solved. Is there any way to achive this without programming?

Thanks a lot.

Accepted Solutions (0)

Answers (1)

Answers (1)

bhavesh_kantilal
Active Contributor
0 Kudos

Hi,

Best option is to do this on your File System and not on XI.

You can write a script that checks if a file exists on your Error folder and it it exists then the actual file is not moved to the source folder and so on.

But controlling this from XI would prove to be tricky and complex and this should rather be done outside of XI.

Regards

Bhavesh

Former Member
0 Kudos

Hi Bhavesh,

do you know any other way to block / unblock the operation?, i will prefer to have all the control logic in one system....

Thanks you.

Eduardo.

bhavesh_kantilal
Active Contributor
0 Kudos

Hi Eduardo

Writing this to a shell script sounds to me to be the most easy option currently. Maybe others have someother option.

Regards

Bhavesh

Former Member
0 Kudos

Thanks to all,

finally i decided to implement the block/unblock control in sap HR (destination system). after some time studing the issue, i think is easier implement the solution in other system.

thanks.

Eduardo.