on 12-01-2008 11:02 AM
Hi All,
We're using r/3 4.7, ESS 50.7 and MSS 60.120. I have created an iview which is based on a BSP. In this BSP we need to display information stored against a person in pa30. Some of the infotypes have options to store notes on them. My question is how do i get these notes to display them in my BSP.
I have tried the following and it outputs nothing:
tables: pernr.
infotypes: 0035.
data: key like pskey.
data: begin of ptext occurs 200.
data: line(72).
data: end of ptext.
data: p_date like sy-datum,
p_pernr like pernr-pernr,
p_endda like sy-datum,
p_begda like sy-datum.
p_pernr = '02000122'.
p_endda = '20081217'.
p_begda = '20081126'.
rp-read-infotype p_pernr 0035 p0035 p_begda p_endda.
loop at p0035 where itxex eq 'X'.
refresh ptext.
move-corresponding p0035 to key.
import ptext from database pcl1(tx) id key.
loop at ptext.
write 😕 p_pernr,ptext-line.
endloop.
endloop.
Any guidance would be most welcome,
Thanks,
Liz.
I created a funciton module which retrieved the notes for me.
rp-read-infotype pernr 9099 tbl_p9099 begda endda.
sort <ft_data> descending.
read table tbl_p9099 index 1 into <fw_data>.
move-corresponding <fw_data> to key.
import ptext from database pcl1(tx) id key.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
107 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.