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

LOAD_TEXT SAVE_text

Former Member
0 Likes
516

Hi,

I want to retieve the text of a customer sales area , change it and save through a custom program. I am using LOAD_TEXT then SAVE_TEXT.

LOAD_TEXT is giving "not found" error though the text-id exist. If i use READ_TEXT instead of LOAD_TEXT gives the same error.

How can I do it?

Useful answers will be rewared.

Regards,

Tanmay

3 REPLIES 3
Read only

Former Member
0 Likes
464

hi,

Goto that Line editor of that texts fromthe tasaction, then Goto --> header then you will find all the attributes of that texts, pass these attributes in READ_TEXT then you will get the texts

Regards

Sudheer

Read only

Former Member
0 Likes
464

Hi Tanmay,

When u r using READ_TEXT, r u passing test-id as constant value,

check it.

Rewards points.

Regards

shiv.

Read only

0 Likes
464

NO,

Check it.

  • CALL FUNCTION 'READ_TEXT'

  • EXPORTING

  • client = sy-mandt

  • id = wa_thead-tdid

  • language = wa_thead-tdspras

  • name = wa_thead-tdname

  • object = wa_thead-tdobject

  • TABLES

  • lines = it_line

  • EXCEPTIONS

  • id = 1

  • language = 2

  • name = 3

  • not_found = 4

  • object = 5

  • reference_check = 6

  • wrong_access_to_archive = 7

  • OTHERS = 8.

Regards,

Tanmay