4 weeks ago
Hi All,
I am using a bdc program for IW36 to create an order. Once the order is created, I am using fm SAVE_TEXT to update long text. When I go to IW33, my long text is truncated to 40 characters. But in SE37, fm READ_TEXT is returning me the long text. Can anyone tell me why I am unable to see the long text in IW33? I can see lt_otext contains 6 lines. Below is my code for reference.
ls_oheader-tdid = 'KOPF'.
ls_oheader-tdobject = 'AUFK'.
lv_suborder = |{ lv_suborder ALPHA = IN }|.
ls_oheader-tdname = |{ sy-mandt }{ lv_suborder }|.
ls_oheader-tdspras = sy-langu.
ls_oheader-tdform = 'SYSTEM'.
ls_oheader-tdlinesize = 072.
ls_oheader-tdtxtlines = lv_count.
CALL FUNCTION 'SAVE_TEXT'
EXPORTING
client = sy-mandt
header = ls_oheader
* insert = 'X'
savemode_direct = 'X'
* keep_last_changed = abap_true
TABLES
lines = lt_otext
EXCEPTIONS
id = 1
language = 2
name = 3
object = 4
OTHERS = 5.
IF sy-subrc = 0.
COMMIT WORK.
ENDIF.
Thanks,
BK
Request clarification before answering.
User | Count |
---|---|
105 | |
39 | |
6 | |
5 | |
4 | |
3 | |
3 | |
2 | |
2 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.