cancel
Showing results for 
Search instead for 
Did you mean: 

how to get & display pa30 notes in BSP??

Former Member
0 Kudos

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.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

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.