Application Development 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: 

How to use & implement SO10 entries

Former Member
0 Kudos

Hi Experts,

Please instruct me , send me the docs or links regarding usage and implementation of SO10 entries.

Regards,

Kali

3 REPLIES 3

Former Member
0 Kudos

Hi!

Use the following SAPScript command:

/: INCLUDE 'SO10_ENTRY_NAME' OBJECT TEXT ID ST LANGUAGE 'EN'

And don't forget, SO10 object are mandant independent, you have to implement them in all systems and mandants to use.

Regards

Tamá

Former Member
0 Kudos

Hi Kali,

once you create a standard text in s010.

in se71 in u r program insert that text.

Go to Menu bar

Insert - > Text - > standard. Enter your text name here.

https://www.sdn.sap.com/irj/sdn/forumsearchhttps://

Thanks

Vikranth Khimavath

Former Member
0 Kudos

Hi Kali,

in Reports you can use the text which ist created with SO10 like this:

REPORT ZGRO_TEST1.

*

DATA: BEGIN OF HEAD.

INCLUDE STRUCTURE THEAD.

DATA: END OF HEAD.

*

DATA: BEGIN OF LINE OCCURS 10.

INCLUDE STRUCTURE TLINE.

DATA: END OF LINE.

*

************************************************************************

START-OF-SELECTION.

*

CALL FUNCTION 'READ_TEXT'

EXPORTING

ID = 'ST' "the ID of the text

LANGUAGE = SY-LANGU

NAME = 'Z_MUSTER' "the name of the text

OBJECT = 'TEXT' "for Standarttext

IMPORTING

HEADER = HEAD

TABLES

LINES = LINE

EXCEPTIONS

NOT_FOUND = 01.

*

IF HEAD-TDTXTLINES > 0.

*

LOOP AT LINE.

WRITE: / LINE.

ENDLOOP.

*

ELSE.

WRITE: SY-SUBRC.

ENDIF.

*

END-OF-SELECTION.

*

In the structure HEAD you get more information of the text, look via

debugger in this field.

Hope it helps.

regards, Dieter