BADI_ENJ_ALT_ADR SAP Method of class IF_EX_BADI_ENJ_ALT_ADR
Below is documentation, parameters and attributes of ABAP Method BADI_ENJ_ALT_ADR within SAP class IF_EX_BADI_ENJ_ALT_ADR. There is also a number of example ABAP code snipts to help you use the functionality of this method.
This is a private Method so can only be executed from within the class itself. I.e. You could access it from another method of the class.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_ENJ_ALT_ADR 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 BADI_ENJ_ALT_ADR can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method BADI_ENJ_ALT_ADR
.| Name | Type | Data Type | Description | Default Value |
| I_ACCNT | Importing | TYPE NEWKO | Account or Matchcode for the Next Line Item | |
| I_BELNR | Importing | TYPE BKPF-BELNR | Accounting Document Number | |
| I_BLART | Importing | TYPE BKPF-BLART | Document Type | |
| I_BLDAT | Importing | TYPE BKPF-BLDAT | Document Date in Document | |
| I_BUDAT | Importing | TYPE BKPF-BUDAT | Posting Date in the Document | |
| I_BUKRS | Importing | TYPE BKPF-BUKRS | Company Code | |
| I_EMPFB | Importing | TYPE BSEG-EMPFB | Payee/Payer | |
| I_GJAHR | Importing | TYPE BKPF-GJAHR | Fiscal Year | |
| I_GSBER | Importing | TYPE BSEG-GSBER | Business Area | |
| I_KOART | Importing | TYPE BSEG-KOART | Account Type | |
| I_MONAT | Importing | TYPE BKPF-MONAT | Fiscal Period | |
| I_OKCODE | Importing | TYPE C | ||
| I_SHKZG | Importing | TYPE BSEG-SHKZG | Debit/Credit Indicator | |
| I_WAERS | Importing | TYPE BKPF-WAERS | Currency Key | |
| I_XBLNR | Importing | TYPE BKPF-XBLNR | Reference Document Number | |
| I_XREF1 | Importing | TYPE BSEG-XREF1 | Business Partner Reference Key | |
| I_XREF2 | Importing | TYPE BSEG-XREF2 | Business Partner Reference Key | |
| I_XREF3 | Importing | TYPE BSEG-XREF3 | Reference Key for Line Item | |
| E_RC | Exporting | TYPE C |
Exceptions of Method BADI_ENJ_ALT_ADR
This method does not have any exceptionsExample ABAP coding
This is a private Method so the below code can only be executed from within the class itself. I.e. from another method of the class.DATA: lo_class TYPE REF TO IF_EX_BADI_ENJ_ALT_ADR.
DATA: lv_E_RC TYPE C,
lv_I_ACCNT TYPE NEWKO,
lv_I_BELNR TYPE BKPF-BELNR,
lv_I_BLART TYPE BKPF-BLART,
lv_I_BLDAT TYPE BKPF-BLDAT,
lv_I_BUDAT TYPE BKPF-BUDAT,
lv_I_BUKRS TYPE BKPF-BUKRS,
lv_I_EMPFB TYPE BSEG-EMPFB,
lv_I_GJAHR TYPE BKPF-GJAHR,
lv_I_GSBER TYPE BSEG-GSBER,
lv_I_KOART TYPE BSEG-KOART,
lv_I_MONAT TYPE BKPF-MONAT,
lv_I_OKCODE TYPE C,
lv_I_SHKZG TYPE BSEG-SHKZG,
lv_I_WAERS TYPE BKPF-WAERS,
lv_I_XBLNR TYPE BKPF-XBLNR,
lv_I_XREF1 TYPE BSEG-XREF1,
lv_I_XREF2 TYPE BSEG-XREF2,
lv_I_XREF3 TYPE BSEG-XREF3,
lv_other TYPE c.
CALL METHOD lo_class=>BADI_ENJ_ALT_ADR(
EXPORTING
I_ACCNT = lv_I_ACCNT
I_BELNR = lv_I_BELNR
I_BLART = lv_I_BLART
I_BLDAT = lv_I_BLDAT
I_BUDAT = lv_I_BUDAT
I_BUKRS = lv_I_BUKRS
I_EMPFB = lv_I_EMPFB
I_GJAHR = lv_I_GJAHR
I_GSBER = lv_I_GSBER
I_KOART = lv_I_KOART
I_MONAT = lv_I_MONAT
I_OKCODE = lv_I_OKCODE
I_SHKZG = lv_I_SHKZG
I_WAERS = lv_I_WAERS
I_XBLNR = lv_I_XBLNR
I_XREF1 = lv_I_XREF1
I_XREF2 = lv_I_XREF2
I_XREF3 = lv_I_XREF3
IMPORTING
E_RC = lv_E_RC ).
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