Dear All,
I would like to know how to upload long-text to SAP, for example, transaction IA06. I tried by writing ABAP Program using function module INIT_TEXT. But the text is not getting uploaded. I also tried various other function modules like CREATE_TEXT, COMMIT_TEXT, TRANSFER_TEXT, EXPORT_TEXT, but no success.
Please advise me on this.
awaiting your replies,
Yours Truly,
Pankaj P. Utagikar
Use FM SAVE_TEXT.... May be this sample code helps you.
CALL FUNCTION 'SAVE_TEXT'
EXPORTING
client = sy-mandt
header = l_header
INSERT = ' '
savemode_direct = 'X'
OWNER_SPECIFIED = ' '
LOCAL_CAT = ' '
IMPORTING
FUNCTION =
NEWHEADER =
TABLES
lines = l_tline
EXCEPTIONS
id = 1
language = 2
name = 3
object = 4
OTHERS = 5
.
Regards, Murugesh AS
Add a comment