2007 Mar 29 2:45 PM
HI,
I AM USING TCODE VB22. I WANT READ THE TEXT FROM HERE. THESE ARE THE PARAMETERS I WANT TO PASS IN READ_TEXT.
PLZ HELP ME HOW TO WRITE CODE AND GET THE OUT PUT....
Text Name : TESTJP1
Language : EN
Text ID : 0001
Text object : KONA
tHANKS,
ANKITHA
2007 Mar 29 6:50 PM
Hi,
Check this code:
I have never worked on "sales deal ( rebate agreement) " before. So i do not know if you want to read header or line item text.
In example below, i assum that l_knumv is the sales deal number and you are reading header text.
DATA: l_knuma LIKE kona-knuma.
DATA: l_objname LIKE thead-tdname. "Object Name
DATA: lit_textline LIKE tline OCCURS 0 WITH HEADER LINE. "Text lines
DATA: lst_header LIKE thead. "Text Header
* move sales deal no
l_knuma = "Assign sales deal no here"
* form the object no.
l_objname = l_knuma
* Read text from sales order
CALL FUNCTION 'READ_TEXT'
EXPORTING
client = sy-mandt
id = '0001'
language = 'EN'
name = l_objname
object = 'KONA'
TABLES
lines = lit_textline.Let me know if you have any question.
Regards,
RS
HI,
I AM USING TCODE VB22. I WANT READ THE TEXT FROM HERE. THESE ARE THE PARAMETERS I WANT TO PASS IN READ_TEXT.
PLZ HELP ME HOW TO WRITE CODE AND GET THE OUT PUT....
Text Name : TESTJP1
Language : EN
Text ID : 0001
Text object : KONA
tHANKS,
ANKITHA
2007 Mar 29 6:50 PM
Hi,
Check this code:
I have never worked on "sales deal ( rebate agreement) " before. So i do not know if you want to read header or line item text.
In example below, i assum that l_knumv is the sales deal number and you are reading header text.
DATA: l_knuma LIKE kona-knuma.
DATA: l_objname LIKE thead-tdname. "Object Name
DATA: lit_textline LIKE tline OCCURS 0 WITH HEADER LINE. "Text lines
DATA: lst_header LIKE thead. "Text Header
* move sales deal no
l_knuma = "Assign sales deal no here"
* form the object no.
l_objname = l_knuma
* Read text from sales order
CALL FUNCTION 'READ_TEXT'
EXPORTING
client = sy-mandt
id = '0001'
language = 'EN'
name = l_objname
object = 'KONA'
TABLES
lines = lit_textline.Let me know if you have any question.
Regards,
RS
2007 Mar 29 10:20 PM
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |