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

idoc status description

Former Member
0 Likes
6,136

hi all,

i need to put the idoc status description in the output of report.

whats the table/field for that????

hi all,

i need to put the idoc status description in the output of report.

whats the table/field for that????

7 REPLIES 7
Read only

abdul_hakim
Active Contributor
3,396

Please Check the view V_STACUST

The Corresponding table is TEDS2

Read only

Former Member
0 Likes
3,396

Hi,

The Status contains in the table EDIDC and its description contains in the table TEDS2.

I hope it will use ful to you

Read only

Subhankar
Active Contributor
0 Likes
3,396

Hi ...

please check the table EDIDS to get the IDOC status description.

For more details check the sample code.

  • Get Idoc status record

select docnum " IDoc number

countr " IDoc status counter

statxt " Text for status code

stapa1 " Parameter 1

statyp " Type of message(A,W,E,S,I)

stamid " Status message ID

stamno " Status message number

from edids

into table i_edids

where docnum = wa_edidc-docnum.

Thanks

Subhankar

Read only

Former Member
0 Likes
3,396

Hi Kunal

you can find the status text ( description of what that status code stands for) in EDIDS table and the field name is STATXT. EDIDS table contain all the status which an idoc has passed through and thier meaning.

Read only

Former Member
0 Likes
3,396

HI,

You can find the description of the IDOC in table TEDS2 and you find the status of the idoc in table EDIDC.

Thanks & Regards

Sathish R Raj

Read only

Former Member
0 Likes
3,396

Hi,

Table Name : TEDS2

Field : Descrp

Data Element : EDI_TEXT60

Regards

Read only

Former Member
0 Likes
3,396

Hi Kunal,

You will get the STATUS Details of an Idoc from EDIDS table.

But, thats for IDOCS whose Logical Message DOES NOT START WITH 'w'. (eg. ACC_GL_POSTING)

SELECT docnum

credat

statxt

stapa1

stapa2

stapa3

stapa4

stamid

stamno

FROM edids

INTO TABLE it_edids.

For IDocs having message type starting with 'W' (eg, WPUBON, WPUFIB etc)...you have to go to WPLST table.

SELECT docnum

erzdt

msgnr

msgid

parameter1

parameter2

parameter3

parameter4

FROM wplst

INTO TABLE it_wplst.

then, on the basis of MSNGR and MSGID...hit T100 table to fetch exact and complete description.

SELECT msgnr

arbgb

text

INTO TABLE it_message

FROM t100

WHERE sprsl EQ 'E' AND

arbgb EQ it_mssg-msgid AND

msgnr EQ it_mssg-msgnr.