07-15-2011 9:59 AM
Hi,
my scenario is to upload long text from excel for pernr, here they are created custom infotype in that they are created more long text fields, i want to update that long texts using save_text function module, but how can i find that object id & object name for the long text field in PA30.
i searched for header tab in pa30 but there is no header tab sub menu option in goto menu.
Thanks & Regards,
Srini.
07-15-2011 10:29 AM
Hey Click on the Lon Text button It will open the Word Editor. Now in the menu options Goto there is a option called Header.
In which you find the TEXTID , Object, Language, etc... Now pass those thing to the Function Module CREATE_TEXT as mentioned below.
CALL FUNCTION 'CREATE_TEXT'
EXPORTING
FID = Z002
FLANGUAGE = Sy-LANGU
FNAME = X_HEADER-TDNAME
FOBJECT = 'VTTK'
SAVE_DIRECT = ' ' -
> Remember if you use SAVE_TEXT you need to pass X here Else leave space
TABLES
FLINES = TB_LINES_FINAL----> you long texts data
EXCEPTIONS
NO_INIT = 1
NO_SAVE = 2
OTHERS = 3.
07-15-2011 12:35 PM
Hi venkat,
there is no header sub menu under goto menu in pa30 for created custom infotype 9803, can you give a input how i can find that object id and object name in some other way.
Regards,
Srini.
07-15-2011 10:53 AM
Please use PCL1 cluster and TX data cluster to store long texts. It would be easy as well as improve perfromace.
Try with Import statements