2007 Apr 03 12:13 PM
Hi,
I am uploading text from excel file into a internal table.
i have declared the internal table in this way
DATA: BEGIN OF IT_DATA OCCURS 0,
STTAG LIKE RC271-STTAG,
HTEXT(1032) TYPE c,
IWERK LIKE PLKO-IWERK,
ARBPL LIKE RCR01-ARBPL,
VERWE LIKE PLKO-VERWE,
VAGRP LIKE PLKO-VAGRP,
STATU LIKE PLKO-STATU ,
STRAT LIKE PLKO-STRAT,
VORNR LIKE PLPO-VORNR,
ITEXT(1032) TYPE C,
ARBEI LIKE PLPO-ARBEI,
ARBEH LIKE PLPO-ARBEH,
END OF IT_DATA.
but while uploading the text in HTEXT field it is only taking upto 255 characters.
I need to upload text upto 1032 characters.
Please suggest me the solution.
Thanks & Regards
Kapil
2007 Apr 03 12:15 PM
2007 Apr 03 12:25 PM
Hi Kapil,
Take internal table with one field.
That field refers to one type pool field named as TRUX.
Then longtext will be uploaded from excell file with out any error.
Hope this helps you, reply for queries, Shall post you the updates.
Regards.
Kumar. .