‎2007 May 08 11:19 AM
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
‎2007 May 08 11:23 AM
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
‎2007 May 08 11:23 AM
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
‎2007 May 08 11:23 AM
to edit the text either u have to use SO10 or else goto the transaction header details -- texts and u can edit the texts.
‎2007 May 08 11:24 AM
to edit the text either u have to use SO10 or else goto the transaction header details -- texts and u can edit the texts.
‎2007 May 08 11:25 AM
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
‎2007 May 08 11:26 AM
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