Fonction SAP BAPI_ISOURCE_DP_REQUEST - Sends a Data Request to a Source System

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
DATE BAPI6107DR-REQUESTDATE D 8 Requisition/Request Date
HIERARCHY BAPI6107HI u 49 Hierarchy Selection
INFOSOURCE BAPI6107DR-INFOSOURCE C 30 InfoSource Name
PACKAGESIZE BAPI6107DR-PACKAGESIZE N 8 X Number of data records per packet
REQUESTID BAPI6107DR-REQUEST C 30 Valid, Unique Data Request Number
SOURCESYSTEM BAPI6107DR-SOURCESYSTEM C 10 Source System Name
TIME BAPI6107DR-REQUESTTIME T 6 Request Time
TYPE BAPI6107DR-REQUESTTYPE C 1 Type of Requested Data
UPDATEMODE BAPI6107DR-UPDATEMODE C 2 Delta, Full
USERNAME BAPI6107DR-REQUESTUSER C 12 Requesting User

Paramètre Reférence Type Long. Description
RETURN BAPIRET2 u 548 BAPI Return Parameter

Paramètre Reférence Long. Facultatif Description
PARAMETERS BAPI6107PA 158 Application-Specific Parameters
SELDATA BAPI6107DA 123 Data Selection
SELLANGUAGES BAPI6107LA 1 Language Selection (for Texts)

Functionality
This method is called up by the Business Information Warehouse totransmit a data request, with all parameters and selection conditions,where necessary, to the source system.
Selection conditions and parameters are determined by the administratorin the scheduler of the Business Information Warehouse.

Notes
The implementation of this method is the task of the user of thestaging BAPI for the Business Information Warehouse (3rd Party-Tool orcustomized application).

Further information
Staging BAPI specification

Description
Return parameter for the method. The return parameter gives informationabout the success or failure of the callup.
The source system should use one of the error messages described belowwhen presenting error messages. The fields TYPE, ID and NUMBER arealways filled in, message RSAR 051 is used for individual errormessages, the message text is then presented in the MESSAGE field.

  • TYPE Message type:

  • S = Success, E = Error, W = Warning, I = Information
    • ID Message class:

    • RSAR
      • NUMBER Message number:

      • see below

        Value range
        Class Type Code Text
        RSAR E 051
        RSAR E 053 InfoSource is unknown
        RSAR E 054 Invalid source system name entered
        RSAR E 055 Required parameter is missing
        RSAR E 056 Invalid parameter entered
        RSAR E 057 Invalid user name / invalid password
        RSAR E 058 Error in the selection conditions

        Default

        Description
        Date of the data request (YYYYMMDD)

        Value range

        Default

        Description
        Name, version and validity date for the hierarchy, for which data isrequestedn.
        This parameter is only evaluated with requests of type 'H'.

        Value range

        Default

        Description
        Name of the InfoSource, for which data is requested.

        Value range

        Default

        Description
        Number of data records per package.
        Within a BAPI load scenario, the source system bundles data to be sentinto packages with this number of data records.

        Description
        The REQUESTID is a unique data request ID generated by the schedulerfor every data request. The REQUESTID is entered when transmittingextracted data to the Business Information Warehouse.

        Value range

        Default

        Description
        Name of the source system, from which the data was requested

        Value range

        Default

        Description
        Time of the request (hhmmss)

        Value range

        Default

        Description
        Type of requested data

        Value range

        • D = Transaction data

        • M = Master data attributes

        • T = Master data texts

        • H = Master data hierarchies
        • Description
          Update mode

          Value range

          • F = Transfering all requested data

          • D = Transfering the delta since the last request

          • I = Transfering an opening balance for non-cumulatives

          • R = Repeating the transfer of a data packet

          • C = Initializing the delta transfer
          • Default

            Description
            User name of the requested user

            Value range

            Default

            Description
            Selection conditions, with which the data should be read. The selectionoptions must be entered in the format of the ABAP/4 select options.This means that the fields have the following meaning:
            FIELDNM : InfoObject, for which the selection conditions are valid
            SIGN : 'I': The entered value should be selected
            'E': The entered value should not be selected
            OPTION : 'EQ' Equal: Single value
            'NE' Not Equal: Everything apart from the ent. singlevalue
            'BT' Between: Everything between the inteval [LOW,HIGH]
            'NB' Not Between: Everything outside the interval
            'LE' Less or EQUAL: Everything <= the val. in the LOW
            'GT' Greater Than: Everything > the value in the LOW field
            'GE' Greater or Equal: Everything >= the value in LOWfield
            'LT' Less Than: Everything < the value in the LOW field
            'CP' Contains Pattern: Masked entry: Search for pattern
            (e.g. 'ABC*' for all values, that start with 'ABC')
            LOW : Selection value
            HIGH : Selection value for upper interval limit
            You should note here that the fields SELECTION-LOW and SELECTION-HIGHare to be filled out in external format.

            Value range

1028796P13:P20:SDL: Third-party selections twice in Parameters tab