SAP AIAL_REQUESTS_GETALL_VIA_OBJNO Function Module for









AIAL_REQUESTS_GETALL_VIA_OBJNO is a standard aial requests getall via objno 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 aial requests getall via objno FM, simply by entering the name AIAL_REQUESTS_GETALL_VIA_OBJNO into the relevant SAP transaction such as SE37 or SE38.

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



Function AIAL_REQUESTS_GETALL_VIA_OBJNO 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 'AIAL_REQUESTS_GETALL_VIA_OBJNO'"
EXPORTING
* I_GNJHR = "
* I_FLG_BUDGET = ' ' "
* I_FLG_RELBUDGET = ' ' "
* I_FLG_COSTS = ' ' "
* I_VALUTYP = '0' "
* I_FLG_VALUTYP_ALL = ' ' "
* I_COSTS_FROMYEAR = '0000' "
* I_COSTS_FROMPER = '000' "
* I_COSTS_TOYEAR = '0000' "
* I_COSTS_TOPER = '000' "
* I_STATSEL_MEASURES = ' ' "
* I_KOKRS = "
* I_FLG_LEDGER_ALL = ' ' "
IT_COOBJ_REQUESTS = "
* I_FLG_MASTERDATA_REQUESTS = 'X' "
* I_FLG_PROFIT_DATA_REQUESTS = ' ' "
* I_FLG_PLAN_REQUESTS = 'X' "
* I_FLG_MASTERDATA_MEASURES = ' ' "
* I_FLG_PLAN_MEASURES = ' ' "

IMPORTING
ETX_MASTERDATA = "
ETX_VALUES = "
ETX_MEAS_REQUEST_ASSIGN = "

TABLES
* IR_VERSION = "

EXCEPTIONS
NO_DATA_REQUESTED = 1
.



IMPORTING Parameters details for AIAL_REQUESTS_GETALL_VIA_OBJNO

I_GNJHR -

Data type: IMTP-GJAHR
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_FLG_BUDGET -

Data type: IMIS_TYPE_FLG
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_FLG_RELBUDGET -

Data type: IMIS_TYPE_FLG
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_FLG_COSTS -

Data type: IMIS_TYPE_FLG
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_VALUTYP -

Data type: TKA09-VALUTYP
Default: '0'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_FLG_VALUTYP_ALL -

Data type: IMIS_TYPE_FLG
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_COSTS_FROMYEAR -

Data type: RIPASP-ACTFY
Default: '0000'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_COSTS_FROMPER -

Data type: RIPASP-ACTFP
Default: '000'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_COSTS_TOYEAR -

Data type: RIPASP-ACTFY
Default: '0000'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_COSTS_TOPER -

Data type: RIPASP-ACTTP
Default: '000'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_STATSEL_MEASURES -

Data type: RIPASP-STATSEL
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_KOKRS -

Data type: IMAK-VKOKRS
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_FLG_LEDGER_ALL -

Data type: XFELD
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_COOBJ_REQUESTS -

Data type: IM_COOBJ_TAB_TYPE
Optional: No
Call by Reference: No ( called with pass by value option)

I_FLG_MASTERDATA_REQUESTS -

Data type: IMIS_TYPE_FLG
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_FLG_PROFIT_DATA_REQUESTS -

Data type: IMIS_TYPE_FLG
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_FLG_PLAN_REQUESTS -

Data type: IMIS_TYPE_FLG
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_FLG_MASTERDATA_MEASURES -

Data type: IMIS_TYPE_FLG
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_FLG_PLAN_MEASURES -

Data type: IMIS_TYPE_FLG
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for AIAL_REQUESTS_GETALL_VIA_OBJNO

ETX_MASTERDATA -

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

ETX_VALUES -

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

ETX_MEAS_REQUEST_ASSIGN -

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

TABLES Parameters details for AIAL_REQUESTS_GETALL_VIA_OBJNO

IR_VERSION -

Data type: CORA_VERSN
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXCEPTIONS details

