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

sap script

Former Member
0 Likes
511

hi all,

i want to modify text in standard invoice,

suppose

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

it is carrying the text. how can i edit the text in it.please help me in this regard.

thanks in advance

siva

4 REPLIES 4
Read only

Former Member
0 Likes
470

Hi Siva,

Use FM <b>EDIT_TEXT

SAVE_TEXT</b> to modify text.

Reward points if helpful.

Regards,

Hemant

Read only

0 Likes
470

hi thanks for u r response,

i am seeing print preview of the invoice.

in that it is displaying some text. i want to edit that text.

this text they are calling using include. how can i edit the text, and i want to see that modifications in print preview

help me in this regard

Read only

0 Likes
470

Hi

See in the table T166K only

enter the BSTYP and BSART fields and the ID and OBJECT fields and see the texts.

to know the ID and Object of this text

First activate the debugger of the SCRIPT from SE71 Menu.

and run/execute the script

Know the T166k-ID and T166k-OBJECT

and enter in the table and see this.

This is coming from the config and stored in T166 Table. check in the header and ITEM texts of Invoice in VF03 tcode.

Reward points if useful

Regards

Anji

Read only

Former Member
0 Likes
470

Hi,

Which transaction is are you using to run the Script. there look at the Header texts and the item texts, one of the above you will find the text in the transaction itself

Regards

Sudheer