Beruflich Dokumente
Kultur Dokumente
a PSA
Prerequisites
You have created a sorted hierarchy and the system generates a structure with the
following hierarchy format. The hierarchy basis characteristic has n node attributes, is
compounded m times, and has additional node characteristics that contain additional
fields with compounding l:
• The rows marked blue* are only automatically generated if you have created an
InfoObject with a time-dependent hierarchy and/or intervals.
• The rows marked red are only automatically generated if you have permitted
additional node attributes.
• The rows marked red* are only automatically generated if you have set the Expand
Leaf Values and Node InfoObjects indicator in the maintenance of the hierarchy
header in the InfoSource maintenance. The to- fields are inserted with the same name
as the from- fields, but in their own sub-structure (TO-**).
Choosing the Expand Leaf Values and Node InfoObjects pushbutton displays the
hierarchy structure. For additional details about this function, also refer to the Hierarchy
Maintenance section of Uploading Hierarchies from Flat Files.
Process
You can find out how you need to fill the fields in the section Process in Structure of a
Flat Hierarchy File for Loading Using an IDoc.
Result
You have created a flat file with a hierarchy, which you must save as a CSV or ASCII
file. You can then upload it into the BW using the PSA.
Here the columns controlling area (CO_AREA) and cost element (COSTELMNT), as
well as interval controlling area (CO_AREA) and interval cost element (COSTELMNT)
are added.
• This node also has the node attribute sign change, meaning that the cost element can
be displayed as a negative in the query. For this reason, an X is uploaded for this node
representing the sign change (SIGNCH)
See also:
When loading hierarchies using the PSA transfer method, a much more flexible option is
at your disposal for processing hierarchies in comparison with the Idoc transfer method.
Prerequisites
A hierarchy DataSource from a SAP source system must support loading by using a PSA.
Functions
Error treatment
By storing hierarchies in PSA tables, the system allows you to make manual corrections
when errors arise.
The system generates up to 5 PSA tables for a hierarchy DataSource. These tables contain
the following hierarchy segments:
• Hierarchy header
• Hierarchy node
• Node texts
• Intervals
You only need the interval segment when the DataSource supports intervals in hierarchies
and this is indicated in InfoObject maintenance.
If you are editing the hierarchy in the PSA, you can select a hierarchy segment in the
selection dialog. The system displays each segment individually in a table.
• Attributes for the hierarchy header are settings that are valid for the display and
processing of the entire hierarchy in the query. You can find additional information in the
table Functions for Displaying and Processing Hierarchies in a BEx Query under
Functions of Hierarchy Processing.
• Attributes for hierarchy nodes are hierarchy attributes that are selected for the
hierarchy basic characteristic in InfoObject maintenance and which are valid for all
hierarchies for this characteristic. See Hierarchy Properties and Tab Page: Hierarchy.
When transferring hierarchies via the RFC, the system checks for which characteristics
characteristic values with hierarchy nodes are allowed to be identified. The permitted
InfoObjects must be selected via External Characteristics in Hierarchies.
• If no InfoObject is selected, only text nodes (for the artificial characteristic) are
allowed as inner nodes.
• All selected InfoObjects are included together with the characteristics compounded to
them in the communication structure for hierarchy nodes.
If a hierarchy structure is loaded via the transfer method PSA, you can then define the
transfer rules. The result is the same flexible transformation options as is the case for
transaction data, attributes and texts, excluding the fact that it is not possible to create a
start routine.
In the InfoSource maintenance, there are the following views of the transfer rules:
For the hierarchy header, you can set the properties of the hierarchy header and the
properties of the file structure via Hierarchy Structure.
In the following example, the field KOKRS is assigned to the field Controlling Area
(0CO_AREA) and the field KOSTL is assigned to the field Cost Center
(0COSTCENTER) using the transfer rules. The alpha conversion routine is executed for
KOKRS. The node has the hierarchy property Reversing the Sign (0SIGNCH). This is
also uploaded. As InfoObject 0COSTCENTER is compounded to InfoObject
0CO_AREA, the characteristic values in NODENAME are saved added to one another.
See also: