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

scripts

Former Member
0 Likes
807

Hi all,

i am modifying script for invoice,my requirement is to modify text,but wen i go for editor

i am not finding the text.they are calling include &tablename-field& object id text like that they are using includes.i want to edit the text in it. hou can i do this.can any body help me in this regard.

thanks in advance

siva

6 REPLIES 6
Read only

Former Member
0 Likes
777

well those Includes are displaying Standard texts.

you can change them by code, then use FM Read_text, Save_text, Commit_text.

or use transaction SO10

Message was edited by:

Florian Kemmer

Message was edited by:

Florian Kemmer

Read only

ashok_kumar24
Contributor
0 Likes
777

Hi Siva,

Good Check the following documentation

<b>SAPScript Transaction codes</b>

SE71 - Form painter

SE72 - Style maintenance

SE78 - SapScript Graphics Management

SO10 - Create standard text module

<b>Reading Text in SAPScripts</b>

If you only need to output the text, you don't need to used READ_TEXT like in an ABAP program,

just use the INCLUDE command in SAPScript.

It will read the text and output it to your form.

The Syntax is like this:

/: INCLUDE &T166K-TXNAM& OBJECT &T166K-TDOBJECT& ID &T166K-TDID& LANGUAGE &EKKO-SPRAS&

<b>Check the following link:</b>

http://sap-img.com/sapscripts.htm

Good Luck and thanks

AK

Read only

Former Member
0 Likes
777

to edit the text either u have to use SO10 or else goto the transaction header details -- texts and u can edit the texts.

Read only

Former Member
0 Likes
777

to edit the text either u have to use SO10 or else goto the transaction header details -- texts and u can edit the texts.

Read only

Former Member
0 Likes
777

Hi

If it is a Std invoice Header texts or Item texts you have to search them in the respective Invocie .

take the Invoice number, goto VF03 and enter that invocie,

if it is a header text, search for it in header

or if it is Item text tsearch for it in Item

You will get it,

all the texts are maintained with OBJECT, ID, NAME and LANG fields.

If it is some external text You can find it in SO10 Tcode.

take the text name which is there after the word INCLUDE ....... and enter in SO10 tcode and find it.

Reward points if useful

Regards

Anji

Read only

Former Member
0 Likes
777

Hi

Run the driver program in debug mode and check the value of tablename-field: here you should find the name of std text displayed in the print, then use trx SO10 to modify it.

Max