cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BAPI call via an RFC is timing out

0 Kudos
533

Hi,

We are calling SAP quote create and sales order create BAPI (called inside a RFC) from a Java/.NET application. If there is a quote or order more than 600 line items (configurable lines with parent child relation) then the RFC times out. Is there any way to overcome this errors...

As a temp fix we are increasing the wpruntime system parameter for an App server and then processing these large documents on that server manually..

Even calling these BAPI as a background task (TRFC calls which stores the data in SM58 ) fails with the same timeout error.

Checking SM66 shows that these calls are DIA (dialog work processes). IS there anyway to make them as BTC or like the background jobs?

Any help would be appreciated...

Thanks

Gopi

Accepted Solutions (1)

Accepted Solutions (1)

Isaias_SAP
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Gopi,

You can either let the tRFCs being processed at dialog work processes, and further increase the parameter rdisp/max_wprun_time, or you can setup bgRFCs, so the tRFCs get processed in background.

You can refer to the following SAP Help webpage for further details on the bgRFCs:

http://help.sap.com/saphelp_nw70ehp2/helpdata/en/b5/1051421310c153e10000000a1550b0/frameset.htm

Regards,

Isaias

Answers (0)