Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

STATUS_TEXT_EDIT,

hi all BW friends ,

what is the purpose of STATUS_TEXT_EDIT ,where should i provide the objnr to get the status ,

actually i need objnr to return u the status code..whether complete or outstanding.

any one , kindly explain me in detail and clearly .

points definitely assinged to all friends

thanks in advance

Sherwin

Former Member
Former Member replied

hi

good

STATUS_READ is used to get the Status of a Production Order

See the code below

concatenate 'OR' AFKO-AUFNR into L_AUFNR.

call function 'STATUS_READ'

exporting

OBJNR = L_AUFNR

ONLY_ACTIVE = 'X'

tables

STATUS = IT_JEST

exceptions

OBJECT_NOT_FOUND = 1

others = 2.

if SY-SUBRC <> 0.

endif.

" to get the texts of statuses

if not IT_JEST[] is initial.

select ISTAT TXT04

from TJ02T

into table IT_TJ02T

for all entries in IT_JEST

where ISTAT = IT_JEST-STAT

and SPRAS = SY-LANGU.

endif.

reward point if helpful.

thanks

mrutyun^

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question