GET_ACCT_ASSIGNMENT SAP Method Get account assignment (COBL) for goods movement
Below is documentation, parameters and attributes of ABAP Method GET_ACCT_ASSIGNMENT within SAP class IF_EX_BADI_CCM_CLIST_APL. 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_CCM_CLIST_APL 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 GET_ACCT_ASSIGNMENT can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method GET_ACCT_ASSIGNMENT
.| Name | Type | Data Type | Description | Default Value |
| IS_COMPONENT | Importing | TYPE CLIST_COMPONENT_DATA | DI CCM: Component Installation Location Structure | |
| IS_RESB | Importing | TYPE RESBD | Reservation/dependent requirements | |
| IV_COMP_REF | Importing | TYPE REF TO CL_CCM_COMPONENT | Material Component | |
| CS_MKPF | Changing | TYPE MKPF | Header: Material Document | |
| CS_MSEG | Changing | TYPE MSEG | Document Segment: Material |
Exceptions of Method GET_ACCT_ASSIGNMENT
INTERNAL_ERROR -Example ABAP coding
DATA: lo_class TYPE REF TO IF_EX_BADI_CCM_CLIST_APL.
DATA: lv_CS_MKPF TYPE MKPF,
lv_CS_MSEG TYPE MSEG,
lv_IS_COMPONENT TYPE CLIST_COMPONENT_DATA,
lv_IS_RESB TYPE RESBD,
lv_IV_COMP_REF TYPE CL_CCM_COMPONENT,
lv_other TYPE c.
CALL METHOD lo_class=>GET_ACCT_ASSIGNMENT(
EXPORTING
IS_COMPONENT = lv_IS_COMPONENT
IS_RESB = lv_IS_RESB
IV_COMP_REF = lv_IV_COMP_REF
CHANGING
CS_MKPF = lv_CS_MKPF
CS_MSEG = lv_CS_MSEG ).
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