Enterprise Resource
Planning Portal

 

Advertise | Founder BLOG

ERPGenie.COM ABAP Tips and Tricks Database

THE ultimate
ERP website

 

Forums | Vote for us |

Google    Other Search Options

Home arrow Sample Code arrow IDocs / BDocs arrow Updating an existing IDoc's status
Updating an existing IDoc's status PDF Print E-mail
User Rating: / 0
PoorBest 
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:

 
< Prev   Next >

Google Search

Google Ads