SAP AIPB_PLAN_AND_BUDG_VALUES_SUM Function Module for
AIPB_PLAN_AND_BUDG_VALUES_SUM is a standard aipb plan and budg values sum 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 aipb plan and budg values sum FM, simply by entering the name AIPB_PLAN_AND_BUDG_VALUES_SUM into the relevant SAP transaction such as SE37 or SE38.
Function Group: AIPB
Program Name: SAPLAIPB
Main Program:
Appliation area: A
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function AIPB_PLAN_AND_BUDG_VALUES_SUM 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 'AIPB_PLAN_AND_BUDG_VALUES_SUM'".
EXPORTING
I_IMPR = "
* I_MSGTY = 'E' "
* I_MSGNO = "
IMPORTING
E_RETURN = "
FLG_VALUES_NOT_ZERO = "
CHANGING
* FLG_ERROR = "
TABLES
* IT_BPGE = "
* IT_BPJA = "
IMPORTING Parameters details for AIPB_PLAN_AND_BUDG_VALUES_SUM
I_IMPR -
Data type: IMPROptional: No
Call by Reference: No ( called with pass by value option)
I_MSGTY -
Data type: SY-MSGTYDefault: 'E'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_MSGNO -
Data type: SY-MSGNOOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for AIPB_PLAN_AND_BUDG_VALUES_SUM
E_RETURN -
Data type: BAPIRET2Optional: No
Call by Reference: No ( called with pass by value option)
FLG_VALUES_NOT_ZERO -
Data type: XFELDOptional: No
Call by Reference: No ( called with pass by value option)
CHANGING Parameters details for AIPB_PLAN_AND_BUDG_VALUES_SUM
FLG_ERROR -
Data type: XFELDOptional: Yes
Call by Reference: Yes
TABLES Parameters details for AIPB_PLAN_AND_BUDG_VALUES_SUM
IT_BPGE -
Data type: BPGEOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_BPJA -
Data type: BPJAOptional: Yes
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for AIPB_PLAN_AND_BUDG_VALUES_SUM 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_impr | TYPE IMPR, " | |||
| lt_it_bpge | TYPE STANDARD TABLE OF BPGE, " | |||
| lv_e_return | TYPE BAPIRET2, " | |||
| lv_flg_error | TYPE XFELD, " | |||
| lt_it_bpja | TYPE STANDARD TABLE OF BPJA, " | |||
| lv_i_msgty | TYPE SY-MSGTY, " 'E' | |||
| lv_flg_values_not_zero | TYPE XFELD, " | |||
| lv_i_msgno | TYPE SY-MSGNO. " |
|   CALL FUNCTION 'AIPB_PLAN_AND_BUDG_VALUES_SUM' " |
| EXPORTING | ||
| I_IMPR | = lv_i_impr | |
| I_MSGTY | = lv_i_msgty | |
| I_MSGNO | = lv_i_msgno | |
| IMPORTING | ||
| E_RETURN | = lv_e_return | |
| FLG_VALUES_NOT_ZERO | = lv_flg_values_not_zero | |
| CHANGING | ||
| FLG_ERROR | = lv_flg_error | |
| TABLES | ||
| IT_BPGE | = lt_it_bpge | |
| IT_BPJA | = lt_it_bpja | |
| . " AIPB_PLAN_AND_BUDG_VALUES_SUM | ||
ABAP code using 7.40 inline data declarations to call FM AIPB_PLAN_AND_BUDG_VALUES_SUM
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 MSGTY FROM SY INTO @DATA(ld_i_msgty). | ||||
| DATA(ld_i_msgty) | = 'E'. | |||
| "SELECT single MSGNO FROM SY INTO @DATA(ld_i_msgno). | ||||
Search for further information about these or an SAP related objects