SAP BURB_GET_CALCRULE Function Module for Read RIB Calculation Formula (With Text)









BURB_GET_CALCRULE is a standard burb get calcrule SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Read RIB Calculation Formula (With Text) 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 burb get calcrule FM, simply by entering the name BURB_GET_CALCRULE into the relevant SAP transaction such as SE37 or SE38.

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



Function BURB_GET_CALCRULE 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 'BURB_GET_CALCRULE'"Read RIB Calculation Formula (With Text)
EXPORTING
* I_APPLIC = 'FM' "Application
I_CALCRULE = "Calculation Rule for Revenue Increasing the Budget
* I_FLG_BYPASS_BUFFER = ' ' "Flag: By-pass buffer (-> force SELECT)
* I_FLG_WITH_TEXT = ' ' "Flag: Read with text

IMPORTING
E_S_BURBCALCRULES = "Calculation Rules for Revenue Increasing the Budget
E_S_BURBCALCRULEST = "Texts for RIB Calculation Rules

EXCEPTIONS
NO_ENTRY_FOUND = 1
.



IMPORTING Parameters details for BURB_GET_CALCRULE

I_APPLIC - Application

Data type: BUKU_APPLIC
Default: 'FM'
Optional: Yes
Call by Reference: Yes

I_CALCRULE - Calculation Rule for Revenue Increasing the Budget

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

I_FLG_BYPASS_BUFFER - Flag: By-pass buffer (-> force SELECT)

Data type: XFELD
Default: ' '
Optional: Yes
Call by Reference: Yes

I_FLG_WITH_TEXT - Flag: Read with text

Data type: XFELD
Default: ' '
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for BURB_GET_CALCRULE

E_S_BURBCALCRULES - Calculation Rules for Revenue Increasing the Budget

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

E_S_BURBCALCRULEST - Texts for RIB Calculation Rules

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

EXCEPTIONS details

NO_ENTRY_FOUND - Entry does not exist

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for BURB_GET_CALCRULE 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_applic  TYPE BUKU_APPLIC, "   'FM'
lv_no_entry_found  TYPE BUKU_APPLIC, "   
lv_e_s_burbcalcrules  TYPE BURBCALCRULES, "   
lv_i_calcrule  TYPE BURB_CALCRULE, "   
lv_e_s_burbcalcrulest  TYPE BURBCALCRULEST, "   
lv_i_flg_bypass_buffer  TYPE XFELD, "   ' '
lv_i_flg_with_text  TYPE XFELD. "   ' '

  CALL FUNCTION 'BURB_GET_CALCRULE'  "Read RIB Calculation Formula (With Text)
    EXPORTING
         I_APPLIC = lv_i_applic
         I_CALCRULE = lv_i_calcrule
         I_FLG_BYPASS_BUFFER = lv_i_flg_bypass_buffer
         I_FLG_WITH_TEXT = lv_i_flg_with_text
    IMPORTING
         E_S_BURBCALCRULES = lv_e_s_burbcalcrules
         E_S_BURBCALCRULEST = lv_e_s_burbcalcrulest
    EXCEPTIONS
        NO_ENTRY_FOUND = 1
. " BURB_GET_CALCRULE




ABAP code using 7.40 inline data declarations to call FM BURB_GET_CALCRULE

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.

DATA(ld_i_applic) = 'FM'.
 
 
 
 
 
DATA(ld_i_flg_bypass_buffer) = ' '.
 
DATA(ld_i_flg_with_text) = ' '.
 


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!