2009 Feb 19 8:39 AM
hI all,
can any one tell me "ERROR_WRITING_IDOC_STATUS " why this exception will raise.
Thanks,
Prakash .S
hI all,
can any one tell me "ERROR_WRITING_IDOC_STATUS " why this exception will raise.
Thanks,
Prakash .S
2009 Feb 19 8:46 AM
Just check this.
CALL FUNCTION 'MASTER_IDOC_DISTRIBUTE'
EXPORTING
VALUE(MASTER_IDOC_CONTROL) LIKE EDIDC STRUCTURE EDIDC
" Control record of master IDoc
VALUE(OBJ_TYPE) LIKE SERIAL-OBJ_TYPE DEFAULT ''
VALUE(CHNUM) LIKE SERIAL-CHNUM DEFAULT ''
TABLES
COMMUNICATION_IDOC_CONTROL STRUCTURE EDIDC
" Control records of created comm. IDocs
MASTER_IDOC_DATA STRUCTURE EDIDD
" Data records of master IDoc
EXCEPTIONS
ERROR_IN_IDOC_CONTROL
" Incorrect entry in IDoc control record
ERROR_WRITING_IDOC_STATUS
" Error when writing IDoc status records
ERROR_IN_IDOC_DATA
" Incorrect entry in IDoc data records
SENDING_LOGICAL_SYSTEM_UNKNOWN
" Own logical system unknown
2009 Feb 19 8:48 AM
hi:
please debugg the function module MASTER_IDOC_DISTRIBUTE
Regards
Shashi
2009 Feb 19 9:06 AM
This is called in Master_idoc_distribute FM . This happens while trying to create idoc in database .
Check break point in IDOC_CREATE_ON_DATABASE in master_idoc_distribute . Exception is raised after this point .
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |