2009 Oct 20 2:01 PM
Hi all,
can i know how to get the text from va22 to display it at form .
2009 Oct 20 3:15 PM
Hi,
Use READ_TEXT fm..with proper input
CALL FUNCTION 'READ_TEXT'
EXPORTING
CLIENT = SY-MANDT
ID = 'Z999'
LANGUAGE = 'E'
NAME = GF_TDNAME (SO,PO)
OBJECT = 'VBBP' or 'VBBK' (table)
ARCHIVE_HANDLE = 0
LOCAL_CAT = ' '
IMPORTING
HEADER =
TABLES
LINES = TLINES
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
NOT_FOUND = 4
OBJECT = 5
REFERENCE_CHECK = 6
WRONG_ACCESS_TO_ARCHIVE = 7
OTHERS = 8
.
ENDIF.
READ TABLE TLINES INDEX 1.
Thanks and Regards,
Krishna Chaitanya Guggilla
Hi all,
can i know how to get the text from va22 to display it at form .
2009 Oct 20 2:55 PM
2009 Oct 20 3:15 PM
Hi,
Use READ_TEXT fm..with proper input
CALL FUNCTION 'READ_TEXT'
EXPORTING
CLIENT = SY-MANDT
ID = 'Z999'
LANGUAGE = 'E'
NAME = GF_TDNAME (SO,PO)
OBJECT = 'VBBP' or 'VBBK' (table)
ARCHIVE_HANDLE = 0
LOCAL_CAT = ' '
IMPORTING
HEADER =
TABLES
LINES = TLINES
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
NOT_FOUND = 4
OBJECT = 5
REFERENCE_CHECK = 6
WRONG_ACCESS_TO_ARCHIVE = 7
OTHERS = 8
.
ENDIF.
READ TABLE TLINES INDEX 1.
Thanks and Regards,
Krishna Chaitanya Guggilla
2009 Oct 25 5:23 PM
2009 Oct 20 3:24 PM
You can use read_text function module or if it is on SAP Script, you can use include text (read help on include text) or if it is in smartform, you can have a text element which is type if include text then you have to specify the required parameters. The required parameters can be found on text module itself in VA22 or wherever the text is defined .....
Double click on the text - this takes you to text editor - on application toolbar - go to - Header
Here you can see all the parameters that you would need to read text. these same parameters are used to read_text function module or include text in sapscript or include text in smartforms
Good luck
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |