SAP CRS_PSOB_REL_READ_BL Function Module for









CRS_PSOB_REL_READ_BL is a standard crs psob rel read bl SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.


See here to view full function module documentation and code listing for crs psob rel read bl FM, simply by entering the name CRS_PSOB_REL_READ_BL into the relevant SAP transaction such as SE37 or SE38.

Function Group: FMCA_PSOB_UPDOWNLOAD
Program Name: SAPLFMCA_PSOB_UPDOWNLOAD
Main Program: SAPLFMCA_PSOB_UPDOWNLOAD
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function CRS_PSOB_REL_READ_BL pattern details

In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.
CALL FUNCTION 'CRS_PSOB_REL_READ_BL'"
EXPORTING
IV_BLOCKSIZE = "Block Size for Download
IT_RANGE = "Table Type for CRMSELSTR

IMPORTING
ET_CONTRACTOBJECT = "Contract Object: Complex Structure for Up/Download
EV_LASTBLOCK = "Flag Last Block for Initial Download

CHANGING
CV_KEYFIELD_LAST = "Identification Key for Contract Object
CV_BLOCKNO = "Block Number Data Transfer
CV_RECORDNO = "Record Number (10-Digits)
.



IMPORTING Parameters details for CRS_PSOB_REL_READ_BL

IV_BLOCKSIZE - Block Size for Download

Data type: BAPICRMDH1-BLOCKSIZE
Optional: No
Call by Reference: Yes

IT_RANGE - Table Type for CRMSELSTR

Data type: CRMSELSTR_T
Optional: No
Call by Reference: Yes

EXPORTING Parameters details for CRS_PSOB_REL_READ_BL

ET_CONTRACTOBJECT - Contract Object: Complex Structure for Up/Download

Data type: FMCA_PSOB_ALL_T
Optional: No
Call by Reference: Yes

EV_LASTBLOCK - Flag Last Block for Initial Download

Data type: BAPICRMDH2-LASTBLOCK
Optional: No
Call by Reference: Yes

CHANGING Parameters details for CRS_PSOB_REL_READ_BL

CV_KEYFIELD_LAST - Identification Key for Contract Object

Data type: BAPI_CTRACPSOBJECT_ADMIN-PSOBJECTKEY_LAST
Optional: No
Call by Reference: Yes

CV_BLOCKNO - Block Number Data Transfer

Data type: BAPICRMDH2-BLOCKNO
Optional: No
Call by Reference: Yes

CV_RECORDNO - Record Number (10-Digits)

Data type: BAPICRMDH2-RECORDNO
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for CRS_PSOB_REL_READ_BL Function Module

The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.

DATA:
lv_iv_blocksize  TYPE BAPICRMDH1-BLOCKSIZE, "   
lv_cv_keyfield_last  TYPE BAPI_CTRACPSOBJECT_ADMIN-PSOBJECTKEY_LAST, "   
lv_et_contractobject  TYPE FMCA_PSOB_ALL_T, "   
lv_it_range  TYPE CRMSELSTR_T, "   
lv_cv_blockno  TYPE BAPICRMDH2-BLOCKNO, "   
lv_ev_lastblock  TYPE BAPICRMDH2-LASTBLOCK, "   
lv_cv_recordno  TYPE BAPICRMDH2-RECORDNO. "   

  CALL FUNCTION 'CRS_PSOB_REL_READ_BL'  "
    EXPORTING
         IV_BLOCKSIZE = lv_iv_blocksize
         IT_RANGE = lv_it_range
    IMPORTING
         ET_CONTRACTOBJECT = lv_et_contractobject
         EV_LASTBLOCK = lv_ev_lastblock
    CHANGING
         CV_KEYFIELD_LAST = lv_cv_keyfield_last
         CV_BLOCKNO = lv_cv_blockno
         CV_RECORDNO = lv_cv_recordno
. " CRS_PSOB_REL_READ_BL




ABAP code using 7.40 inline data declarations to call FM CRS_PSOB_REL_READ_BL

The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.

"SELECT single BLOCKSIZE FROM BAPICRMDH1 INTO @DATA(ld_iv_blocksize).
 
"SELECT single PSOBJECTKEY_LAST FROM BAPI_CTRACPSOBJECT_ADMIN INTO @DATA(ld_cv_keyfield_last).
 
 
 
"SELECT single BLOCKNO FROM BAPICRMDH2 INTO @DATA(ld_cv_blockno).
 
"SELECT single LASTBLOCK FROM BAPICRMDH2 INTO @DATA(ld_ev_lastblock).
 
"SELECT single RECORDNO FROM BAPICRMDH2 INTO @DATA(ld_cv_recordno).
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!