Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Variablentypen
SAP Business Explorer (SAP BEx): Everything you always wanted to know about the processing of customer
exit variables, but ...
Therefore, it must be ensured here that combinations as ready for input, mandatory and no default value
(Default value) that cause a variable dialog is needed. Process of staging (DTP, InfoPackage) are usually
scheduled processes in place that are executed by background-users.
Variables of usage authorization and staging are processed only in I_STEP = 0, see Section 1.2 "processing
steps (I_STEP)".
1.2 Processing steps (I_STEP)
Exit variables depending on the usage and purpose in one or more steps, the I_STEP's processed. In the
section "Dependencies for Variables of Type Customer Exit" the SAP Help the I_STEP's are briefly explained.
The description in the online help is unfortunately incomplete and omitted entirely on examples. Therefore, I will
briefly explain each step again using examples.
1.2.1 Authorization and Staging (I_STEP = 0)
In I_STEP = 0 exit variables are processed in the authorization and are used in staging. Figure 1.1 shows the
use of an exit variables within the authorization. For the processing of exit variables within the entitlement only
the I_STEP = 0 is traversed.
SAP Business Explorer (SAP BEx): Everything you always wanted to know about the processing of customer
exit variables, but ...
Figure 1.1: Exit variables within the authorization
Figure 1.2 shows the use of an exit variables in staging the example of selection within an InfoPackage.
SAP Business Explorer (SAP BEx): Everything you always wanted to know about the processing of customer
exit variables, but ...
SAP Business Explorer (SAP BEx): Everything you always wanted to know about the processing of customer
exit variables, but ...
In I_STEP = 3 can not be changed, the values of the individual variables. It is possible to generate messages
which would be display with the report-result or the variable dialog. In the event that the validation of the
variables means that it makes no sense to run the report by throwing an exception (RAISE EXCEPTION) to
prevent the report is run. The exception means that the user re-enters the values in the variables dialog.
SAP Business Explorer (SAP BEx): Everything you always wanted to know about the processing of customer
exit variables, but ...
Figure 1.5 shows the values for the two variables ZYEARFROM and ZYEARTO determined and then
compared as in I_STEP = 3. If the FROM value greater than TO value of a message is issued and using the
RAISE statement wrong_value prevents the report is run. The user has the opportunity to correct the value in
the variable dialog.
SAP Business Explorer (SAP BEx): Everything you always wanted to know about the processing of customer
exit variables, but ...
The I_STEP's the preparation phase are run before the variable dialogue and I_STEP's validation phase will
only go through if the values of the input-ready variables change in the variables dialog.
SAP Business Explorer (SAP BEx): Everything you always wanted to know about the processing of customer
exit variables, but ...
SAP Business Explorer (SAP BEx): Everything you always wanted to know about the processing of customer
exit variables, but ...
SAP Business Explorer (SAP BEx): Everything you always wanted to know about the processing of customer
exit variables, but ...
informed. In addition, an exception will be thrown. The exception ensures that the variables dialog appears
again.
With the introduction of the parameter E_CHECK_AGAIN (see Note 1272242 - Renewed Variablenverprobung
in I_STEP = 2), the concept was canceled. The parameter allows the developer to the user-entered value of an
input-ready variables after the variable dialog in I_STEP = 2 to overwrite as needed.
As described in Section 1.2 "processing steps (I_STEP)" input-ready variables only in I_TEP = 1 and I_STEP
= 3 processed, the value only in I_STEP = 1 changes (initialiesiert) can be. To ensure that an input-ready
variables in I_STEP = 2 is again processed must be in I_STEP = 1 for this variable is the export parameters
E_CHECK_AGAIN (E_CHECK_AGAIN = 'X') are set. If the parameter is set E_CHECK_AGAIN so this is ready
for input variable is processed into a not ready for input variables in I_STEP = 2 analogous to the variables
dialog.
1296 Views Tags: abap, bex, bw, business_intelligence, abap_objects, bex_queries, bex_variable,
sap_business_explorer_(bex)
Hareesh kumera
Feb 13, 2015 9:51 AM
Good document