Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

RFC Error Timeout

Former Member
0 Likes
1,053

I have a RFC of an external system to SAP which executes a BAPI

in order to update the master record of materials.

The function module SAP (BAPI)

consumes a file .txt to update approx 10 thousand items.

The process takes approximately 3 minutes for one single file.

The operation, requires to send 10 RFC at the same time for 10 files.

When I try to do this, an error happends, the firsts 6 or 7 files are not processed but the last 3 are processed ok.

The RFC's not processed sends the following error message.

App Spec Info:IZTIMEOUT:. ] To failure there are happened in the callback function.

Do you have any idea of the cause / origin of it, and any proposal?

Thanks.

1 ACCEPTED SOLUTION
Read only

naimesh_patel
Active Contributor
0 Likes
564

As you have noted, it takes 3 minutes to run and you have to upload 10 files you it will take at least 30 minutes. As SAP stanadard practise we have the Default TIME_OUT for 10 minutes. SO, in your case you corss the TIME_OUT and limit and system gives you the message back.

What I would suggest is you can put the COMMIT WORK after processing of 2nd or 3rd file. It will reset the time counter to zero. But please keep in mind that the use of COMMIT WORK in loop may cause the resource problem becuase COMMIT work requires lot of resouces.

Regards,

Naimesh Patel

2 REPLIES 2
Read only

naimesh_patel
Active Contributor
0 Likes
565

As you have noted, it takes 3 minutes to run and you have to upload 10 files you it will take at least 30 minutes. As SAP stanadard practise we have the Default TIME_OUT for 10 minutes. SO, in your case you corss the TIME_OUT and limit and system gives you the message back.

What I would suggest is you can put the COMMIT WORK after processing of 2nd or 3rd file. It will reset the time counter to zero. But please keep in mind that the use of COMMIT WORK in loop may cause the resource problem becuase COMMIT work requires lot of resouces.

Regards,

Naimesh Patel

Read only

Former Member
0 Likes
564

I have a loop to read the file and to fill the structures of the bapi.

the process is :

External system generate one file and execute the RFC than consumes the file generated with help of a BAPI. BAPI_PRDSRVAPS_SAVEMULTI2 in order to update the master record.

10 calls to RFC with different files can be generated at the same time.

How i can do the COMMIT WORK in the BAPI ?