PARK_INVOICE SAP Method Park the Invoice
Below is documentation, parameters and attributes of ABAP Method PARK_INVOICE within SAP class EDX_PROCESS_DOCSET. 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 EDX_PROCESS_DOCSET 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 PARK_INVOICE can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method PARK_INVOICE
.Name | Type | Data Type | Description | Default Value |
I_DOCNUM | Importing | TYPE EDI_DOCNUM | IDoc Number | |
I_ORDER_NUMBER | Importing | TYPE EBELN | IDOC document number | |
I_POST | Importing | TYPE XFLAG | New Input Values | |
I_PO_DATA | Importing | TYPE ANY TABLE | ||
E_BELNR | Exporting | TYPE EDX_BELNR | EDX: Document Number | |
E_ERROR_TEXT | Exporting | TYPE STRING | ||
E_GJAHR | Exporting | TYPE GJAHR | Fiscal Year | |
LT_RETURN | Exporting | TYPE ANY TABLE |
Exceptions of Method PARK_INVOICE
EDX_BELNR
STRING
GJAHR
ANY TABLE
Example ABAP coding
DATA: lo_class TYPE REF TO EDX_PROCESS_DOCSET.
DATA: lv_E_BELNR TYPE EDX_BELNR,
lv_E_ERROR_TEXT TYPE STRING,
lv_E_GJAHR TYPE GJAHR,
lv_I_DOCNUM TYPE EDI_DOCNUM,
lv_I_ORDER_NUMBER TYPE EBELN,
lv_I_POST TYPE XFLAG,
lv_I_PO_DATA TYPE ANY TABLE,
lv_LT_RETURN TYPE ANY TABLE,
lv_other TYPE c.
CALL METHOD lo_class=>PARK_INVOICE(
EXPORTING
I_DOCNUM = lv_I_DOCNUM
I_ORDER_NUMBER = lv_I_ORDER_NUMBER
I_POST = lv_I_POST
I_PO_DATA = lv_I_PO_DATA
IMPORTING
E_BELNR = lv_E_BELNR
E_ERROR_TEXT = lv_E_ERROR_TEXT
E_GJAHR = lv_E_GJAHR
LT_RETURN = lv_LT_RETURN ).
Links to Related Class(s)
EDX_PROC...Full list of available SAP object classes
Search for further information about these or an SAP related objects