SET_KUNNR SAP Method Set Customer
Below is documentation, parameters and attributes of ABAP Method SET_KUNNR within SAP class IF_MB_DELIVERY_PARTNER_BADI. 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_MB_DELIVERY_PARTNER_BADI 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 SET_KUNNR can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method SET_KUNNR
.| Name | Type | Data Type | Description | Default Value |
| I_MSEG | Importing | TYPE MSEG | Document Segment: Material | |
| I_T001W | Importing | TYPE T001W | Plants/Subsidiaries | |
| I_VM07M | Importing | TYPE VM07M | Fields: Update Control of Module Pool SAPMM07M | |
| I_XLK03 | Importing | TYPE KOMDLGN | General Delivery Interface: Communication Table | |
| E_KUNNR | Exporting | TYPE KUNNR | Customer Number |
Exceptions of Method SET_KUNNR
This method does not have any exceptionsExample ABAP coding
DATA: lo_class TYPE REF TO IF_MB_DELIVERY_PARTNER_BADI.
DATA: lv_E_KUNNR TYPE KUNNR,
lv_I_MSEG TYPE MSEG,
lv_I_T001W TYPE T001W,
lv_I_VM07M TYPE VM07M,
lv_I_XLK03 TYPE KOMDLGN,
lv_other TYPE c.
CALL METHOD lo_class=>SET_KUNNR(
EXPORTING
I_MSEG = lv_I_MSEG
I_T001W = lv_I_T001W
I_VM07M = lv_I_VM07M
I_XLK03 = lv_I_XLK03
IMPORTING
E_KUNNR = lv_E_KUNNR ).
Links to Related Class(s)
IF_MB_DE...Full list of available SAP object classes
Search for further information about these or an SAP related objects