Shared Top Border

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 Seach

Google Ads

Shared Bottom Border

Contact Us | Polls | Add URL | Contribute | Privacy | Terms | Feedback

Discussion Forum | BLOG | Consultants: Post your resume | Companies: Advertise on ERPGenie.COM | Post Job
Financials Consultant | Consultant Review | Gallia Consulting | Supply Chain Project | SAP Financials Forum
GenieHoldings.COM, Inc. | Genie Press | WorkflowGenie | ESAGenie | ERPTopSites | ABAP Tips and Tricks | SAP Solutions Database

EDIGenie | Searching Survivor