on 08-13-2011 3:54 AM
Hi All,
I have a requirement to fetch long text in FB70 transaction through smartform.
1. Key text in "Notes" tab of FB70 transaction. But there is no F1 help available for "Notes" tab in FB70. I don not know how to fetch it.
2. I configure some Document text by T-code OBT8, and use FM READ TEXT with
lv_id = '0006'. "
lv_name = gs_vbrk-vbeln. " Document number
lv_object = 'BELEG'.
REFRESH lt_lines.
CALL FUNCTION 'READ_TEXT'
EXPORTING
id = lv_id
language = sy-langu
name = lv_name
object = lv_object
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.
gt_lines[] = lt_lines[].
I create Loop in smartform and Loop gt_lines into gs_line and create text to show &gs_line-tdline&
But nothing is show.
Can anyone help me solve it ?
Thank you.
Hi
The note text should be placed in the customer item (if you try to post a document you can verify it), the keys of the text are:
1 -
TDNAME = BUKRSBELNRGJAHR+BUZEI (The keys of BSEG)
TDSPRAS = the language depends on your setting
TDID = 0001
TDOBJECT = DOC_ITEM
2 - You don't need any loop in your smartform, but you need to call the text directly
Max
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.