Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

error in idoc status

Former Member
0 Likes
681

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

3 REPLIES 3
Read only

Former Member
0 Likes
602

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

Read only

Former Member
0 Likes
602

hi:

please debugg the function module MASTER_IDOC_DISTRIBUTE

Regards

Shashi

Read only

Former Member
0 Likes
602

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 .