Ansicht
Dokumentation

/TDAG/CP_LB27_REQUEST -

/TDAG/CP_LB27_REQUEST -

BAL Application Log Documentation   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This module is used to send the data request to the content provider.

Its business logic is implemented in the Netweaver portion of CfP. This implemention here only serves the Java tier with the metadata, needed to parse the function parameters out of the RFC stream.

Example

Data is request from content provider XYZ. Only the 1st I_MATCHES records are downloaded from the content provider.

On the Netweaver server a proxy bean XYZProxy exists for the communication with the content provider. Its name is defined by I_SERVICE.

The request itslef is expressed as CfPXML file. This file is transferred in IT_REQUEST (content) and I_REQ_LEN (length in bytes).

CfP is configured to request the certificate of compliance and the product datasheet along with the data. Therefore, the list of expected import categories IT_DOCTYPES has the two entries DECLARE and PDSHEET.

The success of submitting the reuqest to the content provider is given by E_FLG_ERROR. If the request failed, it has the value X and the error details are returned in ET_MESSAGE.

Only the proxy bean knows, whether the request is processed synchronously (waiting for requested data) or asynchronously (only submitting request). The following fields are only populated for synchronous processing.

E_MATCH_CNT returns the number of returned records. If its value equals I_MATCHES, this might indicate, that the content provider can provide more records than currently downloaded.

The requested data is returned as CfPXML file in ET_RESPONSE (content) und E_RESP_LEN (length in bytes).

If the content provider returns one matching record, the documents are downloaded additionally. They are returned as ET_DOCDATA (content) and ET_DOCINFO (metadata like length in bytes, file name and import category).

Notes

Further information





Parameters

ET_DOCDATA
ET_DOCINFO
ET_MESSAGE
ET_RESPONSE
E_FLG_ERROR
E_MATCH_CNT
E_RESP_LEN
IT_DOCTYPES
IT_REQUEST
I_MATCHES
I_REQ_LEN
I_SERVICE

Exceptions

Function Group

G/SAPLCP_LB27

BAL Application Log Documentation   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.

Length: 2381 Date: 20240425 Time: 105329     sap01-206 ( 47 ms )