‎2009 Mar 25 3:51 AM
Hi All,
i am using SAVE_TEST FM after using CATSXT_SIMPLE_TEXT_EDITOR function module,
i am getting an error as text object is not available.
can anyone tell me why am i getting this error?
‎2009 Mar 25 3:59 AM
‎2009 Mar 25 3:59 AM
‎2009 Mar 25 4:01 AM
‎2009 Mar 25 4:06 AM
Hi,
Refer this link from SAP library
http://help.sap.com/saphelp_nw04/helpdata/en/d6/0db771494511d182b70000e829fbfe/frameset.htm
Regards,
Rishikesh
‎2009 Mar 25 4:16 AM
i am using this code:
CALL FUNCTION 'CATSXT_SIMPLE_TEXT_EDITOR'
EXPORTING
im_title = 'Enter your text here'
IM_DISPLAY_MODE = ' '
IM_START_COLUMN = 10
IM_START_ROW = 10
changing
ch_text = wa_ship
.
CALL FUNCTION 'SAVE_TEXT'
EXPORTING
CLIENT = SY-MANDT
header = header
INSERT = ' '
SAVEMODE_DIRECT = ' '
OWNER_SPECIFIED = ' '
LOCAL_CAT = ' '
IMPORTING
FUNCTION =
NEWHEADER =
tables
lines = tline* EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
OBJECT = 4
OTHERS = 5
.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
here i am geeting an error with tline as type u.
have i mentioned the parameters correct?
‎2009 Mar 25 4:21 AM
Hi Poonam,
Kindly go through this link below:
Hope it helps
Regards
Mansi
Edited by: MANSI ASNANI on Mar 25, 2009 5:22 AM
‎2009 Mar 25 4:37 AM
I am not getting any error now but the text is not appearing in the smartform.
please let me know
in CATSXT_SIMPLE_TEXT_EDITOR FM i am geeting the text saved in wa_ship, how ll this be passed to save_text??
Edited by: Poonam Naik on Mar 25, 2009 5:42 AM
‎2009 Mar 25 4:46 AM
‎2009 Mar 25 4:48 AM
Hi Poonam ,
In the parameter HEADER of the FM there is a field called TDOBJECT , please check if you are passing the correct value to it.
Regards
Arun