Skip to Content
Author's profile photo Tammy Powlas

Design Studio – How to Set Up Background Processing Using Global Script Variables

Last week I did a simplified version of background processing at How to set up Background Processing in Design Studio

Today using SAP’s Learning Hub (see Getting access & accessing SAP Learning Hub #SAPEducation ) I am using global script variables with background processing in Design Studio against an ECC data source (see How to Connect Design Studio with your ECC System )

Step 1: One data source script loading is set to false (loads immediately) while the other data source loads in the background (set to false):

1setdsloadinscripttrue.PNG

In my example the cross tab loads immediately while the chart loads in the background.

Step 2: Define Global Script Variable as a counter

2defineglobalscriptvariable.PNG

Step 3: On Startup Event insert code for doing the background processing:

3onstartupbgprocessing.PNG

I also set the showing the loading state for the chart while it is loading

Step 4: Script for event “On Background Processing”:

4definescripteventbgprocessing.PNG

This is how it looks design time:

5design time.PNG

Cross tab loads immediately, the chart loads in the background.

See how it loads below:

Related:

Design Studio Sessions at ASUG Annual Conference in June

Jump Start ASUG Annual Conference SAPPHIRE with a Pre-Conference Session – Back and Better than Ever – Mobile BI, Design Studio and more will be covered at ASUG pre-conference session June 2nd

Can’t make ASUG Annual Conference?  ASUG has the following upcoming related webcasts:


Learn more about the Learning Hub at this ASUG Webcast April 9 with Arnold Jung and SAP Mentor Tom Cenensregister here



Assigned Tags

      Be the first to leave a comment
      You must be Logged on to comment or reply to a post.