‎2008 Jan 30 12:33 PM
fetch item text from va03?????
<REMOVED BY MODERATOR>
Edited by: Alvaro Tejada Galindo on Jan 30, 2008 5:22 PM
‎2008 Jan 30 12:35 PM
Hi,
You can use the Function Module: READ_TEXT for reading the item level texts and display.
Once you go to VA03, from the menu Goto-> Item Texts. From there double-click on the prescribed text and press display. This will take you to a SAP script editor. From this window you can Goto-> Text Header.
This will give you Text name, Language, Text id, and text object. Take all these fields and pass these into the importing parameters of the Function Module (Mandatory).
Regards,
JLN
‎2008 Jan 30 12:37 PM
use FM READ_TEXT.
tdname is a composure of vbeln and posnr
tbobject is VBBP
tdid is the id of your item text. (there are several)
tdspras should be either NAST-SPRAS or VBAK-SPRAS
example:
Data: lv_tdname type thead-tdname.
concatenate vbak-vbeln vbap-posnr into lv_tdname.
CALL FUNCTION 'READ_TEXT'
EXPORTING
id = 'YPE1'
language = NAST-SPRAS
name = lv_tdname
object = 'VBBP'
TABLES
lines = lt_lines
EXCEPTIONS
id = 1
language = 2
name = 3
not_found = 4
object = 5
reference_check = 6
wrong_access_to_archive = 7
OTHERS = 8.
Edited by: Florian Kemmer on Jan 30, 2008 1:37 PM
‎2008 Jan 30 12:39 PM
Hi,
Concatenate vbeln and posnr
select the VBBP value from VA03 tcodemby checking properties and select the relevant for the same
pass the same to READ_TEXT this will display the text from VA0* code
Regards
Shiva