Application Development 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: 

regarding updating status records in IDOC

Former Member
0 Kudos

Hi

whenever there is success or error i updated staus records. the changes are reflecting in staus table when i do debugging . but it is not showing staus records in we02

kindly help

regards

shankar

2 REPLIES 2

gajendra_bhakuni
Active Participant
0 Kudos

Hi Shankar,

Check whether DOCNUM field in idoc status table is getting filled.

Regards,

Gajendra.

0 Kudos

Hi

Try this code fragment.

idoc_status-docnum = v_docnum.

idoc_status-status = '59'.

idoc_status-msgid = 'ZS'.

idoc_status-msgno = '16'.

idoc_status-msgty = 'E'.

APPEND idoc_status.

Regards,

Sumit