OIUCI_DOCUMENT_UPDATE is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name OIUCI_DOCUMENT_UPDATE into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
OIUCI_DOCUMENT
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'OIUCI_DOCUMENT_UPDATE' "Incoming Check Processing Status update
TABLES
chkdetail = " roiuci_itemchanges Incoming Check's Detail Line information
alerts = " oiuci_mesg Contains warning, error message pertaining to a Line item(s)
docs = " oiuci_docs Incoming Checks - Generated/Booked Documents
CHANGING
checkhdr = " oiuci_header Incoming Check Header information
EXCEPTIONS
FAILED = 1 "
. " OIUCI_DOCUMENT_UPDATE
The ABAP code below is a full code listing to execute function module OIUCI_DOCUMENT_UPDATE including all data declarations. The code uses the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the original method of declaring data variables up front. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8).
| it_chkdetail | TYPE STANDARD TABLE OF ROIUCI_ITEMCHANGES,"TABLES PARAM |
| wa_chkdetail | LIKE LINE OF it_chkdetail , |
| it_alerts | TYPE STANDARD TABLE OF OIUCI_MESG,"TABLES PARAM |
| wa_alerts | LIKE LINE OF it_alerts , |
| it_docs | TYPE STANDARD TABLE OF OIUCI_DOCS,"TABLES PARAM |
| wa_docs | LIKE LINE OF it_docs . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_checkhdr | TYPE OIUCI_HEADER , |
| it_chkdetail | TYPE STANDARD TABLE OF ROIUCI_ITEMCHANGES , |
| wa_chkdetail | LIKE LINE OF it_chkdetail, |
| it_alerts | TYPE STANDARD TABLE OF OIUCI_MESG , |
| wa_alerts | LIKE LINE OF it_alerts, |
| it_docs | TYPE STANDARD TABLE OF OIUCI_DOCS , |
| wa_docs | LIKE LINE OF it_docs. |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name OIUCI_DOCUMENT_UPDATE or its description.
OIUCI_DOCUMENT_UPDATE - Incoming Check Processing Status update OIUCI_DOCUMENT_RETRIEVE - Retrieve an existing Incoming Check Document OIUCI_DOCUMENT_RESET - Sets Check Status to Changed OIUCI_DOCUMENT_MARKFORPROCESS - Incoming Check - Mark them for Processing OIUCI_DOCUMENT_EDIT - Edits an Incoming Check Document OIUCI_DOCUMENT_DELETE - Incoming Check Document Delete