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

reports

Former Member
0 Likes
462

Hi all,

In jest table there is a field called STAT.IT contains values like IE00000001000 ,CD5000000000.My requirement is to get for released status ('REL')what is the corresponding values shown in the jest table.

regards ,

alex

3 REPLIES 3
Read only

former_member480923
Active Contributor
0 Likes
431

Hi,

Use The FM STATUS_READ.

Hope that Helps

Anirban

Read only

Former Member
0 Likes
431

Hi,

Its I0002 u can check table TJ02T..

Hope this helps u.

Regards,

Seema.

Read only

Former Member
0 Likes
431

Hi Alex,

Can use the FM.

<b>STATUS_READ </b> Read Object Status (JSTO and JEST)


CALL FUNCTION 'STATUS_READ'
  EXPORTING
    CLIENT                 = SY-MANDT
    objnr                  =
    ONLY_ACTIVE            = ' '
 IMPORTING
    OBTYP                  =
    STSMA                  =
    STONR                  =
 TABLES
    STATUS                 =
 EXCEPTIONS
    OBJECT_NOT_FOUND       = 1
    OTHERS                 = 2
          .
IF sy-subrc <> 0.
 MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.


<b>Input :</b> 
    objnr                  = IE00000001000
    ONLY_ACTIVE          =>  ' ' --->Active
                             'X' --->Inactive.

Regards,

AS