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: 

SCRIPTS INCLUDE

Former Member
0 Kudos

Hi All.

I have a doubt in scripts.

I had seen a inclde in the Script window like the below.

<b>INCLUDE &REGUD-TXTAB& OBJECT TEXT ID ADRS</b>

Generally we are including the text with out & ,this symbol.But this text is with in & symbols.

I checked the table REGUD, but it is a structure.

I checked the SO10 ,by giving &REGUD-TXTAB&,adrs.But it does not exist,

How can I see the text for this.

And putting the text id with in the symbols &,what it means.

And how to create these type of texts.

Please ,Experts help me.

Thanks in advance,

Eswar

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi

What you have mention is correct.You want to see the text for that particular field TXTAB but there is no such corresponding table for that particular field.

When you want to print some value in your SAP Script from then you have to declare them using & symbol.

i want to know what kind of text you want to create actually.

I hope this will help you to solve your problem.

Thanks

Mrutyunjaya Tripathy

5 REPLIES 5

Former Member
0 Kudos

Hi,

Go to 'SO10' transaction.Put text-ID as 'ADRS' and language as 'EN' then press F4 on the first parameter 'Text Name'. it will take you to the next screen. Press execute, then it will show you all the objects. You can find &REGUD-TXTAB& over there.

Regards.

Lavanya

0 Kudos

Hi.

thanks for u r reply.

I checked as u said,but I did not find it.

while in debugging the syntax:"INCLUDE &regud-txtab& OBJECT TEXT ID ADRS" converting in to"

INCLUDE ADRS_SENDER OBJECT TEXT ID ADRS".

I found the ADRS_SENDER in so10,it is giving the sane text what I had seen in the print preview.I am not getting why it is converting like that and how.

thanks in advance,

Eswar

0 Kudos

Hi,

Check in the <b>STXH and STXL</b> table with the TDID value as (<b>ADRS</b>).

rgds.

0 Kudos

Hi venkat,

I think you need to change your include statement.

code as below.

INCLUDE &regud-txtab& OBJECT TEXT ID 'ADRS' LANGUAGE 'EN'

you should keep the TEXT ID in <b>quotes</b> as above and language is optinal better mention the language also.

Regards

Anil Kumar K

Former Member
0 Kudos

Hi

What you have mention is correct.You want to see the text for that particular field TXTAB but there is no such corresponding table for that particular field.

When you want to print some value in your SAP Script from then you have to declare them using & symbol.

i want to know what kind of text you want to create actually.

I hope this will help you to solve your problem.

Thanks

Mrutyunjaya Tripathy