Ansicht
Dokumentation

RSQ_ISET_BAPI_TEST_700 - Test Report for InfoSet BAPIs

RSQ_ISET_BAPI_TEST_700 - Test Report for InfoSet BAPIs

Vendor Master (General Section)   General Material Data  
This documentation is copyright by SAP AG.
SAP E-Book

Purpose

Test Report for InfoSet BAPIs

This report is used to call and test the common InfoSet BAPI function modules, and as a template for user-specific reports/modules that use the InfoSet BAPI functions.

Note: The InfoSet interface is available as of Release 7.0. When you use the BAPI modules, ensure that you reference the relevant types of the interface. With the upgrade to Release 7.1, the length of the ALIAS changes (data element rsqalias changes from char6 to char19).

Prerequisites

On the selection screen, the name of the InfoSet, what is to be generated or changed, and the object version must all be specified.

Features

BAPI_ISET_CREATE - Creating an InfoSet
You can use the input help to select an InfoProvider (characteristic bearing master data, DataStore, or InfoCube). An InfoSet is built internally, which joins this InfoProvider twice with itself (self join). The first two fields are also joined. This is the simplest way to define an InfoSet.

Additional options are:

Key Date Definition
If the InfoProvider has an attribute of type Date, this is defined as the key date.

Key Date Derivation
If the InfoProvider has 0fiscper or 0fiscyear as an attribute, the key date is derived from it.

Otherwise, the InfoProvider is checked for the 0calmonth, 0calquarter, or 0calyear attributes. If one of these attributes is present, the key date is derived from it.

DataStore/InfoCube Dates
Pseudo time dependency: The InfoProvider is checked for two attributes of type Date. If two attributes of type Date are present, they are treated as interval limits.

DataStore/InfoCube Time Derivation
Pseudo time dependency: The InfoProvider is checked for the 0fiscper or 0fiscyear attributes. If these attributes are present, they are treated as interval limits.
Otherwise, the InfoProvider is checked for the 0calmonth, 0calquarter, or 0calyear attributes. If these attributes are present, they are treated as interval limits.

Internally, the InfoSet is first generated without incorporation of the additional options. It is then activated using the BAPI_ISET_ACTIVATE module and its information is read using BAPI_ISET_GETDETAIL. This is enhanced by the additional options (this primarily changes the internal table temponcondition), and the InfoSet is modified using BAPI_ISET_CHANGE.

BAPI_ISET_ACTIVATE - Activating an M version InfoSet

BAPI_ISET_GETDETAIL - Reading the internal table of an existing InfoSet

BAPI_ISET_CHANGE - Changing an existing InfoSet

BAPI_ISET_GETLIST - Returns a list of InfoSets
The object version (A, M, or D) must be provided. You can specify restrictions using the SELINFOSET table. The structure of the row type is the same as that of a standard RANGE table.

Example

See Report or Executing Reports Using the Debug Option.






TXBHW - Original Tax Base Amount in Local Currency   General Material Data  
This documentation is copyright by SAP AG.

Length: 3084 Date: 20240601 Time: 024942     sap01-206 ( 62 ms )