ABAP OO Class Methods

GET_PROBLEM_LIST_FROM_ARCHIVE SAP Method - Read Problem List from Archive







Below is documentation, parameters and attributes of ABAP Method GET_PROBLEM_LIST_FROM_ARCHIVE within SAP class EDX_UTIL. There is also a number of example ABAP code snipts to help you implement this method.

This method is available within SAP systems depending on your version and release level and you can view further information by entering the class name EDX_UTIL into relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in. Also check out the contributions below to view or add related hints, tips, example screen shots and any other information.


SAP Class method belongs too

EDX_UTIL

Method Name

GET_PROBLEM_LIST_FROM_ARCHIVE

Method Type

Static Method:  This is a Static Method so you can call it directly






Importing Parameters:

Below is a list of importing parameters associated with this method, including its name, description and data type


I_BELNR " EDX: Document Number TYPE EDX_BELNR
I_BUKRS " Company Code TYPE BUKRS
I_DOC_TYPE " Incoming Message Type TYPE EDX_DOC_TYPE_IN
I_IDOC_NUMBER " IDoc Number TYPE EDI_DOCNUM
I_LIFNR " EDX: Customer/Vendor Number of Business Partner TYPE EDX_BP_NR

Exporting Parameters:


E_XDATA " Contents of Problem List TYPE XSTRING

Exceptions:


NOT_FOUND - Invoice not found
CANNOT_CONVERT_RAWTAB - Cannot Convert Data
NO_BOR_RELATIONSHIP_FOUND - No BOR Relationship Found
NO_ARCHIVE_CONNECTION - No Archive Link Available
NO_IN_CONFIG_FOUND - No IN Configuration Found
NO_INVOICE_RECORD_FOUND - No Invoice Document Found



Example ABAP coding


DATA:
ld_I_BELNR TYPE EDX_BELNR ,
ld_I_BUKRS TYPE BUKRS ,
ld_I_DOC_TYPE TYPE EDX_DOC_TYPE_IN ,
ld_I_IDOC_NUMBER TYPE EDI_DOCNUM ,
ld_I_LIFNR TYPE EDX_BP_NR ,
ld_E_XDATA TYPE XSTRING.

" ld_I_BELNR = "
" ld_I_BUKRS = "
" ld_I_DOC_TYPE = "
" ld_I_IDOC_NUMBER = "
" ld_I_LIFNR = "

CALL METHOD EDX_UTIL=>GET_PROBLEM_LIST_FROM_ARCHIVE(
EXPORTING
I_BELNR = ld_I_BELNR
I_BUKRS = ld_I_BUKRS
I_DOC_TYPE = ld_I_DOC_TYPE
I_IDOC_NUMBER = ld_I_IDOC_NUMBER
I_LIFNR = ld_I_LIFNR
IMPORTING
E_XDATA = ld_E_XDATA
EXCEPTIONS
NOT_FOUND = 1
CANNOT_CONVERT_RAWTAB = 2
NO_BOR_RELATIONSHIP_FOUND = 3
NO_ARCHIVE_CONNECTION = 4
NO_IN_CONFIG_FOUND = 5
NO_INVOICE_RECORD_FOUND = 6 ).