Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Long Text upload issue

Former Member
0 Likes
597

I am trying to upload long text in IW22/23 transaction.

I am using Fm SAVE_TEXT.

In IW21 when the long text is created manually a system generates a default Time-Date-USER stamp and the text is published below that.

When i Load the text using FM the text is copied above the STAMP and nothing is visible when look at the tranaction at the display mode. If I have to go in change mode of the transaction and click on the change TEXT button and then the uploaded text is visible.

How should i make the loaded long text visible.

Thanks,

AP

I am trying to upload long text in IW22/23 transaction.

I am using Fm SAVE_TEXT.

In IW21 when the long text is created manually a system generates a default Time-Date-USER stamp and the text is published below that.

When i Load the text using FM the text is copied above the STAMP and nothing is visible when look at the tranaction at the display mode. If I have to go in change mode of the transaction and click on the change TEXT button and then the uploaded text is visible.

How should i make the loaded long text visible.

Thanks,

AP

3 REPLIES 3
Read only

Former Member
0 Likes
550

Try to use THEAD Structure properly ,pass time and date stamp here .

Thank you

Seshu

Read only

0 Likes
550

I tried that but still not working. Thru config we removed the STAMP also.

On Long text screen it does not show but when we go indide the Long text screen the data is there.

Thanks,

AP

Read only

0 Likes
550

Hi ,

Try like this.


 itext-tdid    = text_id
 itext-tdspras = sy-langu.

 ltext-tdline = text.  "Text 

 APPEND ltext.

 CALL FUNCTION 'SAVE_TEXT'
   EXPORTING
     header          = itext   "Header
     insert            = 'X'
     savemode_direct = 'X'
   TABLES
     lines           = ltext
   EXCEPTIONS
     id                  = 1
     language        = 2
     name             = 3
     object            = 4
     OTHERS        = 5.

Thanks & Regards,

Dileep .C