SAP AIPA_CHECK_BUDG_FOR_CONNECT Function Module for
AIPA_CHECK_BUDG_FOR_CONNECT is a standard aipa check budg for connect 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 aipa check budg for connect FM, simply by entering the name AIPA_CHECK_BUDG_FOR_CONNECT into the relevant SAP transaction such as SE37 or SE38.
Function Group: AIPA_CHECK_PROGPOS_ALLOC
Program Name: SAPLAIPA_CHECK_PROGPOS_ALLOC
Main Program: SAPLAIPA_CHECK_PROGPOS_ALLOC
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function AIPA_CHECK_BUDG_FOR_CONNECT 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 'AIPA_CHECK_BUDG_FOR_CONNECT'".
EXPORTING
* I_OBART = "
* I_OBJNR = "
* I_FLG_READ_REALMEAS_IQ = 'X' "
* IT_REALMEAS_IQ = "
* I_FLG_READ_PATH_PR = 'X' "
* IT_PATH_PR = "
I_IMPR = "
EXCEPTIONS
BUDGET_NOT_ZERO = 1
IMPORTING Parameters details for AIPA_CHECK_BUDG_FOR_CONNECT
I_OBART -
Data type: IMPS-OBARTOptional: Yes
Call by Reference: No ( called with pass by value option)
I_OBJNR -
Data type: IMZO-OBJNROptional: Yes
Call by Reference: No ( called with pass by value option)
I_FLG_READ_REALMEAS_IQ -
Data type: CDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
IT_REALMEAS_IQ -
Data type: IM_COOBJ_TAB_TYPEOptional: Yes
Call by Reference: No ( called with pass by value option)
I_FLG_READ_PATH_PR -
Data type: CDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
IT_PATH_PR -
Data type: IM_COOBJ_TAB_TYPEOptional: Yes
Call by Reference: No ( called with pass by value option)
I_IMPR -
Data type: IMPROptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
BUDGET_NOT_ZERO -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for AIPA_CHECK_BUDG_FOR_CONNECT 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_obart | TYPE IMPS-OBART, " | |||
| lv_budget_not_zero | TYPE IMPS, " | |||
| lv_i_objnr | TYPE IMZO-OBJNR, " | |||
| lv_i_flg_read_realmeas_iq | TYPE C, " 'X' | |||
| lv_it_realmeas_iq | TYPE IM_COOBJ_TAB_TYPE, " | |||
| lv_i_flg_read_path_pr | TYPE C, " 'X' | |||
| lv_it_path_pr | TYPE IM_COOBJ_TAB_TYPE, " | |||
| lv_i_impr | TYPE IMPR. " |
|   CALL FUNCTION 'AIPA_CHECK_BUDG_FOR_CONNECT' " |
| EXPORTING | ||
| I_OBART | = lv_i_obart | |
| I_OBJNR | = lv_i_objnr | |
| I_FLG_READ_REALMEAS_IQ | = lv_i_flg_read_realmeas_iq | |
| IT_REALMEAS_IQ | = lv_it_realmeas_iq | |
| I_FLG_READ_PATH_PR | = lv_i_flg_read_path_pr | |
| IT_PATH_PR | = lv_it_path_pr | |
| I_IMPR | = lv_i_impr | |
| EXCEPTIONS | ||
| BUDGET_NOT_ZERO = 1 | ||
| . " AIPA_CHECK_BUDG_FOR_CONNECT | ||
ABAP code using 7.40 inline data declarations to call FM AIPA_CHECK_BUDG_FOR_CONNECT
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 OBART FROM IMPS INTO @DATA(ld_i_obart). | ||||
| "SELECT single OBJNR FROM IMZO INTO @DATA(ld_i_objnr). | ||||
| DATA(ld_i_flg_read_realmeas_iq) | = 'X'. | |||
| DATA(ld_i_flg_read_path_pr) | = 'X'. | |||
Search for further information about these or an SAP related objects