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

.

NameTypeData TypeDescriptionDefault Value
I_DOCNUMImportingTYPE
EDI_DOCNUM
IDoc Number
I_ORDER_NUMBERImportingTYPE
EBELN
IDOC document number
I_POSTImportingTYPE
XFLAG
New Input Values
I_PO_DATAImportingTYPE
ANY TABLE
E_BELNRExportingTYPE
EDX_BELNR
EDX: Document Number
E_ERROR_TEXTExportingTYPE
STRING
E_GJAHRExportingTYPE
GJAHR
Fiscal Year
LT_RETURNExportingTYPE
ANY TABLE



Exceptions of Method PARK_INVOICE

E_BELNRExportingTYPE
EDX_BELNREDX: Document NumberE_ERROR_TEXTExportingTYPE
STRINGE_GJAHRExportingTYPE
GJAHRFiscal YearLT_RETURNExportingTYPE
ANY TABLEUNKNOWN_OBJ_TYPE -

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



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!