cancel
Showing results for 
Search instead for 
Did you mean: 

Text Issue in sap-script

Former Member
0 Kudos

Hi All,

I am using writing the text in script using include object and text-id ,but it is not showing up in the form.Can anybody tell me where the text is maintained.where can i check whether this text is maintained or not.

Regards

Lalit

Accepted Solutions (0)

Answers (7)

Answers (7)

Former Member
0 Kudos

Hi,

create text in so10 by applying the pragraph format.

Go to script text editor, and include text as

/: include <text_name> objext 'TEXT' id 'ST' language 'EN'.

the standard texts are maintained in standard text file header table(stxh).

regards,

kamala.

Former Member
0 Kudos

stxh FOR HEADER TEXT

stxL for item text

If helpful rewards me

Former Member
0 Kudos

Go to SO10 transaction. Give the text name & check whether they have mainatained the text or not.

Thanks,

Kishore S N

Former Member
0 Kudos

STXH, STXD SAP Script text file

Former Member
0 Kudos

I want to know in which table this text is maintained.

Former Member
0 Kudos

Hi lalit,

Use the read_text function module and pass the object id,object name,language .like as below.

v_name = it_out-ebeln.

call function 'READ_TEXT'

exporting

client = sy-mandt

id = 'F02'

language = sy-langu

name = v_name

object = 'EKKO'

tables

lines = it_tline3

exceptions

id = 1

language = 2

name = 3

not_found = 4

object = 5

reference_check = 6

wrong_access_to_archive = 7

others = 8.

if sy-subrc eq 0.

read table it_tline3. "#EC *

v_info3 = it_tline3-tdline(50).

endif.

if helpful give me the points

Former Member
0 Kudos

Go to Menu: Insert -> Text -> Standard

You can define the text elements in sap script to group the texts that you want to display...like a condition..

Ex..

/E TEXT1

P1 This is a first text element..

Then use WRITE_FORM function module to call the text element

CALL FUNCTION 'WRITE_FORM'

ELEMENT = 'TEXT1'.

You can also call the write_form function module within a loop..

Regards.

Edited by: Sravan Prakash.V on Feb 15, 2008 12:00 PM