ABAP OO Class Methods

GET_RECENT_IDOC_STATUS_TEXT SAP Method - Read Text for Current IDoc Status







Below is documentation, parameters and attributes of ABAP Method GET_RECENT_IDOC_STATUS_TEXT 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_RECENT_IDOC_STATUS_TEXT

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_IDOC_NUMBER " EDX: IDoc Number for This Message TYPE EDX_IDOC_NUMBER

Exporting Parameters:


E_RECENT_STATUS_TEXT " Most Recent Status of IDoc TYPE STRING

Exceptions:


NO_IDOC_FOUND - There is no IDoc with this number
NO_STATUS_TEXT_FOUND - Status Text Not Found



Example ABAP coding


DATA:
ld_I_IDOC_NUMBER TYPE EDX_IDOC_NUMBER ,
ld_E_RECENT_STATUS_TEXT TYPE STRING.

" ld_I_IDOC_NUMBER = "

CALL METHOD EDX_UTIL=>GET_RECENT_IDOC_STATUS_TEXT(
EXPORTING
I_IDOC_NUMBER = ld_I_IDOC_NUMBER
IMPORTING
E_RECENT_STATUS_TEXT = ld_E_RECENT_STATUS_TEXT
EXCEPTIONS
NO_IDOC_FOUND = 1
NO_STATUS_TEXT_FOUND = 2 ).