cancel
Showing results for 
Search instead for 
Did you mean: 

Header text in SAPscript

Former Member
0 Kudos

Hi,

I am working on SAP script.THE HEADER TEXT IN THE SCRIPT HAS TO BE CHANGED,

""INclude &TVKO_TXNAM_KOP&OBJECT TEXT ID ZOTC LANGUAGE &VBDKL_SPRAS_VST&""

I have searched for the location & also checked the TVKO TABLE for values of TXNAM_KOP field using FM READ_TEXT,but the text to be changed is not there in the table.

Thanks in advance.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

1.You need to debug the script and findout what is text name and text id and langauge.

2.Then goto tcode:SO10 and give the text name, text id and langauge, then you can change the text according to your requirement.

No need to change the script but you have to change Standard text.

Former Member
0 Kudos

Hello Appala,

Many Thanks for your prompt reply.

I am working on Scripts for the first time.Please suggest how should I debug the code.

Thanks

Former Member
0 Kudos

We have the table TVKO,field TXNAM_KOP

OBJECT:TEXT

ID ZOTC

Language: VBDKL_SPRAS_VST

I just need the exact standard text name.

I tried to debug the code ,but I could not find the value for the Standard text that needs to be changed.

Please suggest.

Thanks,

Former Member
0 Kudos

Hi,

You should go to SE71 and enter your script name. There in menu options-utilities you can activte the debugger. Execute the script.

When you reach in the statment below

""INclude &TVKO_TXNAM_KOP&OBJECT TEXT ID ZOTC LANGUAGE &VBDKL_SPRAS_VST&""

check the variables

The variable: &TVKO_TXNAM_KOP& contains text name

Pass 'ZOTC' as object id

The variable &VBDKL_SPRAS_VST& contains the language

Take these values and go to SO10 and provide there. Inside you can change the texts.

Former Member
0 Kudos

1.In tocde SE71, Give the script name and click on Activate Debugger under utilities(You can find in menu bar)

2.Now run the application and check the values in that variables.

Former Member
0 Kudos

Thanks Vinraaj & Appala.

I am debugging the code now.Will update if I still have issue & close the thread.

Answers (2)

Answers (2)

Former Member
0 Kudos

Thanks Vinraaj & Appala.

I am closing the thread,after assiging the points.

Thanks

Former Member
0 Kudos

Hi,

I think you have to change the text in t-code SO10.