METHOD_01 SAP Method Update Information for New Document (Document Type and Text)
Below is documentation, parameters and attributes of ABAP Method METHOD_01 within SAP class IF_EX_BADI_CANCELED_FUND. There is also a number of example ABAP code snipts to help you use the functionality of this method.
This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name IF_EX_BADI_CANCELED_FUND into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.
Method Type - Instance
This is an Instance Method so needs to be instantiated first before you can access any of the methods. I.e. you need to create a local variable of TYPE ref to the class.The following technical details of method METHOD_01 can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method METHOD_01
.| Name | Type | Data Type | Description | Default Value |
| I_BUDGET_PD | Importing | TYPE FM_BUDGET_PERIOD | FM: Budget Period | |
| I_BUKRS | Importing | TYPE BUKRS | Company Code | |
| I_FISCAL_YEAR | Importing | TYPE GJAHR | Fiscal Year | |
| I_FUND | Importing | TYPE BP_GEBER | Fund | |
| I_VENDOR | Importing | TYPE LIFNR | Account Number of Vendor or Creditor | |
| C_DOCUMENT_TYPE | Changing | TYPE BLART | Document type | |
| C_TEXT | Changing | TYPE BKTXT | Item Text |
Exceptions of Method METHOD_01
This method does not have any exceptionsExample ABAP coding
DATA: lo_class TYPE REF TO IF_EX_BADI_CANCELED_FUND.
DATA: lv_C_DOCUMENT_TYPE TYPE BLART,
lv_C_TEXT TYPE BKTXT,
lv_I_BUDGET_PD TYPE FM_BUDGET_PERIOD,
lv_I_BUKRS TYPE BUKRS,
lv_I_FISCAL_YEAR TYPE GJAHR,
lv_I_FUND TYPE BP_GEBER,
lv_I_VENDOR TYPE LIFNR,
lv_other TYPE c.
CALL METHOD lo_class=>METHOD_01(
EXPORTING
I_BUDGET_PD = lv_I_BUDGET_PD
I_BUKRS = lv_I_BUKRS
I_FISCAL_YEAR = lv_I_FISCAL_YEAR
I_FUND = lv_I_FUND
I_VENDOR = lv_I_VENDOR
CHANGING
C_DOCUMENT_TYPE = lv_C_DOCUMENT_TYPE
C_TEXT = lv_C_TEXT ).
Links to Related Class(s)
IF_EX_BA...Full list of available SAP object classes
Search for further information about these or an SAP related objects