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

find function module for p0000-stat2 's long text

Former Member
0 Likes
1,862

I want to know the function module to find the long text for the p0000-stat2. for eg

p0000-stat2 = 'o' then i want the text 'withdrawn'.

1 ACCEPTED SOLUTION
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
1,059

Looks like you can get the values from table T529U, no need for a function module.

report zrich_0003.

data: xt529u type t529u.


select single * from t529u into xt529u
       where sprsl = sy-langu
         and statn = '2'
         and STATV = '0'.


write:/ xt529u-statn, xt529u-statv, xt529u-text1.

Regards

Rich Heilman

3 REPLIES 3
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
1,060

Looks like you can get the values from table T529U, no need for a function module.

report zrich_0003.

data: xt529u type t529u.


select single * from t529u into xt529u
       where sprsl = sy-langu
         and statn = '2'
         and STATV = '0'.


write:/ xt529u-statn, xt529u-statv, xt529u-text1.

Regards

Rich Heilman

Read only

Former Member
0 Likes
1,059

Hi,

Check table T529U,field TEXT1.

Read only

0 Likes
1,059

You can also use the class CL_HR_T529U. It has a method called read.