NO_DATA_REQUESTED -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for AIAL_REQUESTS_GETALL_VIA_OBJNO 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_gnjhr  TYPE IMTP-GJAHR, "   
lt_ir_version  TYPE STANDARD TABLE OF CORA_VERSN, "   
lv_etx_masterdata  TYPE IM_BUFFER_MEASURES_TAB_TYPE, "   
lv_no_data_requested  TYPE IM_BUFFER_MEASURES_TAB_TYPE, "   
lv_i_flg_budget  TYPE IMIS_TYPE_FLG, "   ' '
lv_i_flg_relbudget  TYPE IMIS_TYPE_FLG, "   ' '
lv_i_flg_costs  TYPE IMIS_TYPE_FLG, "   ' '
lv_i_valutyp  TYPE TKA09-VALUTYP, "   '0'
lv_i_flg_valutyp_all  TYPE IMIS_TYPE_FLG, "   ' '
lv_i_costs_fromyear  TYPE RIPASP-ACTFY, "   '0000'
lv_i_costs_fromper  TYPE RIPASP-ACTFP, "   '000'
lv_i_costs_toyear  TYPE RIPASP-ACTFY, "   '0000'
lv_i_costs_toper  TYPE RIPASP-ACTTP, "   '000'
lv_i_statsel_measures  TYPE RIPASP-STATSEL, "   SPACE
lv_i_kokrs  TYPE IMAK-VKOKRS, "   
lv_etx_values  TYPE IM_COVOB_TAB_TYPE, "   
lv_i_flg_ledger_all  TYPE XFELD, "   ' '
lv_etx_meas_request_assign  TYPE IM_OBJASSIGN_TAB_TYPE, "   
lv_it_coobj_requests  TYPE IM_COOBJ_TAB_TYPE, "   
lv_i_flg_masterdata_requests  TYPE IMIS_TYPE_FLG, "   'X'
lv_i_flg_profit_data_requests  TYPE IMIS_TYPE_FLG, "   ' '
lv_i_flg_plan_requests  TYPE IMIS_TYPE_FLG, "   'X'
lv_i_flg_masterdata_measures  TYPE IMIS_TYPE_FLG, "   ' '
lv_i_flg_plan_measures  TYPE IMIS_TYPE_FLG. "   ' '

  CALL FUNCTION 'AIAL_REQUESTS_GETALL_VIA_OBJNO'  "
    EXPORTING
         I_GNJHR = lv_i_gnjhr
         I_FLG_BUDGET = lv_i_flg_budget
         I_FLG_RELBUDGET = lv_i_flg_relbudget
         I_FLG_COSTS = lv_i_flg_costs
         I_VALUTYP = lv_i_valutyp
         I_FLG_VALUTYP_ALL = lv_i_flg_valutyp_all
         I_COSTS_FROMYEAR = lv_i_costs_fromyear
         I_COSTS_FROMPER = lv_i_costs_fromper
         I_COSTS_TOYEAR = lv_i_costs_toyear
         I_COSTS_TOPER = lv_i_costs_toper
         I_STATSEL_MEASURES = lv_i_statsel_measures
         I_KOKRS = lv_i_kokrs
         I_FLG_LEDGER_ALL = lv_i_flg_ledger_all
         IT_COOBJ_REQUESTS = lv_it_coobj_requests
         I_FLG_MASTERDATA_REQUESTS = lv_i_flg_masterdata_requests
         I_FLG_PROFIT_DATA_REQUESTS = lv_i_flg_profit_data_requests
         I_FLG_PLAN_REQUESTS = lv_i_flg_plan_requests
         I_FLG_MASTERDATA_MEASURES = lv_i_flg_masterdata_measures
         I_FLG_PLAN_MEASURES = lv_i_flg_plan_measures
    IMPORTING
         ETX_MASTERDATA = lv_etx_masterdata
         ETX_VALUES = lv_etx_values
         ETX_MEAS_REQUEST_ASSIGN = lv_etx_meas_request_assign
    TABLES
         IR_VERSION = lt_ir_version
    EXCEPTIONS
        NO_DATA_REQUESTED = 1
. " AIAL_REQUESTS_GETALL_VIA_OBJNO




ABAP code using 7.40 inline data declarations to call FM AIAL_REQUESTS_GETALL_VIA_OBJNO

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 GJAHR FROM IMTP INTO @DATA(ld_i_gnjhr).
 
 
 
 
DATA(ld_i_flg_budget) = ' '.
 
DATA(ld_i_flg_relbudget) = ' '.
 
DATA(ld_i_flg_costs) = ' '.
 
"SELECT single VALUTYP FROM TKA09 INTO @DATA(ld_i_valutyp).
DATA(ld_i_valutyp) = '0'.
 
DATA(ld_i_flg_valutyp_all) = ' '.
 
"SELECT single ACTFY FROM RIPASP INTO @DATA(ld_i_costs_fromyear).
DATA(ld_i_costs_fromyear) = '0000'.
 
"SELECT single ACTFP FROM RIPASP INTO @DATA(ld_i_costs_fromper).
DATA(ld_i_costs_fromper) = '000'.
 
"SELECT single ACTFY FROM RIPASP INTO @DATA(ld_i_costs_toyear).
DATA(ld_i_costs_toyear) = '0000'.
 
"SELECT single ACTTP FROM RIPASP INTO @DATA(ld_i_costs_toper).
DATA(ld_i_costs_toper) = '000'.
 
"SELECT single STATSEL FROM RIPASP INTO @DATA(ld_i_statsel_measures).
DATA(ld_i_statsel_measures) = ' '.
 
"SELECT single VKOKRS FROM IMAK INTO @DATA(ld_i_kokrs).
 
 
DATA(ld_i_flg_ledger_all) = ' '.
 
 
 
DATA(ld_i_flg_masterdata_requests) = 'X'.
 
DATA(ld_i_flg_profit_data_requests) = ' '.
 
DATA(ld_i_flg_plan_requests) = 'X'.
 
DATA(ld_i_flg_masterdata_measures) = ' '.
 
DATA(ld_i_flg_plan_measures) = ' '.
 


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!