OBJECT_ASSIGNMENT_GET SAP Method FM_DC_OBJECT_ASSIGNMENT_GET









Below is documentation, parameters and attributes of ABAP Method OBJECT_ASSIGNMENT_GET within SAP class IF_FMDC_ACCT_ASSIGNMENT_DERIVE. 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_FMDC_ACCT_ASSIGNMENT_DERIVE 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 OBJECT_ASSIGNMENT_GET can also be found below:

  • Importing parameters
  • Exporting parameters
  • Changing parameters
  • Returning parameters
  • Exceptions
  • Coding Examples


Parameters of Method OBJECT_ASSIGNMENT_GET

.

NameTypeData TypeDescriptionDefault Value
IV_COMPANY_CODEImportingTYPE
BUKRS
Company Code
IV_CONTROL_AREAImportingTYPE
KOKRS
Controlling Area
IV_COSTCENTERImportingTYPE
KOSTL
Cost Center
IV_DATEImportingTYPE
SYDATUM
Current Date of Application Server
IV_ORDERIDImportingTYPE
AUFNR
Order Number
IV_WBS_ELEMENTImportingTYPE
PS_POSID
Work Breakdown Structure Element (WBS Element)
CS_DIMENSIONSChangingTYPE
FMDIMENSIONS
Funds Management Account Assignments
CT_RETURNChangingTYPE
BUS_BAPIRET2_T
Business Partner: Table Type for BAPIRET2
CV_ACTIVEChangingTYPE
XFELD
Checkbox



Exceptions of Method OBJECT_ASSIGNMENT_GET

This method does not have any exceptions

Example ABAP coding


DATA: lo_class TYPE REF TO IF_FMDC_ACCT_ASSIGNMENT_DERIVE.
DATA: lv_CS_DIMENSIONS TYPE FMDIMENSIONS,
lv_CT_RETURN TYPE BUS_BAPIRET2_T,
lv_CV_ACTIVE TYPE XFELD,
lv_IV_COMPANY_CODE TYPE BUKRS,
lv_IV_CONTROL_AREA TYPE KOKRS,
lv_IV_COSTCENTER TYPE KOSTL,
lv_IV_DATE TYPE SYDATUM,
lv_IV_ORDERID TYPE AUFNR,
lv_IV_WBS_ELEMENT TYPE PS_POSID,
lv_other TYPE c.

CALL METHOD lo_class=>OBJECT_ASSIGNMENT_GET(
EXPORTING
IV_COMPANY_CODE = lv_IV_COMPANY_CODE
IV_CONTROL_AREA = lv_IV_CONTROL_AREA
IV_COSTCENTER = lv_IV_COSTCENTER
IV_DATE = lv_IV_DATE
IV_ORDERID = lv_IV_ORDERID
IV_WBS_ELEMENT = lv_IV_WBS_ELEMENT
CHANGING
CS_DIMENSIONS = lv_CS_DIMENSIONS
CT_RETURN = lv_CT_RETURN
CV_ACTIVE = lv_CV_ACTIVE ).

Links to Related Class(s)

IF_FMDC_...
Full list of available SAP object classes

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!