Skip to Content
0
Former Member
Feb 27, 2007 at 05:13 AM

Optimized way

16 Views

Hi,

I am facing some performance issue in my xMII application. Below is the detail description.

I created a BLT which calls a BAPI in SAP. This bapi is returning two internal tables ITAB_1 and ITAB_2. I need ITAB_1 for chart and ITAB_2 for GRID.

Using this BLT I created two Xacute Queries.

1. Query_1 calls BLT and ITAB_1 as output parameter

and attached to Display chart.

2. Query_2 calls BLT and ITAB_2 as output parameter

and attached to Grid.

(The reason why I created two Xacute queries is, When I created a query with * as output parameters Dispaly templates are not able to pick up any parameters from BLT)

So now my xxx.htm page contians two applets a chart with Query_1 and a grid with Query_2. When this page is called the same BLT is called twice one for chart and second time for grid.

Here are my questions.

1. Is there any way to avoid repeated calls to same BLT.

2. Is there any way to pass data dynamically to display templates so that we can call BLT once and then passing returned values to display templates.

Let me know if I need to be more detail.

Srinivas.