on 04-10-2008 6:55 PM
Hi !
I have a question in smartforms. Where can I read the text that I have used in my smartforms , I mean I have included a text in my smartform i.e VBBK and KNA1 with text_ids as z001, z002....z010 ect , but I want to read whats there in those text . If i go through se75 I can see those z001 ect but whats there in those I cant read them , can anyone help me out please.
thansks
Easy way to read text in smart form is ..
Create program lines in your smartform and inside program line use FM read_text and display it in your smart form.
close thread once your question is answered.
Regards,
SaiRam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Make the text element type as 'Include Text'.
For the attributes Text name, Text object, Text ID, Language get the values by double clicking those text-area in the respective transaction ( Change Mode). This ll navigate u to the editor text where select 'GOTO' in the menu bar which ll give u all the details. Pass these values to those attributes, then the text ll automatically displayed in ur SmartForm.
Regards,
Prabhu
Of course it is displaying in the output of the smartforms , but my question is if I want to see and check as to what is the text belonging to text_id- say z001, z002,z003,z004 ect so where can I read them and see whats against each , anyways your suggestions have helped me a lots but I am not yet answered as I want to see whats againts each of the text_id.
thanks
I will close this thread and award the points as soon as I am done.thanks
Hi,
Think it can't be seen. These entries are stored in the stxh and stxl tables. But the contents cannot be viewed there, just we can check whether the entries were made in those text areas or not using these tables. Otherwise goto the appropriate transactions and see the text contents in those text areas which u know already.
Regards,
Prabhu
Hi,
As told Above use the Read_text Function Module.
Regards
sandipan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
1.u have to pass TEXT ID , Objects etc , there things u will get it from TEXT editor itself.
in that text TC --> come to change mode >then it will open Text Editor->menu goto--->header.
Use of READ_TEXT:
CALL FUNCTION 'READ_TEXT'
EXPORTING
ID = 'LTXT'
LANGUAGE = V_SPRAS
NAME = V_NAME
OBJECT = 'QMMA'
TABLES
LINES = IT_LINES
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
NOT_FOUND = 4
OBJECT = 5
REFERENCE_CHECK = 6
WRONG_ACCESS_TO_ARCHIVE = 7
OTHERS = 8
.
IF SY-SUBRC 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Regards,
If helpful reward with points(Don't forget).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi give the name of the text in the so10 get the data ...displayed..
regards,
venkat.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.