ā2014 Jun 10 6:49 AM
How can I get a text editor as popup when executing the smartform and whatever I write in Text editor it should be displayed in smartform and the changes should be done only in smartform.Not in the driver program.
ā2014 Jun 10 7:23 AM
Hi Chakri,
Use this function module in smartform.
*For text editor
DATA : BEGIN OF INT_TEXT OCCURS 0,
TEXT(100),
END OF INT_TEXT.
CALL FUNCTION 'TERM_CONTROL_EDIT'
EXPORTING
TITEL = text-007 "'Mention Other Details'(007)
LANGU = 'E' "English language
TABLES
TEXTLINES = INT_TEXT "Remark(Text by User)
EXCEPTIONS
USER_CANCELLED = 1
OTHERS = 2.
IF SY-SUBRC <> 0.
ENDIF.
Write this code in a program line(see pic) in smartform, and get the text entered by the user in INT_TEXT, by using this internal table u can display text in smatform using a table.
Regards
Sreekanth
ā2014 Jun 10 7:23 AM
Hi Chakri,
Use this function module in smartform.
*For text editor
DATA : BEGIN OF INT_TEXT OCCURS 0,
TEXT(100),
END OF INT_TEXT.
CALL FUNCTION 'TERM_CONTROL_EDIT'
EXPORTING
TITEL = text-007 "'Mention Other Details'(007)
LANGU = 'E' "English language
TABLES
TEXTLINES = INT_TEXT "Remark(Text by User)
EXCEPTIONS
USER_CANCELLED = 1
OTHERS = 2.
IF SY-SUBRC <> 0.
ENDIF.
Write this code in a program line(see pic) in smartform, and get the text entered by the user in INT_TEXT, by using this internal table u can display text in smatform using a table.
Regards
Sreekanth
ā2014 Jun 10 7:30 AM
ā2014 Jun 10 7:34 AM
Hi All ,
I had another issue regarding smartform. I created a standard text in smartform and I included it in smartform.When I see the output of a smartform through print preview the standard text is printing and when i go and check using the tcode vf03 it is not printing.Plz rply the solution.
ā2014 Jun 10 7:51 AM
1.) Check the standard Text is saved in customizing Task and may be you missed out the client copy.
2.) Also check the language of Standard text in which it is maintained and check the language the smarform get called from VF03.
BR,
Prakash
ā2014 Jun 10 7:59 AM
ā2014 Jun 10 8:09 AM
You have developed the standard Text in development clinet say 100 and you are doing testing in testing client say 200. Then you need to execute the Transaction code SCC1 to do client copy of Transport which contains your standard text.
BR,
Prakash
ā2014 Jun 10 8:14 AM