Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
40 SP8
BW Integrated Planning (BW-IP) / Planning Application Kit (PAK)
Enhancements
SAP SE
Content
Remove General Restrictions in PAK
FOX Enhancements
Attribute and Short Text Solution
Support User Flexibility
Public
Public
HANA Revision
BW Support
Pack
SQL Exit: Characteristic relationships (CR) and data slices (DS) with ABAP fallback (Note
1956085)
Rev 67
7.30 SP 12
Rev 67
7.30 SP 12
MIN/MAX Restriction
Currency Conversion
Unit Conversion
Rev 74
Rev 75
Rev 75
7.4 SP8
7.4 SP8
7.4 SP8
Public
HANA Revision
BW Release/
Support Pack
Notes
Disaggregation Performance
Improvements with BW 7.4
SP8 + Rev 74 in case of all
and from source
SPS 04 = Rev 28
7.30 SP5
SPS 04 = Rev 28
7.30 SP5
Rev38
Rev40
Rev40
Rev40
7.30 SP 9
7.30 SP 9
7.30 SP 9
7.30 SP 9
1792782
1778939 and 1792782
1803016
1802658
PF 0RSPL_DELETE CR
SPS 05 = Rev 45
7.30 SP 9
1778939
SPS 05 = Rev 45
7.30 SP 9
1799168
PF 0RSPL_REPOST_CR
Rev53
7.30 SP 10
Rev 60 + Rev 74
7.30 SP 10
1855154
1821899. Improvements with
BW 7.4 SP8 + Rev 74
Public
HANA Revision
BW Release/
Support Pack
Notes
SQL Exit PF
Rev67
7.30 SP 10
1861395 18703421870369
Rev67
7.30 SP 10
Rev 40
Rev 64
Rev 67
Rev 67
Rev 74
Rev 75
Rev 75
7.30 SP 10
7.30 SP 11
7.30 SP 12
7.30 SP 12
7.4 SP8
7.4 SP8
7.4 SP8
1956085
1984344
2011651
Public
BW Release/
Support Pack
HANA Revision
Rev 64
7.4 SP5
SPS 07
7.4 SP5
Rev 72
7.4 SP8
Public
Public
Example of low cardinality: CR which derives the country from the SalesOrganisation, where the user works on a
dedicated sales org
SalesOrg.
Derive
CH10
SalesOrg.
Country
CH10
CH
As temporary table
ABAP
HANA
Product
SalesOrg.
Country
Ammount
1066
CH10
8333
753
CH10
333
SalesOrg.
Country
Product
SalesOrg.
Country
Ammount
CH10
CH
1066
CH10
CH
8333
9822
753
CH10
CH
9822
CH10
4547
333
CH10
CH
4547
1453
CH10
2399
1453
CH10
CH
2399
1492
CH10
6788
1492
CH10
CH
6788
Lookup
Public
10
Public
11
Derive
333
1453
1492
Product
Product
Group L1
Product
GroupL2
1066
Hardware
Monitor
753
Hardware
Monitor
333
Hardware
PC
1453
Software
Games
1492
Software
Tools
As temporary table
ABAP
HANA
Product
Product
Group L1
Product
GroupL2
Ammount
Product
Product
Group L1
Product
GroupL2
1066
Hardware
Monitor
753
Hardware
Monitor
Implement SQL
Script instead
Product
Product
Group L1
Product
GroupL2
Ammount
1066
Hardware
Monitor
8333
1066
8333
753
9822
333
Hardware
PC
753
Hardware
Monitor
9822
333
4547
1453
Software
Games
333
Hardware
PC
4547
1453
2399
1492
Software
Tools
1453
Software
Games
2399
1492
6788
1492
Software
Tools
6788
Lookup
Public
12
Public
13
Public
14
Remaining Restrictions
One remaining restrictions is the forecast planning function type 0RSPL_FORECASTING. Here, we envision
using SQLScript and embedding the predictive analytic library (PAL) there. Of course, this is already possible in
any customer project.
For details, see SAP Help and watch this video.
The other restriction are due to transient or virtual data and so on, where we generally lack information on the
HANA side.
Public
15
FOX Enhancements
FOX Enhancements
With Support package 8, the FOX functionality was improved for IP. Once the HANA engine has also
adopted these enhancements, they will also be available in PAK. The main purpose of this is to make
customer exits using SQLScript unnecessary. In particular, the translation from a sequential
implementation of an ABAP exit to SQLScript results in a performance boost in most projects only if
the SQLScript is programmed using direct SQL algebra expressions rather than sequentially.
Removed Restriction
Internal Table
Rev 74
7.4 SP 8
Rev 74
7.4 SP 8
Syntax Highlightening
7.4 SP8
Public
17
FOX Enhancements
Internal Tables
In BW-integrated planning, you can now define and use internal tables:
TABLE INTTAB { YEAR TYPE 0CALYEAR KEY, NUMBER
TYPE F, COSTCENTER TYPE 0COSTCENTER }.
Internal tables consist of fields. All data types which are permitted for variables can be used for these fields. A type
followed by KEY is a key field. Tables are sorted by key fields. There has to be at least one key field and one nonkey field. Only one entry can be made per key in the table.
Tables can be filled by assigning a value:
INTTAB.{NUMBER,2011} = 25.
INTTAB.{ COSTCENTER, 2013 } = 00004711.
Public
18
FOX enhancements
Values can be accessed as follows:
{ 0VCPL_INT, 2013 } = INTTAB.{ NUMBER, 2013 }.
The following special functions are available for internal tables:
Determine
number of rows: CNT = LINES( INTTAB )
Specify if
value exists: CNT = EXISTS( INTTAB.{ 2013 } ). The variable CNT is type I;
it is set to the value 1 if the entry exists, or set to 0 if the entry
does not exist
Delete specific
value: DELETE( INTTAB.{ 2014 } )
Delete all
values: CLEAR INTTAB
Public
19
FOX Enhancements
FOREACH loop
Public
20
FOX Enhancements
Read external reference data
In BW-integrated planning, you can now read data from any aggregation level. This data is declared using the
InfoProvider statement.
Example:
INFOPROVIDER DSO_REF.
The following expression is used to access the InfoProvider:
{ 0VCPL_INT, 2013 } = DSO_REF.{ 0VCPL_QUAV, YEAR}.
The name of the InfoProvider and a period (.) are inserted in front of the curly brackets when the InfoProvider is
accessed.
Public
21
FOX Enhancements
In this example, 0CALYEAR is the characteristic to be changed. All characteristics to be changed, and all
characteristics that are not in the aggregation level, must be specified in curly brackets for the InfoProvider
access. The usual notation can be used to access block characteristics.
{ 0VCPL_INT, 2013 } = DSO_REF.{ 0VCPL_QUAV, YEAR| 0PLANT = PLANT }.
You cannot set values. The system can iterate using the values that are assigned to a block however.
FOREACH YEAR IN DSO_REF.
{ 0VCPL_INT, 2013 } = { 0VCPL_INT, 2013 } +
DSO_REF.{ 0VCPL_QUAV, YEAR }.
ENDFOR.
Public
22
FOX Enhancements
The system calculates which data it reads from the formula (like with reference data). Value PLANT01 is added to
the selection for characteristic 0PLANT for example if the formula contains the following:
{ 0VCPL_INT, 2013 } =DSO_REF.{ 0VCPL_QUAV, YEAR | 0PLANT = PLANT01 }.
Public
23
Public
25
Public
26
Public
27
Public
28
Public
29
Public
30
Comment or Documents
Attachment Anchor
Cell
List Geometry
Cell only
Length of Comments
<250
Aggregated View
Separate column
Excel
Comment, separate column, pop up
Versioning
inside comment
With different colors
More documents
Performance
Very good
Supported UI
Full length
Public
31
Planning on CompositeProviders
Planning on CompositeProviders
With SP8, we go one step further and start supporting the CompositeProvider in addition to the MultiProvider in
planning scenarios. In the first delivery with SP8, we focus on handling the known MultiProvider use cases in the
CompositeProvider too. You can also use the CompositeProvider modeled in workspaces if you only leverage
normal BW info objects in the local provider.
The following scenarios with CompositeProvider and planning are not yet supported at present:
CompositeProviders with joins where an input-enabled PartProvider is involved
CompositeProviders with key figure mapping (could result in different contexts, when involving local providers
for planning). Resolving this is scheduled as the next step.
CompositeProviders involving local providers with non-BW info objects (thus resulting in characteristic mapping
with different basis characteristic names
CompositeProviders with a navigational attribute which is not mapped for all input-enabled partial providers.
Public
34
ALVL
CompositeProvider
BW7.4 SP8
DSO
RealTime
Cube
UNION
Real-Time
Cube
Analytical View
Cube
Public
35
UNION
Real-Time
Cube
Analytical View
Public
36
Debugging Scripts
Technical Name
BW Release/
Support Pack
RSPLFC_DEBUGGING_SCRIPT_FOX
7.4 SP 8
Rev 74
7.4 SP 8
IP: RSPLF_DEBUGGING_SCRIPT_C_DATA
PAK: RSR_DEBUGGING_SCRIPT_STORE
Script to analyze the bit for characters
RSPLS_DEBUGGING_SCRIPT_CHABIT
7.4 SP 8
7.4 SP 8
Public
38
FOX Enhancements
FOX Debugger
Fox debugging via debugging
script (only available in ABAP
execution)
Script:
RSPLFC_DEBUGGING_SCRIPT
_FOX
Currently only available in ABAP
execution
Public
39
Further Information
Further Information
Further Information
Frank Klingls blog
http://scn.sap.com/community/data-warehousing/business-planning/blog/2014/09/08/further-improvements-onsap-hana-optimized-planning-with-the-planning-applications-kit-in-2014
Public
41
Thank you
Contact information:
F name MI. L name
Title
Address
Phone number
2014 SAP SE or an SAP affiliate company. All rights reserved.
These materials are provided by SAP SE or an SAP affiliate company for informational purposes only, without representation or warranty of any kind,
and SAP SE or its affiliated companies shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP SE or
SAP affiliate company products and services are those that are set forth in the express warranty statements accompanying such products and
services, if any. Nothing herein should be construed as constituting an additional warranty.
In particular, SAP SE or its affiliated companies have no obligation to pursue any course of business outlined in this document or any related
presentation, or to develop or release any functionality mentioned therein. This document, or any related presentation, and SAP SEs or its affiliated
companies strategy and possible future developments, products, and/or platform directions and functionality are all subject to change and may be
changed by SAP SE or its affiliated companies at any time for any reason without notice. The information in this document is not a commitment,
promise, or legal obligation to deliver any material, code, or functionality. All forward-looking statements are subject to various risks and uncertainties
that could cause actual results to differ materially from expectations. Readers are cautioned not to place undue reliance on these forward-looking
statements, which speak only as of their dates, and they should not be relied upon in making purchasing decisions.