Skip to Content
May 23, 2012 at 02:50 PM

CHECK BADi - looking for an efficient way to retrieve runtime data in RFC call


Hi all gurus,

my scenario: an SRM system configured to work in extended classic scenario with plenty of backends.

In order to evaluate some custom data, I have basically to retrieve some data from backend at runtime; an RFC call could do the job, but since there's no way, afaik, to run this RFC only on the first time that BBP_DOC_CHECK_BADI is triggered on a document... This would lead to an RFC call each time the BADi is triggered, just to get the same data (yes, they ARE specific for a document but they're also invariant in short time)... system performance are surely affected by this procedure.

I was looking for an effective and efficient solution to get RFC data only once (e.g. on the first BADi run) and store them so that each following iteration of BBP_DOC_CHECK_BADI could easily access them. Is there any ABAP facility that could be useful for the task, maybe memory areas reservation or something like a buffer I can work on? Thanks in advance.