07-31-2007 12:17 PM
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
07-31-2007 12:36 PM
07-31-2007 12:41 PM
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