SAP RV_EXPORT_BOYCOTTLIST_CHECK Function Module for NOTRANSL: Exportkontrolle: Boykottlistenprüfung eines Partners
RV_EXPORT_BOYCOTTLIST_CHECK is a standard rv export boycottlist 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 NOTRANSL: Exportkontrolle: Boykottlistenprüfung eines Partners 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 rv export boycottlist check FM, simply by entering the name RV_EXPORT_BOYCOTTLIST_CHECK into the relevant SAP transaction such as SE37 or SE38.
Function Group: V52E
Program Name: SAPLV52E
Main Program: SAPLV52E
Appliation area: V
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function RV_EXPORT_BOYCOTTLIST_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 'RV_EXPORT_BOYCOTTLIST_CHECK'"NOTRANSL: Exportkontrolle: Boykottlistenprüfung eines Partners.
EXPORTING
I_KUNNR = "Customer Number
I_LNDEX = "Country key
IMPORTING
I_SPERRE = "Result of Check
I_BOYLD = "Country Key of Boycott Country
EXCEPTIONS
NOT_FOUND = 1
Customer Function user exits
Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.EXIT_SAPLV52E_001 SD Legal Control: User exit for additional license checks
IMPORTING Parameters details for RV_EXPORT_BOYCOTTLIST_CHECK
I_KUNNR - Customer Number
Data type: KNEX-KUNNROptional: No
Call by Reference: No ( called with pass by value option)
I_LNDEX - Country key
Data type: KNEX-LNDEXOptional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for RV_EXPORT_BOYCOTTLIST_CHECK
I_SPERRE - Result of Check
Data type: SY-SUBRCOptional: No
Call by Reference: No ( called with pass by value option)
I_BOYLD - Country Key of Boycott Country
Data type: KNEX-LNDEXOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
NOT_FOUND - Data Record not found
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for RV_EXPORT_BOYCOTTLIST_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: | ||||
| lv_i_kunnr | TYPE KNEX-KUNNR, " | |||
| lv_i_sperre | TYPE SY-SUBRC, " | |||
| lv_not_found | TYPE SY, " | |||
| lv_i_boyld | TYPE KNEX-LNDEX, " | |||
| lv_i_lndex | TYPE KNEX-LNDEX. " |
|   CALL FUNCTION 'RV_EXPORT_BOYCOTTLIST_CHECK' "NOTRANSL: Exportkontrolle: Boykottlistenprüfung eines Partners |
| EXPORTING | ||
| I_KUNNR | = lv_i_kunnr | |
| I_LNDEX | = lv_i_lndex | |
| IMPORTING | ||
| I_SPERRE | = lv_i_sperre | |
| I_BOYLD | = lv_i_boyld | |
| EXCEPTIONS | ||
| NOT_FOUND = 1 | ||
| . " RV_EXPORT_BOYCOTTLIST_CHECK | ||
ABAP code using 7.40 inline data declarations to call FM RV_EXPORT_BOYCOTTLIST_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 KUNNR FROM KNEX INTO @DATA(ld_i_kunnr). | ||||
| "SELECT single SUBRC FROM SY INTO @DATA(ld_i_sperre). | ||||
| "SELECT single LNDEX FROM KNEX INTO @DATA(ld_i_boyld). | ||||
| "SELECT single LNDEX FROM KNEX INTO @DATA(ld_i_lndex). | ||||
Search for further information about these or an SAP related objects