|
Updating an existing IDoc's status |
|
|
|
|
Written by Kevin Wilson
|
|
Thursday, 15 February 2007 |
|
How do you update the status of an existing Idoc using ABAP?
*** Call the function to update the ORDCHG IDoc status CALL FUNCTION 'IDOC_STATUS_WRITE_TO_DATABASE' EXPORTING idoc_number = s_edidc-docnum TABLES idoc_status = itab_edids EXCEPTIONS idoc_foreign_lock = 1 idoc_not_found = 2 idoc_status_records_empty = 3 idoc_status_invalid = 4 db_error = 5 OTHERS = 6.
Related Items:
|