SAP BBP_PROCDOC_GET_DIFF Function Module for
BBP_PROCDOC_GET_DIFF is a standard bbp procdoc get diff 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 bbp procdoc get diff FM, simply by entering the name BBP_PROCDOC_GET_DIFF into the relevant SAP transaction such as SE37 or SE38.
Function Group: BBP_PD
Program Name: SAPLBBP_PD
Main Program: SAPLBBP_PD
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function BBP_PROCDOC_GET_DIFF 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 'BBP_PROCDOC_GET_DIFF'".
EXPORTING
IV_GUID1 = "
IV_GUID2 = "
* IV_COMP_METHOD = "
* IS_READ_FLAGS = "
* IV_GET_ALL = "
* IV_CATALOG_TRANS = "
IMPORTING
ES_HEADER1 = "
ES_HEADER2 = "
ET_CONDITIONS1 = "
ET_CONDITIONS2 = "
ET_DYN_ATTR1 = "
ET_DYN_ATTR2 = "
EV_OBJECTS_DIFFER = "
TABLES
* ET_ITEM1 = "
* ET_TAX2 = "
* ET_FREIGHT1 = "
* ET_FREIGHT2 = "
* ET_CONFIRM1 = "
* ET_CONFIRM2 = "
* ET_LIMIT1 = "
* ET_LIMIT2 = "
* ET_PARTNER1 = "
* ET_PARTNER2 = "
* ET_ACCOUNT1 = "
* ET_ITEM2 = "
* ET_ACCOUNT2 = "
* ET_PRIDOC1 = "
* ET_PRIDOC2 = "
* ET_SDLN1 = "
* ET_SDLN2 = "
* ET_STATUS1 = "
* ET_STATUS2 = "
* ET_DIFF_FIELDS = "
* ET_MESSAGES = "
* ET_HCF1 = "
* ET_ORGDATA1 = "
* ET_HCF2 = "
* ET_ICF1 = "
* ET_ICF2 = "
* ET_TOL1 = "
* ET_TOL2 = "
* ET_WEIGHT1 = "
* ET_WEIGHT2 = "
* ET_DEP1 = "
* ET_DEP2 = "
* ET_EXCHRATE1 = "
* ET_ORGDATA2 = "
* ET_EXCHRATE2 = "
* ET_LONGTEXT1 = "
* ET_LONGTEXT2 = "
* ET_ATTACH1 = "
* ET_ATTACH2 = "
* ET_TAX1 = "
IMPORTING Parameters details for BBP_PROCDOC_GET_DIFF
IV_GUID1 -
Data type: CRMD_ORDERADM_H-GUIDOptional: No
Call by Reference: Yes
IV_GUID2 -
Data type: CRMD_ORDERADM_H-GUIDOptional: No
Call by Reference: Yes
IV_COMP_METHOD -
Data type: BBP_COMPARE_METHODOptional: Yes
Call by Reference: No ( called with pass by value option)
IS_READ_FLAGS -
Data type: BBPS_DIFF_DETAIL_REQUESTEDOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_GET_ALL -
Data type: XFELDOptional: Yes
Call by Reference: Yes
IV_CATALOG_TRANS -
Data type: XFELDOptional: Yes
Call by Reference: Yes
EXPORTING Parameters details for BBP_PROCDOC_GET_DIFF
ES_HEADER1 -
Data type: BBP_PDS_HEADER_DIFFOptional: No
Call by Reference: Yes
ES_HEADER2 -
Data type: BBP_PDS_HEADER_DIFFOptional: No
Call by Reference: Yes
ET_CONDITIONS1 -
Data type: BBPT_PD_CND_DIFFOptional: No
Call by Reference: Yes
ET_CONDITIONS2 -
Data type: BBPT_PD_CND_DIFFOptional: No
Call by Reference: Yes
ET_DYN_ATTR1 -
Data type: BBPT_PDS_DYNATTR_DIFFOptional: No
Call by Reference: Yes
ET_DYN_ATTR2 -
Data type: BBPT_PDS_DYNATTR_DIFFOptional: No
Call by Reference: Yes
EV_OBJECTS_DIFFER -
Data type: XFELDOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for BBP_PROCDOC_GET_DIFF
ET_ITEM1 -
Data type: BBPT_PD_ITEM_DIFFOptional: Yes
Call by Reference: No ( called with pass by value option)
ET_TAX2 -
Data type: BBP_PDS_TAX_DIFFOptional: Yes
Call by Reference: No ( called with pass by value option)
ET_FREIGHT1 -
Data type: BBP_PDS_FREIGHT_DIFFOptional: Yes
Call by Reference: No ( called with pass by value option)
ET_FREIGHT2 -
Data type: BBP_PDS_FREIGHT_DIFFOptional: Yes
Call by Reference: No ( called with pass by value option)
ET_CONFIRM1 -
Data type: BBP_PDS_CON_DIFFOptional: Yes
Call by Reference: No ( called with pass by value option)
ET_CONFIRM2 -
Data type: BBP_PDS_CON_DIFFOptional: Yes
Call by Reference: No ( called with pass by value option)
ET_LIMIT1 -
Data type: BBP_PDS_LIMIT_DIFFOptional: Yes
Call by Reference: No ( called with pass by value option)
ET_LIMIT2 -
Data type: BBP_PDS_LIMIT_DIFFOptional: Yes
Call by Reference: No ( called with pass by value option)
ET_PARTNER1 -
Data type: BBP_PDS_PARTNER_DIFFOptional: Yes
Call by Reference: No ( called with pass by value option)
ET_PARTNER2 -
Data type: BBP_PDS_PARTNER_DIFFOptional: Yes
Call by Reference: No ( called with pass by value option)
ET_ACCOUNT1 -
Data type: BBP_PDS_ACC_DIFFOptional: Yes
Call by Reference: No ( called with pass by value option)
ET_ITEM2 -
Data type: BBPT_PD_ITEM_DIFFOptional: Yes
Call by Reference: No ( called with pass by value option)
ET_ACCOUNT2 -
Data type: BBP_PDS_ACC_DIFFOptional: Yes
Call by Reference: No ( called with pass by value option)
ET_PRIDOC1 -
Data type: BBP_PDS_PRC_DIFFOptional: Yes
Call by Reference: No ( called with pass by value option)
ET_PRIDOC2 -
Data type: BBP_PDS_PRC_DIFFOptional: Yes
Call by Reference: No ( called with pass by value option)
ET_SDLN1 -
Data type: BBP_PDS_SDLN_DIFFOptional: Yes
Call by Reference: No ( called with pass by value option)
ET_SDLN2 -
Data type: BBP_PDS_SDLN_DIFFOptional: Yes
Call by Reference: No ( called with pass by value option)
ET_STATUS1 -
Data type: BBP_PDS_STATUSOptional: Yes
Call by Reference: No ( called with pass by value option)
ET_STATUS2 -
Data type: BBP_PDS_STATUSOptional: Yes
Call by Reference: No ( called with pass by value option)
ET_DIFF_FIELDS -
Data type: BBP_PDS_DIFF_FIELDSOptional: Yes
Call by Reference: No ( called with pass by value option)
ET_MESSAGES -
Data type: BBP_PDS_MESSAGESOptional: Yes
Call by Reference: No ( called with pass by value option)
ET_HCF1 -
Data type: BBP_PDS_HCF_DIFFOptional: Yes
Call by Reference: No ( called with pass by value option)
ET_ORGDATA1 -
Data type: BBP_PDS_ORG_DIFFOptional: Yes
Call by Reference: No ( called with pass by value option)
ET_HCF2 -
Data type: BBP_PDS_HCF_DIFFOptional: Yes
Call by Reference: No ( called with pass by value option)
ET_ICF1 -
Data type: BBP_PDS_ICF_DIFFOptional: Yes
Call by Reference: No ( called with pass by value option)
ET_ICF2 -
Data type: BBP_PDS_ICF_DIFFOptional: Yes
Call by Reference: No ( called with pass by value option)
ET_TOL1 -
Data type: BBP_PDS_TOL_DIFFOptional: Yes
Call by Reference: No ( called with pass by value option)
ET_TOL2 -
Data type: BBP_PDS_TOL_DIFFOptional: Yes
Call by Reference: No ( called with pass by value option)
ET_WEIGHT1 -
Data type: BBP_PDS_WEIGHT_DIFFOptional: Yes
Call by Reference: Yes
ET_WEIGHT2 -
Data type: BBP_PDS_WEIGHT_DIFFOptional: Yes
Call by Reference: Yes
ET_DEP1 -
Data type: BBP_PDS_DEP_DIFFOptional: Yes
Call by Reference: Yes
ET_DEP2 -
Data type: BBP_PDS_DEP_DIFFOptional: Yes
Call by Reference: Yes
ET_EXCHRATE1 -
Data type: BBP_PDS_EXR_DIFFOptional: Yes
Call by Reference: Yes
ET_ORGDATA2 -
Data type: BBP_PDS_ORG_DIFFOptional: Yes
Call by Reference: No ( called with pass by value option)
ET_EXCHRATE2 -
Data type: BBP_PDS_EXR_DIFFOptional: Yes
Call by Reference: Yes
ET_LONGTEXT1 -
Data type: BBP_PDS_LONGTEXTOptional: Yes
Call by Reference: No ( called with pass by value option)
ET_LONGTEXT2 -
Data type: BBP_PDS_LONGTEXTOptional: Yes
Call by Reference: No ( called with pass by value option)
ET_ATTACH1 -
Data type: BBP_PDS_ATT_DIFFOptional: Yes
Call by Reference: No ( called with pass by value option)
ET_ATTACH2 -
Data type: BBP_PDS_ATT_DIFFOptional: Yes
Call by Reference: No ( called with pass by value option)
ET_TAX1 -
Data type: BBP_PDS_TAX_DIFFOptional: Yes
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for BBP_PROCDOC_GET_DIFF 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: | ||||
| lt_et_item1 | TYPE STANDARD TABLE OF BBPT_PD_ITEM_DIFF, " | |||
| lv_iv_guid1 | TYPE CRMD_ORDERADM_H-GUID, " | |||
| lv_es_header1 | TYPE BBP_PDS_HEADER_DIFF, " | |||
| lt_et_tax2 | TYPE STANDARD TABLE OF BBP_PDS_TAX_DIFF, " | |||
| lt_et_freight1 | TYPE STANDARD TABLE OF BBP_PDS_FREIGHT_DIFF, " | |||
| lt_et_freight2 | TYPE STANDARD TABLE OF BBP_PDS_FREIGHT_DIFF, " | |||
| lt_et_confirm1 | TYPE STANDARD TABLE OF BBP_PDS_CON_DIFF, " | |||
| lt_et_confirm2 | TYPE STANDARD TABLE OF BBP_PDS_CON_DIFF, " | |||
| lt_et_limit1 | TYPE STANDARD TABLE OF BBP_PDS_LIMIT_DIFF, " | |||
| lt_et_limit2 | TYPE STANDARD TABLE OF BBP_PDS_LIMIT_DIFF, " | |||
| lt_et_partner1 | TYPE STANDARD TABLE OF BBP_PDS_PARTNER_DIFF, " | |||
| lt_et_partner2 | TYPE STANDARD TABLE OF BBP_PDS_PARTNER_DIFF, " | |||
| lt_et_account1 | TYPE STANDARD TABLE OF BBP_PDS_ACC_DIFF, " | |||
| lt_et_item2 | TYPE STANDARD TABLE OF BBPT_PD_ITEM_DIFF, " | |||
| lv_iv_guid2 | TYPE CRMD_ORDERADM_H-GUID, " | |||
| lv_es_header2 | TYPE BBP_PDS_HEADER_DIFF, " | |||
| lt_et_account2 | TYPE STANDARD TABLE OF BBP_PDS_ACC_DIFF, " | |||
| lt_et_pridoc1 | TYPE STANDARD TABLE OF BBP_PDS_PRC_DIFF, " | |||
| lt_et_pridoc2 | TYPE STANDARD TABLE OF BBP_PDS_PRC_DIFF, " | |||
| lt_et_sdln1 | TYPE STANDARD TABLE OF BBP_PDS_SDLN_DIFF, " | |||
| lt_et_sdln2 | TYPE STANDARD TABLE OF BBP_PDS_SDLN_DIFF, " | |||
| lt_et_status1 | TYPE STANDARD TABLE OF BBP_PDS_STATUS, " | |||
| lt_et_status2 | TYPE STANDARD TABLE OF BBP_PDS_STATUS, " | |||
| lt_et_diff_fields | TYPE STANDARD TABLE OF BBP_PDS_DIFF_FIELDS, " | |||
| lt_et_messages | TYPE STANDARD TABLE OF BBP_PDS_MESSAGES, " | |||
| lt_et_hcf1 | TYPE STANDARD TABLE OF BBP_PDS_HCF_DIFF, " | |||
| lt_et_orgdata1 | TYPE STANDARD TABLE OF BBP_PDS_ORG_DIFF, " | |||
| lv_et_conditions1 | TYPE BBPT_PD_CND_DIFF, " | |||
| lv_iv_comp_method | TYPE BBP_COMPARE_METHOD, " | |||
| lt_et_hcf2 | TYPE STANDARD TABLE OF BBP_PDS_HCF_DIFF, " | |||
| lt_et_icf1 | TYPE STANDARD TABLE OF BBP_PDS_ICF_DIFF, " | |||
| lt_et_icf2 | TYPE STANDARD TABLE OF BBP_PDS_ICF_DIFF, " | |||
| lt_et_tol1 | TYPE STANDARD TABLE OF BBP_PDS_TOL_DIFF, " | |||
| lt_et_tol2 | TYPE STANDARD TABLE OF BBP_PDS_TOL_DIFF, " | |||
| lt_et_weight1 | TYPE STANDARD TABLE OF BBP_PDS_WEIGHT_DIFF, " | |||
| lt_et_weight2 | TYPE STANDARD TABLE OF BBP_PDS_WEIGHT_DIFF, " | |||
| lt_et_dep1 | TYPE STANDARD TABLE OF BBP_PDS_DEP_DIFF, " | |||
| lt_et_dep2 | TYPE STANDARD TABLE OF BBP_PDS_DEP_DIFF, " | |||
| lt_et_exchrate1 | TYPE STANDARD TABLE OF BBP_PDS_EXR_DIFF, " | |||
| lt_et_orgdata2 | TYPE STANDARD TABLE OF BBP_PDS_ORG_DIFF, " | |||
| lv_is_read_flags | TYPE BBPS_DIFF_DETAIL_REQUESTED, " | |||
| lv_et_conditions2 | TYPE BBPT_PD_CND_DIFF, " | |||
| lt_et_exchrate2 | TYPE STANDARD TABLE OF BBP_PDS_EXR_DIFF, " | |||
| lv_iv_get_all | TYPE XFELD, " | |||
| lv_et_dyn_attr1 | TYPE BBPT_PDS_DYNATTR_DIFF, " | |||
| lt_et_longtext1 | TYPE STANDARD TABLE OF BBP_PDS_LONGTEXT, " | |||
| lv_et_dyn_attr2 | TYPE BBPT_PDS_DYNATTR_DIFF, " | |||
| lt_et_longtext2 | TYPE STANDARD TABLE OF BBP_PDS_LONGTEXT, " | |||
| lv_iv_catalog_trans | TYPE XFELD, " | |||
| lt_et_attach1 | TYPE STANDARD TABLE OF BBP_PDS_ATT_DIFF, " | |||
| lv_ev_objects_differ | TYPE XFELD, " | |||
| lt_et_attach2 | TYPE STANDARD TABLE OF BBP_PDS_ATT_DIFF, " | |||
| lt_et_tax1 | TYPE STANDARD TABLE OF BBP_PDS_TAX_DIFF. " |
|   CALL FUNCTION 'BBP_PROCDOC_GET_DIFF' " |
| EXPORTING | ||
| IV_GUID1 | = lv_iv_guid1 | |
| IV_GUID2 | = lv_iv_guid2 | |
| IV_COMP_METHOD | = lv_iv_comp_method | |
| IS_READ_FLAGS | = lv_is_read_flags | |
| IV_GET_ALL | = lv_iv_get_all | |
| IV_CATALOG_TRANS | = lv_iv_catalog_trans | |
| IMPORTING | ||
| ES_HEADER1 | = lv_es_header1 | |
| ES_HEADER2 | = lv_es_header2 | |
| ET_CONDITIONS1 | = lv_et_conditions1 | |
| ET_CONDITIONS2 | = lv_et_conditions2 | |
| ET_DYN_ATTR1 | = lv_et_dyn_attr1 | |
| ET_DYN_ATTR2 | = lv_et_dyn_attr2 | |
| EV_OBJECTS_DIFFER | = lv_ev_objects_differ | |
| TABLES | ||
| ET_ITEM1 | = lt_et_item1 | |
| ET_TAX2 | = lt_et_tax2 | |
| ET_FREIGHT1 | = lt_et_freight1 | |
| ET_FREIGHT2 | = lt_et_freight2 | |
| ET_CONFIRM1 | = lt_et_confirm1 | |
| ET_CONFIRM2 | = lt_et_confirm2 | |
| ET_LIMIT1 | = lt_et_limit1 | |
| ET_LIMIT2 | = lt_et_limit2 | |
| ET_PARTNER1 | = lt_et_partner1 | |
| ET_PARTNER2 | = lt_et_partner2 | |
| ET_ACCOUNT1 | = lt_et_account1 | |
| ET_ITEM2 | = lt_et_item2 | |
| ET_ACCOUNT2 | = lt_et_account2 | |
| ET_PRIDOC1 | = lt_et_pridoc1 | |
| ET_PRIDOC2 | = lt_et_pridoc2 | |
| ET_SDLN1 | = lt_et_sdln1 | |
| ET_SDLN2 | = lt_et_sdln2 | |
| ET_STATUS1 | = lt_et_status1 | |
| ET_STATUS2 | = lt_et_status2 | |
| ET_DIFF_FIELDS | = lt_et_diff_fields | |
| ET_MESSAGES | = lt_et_messages | |
| ET_HCF1 | = lt_et_hcf1 | |
| ET_ORGDATA1 | = lt_et_orgdata1 | |
| ET_HCF2 | = lt_et_hcf2 | |
| ET_ICF1 | = lt_et_icf1 | |
| ET_ICF2 | = lt_et_icf2 | |
| ET_TOL1 | = lt_et_tol1 | |
| ET_TOL2 | = lt_et_tol2 | |
| ET_WEIGHT1 | = lt_et_weight1 | |
| ET_WEIGHT2 | = lt_et_weight2 | |
| ET_DEP1 | = lt_et_dep1 | |
| ET_DEP2 | = lt_et_dep2 | |
| ET_EXCHRATE1 | = lt_et_exchrate1 | |
| ET_ORGDATA2 | = lt_et_orgdata2 | |
| ET_EXCHRATE2 | = lt_et_exchrate2 | |
| ET_LONGTEXT1 | = lt_et_longtext1 | |
| ET_LONGTEXT2 | = lt_et_longtext2 | |
| ET_ATTACH1 | = lt_et_attach1 | |
| ET_ATTACH2 | = lt_et_attach2 | |
| ET_TAX1 | = lt_et_tax1 | |
| . " BBP_PROCDOC_GET_DIFF | ||
ABAP code using 7.40 inline data declarations to call FM BBP_PROCDOC_GET_DIFF
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 GUID FROM CRMD_ORDERADM_H INTO @DATA(ld_iv_guid1). | ||||
| "SELECT single GUID FROM CRMD_ORDERADM_H INTO @DATA(ld_iv_guid2). | ||||
Search for further information about these or an SAP related objects