Q
Problem solve Get help with specific problems with your technologies, process and projects.

Timeout when calling BAPI

I'm using radio frequency handheld devices that connect online to R/3 through a middleware similar to SAP Console....

There is a timeout parameter that breaks connection to SAP if SAP is not responding for too long. The parameter can't be extended to more than about 3 minutes. The RF device runs a custom SAP transaction that posts production order confirmation through BAPI_PRODORDCONF_CREATE_TT. As production orders have tons of backflushed components, all of which fire up batch searching, it happens that call to the BAPI takes longer then the maximum timeout. Is there any way to call the BAPI in update task, e.g. by putting some kind of a wrapper update function module around the BAPI? If so, how to make sure the BAPI call will be successful e.g. locks can be set inside the BAPI?


The basic question is whether you need anything back from the BAPI. If not, simply write an RFM with the same interface that accepts the data, calls the BAPI in ABAP with "STARTING NEW TASK", and returns to the caller. If you do need data back from the BAPI, you will probably have to make the communication asynchronous in the middleware you are using (which sounds like considerable effort to me!)


This was last published in February 2002

Dig Deeper on SAP ABAP

PRO+

Content

Find more PRO+ content and other member only offers, here.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchManufacturingERP

SearchOracle

SearchDataManagement

SearchAWS

SearchBusinessAnalytics

SearchCRM

SearchContentManagement

SearchFinancialApplications

Close