GET_VALUES_FROM_IDOC_ORD SAP Method Get Values from the IDoc Order









Below is documentation, parameters and attributes of ABAP Method GET_VALUES_FROM_IDOC_ORD 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 GET_VALUES_FROM_IDOC_ORD can also be found below:

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


Parameters of Method GET_VALUES_FROM_IDOC_ORD

.

NameTypeData TypeDescriptionDefault Value
I_DOCNUMImportingTYPE
EDI_DOCNUM
IDoc Number
E_BP_TYPEExportingTYPE
EDX_BP_TYPE
EDX
E_CPIDExportingTYPE
EDX_SENDER_PID
EDX
E_CURRENCYExportingTYPE
EDI6345_A
Currency
E_NET_AMOUNTExportingTYPE
EDI_SUMME
Net Value of Totals Segment
E_ORDER_CHANGEExportingTYPE
STRING
E_ORDER_DATEExportingTYPE
EDIDAT8
IDOC: Date
E_ORDER_NUMBERExportingTYPE
EDI_BELNR
IDOC document number
E_ORDER_REASONExportingTYPE
AUGRU
Order reason (reason for the business transaction)
E_ORDER_TYPEExportingTYPE
AUART
Sales Document Type
E_SENDER_IDExportingTYPE
PARTNER
Partner Number
E_TRXREFExportingTYPE
EDX_PID_REF
EDX



Exceptions of Method GET_VALUES_FROM_IDOC_ORD

E_BP_TYPEExportingTYPE
EDX_BP_TYPEEDXE_CPIDExportingTYPE
EDX_SENDER_PIDEDXE_CURRENCYExportingTYPE
EDI6345_ACurrencyE_NET_AMOUNTExportingTYPE
EDI_SUMMENet Value of Totals SegmentE_ORDER_CHANGEExportingTYPE
STRINGE_ORDER_DATEExportingTYPE
EDIDAT8IDOC: DateE_ORDER_NUMBERExportingTYPE
EDI_BELNRIDOC document numberE_ORDER_REASONExportingTYPE
AUGRUOrder reason (reason for the business transaction)E_ORDER_TYPEExportingTYPE
AUARTSales Document TypeE_SENDER_IDExportingTYPE
PARTNERPartner NumberE_TRXREFExportingTYPE
EDX_PID_REFEDXNO_IDOC - IDoc No. not Available

Example ABAP coding


DATA: lo_class TYPE REF TO EDX_PROCESS_DOCSET.
DATA: lv_E_BP_TYPE TYPE EDX_BP_TYPE,
lv_E_CPID TYPE EDX_SENDER_PID,
lv_E_CURRENCY TYPE EDI6345_A,
lv_E_NET_AMOUNT TYPE EDI_SUMME,
lv_E_ORDER_CHANGE TYPE STRING,
lv_E_ORDER_DATE TYPE EDIDAT8,
lv_E_ORDER_NUMBER TYPE EDI_BELNR,
lv_E_ORDER_REASON TYPE AUGRU,
lv_E_ORDER_TYPE TYPE AUART,
lv_E_SENDER_ID TYPE PARTNER,
lv_E_TRXREF TYPE EDX_PID_REF,
lv_I_DOCNUM TYPE EDI_DOCNUM,
lv_other TYPE c.

CALL METHOD lo_class=>GET_VALUES_FROM_IDOC_ORD(
EXPORTING
I_DOCNUM = lv_I_DOCNUM
IMPORTING
E_BP_TYPE = lv_E_BP_TYPE
E_CPID = lv_E_CPID
E_CURRENCY = lv_E_CURRENCY
E_NET_AMOUNT = lv_E_NET_AMOUNT
E_ORDER_CHANGE = lv_E_ORDER_CHANGE
E_ORDER_DATE = lv_E_ORDER_DATE
E_ORDER_NUMBER = lv_E_ORDER_NUMBER
E_ORDER_REASON = lv_E_ORDER_REASON
E_ORDER_TYPE = lv_E_ORDER_TYPE
E_SENDER_ID = lv_E_SENDER_ID
E_TRXREF = lv_E_TRXREF ).

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!