Skip to Content
0
Former Member
Jul 31, 2007 at 11:17 AM

long text for infotype

24 Views

hi

i have to upload long text for infotype 0195.

i tried it like this:

*********************************************************************************

TYPES BEGIN OF text_version.

TYPES nummer TYPE x.

TYPES END OF text_version.

DATA: pskey TYPE pskey.

DATA: ptext TYPE hrpad_text_tab .

DATA: line TYPE hrpad_text.

DATA: text-version TYPE text_version.

DATA: pcl1 TYPE pcl1.

move-corresponding record to pskey. " where record is having all the required data

move 'x' to record-itxex.

version-nummer = '02'.

wa_pcl1-histo = 'X'.

wa_pcl1-uname = sy-uname.

wa_pcl1-aedtm = sy-datum.

EXPORT

text-version FROM version

ptext FROM it_text

TO DATABASE pcl1(tx) ID pskey

FROM wa_pcl1.

**************************************************************************

but it is only creating the text icon in the transaction and not reflecting the text.

please help me out with this

regards

Aarti