SAP EXIT_SAPLE20B_002 Function Module for IS-U: Enhancement Authority Check of Facts









EXIT_SAPLE20B_002 is a standard exit saple20b 002 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for IS-U: Enhancement Authority Check of Facts 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 exit saple20b 002 FM, simply by entering the name EXIT_SAPLE20B_002 into the relevant SAP transaction such as SE37 or SE38.

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



Function EXIT_SAPLE20B_002 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 'EXIT_SAPLE20B_002'"IS-U: Enhancement Authority Check of Facts
EXPORTING
X_OBJ = "
X_OPKEY = "
X_WTE221 = "Operands

CHANGING
XY_NO_CHANGE = "No Change Allowed
XY_WMODE = "Processing Mode (1 = Display, 2 = Change, 3 = Create...)

EXCEPTIONS
GENERAL_FAULT = 1
.



Related Function Modules

Below is a list of related SAP function modules this CUSTOMER FUNCTION exit / user exit is relevant for.
ISU_FACTS_CLOSE INTERNAL: Maintenance of Facts for Rate Category
ISU_FACTS_INPUT INTERNAL: Consistency Check for Billing Facts
ISU_FACTS_MAINTAIN INTERNAL: Maintenance of Conditions for a Rate
ISU_FACTS_OPEN_FROM_INSTLN INTERNAL: Open Fact Maintenance for Installation Facts
ISU_FACTS_OPEN_FROM_RATE INTERNAL: Open Fact Maintenance for Conditions
ISU_FACTS_OPEN_FROM_RATE_CAT INTERNAL: Open Fact Maintenance for Rate Category Facts
ISU_INST_FACTS_GET_PROPERTY Module for Get-Property
ISU_INST_FACTS_SET_PROPERTY Module for Set Property
ISU_O_INST_FACTS_ACTION_CHECK INTERNAL: Consistency Check for Rate Category Facts
ISU_O_INST_FACTS_ACTION_SAVE INTERNAL: Save Installation Facts
ISU_O_INST_FACTS_ARC_READ INTERNAL: Read Archived Facts in Dialog
ISU_O_INST_FACTS_CLOSE INTERNAL: Close Installation Facts
ISU_O_INST_FACTS_EXISTING INTERNAL: Checks Whether Installation Facts Exist
ISU_O_INST_FACTS_FIT_TO_PERIOD INTERNAL: Adjust Installation Facts to New Period
ISU_O_INST_FACTS_INPUT INTERNAL: Input Installation Facts
ISU_O_INST_FACTS_MAINTAIN INTERNAL: Maintain Facts for Installation (Individual Rate Category)
ISU_O_INST_FACTS_OPEN INTERNAL: Opens Processing for Installation Facts
ISU_O_INST_FACTS_PREPARE_CLOSE INTERNAL: Prepares for Closing of Installation Facts
ISU_RATE_CAT_FACTS_CHECK INTERNAL: Consistency Check for Rate Category Facts
ISU_RATE_CAT_FACTS_MAINTAIN INTERNAL: Maintenance of Facts for Rate Category
ISU_RATE_FACTS_CHECK INTERNAL: Consistency Check for Rate Category Facts
ISU_RATE_FACTS_MAINTAIN INTERNAL: Maintenance of Conditions for a Rate
ISU_S_INSTLN_FACT_DISPLAY INTERNAL: Display Installation Fact
ISU_S_RATE_CAT_FACT_DISPLAY INTERNAL: Display Rate Category Fact
ISU_S_RATE_FACT_DISPLAY INTERNAL: Display Rate Fact

IMPORTING Parameters details for EXIT_SAPLE20B_002

X_OBJ -

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

X_OPKEY -

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

X_WTE221 - Operands

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

CHANGING Parameters details for EXIT_SAPLE20B_002

XY_NO_CHANGE - No Change Allowed

Data type: REGEN-NO_CHANGE
Optional: No
Call by Reference: Yes

XY_WMODE - Processing Mode (1 = Display, 2 = Change, 3 = Create...)

Data type: REGEN-WMODE
Optional: No
Call by Reference: Yes

EXCEPTIONS details

GENERAL_FAULT -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for EXIT_SAPLE20B_002 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_x_obj  TYPE ISU20_FACTS, "   
lv_xy_no_change  TYPE REGEN-NO_CHANGE, "   
lv_general_fault  TYPE REGEN, "   
lv_x_opkey  TYPE ISU20_OPERAND_KEY, "   
lv_xy_wmode  TYPE REGEN-WMODE, "   
lv_x_wte221  TYPE TE221. "   

  CALL FUNCTION 'EXIT_SAPLE20B_002'  "IS-U: Enhancement Authority Check of Facts
    EXPORTING
         X_OBJ = lv_x_obj
         X_OPKEY = lv_x_opkey
         X_WTE221 = lv_x_wte221
    CHANGING
         XY_NO_CHANGE = lv_xy_no_change
         XY_WMODE = lv_xy_wmode
    EXCEPTIONS
        GENERAL_FAULT = 1
. " EXIT_SAPLE20B_002




ABAP code using 7.40 inline data declarations to call FM EXIT_SAPLE20B_002

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 NO_CHANGE FROM REGEN INTO @DATA(ld_xy_no_change).
 
 
 
"SELECT single WMODE FROM REGEN INTO @DATA(ld_xy_wmode).
 
 


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!