SAP META_PROD_REVLV_CHECK Function Module for Post purchase order commitment
META_PROD_REVLV_CHECK is a standard meta prod revlv check SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Post purchase order commitment processing and below is the pattern details for this FM, 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 meta prod revlv check FM, simply by entering the name META_PROD_REVLV_CHECK into the relevant SAP transaction such as SE37 or SE38.
Function Group: BBP_BD_META_BAPIS_PART2
Program Name: SAPLBBP_BD_META_BAPIS_PART2
Main Program: SAPLBBP_BD_META_BAPIS_PART2
Appliation area: M
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function META_PROD_REVLV_CHECK 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 'META_PROD_REVLV_CHECK'"Post purchase order commitment.
EXPORTING
* IV_REVISION_LEVEL = "Revision Level
* IV_LOGICAL_SYSTEM = "Logisches System
* IV_PRODUCT_ID = "Product ID
* IV_PRODUCT_GUID = "Internal Unique ID of Product
TABLES
* RETURN = "Return Parameter
* CONTROL_RECORD = "
EXCEPTIONS
REVISION_LEVEL_NOT_FOUND = 1 INTERNAL_ERROR = 2
IMPORTING Parameters details for META_PROD_REVLV_CHECK
IV_REVISION_LEVEL - Revision Level
Data type: REVLVOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_LOGICAL_SYSTEM - Logisches System
Data type: BBP_BACKEND_DEST-LOG_SYSOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_PRODUCT_ID - Product ID
Data type: COMT_PRODUCT_IDOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_PRODUCT_GUID - Internal Unique ID of Product
Data type: COMT_PRODUCT_GUIDOptional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for META_PROD_REVLV_CHECK
RETURN - Return Parameter
Data type: BAPIRET2Optional: Yes
Call by Reference: No ( called with pass by value option)
CONTROL_RECORD -
Data type: BBP_CONTROL_RECORDOptional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
REVISION_LEVEL_NOT_FOUND - Revision level not found
Data type:Optional: No
Call by Reference: Yes
INTERNAL_ERROR - Internal error
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for META_PROD_REVLV_CHECK 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_return | TYPE STANDARD TABLE OF BAPIRET2, " | |||
| lv_iv_revision_level | TYPE REVLV, " | |||
| lv_revision_level_not_found | TYPE REVLV, " | |||
| lt_control_record | TYPE STANDARD TABLE OF BBP_CONTROL_RECORD, " | |||
| lv_internal_error | TYPE BBP_CONTROL_RECORD, " | |||
| lv_iv_logical_system | TYPE BBP_BACKEND_DEST-LOG_SYS, " | |||
| lv_iv_product_id | TYPE COMT_PRODUCT_ID, " | |||
| lv_iv_product_guid | TYPE COMT_PRODUCT_GUID. " |
|   CALL FUNCTION 'META_PROD_REVLV_CHECK' "Post purchase order commitment |
| EXPORTING | ||
| IV_REVISION_LEVEL | = lv_iv_revision_level | |
| IV_LOGICAL_SYSTEM | = lv_iv_logical_system | |
| IV_PRODUCT_ID | = lv_iv_product_id | |
| IV_PRODUCT_GUID | = lv_iv_product_guid | |
| TABLES | ||
| RETURN | = lt_return | |
| CONTROL_RECORD | = lt_control_record | |
| EXCEPTIONS | ||
| REVISION_LEVEL_NOT_FOUND = 1 | ||
| INTERNAL_ERROR = 2 | ||
| . " META_PROD_REVLV_CHECK | ||
ABAP code using 7.40 inline data declarations to call FM META_PROD_REVLV_CHECK
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 LOG_SYS FROM BBP_BACKEND_DEST INTO @DATA(ld_iv_logical_system). | ||||
Search for further information about these or an SAP related objects