cancel
Showing results for 
Search instead for 
Did you mean: 

Reg : standard texts in the scripts

mallikarjun_vaja
Participant
0 Kudos

hi,

when I created a standard text in so10 and included in window ...

I got the sysntax as follows

INCLUDE Z_BP_FOOTER OBJECT TEXT ID ADRS

and when I executed the script..I got the output.

But what my question is...When I checked already exisiting form(which I Have to

modify now) the syntax is as follows

INCLUDE &REGUD-TXTFU& OBJECT TEXT ID ADR

what is the difference between these two..and

when I checked SO10 for standard text...header text is defined in SO10.

but in the FORM...in Header window the syantax is

INCLUDE &REGUD-TXTFU& OBJECT TEXT ID ADR...

but It should be like this ...Right?????

INCLUDE Z_BP_FOOTER OBJECT TEXT ID ADRS

Iam confused as what syntax is this

INCLUDE &REGUD-TXTFU& OBJECT TEXT ID ADR and why it is used here

waiting for your answers

Regards

Vaja

Accepted Solutions (1)

Accepted Solutions (1)

former_member196280
Active Contributor
0 Kudos

INCLUDE Z_BP_FOOTER OBJECT TEXT ID ADRS --> it directly reads the text element name "Z_BP_FOOTER" and display the text

Now, coming to this

INCLUDE &REGUD-TXTFU& OBJECT TEXT ID ADR

During runtime &REGUD-TXTFU& get the value and it get the text basing on this runtime value...

Let me explain with an example...

For example, Let us say, we are displaying two bank account number... we will tell our customers to which bank account number we want the amount to be deposited... since two bank account number are existing it is not advice able to always change the program we maintain this bank account numbers in two different standard text...

In SO10

Z_BP_FOOTER1 --> HSBC BANK DETAILS

Z_BP_FOOTER2 --> ICICI BANK DETAILS

Now, we maintain this field pass it to our program, during runtime if

&REGUD-TXTFU& has Z_BP_FOOTER1 it display HSBC BANK Details

&REGUD-TXTFU& has Z_BP_FOOTERw it display ICICI BANK DETAILS

I hope you understood, closr the thread once your question is answered and rewaord points if useful answers.

Regards,

Sairam

mallikarjun_vaja
Participant
0 Kudos

thanks for ur answer

it was really helpful

awarded points

regadrs

vaja

Answers (0)