Application Development 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: 

long text for infotype

Former Member
0 Kudos

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

2 REPLIES 2

Former Member
0 Kudos

Hi

Check this link and see

HR Long texts Upload

<b>Reward points for useful Answers</b>

Regards

Anji

0 Kudos

hi Anji,

when i set the feild itxex = 'X' it works for infotype 0194.

but for infotype 0195 it is only creating the text icon and not creating the text.

please help.

Regards

Aarti