cancel
Showing results for 
Search instead for 
Did you mean: 

QUESTION on CAUFVD-STTXT

Former Member
0 Kudos

hi, all!

i would like to ask your expertise re: production order status. as per CAUFVD-STTXT, i can check the value of a PO w/c can be IOO2, IOO45, IOO76 or Ioo13. however, the cauvd is a structure. checking further, it points me to CAUFV table w/c is a PP/CO view.

what tool can i use to determine where i can find the value for CAUVFD-STTXT.

thank you in advance.

Accepted Solutions (0)

Answers (2)

Answers (2)

athavanraja
Active Contributor
0 Kudos

use FM

STATUS_READ

Regards

Raja

Former Member
0 Kudos

Hi Rico,

You can use function module STATUS_TEXT_EDIT,

For example,

CALL FUNCTION 'STATUS_TEXT_EDIT'

EXPORTING

  • CLIENT = SY-MANDT

flg_user_stat = c_true

objnr = l_caufvd-objnr

  • ONLY_ACTIVE = 'X'

spras = sy-langu

  • BYPASS_BUFFER = ' '

IMPORTING

anw_stat_existing = l_caufvd-astex

  • E_STSMA =

line = l_caufvd-sttxt

user_line = l_caufvd-asttx

  • STONR =

EXCEPTIONS

object_not_found = 1

OTHERS = 2.

STTXT is a collection of object user statuses...

Hope this helps..

Also, FYI, JEST is the table where all these user statuses are stored..you have to read it with CAUFVD-OBJNR. Alternatively, you can use STATUS_READ fm to read these user statuses.

Sri

Message was edited by: Srikanth Pinnamaneni

Former Member
0 Kudos

Hi Rico,

Go to SE37 and search with STATUS_* and as a result you'll get lots of function modules for status.

Regards,

Ville