MG_IDOC_CREATE_FULL SAP Method Create IDocs of Dependent Components
Below is documentation, parameters and attributes of ABAP Method MG_IDOC_CREATE_FULL within SAP class IF_EX_BADI_MATERIAL_OD. 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_MATERIAL_OD 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 MG_IDOC_CREATE_FULL can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method MG_IDOC_CREATE_FULL
.| Name | Type | Data Type | Description | Default Value |
| MARAKEY | Importing | TYPE MGINT_BDIMARAKEY | Transfer Table: MARA - Key Fields | |
| MESSAGE_TYPE | Importing | TYPE TBDME-MESTYP | Message Type | |
| RCVPFC | Importing | TYPE BDALEDC-RCVPFC | Partner function of recipient | |
| RCVPRN | Importing | TYPE BDALEDC-RCVPRN | Partner number of receiver | |
| RCVPRT | Importing | TYPE BDALEDC-RCVPRT | Partner type of receiver | |
| SNDPFC | Importing | TYPE BDALEDC-SNDPFC | Partner Function of Sender | |
| SNDPRN | Importing | TYPE BDALEDC-SNDPRN | Partner Number of Sender | |
| SNDPRT | Importing | TYPE BDALEDC-SNDPRT | Partner Type of Sender |
Exceptions of Method MG_IDOC_CREATE_FULL
This method does not have any exceptionsExample ABAP coding
DATA: lo_class TYPE REF TO IF_EX_BADI_MATERIAL_OD.
DATA: lv_MARAKEY TYPE MGINT_BDIMARAKEY,
lv_MESSAGE_TYPE TYPE TBDME-MESTYP,
lv_RCVPFC TYPE BDALEDC-RCVPFC,
lv_RCVPRN TYPE BDALEDC-RCVPRN,
lv_RCVPRT TYPE BDALEDC-RCVPRT,
lv_SNDPFC TYPE BDALEDC-SNDPFC,
lv_SNDPRN TYPE BDALEDC-SNDPRN,
lv_SNDPRT TYPE BDALEDC-SNDPRT,
lv_other TYPE c.
CALL METHOD lo_class=>MG_IDOC_CREATE_FULL(
EXPORTING
MARAKEY = lv_MARAKEY
MESSAGE_TYPE = lv_MESSAGE_TYPE
RCVPFC = lv_RCVPFC
RCVPRN = lv_RCVPRN
RCVPRT = lv_RCVPRT
SNDPFC = lv_SNDPFC
SNDPRN = lv_SNDPRN
SNDPRT = lv_SNDPRT ).
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